[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with aic7xxx.c 1.22



Hi,

with the -current version of aic7xxxx.c my Sony DAT drive incorrectly
gets probed as sd2. reverting to the 1.21 version (together with
aic7xxxvar.h version 1.12) makes it work again, so it's probably not
an hardware/cabling problem. 

Here's the relevant part of dmesg with aic7xxx.c version 1.21: 

ahc0 at pci0 dev 16 function 0 "Adaptec(2) AHA-2940U2 Ultra2" rev 0x00: irq 9
ahc0: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc0: 16 targets
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 20.0MHz, offset = 0xf
sd0 at scsibus1 targ 0 lun 0: <IBM, DDRS-34560D, DC1B> SCSI2 0/direct fixed
sd0: 4357MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sec, 8925000 sec total
ahc0: target 2 using 8bit transfers
ahc0: target 2 synchronous at 20.0MHz, offset = 0xf
sd1 at scsibus1 targ 2 lun 0: <SEAGATE, ST34371N, 0338> SCSI2 0/direct fixed
sd1: 4148MB, 5168 cyl, 10 head, 164 sec, 512 bytes/sec, 8496960 sec total
ahc0: target 4 using 8bit transfers
ahc0: target 4 synchronous at 5.0MHz, offset = 0x8
st0 at scsibus1 targ 4 lun 0: <SONY, SDT-5200, 3.02> SCSI2 1/sequential removable
st0: drive empty

and the same part with version 1.22: 

ahc0 at pci0 dev 16 function 0 "Adaptec(2) AHA-2940U2 Ultra2" rev 0x00: irq 9
ahc0: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc0: 16 targets
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 20.0MHz, offset = 0xf
sd0 at scsibus1 targ 0 lun 0: <IBM, DDRS-34560D, DC1B> SCSI2 0/direct fixed
sd0: 4357MB, 8387 cyl, 5 head, 212 sec, 512 bytes/sec, 8925000 sec total
ahc0: target 2 using 8bit transfers
ahc0: target 2 synchronous at 20.0MHz, offset = 0xf
sd1 at scsibus1 targ 2 lun 0: <SEAGATE, ST34371N, 0338> SCSI2 0/direct fixed
sd1: 4148MB, 5168 cyl, 10 head, 164 sec, 512 bytes/sec, 8496960 sec total
ahc0: target 4 using 8bit transfers
ahc0: target 4 synchronous at 5.0MHz, offset = 0x8
sd2 at scsibus1 targ 4 lun 0: <, , > SCSI0 0/direct fixed
sd2: mode sense (4) returned nonsense; using fictitious geometry
ahc0: target 4 synchronous at 5.0MHz, offset = 0x8
sd2(ahc0:4:0): could not get size
sd2: 0MB, 0 cyl, 64 head, 32 sec, 512 bytes/sec, 0 sec total

I can provide more information or send a PR, if needed. 

					Matthieu




Visit your host, monkey.org