Subject: kern/4079: ahc driver hangs initializing aic7850 after Win95 frobs it
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
List: netbsd-bugs
Date: 09/03/1997 20:00:28
>Number:         4079
>Category:       kern
>Synopsis:       ahc driver hangs initializing aic7850 after Win95 frobs it
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep  3 17:05:02 1997
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, 1997/08/23
>Environment:
	
System: NetBSD pattern.arlington-heights.ma.us 1.2G NetBSD 1.2G (PATTERN) #34: Fri Jul 25 07:28:09 EDT 1997 jtk@pattern.arlington-heights.ma.us:/u4/sandbox/src/sys/arch/i386/compile/PATTERN i386


>Description:
When booting up my laptop from a Win95 reboot (not from powerup)
into NetBSD, the ahc probe hangs on my aic7850.

A successful probe (from power-up) says:
NetBSD 1.2G (TRUMP) #12: Thu Aug 14 22:28:01 EDT 1997
    jtk@pattern.arlington-heights.ma.us:/u4/sandbox/src/sys/arch/i386/compile/TRUMP
cpu0: family 5 model 2 step 5
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 24768512
avail mem = 21467136
using 327 buffers containing 1339392 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: ACC Microelectronics ACCM 2188 VL-PCI Bridge (rev. 0x00)
Cirrus Logic CL-GD7543 (VGA display) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82378IB PCI-ISA Bridge (System I/O) (rev. 0x03)
ppb0 at pci0 dev 6 function 0: Digital Equipment DECchip 21050 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pchb1 at pci1 dev 0 function 0
pchb1: ACC Microelectronics ACCM 2188 VL-PCI Bridge (rev. 0x00)
ahc0 at pci1 dev 1 function 0
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
isa0 at pcib0
... and so on.  (I have no SCSI devices connected just now.)

The hanging boot prints out the same thing but hangs just after "Using
default SCSI device parameters"

>How-To-Repeat:
Boot a laptop with an AIC7850 in its docking station under win95.
Reboot (shutdown & restart) to NetBSD.  watch the probe hang.

>Fix:
	
>Audit-Trail:
>Unformatted: