Oops with Tekram DC390 SCSI controller

From: Enrico Scholz (Enrico.Scholz@informatik.tu-chemnitz.de)
Date: Tue Jul 11 2000 - 08:48:37 EST


Hello,

since 2.4.0-test2 (-test1 works well with driver version 2.0d28) the
DC390 controller crashes my system. I have tried the newest driver
(dc390-20e2) also, but it has the same problem. It seems it can be
triggered by heavy disc access. The last thing my logfile says is

/--------------------
|Jul 11 13:40:55 gkar linuxconf: Linuxconf final setup
|Jul 11 13:41:18 gkar kernel: SysRq: Show State
|...
|Jul 11 13:41:20 gkar kernel: netconf D C10E5460 0 1315 1314 (NOTLB)
|Jul 11 13:41:20 gkar kernel: sig: 0 0000000000000000 0000000000000000 : X
|Jul 11 13:41:27 gkar kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 1, lun 0 Read (10) 00 00 2e 5b 28 00 00 02 00
|Jul 11 13:41:27 gkar kernel: DC390: Abort command (pid 0, Device 01-00)
|Jul 11 13:41:27 gkar kernel: DC390: Status of last IRQ (DMA/SC/Int/IRQ): 0890cc20
|Jul 11 13:41:27 gkar kernel: DC390: Register dump: SCSI block:
|Jul 11 13:41:27 gkar kernel: DC390: XferCnt Cmd Stat IntS IRQS FFIS Ctl1 Ctl2 Ctl3 Ctl4
|Jul 11 13:41:27 gkar kernel: DC390: 000000 44 10 cc 00 80 17 48 18 04
|Jul 11 13:41:27 gkar kernel: DC390: Register dump: DMA engine:
|Jul 11 13:41:27 gkar kernel: DC390: Cmd STrCnt SBusA WrkBC WrkAC Stat SBusCtrl
|Jul 11 13:41:27 gkar kernel: DC390: 00 00000400 03c67000 00000000 03c67400 00 03080000
|Jul 11 13:41:27 gkar kernel: DC390: Register dump: PCI Status: 0200
|Jul 11 13:41:27 gkar kernel: DC390: In case of driver trouble read linux/drivers/scsi/README.tmscsim
|Jul 11 13:41:27 gkar kernel: DC390: Aborted pid 0 with status 0
|Jul 11 13:41:29 gkar kernel: SCSI disk error : host 0 channel 0 id 1 lun 0 return code = 27010000
|Jul 11 13:41:29 gkar kernel: I/O error: dev 08:15, sector 245786
                                              ~~~~~ I haven't a /dev/sda15
                                                    partition...
|Jul 11 14:14:08 gkar syslogd 1.3-3: restart (remote reception).
\--------------------

some seconds after this an ordinary kernel oops happens with a huge
stacktrace filling the entire screen.

I don't know why the kernel means I have dev 08:15 (syncing the disk
with A-SRq-S synchronizes it also).

Some information about my system (gained under -test1):

/--------------------
|# echo 'p' | LANG=C fdisk /dev/sda
|
|Command (m for help):
|Disk /dev/sda: 255 heads, 63 sectors, 527 cylinders
|Units = cylinders of 16065 * 512 bytes
|
| Device Boot Start End Blocks Id System
|/dev/sda1 1 513 4120641 5 Extended
|/dev/sda2 * 514 523 80325 83 Linux
|/dev/sda3 524 527 32130 e Win95 FAT16 (LBA)
|/dev/sda5 1 33 265009+ 82 Linux swap
|/dev/sda6 34 349 2538238+ 83 Linux
|/dev/sda7 350 476 1020096 83 Linux
|/dev/sda8 477 513 297171 83 Linux
|
|# echo 'p' | LANG=C fdisk /dev/sdb
|
|Command (m for help):
|Disk /dev/sdb: 255 heads, 63 sectors, 527 cylinders
|Units = cylinders of 16065 * 512 bytes
|
| Device Boot Start End Blocks Id System
|/dev/sdb1 1 527 4233096 5 Extended
|/dev/sdb5 1 255 2048224+ 83 Linux
|/dev/sdb6 256 527 2184808+ 83 Linux
\--------------------

/--------------------
|# 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: IBM Model: DCAS-34330 Rev: S65A
| Type: Direct-Access ANSI SCSI revision: 02
|Host: scsi0 Channel: 00 Id: 04 Lun: 00
| Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.06
| Type: CD-ROM ANSI SCSI revision: 02
|Host: scsi0 Channel: 00 Id: 05 Lun: 00
| Vendor: TEAC Model: CD-R55S Rev: 1.0R
| Type: CD-ROM ANSI SCSI revision: 02
\--------------------

/--------------------
|# cat /proc/scsi/tmscsim/*
|Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0d28 2000/02/14
|SCSI Host Nr 0, DC390 Adapter Nr 0
|IOPortBase 0xd000, IRQ 12
|MaxID 7, MaxLUN 1, AdapterID 7, SelTimeout 250 ms, DelayReset 1 s
|TagMaxNum 32, Status 0x00, ACBFlag 0x00, GlitchEater 24 ns
|Statistics: Cmnds 84478, Cmnds not sent directly 11125, Out of SRB conds 0
| Lost arbitrations 214, Sel. connected 0, Connected: No
|Nr of attached devices: 4, Nr of DCBs: 4
|Map of attached LUNs: 01 01 00 00 01 01 00 00
|Idx ID LUN Prty Sync DsCn SndS TagQ NegoPeriod SyncSpeed SyncOffs MaxCmd
|00 00 00 Yes Yes Yes No Yes 100 ns 10.0 M 15 32
|01 01 00 Yes Yes Yes No Yes 100 ns 10.0 M 15 32
|02 04 00 Yes Yes Yes No No 200 ns 5.0 M 15 01
|03 05 00 Yes Yes Yes No No 200 ns 5.0 M 15 01
|Commands in Queues: Query: 0:
\--------------------

Enrico

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:12 EST