Problems with AHA2940 driver

Karsten Keil (keil@temic-ech.spacenet.de)
Thu, 10 Aug 1995 20:51:11 +0200


Hello,

I have a Pentium PCI system with a adaptec 2740 SCSI host adapter.
The SCSI devices are :
1 1 GB disk
1 plexor 4x cdrom
1 hp dat tape
1 archive 150 MB tape

With kernel 1.2.11 and also kernel 1.3.5 ... 1.3.17 I have problems with
backups.
If I backup my SCSI disk (it's the root disk!) to one of the streamers (it
seems that the 150 MB streamer is a little more sensitive) it hangs my system
without any messages on the console.
I can switch between consoles, but cannot do anything else.
I can only hard reset the system :-( .

After linking the adm dir to a ide disk partition and disable swapping on
SCSI, I saw a message in /usr/adm/messages after reboot:

Aug 8 19:55:08 lx01 kernel: scsi : aborting command due to timeout :
pid 1934, scsi0, channel 0, id 0, lun 0 Read (6) 0b 78 dc 04 00

Termination and cabling are ok (It works fine with an AHA1542) .

here the message from dmesg for the configuration:
aic7xxx: hcntrl=0x2
aic7xxx_detect: AIC-7870 Rev B
aic7xxx_detect: devconfig 0x0, devstatus 0x5
aic7870 hcntrl=0x5
aic78xx: Reading SEEPROM... done
aic7870: extended translation enabled
AIC7870 (PCI-bus):
irq 9
bus release time 40 bclks
data fifo threshold 100%
SCSI CHANNEL A:
scsi id 7
scsi selection timeout 256 ms
scsi bus reset at power-on enabled
scsi bus parity enabled
scsi bus termination (low byte) disabled
aic7xxx: Downloading sequencer code..done.
NeedSdtr = 0xff, 0xff
NeedWdtr = 0x0, 0x0
Resetting the SCSI bus...
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 1.49/1.18/1.19
scsi : 1 host.
aic7xxx: Scanning channel A for devices.
aic7xxx: target 0 now synchronous at 10.0Mb/s, offset = 0xf
Vendor: CONNER Model: CFP1080S Rev: 4040
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
aic7xxx: target 2 now synchronous at 4.0Mb/s, offset = 0xf
Vendor: PLEXTOR Model: CD-ROM PX-4XCS Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
aic7xxx: target 3 refusing syncronous negotiation. Using asyncronous
transfers
Vendor: HP Model: HP35450A -A Rev: C620
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 3, lun 0
aic7xxx: target 5 refusing syncronous negotiation. Using asyncronous
transfers
Vendor: ARCHIVE Model: VIPER 150 21247 Rev: -011
Type: Sequential-Access ANSI SCSI revision: 01
Detected scsi tape st1 at scsi0, channel 0, id 5, lun 0
scsi : detected 2 SCSI tapes 1 SCSI cdrom 1 SCSI disk total.
SCSI Hardware sector size is 512 bytes on device sda

Have you any hints ?

Thanks Karsten