From owner-freebsd-stable Sun Jun 11 5:34:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 901B537B51A; Sun, 11 Jun 2000 05:34:44 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id NAA27574; Sun, 11 Jun 2000 13:34:41 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id NAA01835; Sun, 11 Jun 2000 13:34:38 +0100 (BST) (envelope-from brian@Awfulhak.org) Message-Id: <200006111234.NAA01835@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: jmanley@metronet.com Cc: stable@FreeBSD.org, brian@hak.lan.Awfulhak.org, Warner Losh Subject: Re: AHA 1542 CP SCSI Configuration problems In-Reply-To: Message from Jim Manley of "Tue, 30 Dec 1997 07:03:57 CST." <97123007142800.00878@darkstar.metronet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Jun 2000 13:34:37 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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