Subject: port-alpha/9407: DEC3000/300 kernel cannot figure booted SCSI device
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 02/13/2000 08:03:47
>Number:         9407
>Category:       port-alpha
>Synopsis:       DEC3000/300 kernel cannot figure booted SCSI device
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 08:03:01 2000
>Last-Modified:
>Originator:     Izumi Tsutsui
>Organization:
Izumi Tsutsui	Himeji City, JAPAN
>Release:        NetBSD-current 20000211
>Environment:
System: NetBSD/alpha 1.4S on DEC3000/300


>Description:
The kernel booted on DEC3000/300 cannot figure booted SCSI device.

>How-To-Repeat:
Boot GENERIC (or TCWSCONS) kernel on DEC3000/300:

NetBSD 1.4S (DEBONAIR) #43: Fri Feb 11 15:24:44 JST 2000
    tsutsui@debonair:/usr/src/sys/arch/alpha/compile/DEBONAIR
DEC 3000 - M300, 150MHz
8192 byte page size, 1 processor.
total memory = 65536 KB
(2048 KB reserved for PROM, 63488 KB used by NetBSD)
avail memory = 56160 KB
using 409 buffers containing 3272 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064-1 (pass 3)
tcasic0 at mainbus0
tc0 at tcasic0: 12.5 MHz clock
[..snip..]
tcds0 at tc0 slot 2 offset 0x0: TurboChannel Dual SCSI (baseboard)
tcds0: fast mode set for chip 0
asc0 at tcds0 chip 0: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
probe(asc0:2:0): max sync rate 5.00Mb/s
sd0 at scsibus0 targ 2 lun 0: <DEC, RZ26     (C) DEC, 392A> SCSI2 0/direct fixed
sd0: 1001 MB, 2570 cyl, 14 head, 57 sec, 512 bytes/sect x 2050860 sectors
sd1 at scsibus0 targ 5 lun 0: <DEC, RX26     (C) DEC, 0070> SCSI1 0/direct removable
sd1: drive offline
WARNING: can't figure what device matches "SCSI 0 4 0 0 200 0 FLAMG-IO"
root device: 


>Fix:

Unknown, but I think this problem caused by dec_3000_300.c
Rev 1.29 change. The kernel says the tcds slot number is 2,
but slot number in bootdev_data from SRM is 4.
I'm not sure why ctrl_dev_type in bootdev_data is FLAMG_IO,
not PMAZ-DS.
>Audit-Trail:
>Unformatted: