Hello,
I'm using a DAWICONTROL 2974 PCI scsi controller, and after switching to kernel
2.3.99pre3 I now receive strange scsi errors. The old kernel 2.2.14 had those
errors once or twice, but with the new kernel, they occur quite frequently. I
compiled tmscsim as a module, since I only use the extra devices when I need
them (they're installed in an external scsi tower). After usage of maybe 1
hour, sometimes less, the driver crashes. While with 2.2.14 it still was
possible to remove the module from kernel memory, unmount all file systems and
reboot, with 2.3.99 the machine locks up totally. I'm including some logs and
the /proc/scsi/* information as mentioned in README.tmscsim.
/var/log/(messages|warn):
Apr 6 16:03:30 Glenfiddich kernel: DC390_init: No EEPROM found!
Apr 6 16:03:30 Glenfiddich kernel: DC390_init: Trying default EEPROM settings:
Apr 6 16:03:30 Glenfiddich kernel: DC390: Used defaults: AdaptID=7, SpeedIdx=1 (8.0
MHz), DevMode=0x1f, AdaptMode=0x2f, TaggedCmnds=3 (16)
Apr 6 16:03:30 Glenfiddich kernel: Bad boy: tmscsim (at 0xc9828b71) called us without
a dev_id!
Apr 6 16:03:30 Glenfiddich kernel: DC390: 1 adapters found
Apr 6 16:03:30 Glenfiddich kernel: scsi1 : Tekram DC390/AM53C974 V2.0d 1998/12/25
Apr 6 16:03:30 Glenfiddich kernel: scsi : 2 hosts.
Apr 6 16:03:30 Glenfiddich kernel: DC390: Target 3: Sync transfer 6.7 MHz, Offset 15
Apr 6 16:03:30 Glenfiddich kernel: Vendor: YAMAHA Model: CRW6416S Rev:
1.0c
Apr 6 16:03:30 Glenfiddich kernel: Type: CD-ROM ANSI
SCSI revision: 02
Apr 6 16:03:30 Glenfiddich kernel: Detected scsi CD-ROM sr2 at scsi1, channel 0, id
3, lun 0
Apr 6 16:03:30 Glenfiddich kernel: DC390: Target 4: Sync transfer 8.0 MHz, Offset 15
Apr 6 16:03:30 Glenfiddich kernel: Vendor: SyQuest Model: SyJet-S Rev:
0117
Apr 6 16:03:30 Glenfiddich kernel: Type: Direct-Access ANSI
SCSI revision: 02
Apr 6 16:03:30 Glenfiddich kernel: Detected scsi removable disk sdb at scsi1, channel
0, id 4, lun
0
Apr 6 16:03:31 Glenfiddich kernel: sr2: scsi3-mmc drive: 16x/16x writer cd/rw
xa/form2 cdda tray
Apr 6 16:03:31 Glenfiddich kernel: sdb : READ CAPACITY failed.
Apr 6 16:03:31 Glenfiddich kernel: sdb : status = 1, message = 00, host = 0, driver =
28
Apr 6 16:03:31 Glenfiddich kernel: sdb : extended sense code = 2
Apr 6 16:03:31 Glenfiddich kernel: sdb : block size assumed to be 512 bytes, disk
size 1GB.
Apr 6 16:03:31 Glenfiddich kernel: sdb: I/O error: dev 08:10, sector 0
Apr 6 16:03:31 Glenfiddich kernel: unable to read partition table
Apr 1 19:42:25 Glenfiddich kernel: scsi : 1 host.
Apr 1 19:42:27 Glenfiddich kernel: Bad boy: tmscsim (at 0xc8a28b71) called us without
a dev_id!
Apr 1 19:42:27 Glenfiddich kernel: scsi1 : Tekram DC390/AM53C974 V2.0d 1998/12/25
Apr 1 19:42:27 Glenfiddich kernel: scsi : 2 hosts.
Apr 1 19:42:28 Glenfiddich kernel: DC390: Target 3: Sync transfer 6.7 MHz, Offset 15
Apr 1 19:42:28 Glenfiddich kernel: Vendor: YAMAHA Model: CRW6416S Rev:
1.0c
Apr 1 19:42:28 Glenfiddich kernel: Type: CD-ROM ANSI
SCSI revision: 02
Apr 1 19:42:28 Glenfiddich kernel: Detected scsi CD-ROM sr2 at scsi1, channel 0, id
3, lun 0
Apr 1 19:42:28 Glenfiddich kernel: DC390: Target 4: Sync transfer 8.0 MHz, Offset 15
Apr 1 19:42:28 Glenfiddich kernel: Vendor: SyQuest Model: SyJet-S Rev:
0117
Apr 1 19:42:28 Glenfiddich kernel: Type: Direct-Access ANSI
SCSI revision: 02
Apr 1 19:42:28 Glenfiddich kernel: Detected scsi removable disk sdb at scsi1, channel
0, id 4, lun 0
Apr 1 19:42:29 Glenfiddich kernel: sr2: scsi3-mmc drive: 16x/16x writer cd/rw
xa/form2 cdda tray
Apr 1 19:42:29 Glenfiddich kernel: sdb : READ CAPACITY failed.
Apr 1 19:42:29 Glenfiddich kernel: sdb : status = 1, message = 00, host = 0, driver =
28
Apr 1 19:42:29 Glenfiddich kernel: sdb : extended sense code = 2
Apr 1 19:42:29 Glenfiddich kernel: sdb : block size assumed to be 512 bytes, disk
size 1GB.
Apr 1 19:42:29 Glenfiddich kernel: unable to read partition table
Apr 1 19:43:46 Glenfiddich kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors=
2929800 [1430 MB] [1.4 GB]
Apr 1 19:43:46 Glenfiddich kernel: sdb: Write Protect is off
Apr 1 23:57:26 Glenfiddich kernel: scsi : aborting command due to timeout : pid 0,
scsi1, channel 0, id 4, lun 0 Prevent/Allow Medium Removal 00 00 00 00 00
Apr 1 23:57:26 Glenfiddich kernel: DC390: Abort command (pid 0, DCB c6c303e0, SRB
c66fc250)
Apr 1 23:57:26 Glenfiddich kernel: DC390: SRB: Xferred 00000000, Remain 00000000,
State 00000040, Phase 05
Apr 1 23:57:26 Glenfiddich kernel: DC390: AdpaterStatus: 00, SRB Status 00
Apr 1 23:57:26 Glenfiddich kernel: DC390: Status of last IRQ (DMA/SC/Int/IRQ):
0890cc20
Apr 1 23:57:26 Glenfiddich kernel: DC390: Register dump: SCSI block:
Apr 1 23:57:26 Glenfiddich kernel: DC390: XferCnt Cmd Stat IntS IRQS FFIS Ctl1 Ctl2
Ctl3 Ctl4
Apr 1 23:57:26 Glenfiddich kernel: DC390: 000000 46 12 cb 00 60 17 48
18 04
Apr 1 23:57:26 Glenfiddich kernel: DC390: Register dump: DMA engine:
Apr 1 23:57:26 Glenfiddich kernel: DC390: Cmd STrCnt SBusA WrkBC WrkAC
Stat SBusCtrl
Apr 1 23:57:26 Glenfiddich kernel: DC390: 00 00000400 050dcc00 00000000 050dd000
00 03184500
Apr 1 23:57:26 Glenfiddich kernel: DC390: Register dump: PCI Status: c200
Apr 1 23:57:26 Glenfiddich kernel: DC390: In case of driver trouble read
linux/drivers/scsi/README.tmscsim
Apr 1 23:57:26 Glenfiddich kernel: DC390: Abort current command (pid 0, SRB c66fc250)
Apr 1 23:57:26 Glenfiddich kernel: DC390: Reset SCSI device: 02184400
Apr 1 23:57:26 Glenfiddich kernel: SCSI host 1 abort (pid 0) timed out - resetting
Apr 1 23:57:26 Glenfiddich kernel: SCSI bus is being reset for host 1 channel 0.
Apr 1 23:57:36 Glenfiddich kernel: scsi : aborting command due to timeout : pid 0,
scsi1, channel 0, id 4, lun 0 Prevent/Allow Medium Removal 00 00 00 00 00
Apr 1 23:57:36 Glenfiddich kernel: DC390: Abort command (pid 0, DCB c6c303e0, SRB
c66fc250)
Apr 1 23:57:36 Glenfiddich kernel: DC390: SRB: Xferred 00000000, Remain 00000000,
State 00000040, Phase 05
Apr 1 23:57:36 Glenfiddich kernel: DC390: AdpaterStatus: 00, SRB Status 00
Apr 1 23:57:36 Glenfiddich kernel: DC390: Status of last IRQ (DMA/SC/Int/IRQ):
0890cc20
Apr 1 23:57:36 Glenfiddich kernel: DC390: Register dump: SCSI block:
Apr 1 23:57:36 Glenfiddich kernel: DC390: XferCnt Cmd Stat IntS IRQS FFIS Ctl1 Ctl2
Ctl3 Ctl4
Apr 1 23:57:36 Glenfiddich kernel: DC390: 120000 46 03 c0 00 00 00 00
00 00
Apr 1 23:57:36 Glenfiddich kernel: DC390: Register dump: DMA engine:
Apr 1 23:57:36 Glenfiddich kernel: DC390: Cmd STrCnt SBusA WrkBC WrkAC
Stat SBusCtrl
Apr 1 23:57:36 Glenfiddich kernel: DC390: 00 00000400 050dcc00 00000000 050dd000
00 031a4700
Apr 1 23:57:36 Glenfiddich kernel: DC390: Register dump: PCI Status: c200
Apr 1 23:57:36 Glenfiddich kernel: DC390: In case of driver trouble read
linux/drivers/scsi/README.tmscsim
Apr 1 23:57:36 Glenfiddich kernel: DC390: Abort current command (pid 0, SRB c66fc250)
Apr 1 23:57:36 Glenfiddich kernel: DC390: Reset SCSI device: 021a4700
Apr 1 23:57:36 Glenfiddich kernel: SCSI host 1 abort (pid 0) timed out - resetting
Apr 1 23:57:36 Glenfiddich kernel: SCSI bus is being reset for host 1 channel 0.
Apr 1 23:57:47 Glenfiddich kernel: scsi : aborting command due to timeout : pid 0,
scsi1, channel 0, id 4, lun 0 Prevent/Allow Medium Removal 00 00 00 00 00
/proc/scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: DCAS-34330 Rev: S60B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-12TS Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.10
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: YAMAHA Model: CRW6416S Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: SyQuest Model: SyJet-S Rev: 0117
Type: Direct-Access ANSI SCSI revision: 02
/proc/scsi/aic7xxx/0:
Adaptec AIC7xxx driver version: 5.2.0/3.2.4
Compile Options:
TCQ Enabled By Default : Disabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
Ultra Wide Controller at PCI 0/9/0
PCI MMAPed I/O Base: 0xe9000000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 10
SCBs: Active 0, Max Active 1,
Allocated 31, HW 16, Page 255
Interrupts: 18706
BIOS Control Word: 0x18a4
Adapter Control Word: 0x005c
Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
Ultra Enable Flags: 0x0000
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:1:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
Transinfo settings: current(25/15/0/0), goal(25/15/0/0), user(25/15/1/0)
Total transfers 18572 (9746 reads and 8826 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 5016 943 1237 1469 256 381 444 0
Writes: 6199 1399 739 132 62 87 208 0
(scsi0:0:2:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
Transinfo settings: current(25/15/0/0), goal(25/15/0/0), user(25/15/1/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
(scsi0:0:4:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 8
Transinfo settings: current(25/8/0/0), goal(25/15/0/0), user(25/15/1/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
/proc/scsi/tmscsi/1:
Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0d 1998/12/25
SCSI Host Nr 1, AM53C974 Adapter Nr 0
IOPortBase 0xec00, IRQLevel 0x0b
MaxID 7, MaxLUN 8, AdapterID 7, SelTimeout 250 ms
TagMaxNum 16, Status 0, ACBFlag 0, GlitchEater 24 ns
Statistics: Cmnds 21, Cmnds not sent directly 0, Out of SRB conds 0
Lost arbitrations 0
Nr of attached devices: 2, Nr of DCBs: 2
Idx ID LUN Prty Sync DsCn SndS TagQ STOP NegoPeriod SyncSpeed SyncOffs
00 03 00 Yes Yes Yes Yes No No 148 ns 6.7 M 15
01 04 00 Yes Yes Yes Yes Yes No 124 ns 8.0 M 15
I hope the included information helps. Please reply to me personally, since I'm not
subscribed to any list.
Thomas.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]