Subject: port-alpha/8771: tcds card redenders dec3000/400 unable to boot properly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 11/10/1999 04:24:48
>Number:         8771
>Category:       port-alpha
>Synopsis:       tcds card redenders dec3000/400 unable to boot properly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 10 04:24:00 1999
>Last-Modified:
>Originator:     matthew green
>Organization:
people's front against (bozotic) www (softwar foundation)
>Release:        <NetBSD-current source date>today
>Environment:
	
System: NetBSD towers-of-dub.eterna.com.au 1.4M NetBSD 1.4M (_towers_) #24: Wed Nov 10 21:42:55 EST 1999 mrg@towers-of-dub.eterna.com.au:/orb/y/_towers_ alpha


>Description:

	i put a "tcds" (turbo channel dual scsi) card into my dec3000/400.
	this has stop my system from detecting the boot device correctly
	due to the handling of "asc" boot devices in alpha/dec_3000_500.c.
	it seems to assume we are booting from the onboard connector, from
	slot 6, etc.  i enabled the "#if 0"'s in dec_3000_500.c and they
	showed these additional messages:

	tcds0 at tc0 slot 6 offset 0x0: TurboChannel Dual SCSI (baseboard)
	asc0 at tcds0 chip 0
->	scsidev = asc0
	: NCR53C94, 25MHz, SCSI ID 7
	scsibus0 at asc0: 8 targets, 8 luns per target

and

	tcds1 at tc0 slot 3 offset 0x0: TurboChannel Dual SCSI
	asc2 at tcds1 chip 0
->	scsidev = asc2
	: NCR53C96, 40MHz, SCSI ID 7
	scsibus2 at asc2: 8 targets, 8 luns per target

	which may even mean that if i had a disk with the same scsi id on
	asc2 that i booted from on asc0, it would attempt to use this as
	the boot device!

>How-To-Repeat:

	add tcds card to dec3000/400, add some disks to the same channel
	your boot disk is on, and boot.

>Fix:
	
	rewrite the "asc" handling in alpha/dec_3000_500.c
>Audit-Trail:
>Unformatted: