Subject: Re: Problem : can't determine root device
To: None <port-sparc64@NetBSD.org>
From: Julien Aube <jaube@nist.gov>
List: port-sparc64
Date: 01/07/2005 15:27:18
On Fri, 2005-01-07 at 05:25, Martin Husemann wrote:
> On Fri, Jan 07, 2005 at 02:08:16AM -0500, Julien Aube wrote:
> > sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged
> > queueing
> > can't determine root device     <-------------
> > root device (default isp0):
> 
> This means that the prom "/chosen/bootpath" property could not be matched
> against the devices we detected. Your machine should print the bootpath
> very early on boot, straight after the copyright and memory lines. What
> does it look like? On my U2 it is:
> 
>  bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
> 
> Martin


I have this :
NetBSD 2.0 (GENERIC) #0: Thu Dec  2 02:49:29 UTC 2004
       
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc64/200411300000Z-obj
/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/sparc64/compile/GENERIC
total memory = 768 MB
avail memory = 740 MB
bootpath: /sbus@1f,0/QLGC,isp@1,10000/sd@4,0       <-------

Which is correct (that's what I put into the devalias "diska" of the
monitor, and my boot device is just that, diska)

The SCSI card itself is detected, the device *seems* to be isp0 :
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: FAS366/HME,
40MHz, SCSI ID 7
scsibus0 at esp0: 16 targets, 8 luns per target
[...]
isp0 at sbus0 slot 1 offset 0x10000 vector 3 ipl 3 for QLGC,isp
scsibus1 at isp0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 4 lun 0: <SEAGATE, ST19101W, 0014> disk fixed
sd0: 8683 MB, 6576 cyl, 16 head, 169 sec, 512 bytes/sect x 17783240
sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged
queueing


What I don't get is that whatever SCSI bus the disk is on, and whatever
the SCSI ID my device has, as long as it is the first one detected it
should be given the device name "sd0", I am wrong ?

So the question of netbsd "root device (default isp0):"
seems illogical to me : of course, booting from a scsi card driver make
no sense. Or, maybe my "bootpath" line is incomplete ?

Julien