Current-Users archive

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

Re: exec: /sbin/init: error 8



On Sat, 2 May 2009 07:29:06 +0000
Andrew Doran <ad%netbsd.org@localhost> wrote:
> It does still work - you need to install the modules for that version of the
> kernel too. They go under /stand/${MACHINE_ARCH}/${OSRELEASE}. So the kernel
> is more than one file now.

Well, I did manage to get a working system but I can't rebuild.  Over
the last week I have attempted to build tools, kernel and userland from
current while updating sources daily.  None of thos attempts have been
able to boot.  I get a normal boot sequence including my hard drive on
wd0 where it always is.  Then I get this:

boot device: wd0
root on wd0 dumps on wd0b
no file system for wd0 (dev 0x0)
cannot mount root, error = 79
root device (default wd0a):

If the error refers to errno then it mean "Inappropriate file type or
format" which seems not useful.

Is this related to the modules?  The kernel version is the same so the
same modules director is being used.  Here is the information on the
two kernels:

Doesn't boot:
        -rwxr-xr-x   1 root  wheel  10068096 May  8 14:18 netbsd
        NetBSD 5.99.11 (DILBERT) #0: Fri May  8 14:18:43 EDT 2009

Boots:
        -rwxr-xr-x   1 root  wheel   9896716 May  4 11:24 netbsd.0
        NetBSD 5.99.11 (DILBERT) #1: Mon May  4 11:08:44 EDT 2009

I have a slightly modified kernel config but I also tried with GENERIC
with the same results.  The process I go through each time is;
 # rm -rf /usr/obj/*
 # cd ...cvs/src
 # ./build.sh tools
 # ./build.sh KERNEL=GENERIC
 # [copy kernel to root]
 # ./build.sh distribution
 # ./build.sh install=/

And the drive partition table:
0: NetBSD (sysid 169)
    start 63, size 976770992 (476939 MB, Cyls 0-64601/62/29), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
Drive serial number: 260046848 (0x0f800000)

Any ideas?

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/


Home | Main Index | Thread Index | Old Index