I have experienced some problems with this card/driver. Although it's not
yet in the kernel, I thought I would discuss the problems here and hope we
can work together to find a solution. (It gets a little lengthy here..)
Using the dc395-127 patch with 2.4.0-test2, I get this:
# dmesg
DC395x (TRM-S1040) SCSI driver 1.27, 2000-05-23
DC395x: Used settings: AdaptID=7
DC395 : Connectors: int50 Termination: Auto Low High
DC395x (TRM-S1040): 1 adapters found
scsi0 : Tekram DC395U/UW/F DC315/U V1.27, 2000-05-23
scsi : 1 host.
DC395x: Target 00: Sync: 48ns Offset 15 (20.8 MB/s)
Vendor: PIONEER Model: CD-ROM DR-966 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
DC395x: Unexpected Disconnection (pid 0)!
pid 0(592):12 00..(1-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(617):12 00..(2-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(642):12 00..(3-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(667):12 00..(4-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(692):12 00..(5-0) Start 00 S b8 DISC UnExpD *
DC395x: Target 06: Sync: 100ns Offset 15 (10.0 MB/s)
Vendor: FUJITSU Model: M2513EL Rev: 0020
Type: Optical Device ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1190):12 00..(8-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1215):12 00..(9-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1240):12 00..(10-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1265):12 00..(11-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1290):12 00..(12-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1315):12 00..(13-0) Start 00 S b8 DISC UnExpD *
DC395x: Unexpected Disconnection (pid 0)!
pid 0(1340):12 00..(14-0) Start 00 S b8 DISC UnExpD *
pid 0(1365):12 00..(15-0) Start 00 S b8 DISC UnExpD *
scsi : detected 1 SCSI cdrom 1 SCSI disk total.
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.11
SCSI device sda: hdwr sector= 2048 bytes. Sectors= 310352 [606 MB] [0.6 GB]
sda: Write Protect is off
sda: sda1
# mount /dev/sda1 /mnt
# ls -R /mnt
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Read (10) 00 00 04 82 a7 00 00 01 00
DC395x_abort: pid=0, target=06-0
DC395x: abort: Lower SyncFreq to for dev 06-0!
pid 0(36998):28 00..(6-0) Start 00 60 WtG MIP1 #MIP0(04).DISC +abort (SN)!*
TmpSRB:
DC395x: Aborted pid 0 with status 0
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Write (10) 00 00 00 00 2b 00 00 06 00
DC395x_abort: pid=0, target=06-0
pid 0(37494):2a 00..(6-0) abort (SU)!*
TmpSRB:
DC395x: Aborted pid 0 with status 1
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Write (10) 00 00 00 40 2b 00 00 05 00
DC395x_abort: pid=0, target=06-0
pid 0(37494):2a 00..(6-0) abort (SU)!*
TmpSRB:
DC395x: Aborted pid 0 with status 1
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Write (10) 00 00 00 c0 24 00 00 01 00
DC395x_abort: pid=0, target=06-0
pid 0(37494):2a 00..(6-0) abort (SU)!*
TmpSRB:
DC395x: Aborted pid 0 with status 1
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Write (10) 00 00 00 c0 26 00 00 01 00
For a short period of time the machine would freeze then spit out these
messages:
DC395x: Aborted pid 0 with status 0
SCSI host 0 abort (pid 0) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
DC395x: reset requested!
DC395x_DoingSRB_Done: pids (G)pid 0(36998):28 00..(6-0) Start 00 60 WtG MIP1
#MIP0(04).DISC +abort (SN)!abort (SN)!Reset(51998):00080000*
(W)pid 0(44994):2a 00..(6-0) Reset(52446):00080000*
(W)pid 0(44994):2a 00..(6-0) Reset(52446):00080000*
(W)pid 0(44994):2a 00..(6-0) Reset(52446):00080000*
DC395x: Debug: ML queued 16 cmnds again to 06-0
DC395x: Target 06: Sync: 124ns Offset 15 (08.1 MB/s)
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun 0
Write (10) 00 00 01 40 2b 00 00 03 00
DC395x_abort: pid=0, target=06-0
DC395x: abort: Lower SyncFreq to for dev 06-0!
pid 0(52446):2a 00..(6-0) Start 00 60 WtG MIP1 #MIP0(04).DISC +abort (SN)!*
TmpSRB:
DC395x: Aborted pid 0 with status 0
SCSI host 0 abort (pid 0) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
DC395x: reset requested!
DC395x_DoingSRB_Done: pids (G)pid 0(52446):2a 00..(6-0) Start 00 60 WtG MIP1
#MIP0(04).DISC +abort (SN)!Reset(59946):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52446):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52447):28 00..(6-0) Reset(60394):00080000*
(W)pid 0(52447):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52447):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52448):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52448):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52448):2a 00..(6-0) Reset(60394):00080000*
(W)pid 0(52448):2a 00..(6-0) Reset(60394):00080000*
DC395x: Debug: ML queued 15 cmnds again to 06-0
DC395x: Target 06: Sync: 148ns Offset 15 (06.8 MB/s)
Needless to say, it didn't work too well. I haven't tried any other
recent dev kernels.
Then on 2.2.16:
DC395x (TRM-S1040) SCSI driver 1.27, 2000-05-23
DC395x: Used settings: AdaptID=7
DC395 : Connectors: int50 Termination: Auto Low High
DC395x (TRM-S1040): 1 adapters found
scsi0 : Tekram DC395U/UW/F DC315/U V1.27, 2000-05-23
scsi : 1 host.
DC395x: Target 00: Sync: 48ns Offset 15 (20.8 MB/s)
Vendor: PIONEER Model: CD-ROM DR-966 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
DC395x: Target 06: Sync: 100ns Offset 15 (10.0 MB/s)
Vendor: FUJITSU Model: M2513EL Rev: 0020
Type: Optical Device ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
scsi : detected 2 SCSI generics 1 SCSI cdrom 1 SCSI disk total.
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.09
SCSI device sda: hdwr sector= 2048 bytes. Sectors= 310352 [606 MB] [0.6 GB]
sda: Write Protect is off
Partition check:
sda: sda1
So far so good, but...
Using a Pioneer 40x CD-ROM (DR-966), kernel 2.2.16 goes up to a load of 2.0.
The system becomes 0% idle. And that's simply installing some games from the
CDROM to an IDE harddrive. However, I have had no problems reading/writing
to/from the MO drive (which is probably much slower than the CDROM).
This is pretty much described in the README. It's here just incase.
Other hardware: athlon, asus k7v, ibm hd.
I would be interested in any ideas. I hope to take a look at it within
the next couple of weeks. Thanks.
--
Robert Dale
Digital Mission
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]