Subject: netbsd-1-6/alpha does not always find the right boot device for root (on es40)
To: NetBSD/alpha Discussion List <port-alpha@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: port-alpha
Date: 09/27/2004 16:56:26
netbsd-1-6/alpha does not always find the right boot device for root, at
least not when something other than the first logical device is booted
from, at least not on the es40:


P00>>>show dev
dkb600.6.0.2.0             DKB600       PLEXTOR CD-ROM PX-8XCS  1.01
dkc0.0.0.102.0             DKC0              COMPAQ BF01864663  3B07
dkc100.1.0.102.0           DKC100            COMPAQ BF01864663  3B07
dqa0.0.0.15.0              DQA0                COMPAQ CDR-8435  0013    
dva0.0.0.1000.0            DVA0                               
ega0.0.0.6.1               EGA0              00-08-02-91-89-AE
ewa0.0.0.1.1               EWA0              08-00-2B-C4-7A-70
ewb0.0.0.4.0               EWB0              08-00-2B-C4-B5-26
pka0.7.0.4.1               PKA0                  SCSI Bus ID 7
pkb0.7.0.2.0               PKB0                  SCSI Bus ID 7
pkc0.7.0.102.0             PKC0                  SCSI Bus ID 7
P00>>>boot dkc100
(boot dkc100.1.0.102.0 -flags A)
block 0 of dkc100.1.0.102.0 is a valid boot block
reading 15 blocks from dkc100.1.0.102.0
bootstrap code read in

[[ .... ]]

scsibus0: waiting 2 seconds for devices to settle...
cd1 at scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-8XCS, 1.01> SCSI2 5/cdrom removable
cd1: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 0 lun 0: <COMPAQ, BF01864663, 3B07> SCSI2 0/direct fixed
sd0: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd0: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus1 target 1 lun 0: <COMPAQ, BF01864663, 3B07> SCSI2 0/direct fixed
sd1: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd1: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
scsibus2: waiting 2 seconds for devices to settle...
scsibus3: waiting 2 seconds for devices to settle...
scsibus4: waiting 2 seconds for devices to settle...
siop0: alloc newcdb at PHY addr 0xb7c000
raidattach: Asked for 8 units
Kernel internal RAIDframe activated
RAIDframe: Searching for raid components...
root on sd0a dumps on sd0b
cannot mount root, error = 22
root device (default sd0a): 


the device I'm booting from is seen by NetBSD as sd1 and thus telling
the kernel explicitly to mount sd1a works:


root device (default sd0a): sd1a
dump device (default sd1b): none
file system (default ffs): 
root on sd1a

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>