Subject: kern/3481: recent ahc driver changes break my i386 on aic7850
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
List: netbsd-bugs
Date: 04/12/1997 15:53:26
>Number:         3481
>Category:       kern
>Synopsis:       recent ahc driver changes break my i386 on aic7850
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 12 13:05:01 1997
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, 10 April 1997
>Environment:
	
System: NetBSD pattern.arlington-heights.ma.us 1.2D NetBSD 1.2D (PATTERN) #58: Sat Apr 12 10:10:33 EDT 1997 jtk@pattern.arlington-heights.ma.us:/u4/sandbox/src/sys/arch/i386/compile/PATTERN i386


>Description:
The recent changes to the ahc* driver cause my aic7850
controller (on my laptop's docking station) to fail.
It used to work fine like this (shown booting from powerup):

ahc0: interrupting at irq 15
ahc0: aic7850 Single Channel, SCSI Id=7, 3 SCBs
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus0 at ahc0 channel 0: 8 targets

but with the driver changes it now hangs after the aic7850 line is
printed (it fails whether the machine is warm or cold booted), and it
gets the number of SCBs wrong.  It also always prints "Using left over
BIOS settings" rather than the message shown above, which normally comes
out on cold boots.
It says (with latest kernel):

ahc0: interrupting at irq 15
ahc0: Using left over BIOS settings
ahc0: aic7850 Single Channel, SCSI Id=7, 1 SCBs

>How-To-Repeat:
boot up latest kernel with an aic7850 device installed on your pci bus

>Fix:

>Audit-Trail:
>Unformatted: