From owner-freebsd-current Fri Oct 4 10:25:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 099C937B404 for ; Fri, 4 Oct 2002 10:25:42 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39B3943E7B for ; Fri, 4 Oct 2002 10:25:41 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id A1F1457AE3; Fri, 4 Oct 2002 17:25:39 +0000 (GMT) Date: Fri, 04 Oct 2002 17:25:39 +0000 (GMT) Message-Id: <20021004172539.1pCz7046@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes References: <20021003165514.9dv685621@hun.org> <20021003023404.uesI9921@hun.org> To: Scott Long Cc: Justin T.Gibbs , , Poul-Henning Kamp , FreeBSD 5.0-CURRENT Subject: Report on aic7890/91 controller --hints, or lack thereof... Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Objective: 1. Dual IBM 160MB/sec drives on one channel of aic7899 controller 2. DVD-RAM, ZIP, etc on other channel of aic7899 Bottom line: failure Operating System FreeBSD 5.0-CURRENT buildkernel slice 03 Oct 1200 GMT (no GEOM) buildworld slice 27 Sep 1200 GMT (too many errors since then) Hardware Tyan 2642 SMP Thunder K7 2 X 1.2GHz Athlon 512M DDR266 memory dual channel aic7899 SCSI controller dual 3com 'xl' NIC Matrox Millenium II with 8 MB 2 x 9G 10,000 RPM 160 MB/sec ~4ms access drives Creative 5.2G DVDRAM Iomega ZIP 100 modus operandi: installed da0/1 on channel A of aic3899 channel A and B report in run-up (dmesg) ahc0: port 0x1400-0x14ff mem 0xf4002000- aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x1800-0x18ff mem 0xf4003000- ahc1: bus_alloc_resource() failed to allocate IRQ device_probe_and_attach: ahc1 attach returned 12 prior to 27 Sep, dmesg did not report ahc1; both were reported as ahc0 and which ever channel was in use reported the "SCSI Id=7, 32/253 SCBs". I don't know what the controller reported on 31 Dec 01 except that it worked correctly with 5.0-CURRENT at that time. I have another machine I can bring on line as soon as I can get a KVM and display card shipped out here to the boonies and I intend to find out. This message was printed when da0/1 were attached to Channel A and the DVDRAM and ZIP were attached via a 68-50 adaptor to Channel B --if Channel B was recognzed, it would also have printed "SCSI Id=7, 32/253 SCBs". If the installation was reversed (da0/1 on Channel B), although the loader would boot from da0, at the pass off to the kernel it would try to load from da2 (ZIP) which, of course, failed and panic'd. installing da0/1 on Channel B, although recognized in the BIOS display, and the loader, the loader would and bring up the prompt: mountroute> All of these modes were done both with and without hints. Hints had no effect on the results. I tried at least 15 permutations of cabling and hints to the same bottom line. Net result: installed da0/1 on Channel A of aic7899 installed cd0 (DVDRAM) and da2 (ZIP) on Tekram DC395U see hints file following, although hints were not required. it works, but it is a bit absurd, given that there is a [supposedly] perfectly good Channel B lying around and the Tekram DC395U/W is unsupported, therfore requiring me to patch it back in every twelve hours at cvsup time. patches and suggestions welcome --and reasonable ones will be tested. After I shakedown the 04 Oct 1200Z kernel, I will enable GEOS and shake it down. Then PHK has a patch for the SCSI cd code which I will implement and shake --if I get that far! ----- appendix ----- N.B. I have copies of way too many variations of loading and their hints if you wish to peruse the permutations. # device.hints # # 2910 attila add scbus wire downs # 2a04 attila final revision # ########################################################################## # # ahc0 bus=0 BOOT from AIC789 A channel for 160 MB/sec IBMs # trm0 bus=0 DC395U: CDROM (4), ZIP (5), DVDRAM (6) reported # # full hints # boots from A channel 7899 # B channel is useless # # ahc0: port 0x1000-0x10ff mem 0xf4001000-0xf4001fff irq 10 at device 13.0 on pci0 # aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs # ahc1: port 0x1400-0x14ff mem 0xf4002000-0xf4002fff irq 11 at device 13.1 on pci0 # ahc1: bus_alloc_resource() failed to allocate IRQ # device_probe_and_attach: ahc1 attach returned 12 # hint.scbus.0.at="ahc0" hint.scbus.0.bus="0" hint.scbus.1.at="trm0" hint.scbus.1.bus="0" hint.da.0.at="scbus0" hint.da.0.target="0" hint.da.0.unit="0" hint.da.1.at="scbus0" hint.da.1.target="1" hint.da.1.unit="0" hint.cd.0.at="scbus1" hint.cd.0.target="6" hint.cd.0.unit="0" hint.da.2.at="scbus1" hint.da.2.target="5" hint.da.2.unit="0" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message