Subject: Re: New aic78xx driver code update
To: None <mjl@netbsd.org, fvdl@netbsd.org>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: current-users
Date: 03/10/2000 04:20:10
--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii

With ahc-03102000 and 2940UW:

mjl wrote:
>   Could you test whether probing of Ultra-Wide disks at IDs > 8
> does work? There is some PR open on that (UW with ID > 8 are
> not probed as Ultra -- I have seen this happen at the MeKa
> meeting on Thomas Klausner's machine).
> 
>   The symptom is that a disk probes at 20MHz at a low ID, and
> only at 10 MHz at a high ID. The Adaptec BIOS setting was correct
> to enable Ultra mode for all disks.

Actually, it's worse with the new driver; even the harddiscs that got
20MHz now only get 10MHz, only my DVD drive gets 20MHz. Weird.

I'll attach the relevant parts of dmesg output of the old and the new
driver, where the rest of the kernel sources was cvs updated about an
hour ago.

I'm willing to test any changes, if I don't have to stress-test them,
since it's my main machine.

Bye,
 Thomas

-- 
Thomas Klausner - wiz@danbala.tuwien.ac.at
WWW-homepage: http://fbma.tuwien.ac.at/~e9325658/Welcome.html
Programming is like sex:
  One mistake and you have to support for a lifetime.

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ahc-0310.dmesg"

1.4U, ahc-03102000:
ahc0 at pci0 dev 9 function 0
ahc0: interrupting at irq 9
ahc0: Reading SEEPROM...done.
ahc0: aic7880 ahc0: dmamem for shared data at phys 3000 virt c98c6000 nseg 1 size 768
ahc0: dmamem for hardware SCB structures at phys 4000 virt c98c7000 nseg 1 size 16320
ahc0: dmamem for sense buffers at phys 8000 virt c98cb000 nseg 1 size 8160
ahc0: dmamem for SG space at phys a000 virt c98cd000 nseg 1 size 4096
Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: SCB physaddr 4000
ahc0: ID physaddr 3000
DISCENABLE == 0xffffffdf
ULTRAENB == 0x8
ahc0: Downloading Sequencer Program... 413 instructions downloaded
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
....
scsibus0: waiting 2 seconds for devices to settle...
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 10.0MHz, offset = 0x8
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-39130D, DC1B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, FIREBALL ST4.3S, 0F0C> SCSI2 0/direct fixed
sd1: 4136 MB, 7068 cyl, 6 head, 199 sec, 512 bytes/sect x 8471232 sectors
ahc0: target 3 synchronous at 20.0MHz, offset = 0xf
cd0 at scsibus0 targ 3 lun 0: <TOSHIBA, DVD-ROM SD-M1201, 1R08> SCSI2 5/cdrom removable
ahc0: target 4 synchronous at 10.0MHz, offset = 0xf
sd2 at scsibus0 targ 4 lun 0: <QUANTUM, XP34550S, LXY4> SCSI2 0/direct fixed
sd2: 4341 MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
sd3 at scsibus0 targ 5 lun 0: <IOMEGA, ZIP 100, N*32> SCSI2 0/direct removable
sd3: drive offline
ahc0: target 6 synchronous at 10.0MHz, offset = 0xf
sd6 at scsibus0 targ 6 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X> SCSI2 0/direct fixed
sd6: 2014 MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sect x 4124736 sectors
ahc0: target 12 using 16bit transfers
ahc0: target 12 synchronous at 10.0MHz, offset = 0x8
sd5 at scsibus0 targ 12 lun 0: <QUANTUM, ATLAS IV 18 WLS, 0909> SCSI3 0/direct fixed
sd5: 17522 MB, 13816 cyl, 8 head, 324 sec, 512 bytes/sect x 35885168 sectors

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ahc-default.dmesg"

1.4U, old ahc driver:
ahc0 at pci0 dev 9 function 0
ahc0: interrupting at irq 9
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
....
scsibus0: waiting 2 seconds for devices to settle...
ahc0: target 0 using 16Bit transfers
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-39130D, DC1B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
ahc0: target 1 synchronous at 20.0MHz, offset = 0xf
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, FIREBALL ST4.3S, 0F0C> SCSI2 0/direct fixed
sd1: 4136 MB, 7068 cyl, 6 head, 199 sec, 512 bytes/sect x 8471232 sectors
ahc0: target 3 synchronous at 20.0MHz, offset = 0xf
cd0 at scsibus0 targ 3 lun 0: <TOSHIBA, DVD-ROM SD-M1201, 1R08> SCSI2 5/cdrom removable
ahc0: target 4 synchronous at 20.0MHz, offset = 0xf
sd2 at scsibus0 targ 4 lun 0: <QUANTUM, XP34550S, LXY4> SCSI2 0/direct fixed
sd2: 4341 MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
sd3 at scsibus0 targ 5 lun 0: <IOMEGA, ZIP 100, N*32> SCSI2 0/direct removable
sd3: drive offline
ahc0: target 6 synchronous at 20.0MHz, offset = 0xf
sd6 at scsibus0 targ 6 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X> SCSI2 0/direct fixed
sd6: 2014 MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sect x 4124736 sectors
ahc0: target 12 using 16Bit transfers
ahc0: target 12 synchronous at 10.0MHz, offset = 0x8
sd5 at scsibus0 targ 12 lun 0: <QUANTUM, ATLAS IV 18 WLS, 0909> SCSI3 0/direct fixed
sd5: 17522 MB, 13816 cyl, 8 head, 324 sec, 512 bytes/sect x 35885168 sectors

--r5Pyd7+fXNt84Ff3--