Date: Sun, 11 Jun 2000 13:34:37 +0100 From: Brian Somers <brian@Awfulhak.org> To: jmanley@metronet.com Cc: stable@FreeBSD.org, brian@hak.lan.Awfulhak.org, Warner Losh <imp@FreeBSD.org> Subject: Re: AHA 1542 CP SCSI Configuration problems Message-ID: <200006111234.NAA01835@hak.lan.Awfulhak.org> In-Reply-To: Message from Jim Manley <jmanley@metronet.com> of "Tue, 30 Dec 1997 07:03:57 CST." <97123007142800.00878@darkstar.metronet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Does disabling the PnP probe make it work (patch attached) ? It
does for me - Warner (cc'd) already knows about this.
> Here's the setup:
>
> FBSD 4.0 stable last cvsup'd today.
> AMD K6 233 with 64M RAM
> AHA-1542CP SCSI Adapter (I've disabled the plug-n-play and confirmed the IRQ is
> set to 11 and the I/O address range is set to 0x330-0x333)
>
> Pertinent SCSI entries in kernel:
>
> # SCSI Controllers
> device aha0 at isa? port 0x330 irq 11 drq 6
>
> # SCSI peripherals
> device scbus0 at aha0 # SCSI bus (required)
> device da # Direct Access (disks)
> device sa # Sequential Access (tape etc)
> device pass # Passthrough device (direct SCSI access)
>
> When I boot the probe finds the card
>
> aha0 at port 0x330-0x333 irq 11 drq 6 on isa
> aha0: AHA-1542CP FW Rev. G.0 (ID=3D46) SCSI Host Adapter, SCSI ID 7, 16 CCBs
>
> then
>
> Waiting 8 seconds for SCSI devices to settle
> (probe0:aha0:0:0:0) CCB 0xc57bc508 - timed out
> (probe0:aha0:0:0:0) CCB 0xc57bc508 - timed out
> aha1: aha_cmd: Timed out waiting for adapter idle
> ahainitmboxes: Initialization command failed
> aha1: no longer in timeout
> (probe6:aha0:0:6:0) CCB 0xc57bc508 - timed out
> (probe6:aha0:0:6:0) CCB 0xc57bc508 - timed out
> aha1: aha_cmd: Timed out waiting for adapter idle
> ahainitmboxes: Initialization command failed
> aha1: no longer in timeout
>
> These lines just keep repeating themselves until kill the machine and take out
> the card.
>
> I've put the card in a windows machine and it works fine. It's the same card
> I've had in this machine when I was running FBSD 3.4-stable and it never gave
> me a single problem.
>
> I've searched the mail archives and tried everything I was able to find there
> but nothing has helped.
>
> For what it's worth, I've also tried a AHA-1522A and an AHA-2490 and gotten
> essentially the same results. I'm beginning to wonder if there is a problem
> with the scsi drivers.
>
> Regards,
>
> Jim
--
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/04/19 05:38:48
@@ -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)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006111234.NAA01835>
