Bug 20708

Summary: Adaptec 1542 ISA SCSI Controller not detected properly in 4.1-STABLE
Product: Base System Reporter: masa <masa>
Component: kernAssignee: Warner Losh <imp>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description masa 2000-08-18 21:20:00 UTC
Adaptec 1542 ISA SCSI Controller card comes up as unknown0 on boot, 
and SCSI disk devices are not available.

How-To-Repeat: You can replicate this problem by creating a GENERIC kernel from 
4.1-STABLE as of 1:00PM PST on 8/18/2000.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-22 16:14:28 UTC
Responsible Changed
From-To: freebsd-bugs->imp

Over to the maintainer.
Comment 2 Brian Somers 2000-08-22 21:56:04 UTC
> Synopsis: Adaptec 1542 ISA SCSI Controller not detected properly in 4.1-STABLE

Does this solve the problem ?  I know it's not the right solution, 
but it fixes it for me and I've no other PnP stuff on that machine.

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !

Index: pnp.c
===================================================================
RCS file: /home/ncvs/src/sys/isa/pnp.c,v
retrieving revision 1.5
diff -u -r1.5 pnp.c
--- pnp.c	1999/10/14 21:03:01	1.5
+++ pnp.c	2000/08/22 20:55:13
@@ -739,6 +739,7 @@
 	}
 #endif
 
+return;
 	/* Try various READ_DATA ports from 0x203-0x3ff */
 	for (pnp_rd_port = 0x80; (pnp_rd_port < 0xff); pnp_rd_port += 0x10) {
 		if (bootverbose)
Comment 3 Andy Farkas 2000-09-12 14:11:32 UTC
> Adaptec 1542 ISA SCSI Controller card comes up as unknown0 on boot, 
> and SCSI disk devices are not available. 

The one I have, running a tape drive, seems to be picked up ok:

# cat /var/run/dmesg.boot
...
aha0 at port 0x330-0x333 irq 10 drq 5 on isa0
aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
...
sa0 at aha0 bus 0 target 4 lun 0
sa0: <SONY SDT-5000 3.26> Removable Sequential Access SCSI-2 device 
sa0: 3.300MB/s transfers
...

# uname
FreeBSD 4.1-STABLE #0: Fri Sep  1 21:57:41 EST 2000

--
 
 :{ andyf@speednet.com.au
  
        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/
Comment 4 masa 2000-09-16 02:16:19 UTC
were you running that day's release of 4.1-stable? I've not been brave
enough to try to upgrade the server past 4.1-RELEASE since then. 


Andy Farkas wrote:
> 
> > Adaptec 1542 ISA SCSI Controller card comes up as unknown0 on boot,
> > and SCSI disk devices are not available.
> 
> The one I have, running a tape drive, seems to be picked up ok:
> 
> # cat /var/run/dmesg.boot
> ...
> aha0 at port 0x330-0x333 irq 10 drq 5 on isa0
> aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
> ...
> sa0 at aha0 bus 0 target 4 lun 0
> sa0: <SONY SDT-5000 3.26> Removable Sequential Access SCSI-2 device
> sa0: 3.300MB/s transfers
> ...
> 
> # uname
> FreeBSD 4.1-STABLE #0: Fri Sep  1 21:57:41 EST 2000
> 
> --
> 
>  :{ andyf@speednet.com.au
> 
>         Andy Farkas
>     System Administrator
>    Speednet Communications
>  http://www.speednet.com.au/
> 

-- 
Sincerely,
Shon Elliott
CEO/President;
MiS Productions
P.O. Box #251
Clovis, CA. 93613-0251
http://www.misproductions.com/

 "..Heaven, Waiting there for me.. Heaven.. Always let it be.."
                                       --Ronan Hardiman; Solas
Comment 5 Warner Losh freebsd_committer freebsd_triage 2005-01-11 01:17:30 UTC
State Changed
From-To: open->closed

I've made my final attempt to fix this in current.  If it doesn't 
work, oh well.