SCSI problems with Linux kernel 2.0.36 (aic7xxx 5.1.4), (SCB paging?)
Torsten Hilbrich
Torsten.Hilbrich at gmx.net
Sat Dec 12 12:07:09 PST 1998
Please send me a CC of your reply, I'm currently not reading this
list. Thanks in advance.
After installing the 2.0.36 kernel (previously using the 2.0.35 one) I
noticed SCSI problems while doing backups on a DDS2-DAT streamer.
After backup up about 3.0-3.5 GB of data the driver started screaming
about:
Dec 10 10:35:25 myrkr kernel: scsi : aborting command due to timeout : pid 1593026, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 2d 98 e3 00 00 01 00
Dec 10 10:35:25 myrkr kernel: scsi : aborting command due to timeout : pid 1593027, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 24 42 01 00 00 01 00
Dec 10 10:35:26 myrkr kernel: SCSI host 0 abort (pid 1593026) timed out - resetting
Dec 10 10:35:26 myrkr kernel: SCSI bus is being reset for host 0 channel 0.
Dec 10 10:50:28 myrkr kernel: scsi : aborting command due to timeout : pid 1899023, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 2e db c8 00 00 01 00
Dec 10 10:50:28 myrkr kernel: scsi : aborting command due to timeout : pid 1899024, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 3a 7d 04 00 00 01 00
Dec 10 10:50:29 myrkr kernel: SCSI host 0 abort (pid 1899023) timed out - resetting
Dec 10 10:50:29 myrkr kernel: SCSI bus is being reset for host 0 channel 0.
id2 is one of my hard discs, complete information will follow.
While these messages are generated the whole system stand still for
about 5 seconds (I was working in X11 this time, even the mouse cursor
didn't move).
If I use the linux kernel 2.0.35 (with the aic7xxxx 5.0.19 driver) I
never got this problems, I'm able to complete my ~4GB backup without
any problems. Back in 2.0.34 I was able to crash the machine doing
backups with the SCB paging option enabled, just in case you're
interested. As I see in the options list below, SCB paging is enabled
by default (and no longer optional). Maybe this is the source of my
problems with this driver.
To my application (the backup program afbackup 3.1) the above problems
are reported as media error on the tape, the author told me that he
would expect some better indication of general scsi problems.
If you need additional information please tell me, I will try to
support you in solving this problem.
Thanks for your help,
Torsten
Here are the complete data of my configuration:
myrkr# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DCAS-34330 Rev: S65A
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3701TA Rev: 0236
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: Quantum Model: XP32150 Rev: L912
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: HP Model: C1533A Rev: A612
Type: Sequential-Access ANSI SCSI revision: 02
myrkr# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 5.1.4/3.2.4
Compile Options:
AIC7XXX_RESET_DELAY : 5
AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
Check below to see which
devices use tagged queueing
AIC7XXX_PAGE_ENABLE : Enabled (This is no longer an option)
AIC7XXX_PROC_STATS : Disabled
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X SCSI host adapter
Narrow Controller
PCI MMAPed I/O Base: 0xfafc0000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 12
SCBs: Active 0, Max Active 2,
Allocated 15, HW 16, Page 255
Interrupts: 99215
BIOS Control Word: 0x18b6
Adapter Control Word: 0x005d
Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 0:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 0:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
(scsi0:0:0:0)
Device using Narrow/Sync transfers at
10.0 MByte/sec, offset 15
Device Negotiation Settings
Period Offset Bus Width
User 025 015 0
Goal 025 015 0
Current 025 015 0
Total transfers 59391 (52374 read;7017 written)
blks(512) rd=164979; blks(512) wr=19700
(scsi0:0:2:0)
Device using Narrow/Sync transfers at
10.0 MByte/sec, offset 15
Device Negotiation Settings
Period Offset Bus Width
User 025 015 0
Goal 025 015 0
Current 025 015 0
Total transfers 39778 (32011 read;7767 written)
blks(512) rd=118173; blks(512) wr=54012
--
Homepage: http://www.in-berlin.de/User/myrkr
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message
More information about the aic7xxx
mailing list