Subject: Re: New aic78xx driver code update
To: Frank van der Linden <frank@wins.uva.nl>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/07/2000 21:36:22
On Tue, Mar 07, 2000 at 10:42:00AM +0100, Frank van der Linden wrote:
> I put a new tarfile of the new ahc driver in
> 
> 	ftp://ftp.nl.netbsd.org:/pub/NetBSD/fvdl/ahc-03082000.tgz
> 

Seems usable with my old 2940uw:
ahc0 at pci0 dev 8 function 0
ahc0: interrupting at irq 9
ahc0: Reading SEEPROM...done.
ahc0: internal 50 cable is present, internal 68 cable is present
ahc0: external cable not present
ahc0: BIOS eeprom is present
ahc0: High byte termination Enabled
ahc0: aic7880 ahc0: dmamem for shared data at phys 1000 virt c52f6000 nseg 1 siz
e 768
ahc0: dmamem for hardware SCB structures at phys 2000 virt c52f7000 nseg 1 size 
16320
ahc0: dmamem for sense buffers at phys 6000 virt c52fb000 nseg 1 size 8160
ahc0: dmamem for SG space at phys 8000 virt c52fd000 nseg 1 size 4096
Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: SCB physaddr 2000
ahc0: ID physaddr 1000
DISCENABLE == 0xffffffff
ULTRAENB == 0xffff
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 targ 0 lun 0: <IBM, DORS-32160W, WA6A> SCSI2 0/direct fixed
sd0: 2063 MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725 sectors
ahc0:A:6: refuses WIDE negotiation.  Using 8bit transfers
ahc0:A:6: refuses synchronous negotiation. Using asynchronous transfers
sd1 at scsibus0 targ 6 lun 0: <FUJITSU, M2512A, 1510> SCSI1 0/direct removable
sd1: could not mode sense (4/5); using fictitious geometry
sd1: 121 MB, 121 cyl, 64 head, 32 sec, 512 bytes/sect x 248826 sectors
sd1: could not mode sense (4/5); using fictitious geometry
sd1: no disk label
boot device: sd0

Under ligth use I got the following messages:
sd0(ahc0:0:0):  Check Condition on CDB: 0x08 08 ab 90 10 00
    SENSE KEY:  Aborted Command
     ASC/ASCQ:  Overlapped Commands Attempted

and:
sd0(ahc0:0:0): SCB 1c - timed out while idle, SEQADDR == 0xc
SCSIRATE == 0x0
sd0(ahc0:0:0): Queuing a BDR SCB
sd0(ahc0:0:0): Bus Device Reset Message Sent
sd0(ahc0:0:0): no longer in timeout, status = 0
ahc0: Bus Device Reset on A:0. 1 SCBs aborted


Didn't seem to cause any harm to the system though - it's still up and running.
Let's see how it will handle a make build + /etc/daily ...

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--