Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 1996 15:51:06 -0700
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        "Johan Granlund" <johang@algonet.se>
Cc:        stable@FreeBSD.ORG
Subject:   Re: AHA2940UW with nonultra disks broke. 
Message-ID:  <199605182251.PAA26365@freefall.freebsd.org>
In-Reply-To: Your message of "Sun, 19 May 1996 01:33:40 -0000." <199605182236.AAA23054@hermes.algonet.se> 

next in thread | previous in thread | raw e-mail | index | archive | help

>> The problem is that the 5.7MHz syncrate seems to be invalid when in Ultra
>> mode.
>Correcti think, according to the BIOS. Minimum syncrate is 10MHZ

That only specifies where syncronous negotiation starts.  The
chip can do sync all the way down to 3.6MHz.

>> The fix I'm working on now is to dynamically enable/disable ultra
>> mode on a per device basis so that the entire range of sync rates are
>> availible to all devices.
>
>Great, wonder why Adaptec wasn't thinking of that?

They probably did.

>>  Although the driver worked before, it was
>> improperly reporting 10MHz when the setting really resulted in 5MHz (Not
>> all settings are clock doubled when in Ultra mode).
>
>Maybe i was unclear, but the target 0 disk is a fast/narrow SCSIdevice and 
>should sync at 10MHZ. The dmesg output was from the adapter in 
>NON-ULTRA mode. When in Ultra mode the SCSI bus was hanging after the 
>driver had put out the "speed" line.

Perhaps I wasn't clear.  You can't do 10MHz sync when the adapter is
in Ultra mode.  It looks like you can do 20, 16, 13.4, and 5.  The old
code used to report the 5 MHz entry as 10 because it assumed at all
settings in ultra mode are clock doubled.  The second dmesg output
reported the disk at 5.7Mhz which was an entry I added recently but
doesn't seem to function.

>I also have a DAT tape that is sync. on 5MHZ (i didn't know that at 
>first). When setting the adapter in Ultra mode the driver correctly 
>said that 5.0 MHZ was too low and set it for async (4MHZ). Ok what is 
>a MHZ between friends. The problem was that when i was trying to use 
>the tape the driver went nuts and tried to fallforward to 5MHZ sync. 
>Lots of complaints of course. This was before the last patches and i 
>haven't tried it again.

It should work fine in non-Ultra mode and will properly sync at 5MHz
regardless of which mode you set in SCSI-Select as soon as I finish my
changes.

>___________________________________________________________
>
>Internet: Johang@Algonet.se
>
>I don't even speak for myself
>

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605182251.PAA26365>