NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/58204: Problem preparing evbppc disk on i386 (mount -o log)



The following reply was made to PR install/58204; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/58204: Problem preparing evbppc disk on i386 (mount -o log)
Date: Sat, 27 Apr 2024 19:07:35 -0000 (UTC)

 hashikaw%mail.ru@localhost writes:
 
 >I create root filesystem for OpenBlocks266, on i386 with usb-ide and ide-msata adapter.
 
 >i386# fdisk (my OpenBlocks266 kernel has options EVBPPC_HAS_MBR)
 >i386# disklabel -B be -R disk disklabel.backup
 >i386# newfs -O2 -B be /dev/rwd0a
 >i386# mount -o log /dev/wd0a /mnt
 >i386# cd /mnt
 >i386# tar xpzf 10.0-evbppc/sets/base.tgz
 >i386# cd /
 >i386# umount /mnt
 
 >and, ide-msata board to OpenBlocks266's IDE, and boot,
 
 >...
 >[   5.0703736] root file system type: ffs
 >[   5.0703736] kern.module.path=/stand/evbppc/10.0/modules
 >[   5.1899287] init: copying out path `/sbin/init' 11
 >[   5.5999796] panic: init died (signal 0, exit 11)
 >[   5.5999796] cpu0: Begin traceback...
 >[   5.5999796] 0x07e33d60: at vpanic+0x160
 >[   5.5999796] 0x07e33d90: at panic+0x58
 >[   5.5999796] 0x07e33dd0: at exit1+0x4bc
 >[   5.8301966] 0x07e33e90: at sys_exit+0x4c
 >[   5.8799604] 0x07e33eb0: at syscall+0x348
 >[   5.9299657] 0x07e33f20: user SC trap #1 by 0xfdd90574: srr1=0xc030
 >[   5.9299657]             r1=0xfffeba90 cr=0x84000484 xer=0 ctr=0xfdd9056c esr=0x800000 pid=0x3
 
 
 Just unpacking base.tgz is not sufficient to populate a boot image,
 you need at least etc.tgz and you probably want misc.tgz and text.tgz.
 
 The system panics, because there is no /dev/console after unpacking
 just base.tgz. The device nodes are not part of base.tgz. You need
 to create them, e.g. by running the MAKEDEV script. The MAKEDEV
 script is part of the etc.tgz set
 
 You can run the evbppc version of MAKEDEV on i386. E.g.
 
 tar xpzf 10.0-evbppc/sets/etc:tgz
 ( cd dev && ./MAKEDEV all )
 
 
 You may also want to prepare other things on the target disk
 before booting.
 
 - the etc/localtime symlink
 - etc/fstab
 - etc/rc.conf
 
 


Home | Main Index | Thread Index | Old Index