NetBSD-Bugs archive

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

Re: kern/44085: root device: lost during boot on installation CD(s), input required to continue



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

From: Martin Husemann <martin%duskware.de@localhost>
To: Fredrik Pettai <pettai%nordu.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/44085: root device: lost during boot on installation CD(s), 
input required to continue
Date: Mon, 2 May 2011 00:29:15 +0200

 On Mon, May 02, 2011 at 12:12:11AM +0200, Fredrik Pettai wrote:
 > On May 2, 2011, at 12:10 AM, Martin Husemann wrote:
 > > sysctl machdep.diskinfo
 > 
 > $ sysctl machdep.diskinfo
 > machdep.diskinfo: 80:142082048(1023/16/8),2 81:285474816(1023/255/63),2  
 > sd0:80 sd1:81
 
 That looks all fine, so it should actually work.
 If you look into src/sys/arch/x86/x86/x86_autoconf.c, you will find the
 function findroot().
 Inside you will see
 
        if ((biv = lookup_bootinfo(BTINFO_ROOTDEVICE)) != NULL) {
 
 and a loop over all disk devices that actually did attach. I would
 suggest adding a few printfs there to see progress and find out why it
 does not pick the (apparently properly matched) device. Look at the
 strncmp and print both device names at least.
 
 Martin
 


Home | Main Index | Thread Index | Old Index