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

ahc driver problems since 2.7



hi,

i have trouble with my (old) 2940uw since 2.7.
It worked well with 2.6, but does not boot any more in 2.7.
Here's my setup:

2940uw bios 1.21 

1 W disk
2 scsi2 disks
2 scsi cd devices

termination is manually set to "low off, high on" in the bios.
The disks are correctly actively terminated.

here's what the 2.7 driver says:

/bsd: ahc0 at pci0 dev 18 function 0 "Adaptec AHA-2940U" rev 0x00: irq 10
/bsd: ahc0: Wide Channel A, SCSI Id=7, 16/255 SCBs
/bsd: scsibus0 at ahc0: 16 targets
/bsd: ahc0: target 1 using 8bit transfers
/bsd: ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
/bsd: cd0 at scsibus0 targ 1 lun 0: <TEAC, CD-R55S, 1.0N> SCSI2 5/cdrom
removable
/bsd: ahc0: target 2 using 8bit transfers
/bsd: ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
/bsd: sd0 at scsibus0 targ 2 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X>
SCSI2 0/direct fixed
/bsd: sd0: 2014MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sec, 4124736 sec
total
/bsd: ahc0:A:2: no active SCB for reconnecting target - issuing BUS DEVICE
RESET
/bsd: SAVED_TCL == 0x20, ARG_1 == 0xff, SEQ_FLAGS == 0x0
/bsd: ahc0: Bus Device Reset on A:2. 1 SCBs aborted
/bsd: ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
/bsd: ahc0:A:2: no active SCB for reconnecting target - issuing BUS DEVICE
RESET
/bsd: SAVED_TCL == 0x20, ARG_1 == 0xff, SEQ_FLAGS == 0x0
/bsd: ahc0: Bus Device Reset on A:2. 1 SCBs aborted
/bsd: ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
/bsd: ahc0: target 4 using 8bit transfers
/bsd: ahc0: target 4 synchronous at 10.0MHz, offset = 0xf
/bsd: sd1 at scsibus0 targ 4 lun 0: <Quantum, XP34300, 81HB> SCSI2
0/direct fixed
/bsd: sd1: 4101MB, 3907 cyl, 20 head, 107 sec, 512 bytes/sec, 8399520 sec
total
/bsd: ahc0: target 8 using 16bit transfers
/bsd: ahc0: target 8 synchronous at 10.0MHz, offset = 0x8
/bsd: sd2 at scsibus0 targ 8 lun 0: <Quantum, XP32150W, 81HB> SCSI2
0/direct fixed
/bsd: sd2: 2050MB, 3907 cyl, 10 head, 107 sec, 512 bytes/sec, 4199760 sec
total


To get this message i had to disconnect the cdrom drive. With all 5
devices connected the driver issues one reset more  then halts with "board
is not responding".


To work around this i put the ahc driver from 2.6 into my 2.7 kernel:

/bsd: ahc0 at pci0 dev 18 function 0 "Adaptec AHA-2940U" rev 0x00: irq 10
/bsd: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
/bsd: scsibus0 at ahc0: 16 targets
/bsd: ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
/bsd: cd0 at scsibus0 targ 1 lun 0: <TEAC, CD-R55S, 1.0N> SCSI2 5/cdrom
removable
/bsd: ahc0: target 2 synchronous at 10.0MHz, offset = 0xf
/bsd: sd0 at scsibus0 targ 2 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X>
SCSI2 0/direct fixed
/bsd: sd0: 2014MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sec, 4124736 sec
total
/bsd: cd1 at scsibus0 targ 3 lun 0: <SANYO, CRD-254S, 1.02> SCSI2 5/cdrom
removable
/bsd: ahc0: target 4 synchronous at 10.0MHz, offset = 0xf
/bsd: sd1 at scsibus0 targ 4 lun 0: <Quantum, XP34300, 81HB> SCSI2
0/direct fixed
/bsd: sd1: 4101MB, 3907 cyl, 20 head, 107 sec, 512 bytes/sec, 8399520 sec
total
/bsd: ahc0: target 8 using 16Bit transfers
/bsd: ahc0: target 8 synchronous at 10.0MHz, offset = 0x8
/bsd: sd2 at scsibus0 targ 8 lun 0: <Quantum, XP32150W, 81HB> SCSI2
0/direct fixed
/bsd: sd2: 2050MB, 3907 cyl, 10 head, 107 sec, 512 bytes/sec, 4199760 sec
total

However i have a problem accessing the cdrom writer after a reboot

/bsd: cd0(ahc0:1:0): timed out in dataout phase, SCSISIGI == 0x0
/bsd: cd0(ahc0:1:0): BUS DEVICE RESET message queued.
/bsd: Bus Device Reset Message Sent
/bsd: cd0(ahc0:1:0): Bus Device Reset delivered. 1 SCBs aborted
/bsd: ahc0: target 1 synchronous at 10.0MHz, offset = 0xf

After this the device works fine.

I looked into the ahc driver and found that it has changed a lot since
2.6...

Any clue ?
--Armin





Visit your host, monkey.org