Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
/sbin/init does not run on ibm4xx
/sbin/init does not start on ibm4xx for -current and 7.0_STABLE,
whereas it normally runs for 7.0.1.
For 7.99.34 and 7.99.26 (found at ftp7.jp.n.o), it fails as follows.
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
exec /sbin/init: error 13
init: copying out flags `-s' 3
init: copying out path `/sbin/oinit' 12
exec /sbin/oinit: error 2
...
Note that 13 == EACCESS and 2 == ENOENT. For 7.0_STABLE, it also fails,
but with different error code.
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
exec /sbin/init: error 2
init: copying out flags `-s' 3
init: copying out path `/sbin/oinit' 12
exec /sbin/oinit: error 2
...
I tried both md and nfs root, and got the same results. /bin/sh does not
start with the same error codes.
On the other hand, init and other userland binaries normally run for 7.0.1.
But, it fails with kernel of -current or 7.0_STABLE and userland of 7.0.1.
I attached dmesg of -current below. Any ideas?
Thanks,
Rin
====
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.99.34 (INSTALL_OPENBLOCKS266) #0: Thu Jul 21 20:05:55 JST 2016
rin@XXX:XXX
Model: OpenBlockS266 IBM PowerPC 405GPr Board
total memory = 128 MB
avail memory = 119 MB
plb0 (root)
cpu0 at plb0: 267MHz 405GPr (PVR 0x50910951)
cpu0: 16KB/32B L1 instruction cache
cpu0: 16KB/32B L1 data cache
ecc0 at plb0 irq 17: ECC controller
opb0 at plb0
com0 at opb0 addr 0xef600300 irq 0: ns16550a, working fifo
com0: console
com1 at opb0 addr 0xef600400 irq 1: ns16550a, working fifo
emac0 at opb0 addr 0xef600800 irq 15: Ethernet Media Access Controller
emac0: Ethernet address 00:0a:85:03:b2:60
lxtphy0 at emac0 phy 0: LXT971/2 10/100 media interface, rev. 2
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
opbgpio0 at opb0 addr 0xef600700: On-Chip GPIO controller
gpio0 at opbgpio0: 24 pins
gpiic0 at opb0 addr 0xef600500 irq 2: On-Chip IIC controller
iic0 at gpiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
wdog0 at opb0: 4 second period
pchb0 at plb0
pchb0: vendor 1014 product 0156 (rev. 0x21)
pci0 at pchb0
vendor 1014 product 0156 (host bridge, revision 0x21) at pci0 dev 0 function 0 not configured
hptide0 at pci0 dev 3 function 0
hptide0: Triones/Highpoint HPT371 IDE Controller
genppc_pci_intr_map: pin: 1, line: 30
hptide0: using irq 30 for native-PCI interrupt
atabus0 at hptide0 channel 0
atabus1 at hptide0 channel 1
tlp0 at pci0 dev 4 function 0: Davicom DM9102A Ethernet, pass 4.0
genppc_pci_intr_map: pin: 1, line: 31
tlp0: interrupting at irq 31
tlp0: Ethernet address 00:0a:85:03:32:60
dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 1
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
exb at plb0 not configured
Setting PIT to 266666666/100 = 2666666
wd0 at atabus1 drive 0
wd0: <TRANSCEND>
wd0: 486 MB, 989 cyl, 16 head, 63 sec, 512 bytes/sect x 996912 sectors
root on md0a dumps on md0b
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
kern.module.path=/stand/powerpc-ibm4xx/7.99.34/modules
WARNING: clock lost 2 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
exec /sbin/init: error 13
init: copying out flags `-s' 3
init: copying out path `/sbin/oinit' 12
exec /sbin/oinit: error 2
init: copying out flags `-s' 3
init: copying out path `/sbin/init.bak' 15
exec /sbin/init.bak: error 2
init: copying out flags `-s' 3
init: copying out path `/rescue/init' 13
exec /rescue/init: error 2
init path (default /sbin/init): /bin/sh
init: copying out flags `-s' 3
init: copying out path `/bin/sh' 8
exec /bin/sh: error 13
init path (default /sbin/init): reboot
syncing disks... done
unmounting file systems...
unmounting 0x7e51008 / (root_device)...
unmounting done
rebooting
Home |
Main Index |
Thread Index |
Old Index