Subject: "exec /sbin/init: error 8" at boot
To: None <port-sparc64@netbsd.org>
From: Johan A.van Zanten <johan@giantfoo.org>
List: port-sparc64
Date: 10/14/2005 14:13:57
NetBSD 2.0.2

 I'm trying to compile a customer kernel ("LEMONCURRY") on a Sun AXi
board.  The GENERIC kernel boots fine.  Anyone have any ideas about what
the problem might be, and a workaround or fix?

Boot-time messages follow.

 -johan

Rebooting with command: boot
Boot device: disk  File and args:
NetBSD IEEE 1275 Bootblock
..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.7
>> (johan@sarasvati, Sun Jul 17 05:27:50 CDT 2005)
loadfile: reading header
elf32_exec: Booting /pci@1f,0/pci@1/scsi@1/disk@0,0:a/netbsd
2287528@0x1000000+63976@0x1800000+4130328@0x180f9e8
symbols @ 0xfff2c28c 149+124144+108975 start=0x1000000
chain: calling OF_chain(800000, d520, 1000000, fffa9a80, 18)
console is /pci@1f,0/pci@1,1/ebus@1/se@14,400000:a
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 2.1_RC5 (LEMONCURRY) #0: Fri Oct 14 10:40:20 CDT 2005
        johan@sarasvati:/local/NetBSD/src/NetBSD-2.0/src/sys/arch/sparc64/compil
e/obj.sparc64/LEMONCURRY
total memory = 512 MB
avail memory = 497 MB
bootpath: /pci@1f,0/pci@1,0/scsi@1,0/disk@0,0
mainbus0 (root): SUNW,UltraSPARC-IIi-Engine: hostid 809ebbbe
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 300.016 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 128; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: 8aa000 to 92a000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems, Inc. Simba PCI bridge
        (rev. 0x1
1)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems, Inc. PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
        72c000-72c003,
 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0: console i/o
sabtty1 at sab0 port 1
com0 at ebus0 addr 3803f8-3803ff ipl 41: ns16550a, working fifo
kbd0 at com0
com1 at ebus0 addr 3602f8-3602ff ipl 42: ns16550a, working fifo
ms0 at com1
ecpp at ebus0 addr 340278-340287, 30015c-30015d, 700000-70000f ipl 34 not
        config
ured
fdthree at ebus0 addr 3203f0-3203f7, 706000-70600f, 720000-720003 ipl 39
        not con
figured
clock0 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-fffff not configured
beeper at ebus0 addr 722000-722003 not configured
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:9e:bb:be
OUI 0x1000e8 model 0x0000 rev 1 at hme0 phy 1 not configured
ATI Technologies 3D Rage II+ (VGA display, revision 0x9a) at pci1 dev 4
        function
 0 not configured
ppb1 at pci0 dev 1 function 0: Sun Microsystems, Inc. Simba PCI bridge
        (rev. 0x1
1)
pci2 at ppb1 bus 128
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 1 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 20
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci2 dev 1 function 1: Symbios Logic 53c875 (ultra-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at ivec 20
scsibus1 at esiop1: 16 targets, 8 luns per target
pcons at mainbus0 not configured
No counter-timer -- using %tick at 300MHz as system clock.
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DDYS-T09170N, S93E> disk fixed
sd0: 8748 MB, 15110 cyl, 3 head, 395 sec, 512 bytes/sect x 17916240
        sectors
sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged
        queueing
root on sd0a dumps on sd0b
root file system type: ffs
exec /sbin/init: error 8
init: trying /sbin/oinit
exec /sbin/oinit: error 2
init: trying /sbin/init.bak
exec /sbin/init.bak: error 2
init: not found
panic: no init
kdb breakpoint at 11d11e0
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        nop
db>