Subject: exec /sbin/init: error 8
To: None <>
From: Kurt Schreiner <>
List: current-users
Date: 11/29/2007 14:07:34

booting a kernel (GENERIC or custom doesnt matter) compiled
from current -current on my a dual opteron machine yields:

boot device: sd0
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
Stopped in pid 1.1 (init) at    netbsd:breakpoint+0x1:  ret
db> bt
breakpoint() at netbsd:breakpoint+0x1
start_init() at netbsd:start_init+0x3aa
db> mach cpu 1
No such command

A (custom) kernel compiled from yesterdays sources works fine:

>-501: uname -a 
NetBSD isunopti 4.99.38 NetBSD 4.99.38 (W2100Z) #25: Wed Nov 28 12:11:09 MET 2007  ks@isunopti:/u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/W2100Z amd64

and /sbin/init seems to be healthy:

>-502: file /sbin/init
/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for NetBSD 4.99.38, dynamically linked (uses shared libs), not stripped

So where's the culprit?