From owner-freebsd-current Sun Nov 29 14:24:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09859 for freebsd-current-outgoing; Sun, 29 Nov 1998 14:24:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09854 for ; Sun, 29 Nov 1998 14:24:02 -0800 (PST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Received: from exchsa1.dsto.defence.gov.au (exchsa1.dsto.defence.gov.au [131.185.2.94]) by digger1.defence.gov.au (8.7.5/8.7.3) with ESMTP id IAA23586; Mon, 30 Nov 1998 08:47:56 +1030 (CST) Received: from fuzz.dsto.defence.gov.au ([131.185.75.229]) by exchsa1.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id XYN7VHZ2; Mon, 30 Nov 1998 08:53:52 +1030 Received: from dsto.defence.gov.au (localhost [127.0.0.1]) by fuzz.dsto.defence.gov.au (8.9.1/8.8.8) with ESMTP id IAA11440; Mon, 30 Nov 1998 08:53:47 +1030 (CST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Message-ID: <3661C973.6EA47509@dsto.defence.gov.au> Date: Mon, 30 Nov 1998 08:53:47 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh CC: CURRENT@FreeBSD.ORG Subject: Re: aha delaying patch works for genuine 1542B References: <365CE867.62F68C8A@dsto.defence.gov.au> <199811262135.OAA88116@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry about the long delay in replying. (This is a work machine and I dont have access over the weekend). Dmesg output for my card is: aha0: at 0x234-0x237 irq 11 drq 6 on isa aha0: AHA-1540/1542 64 head BIOS FW Rev. 0.5 (ID=41) SCSI Host Adapter, SCSI ID 7, 16 CCBs I know its not at the standard I/O port. I had to move it due to a conflict. I have got my kernel config file right for this. Also you might want to know that I have 3 very old (quite old) full height SCSI drives on the bus... dmesg output is: da1 at aha0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI2 device da1: 3.300MB/s transfers da1: 1351MB (2767245 512 byte sectors: 64H 32S/T 1351C) da3 at aha0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI2 device da3: 3.300MB/s transfers da3: 1813MB (3713130 512 byte sectors: 64H 32S/T 1813C) da4 at aha0 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI2 device da4: 3.300MB/s transfers da4: 1812MB (3711990 512 byte sectors: 64H 32S/T 1812C) (these are wired down to their SCSI id. I had a da0 but it finally blew up with all the thrashing I gave it). Warner Losh wrote: > > In message <365CE867.62F68C8A@dsto.defence.gov.au> Matthew Thyer writes: > : The card in question is a genuine Adaptec 1542B and I really > : need it to work as it contains my /usr/src !! > > Which revision? The 1542B that I have doesn't need this delay. The > probe string will tell you the revision. > > : As Graham Menhennitt said: "Could somebody please commit this change" > > Been there, done that. Justin and I have been talking about a better > way to deal with this problem than putting in a magic delay. There > may be another round of patches for the folks with the problem 1542B > cards to test. > > : fuzz: {1} diff /sys/dev/aha/aha.c.orig /sys/dev/aha/aha.c > > diff -u generally produces better results. Also, I have a better > comment stating that a delay to 1000 works, but 10mS is very long in > card time, but very short in probe time. There was a similar delay in > the old driver in places, but I've not looked closely enough to know > if this was one of the places or not. > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Matthew Thyer Phone: +61 8 8259 7249 Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Salisbury PO Box 1500 Salisbury South Australia 5108 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message