[2823] in linux-scsi channel archive
Trouble with Toshiba XM-5701 CD-Rom and AHA-2940UW
daemon@ATHENA.MIT.EDU (Roger Zimmermann)
Tue Nov 18 03:26:47 1997
To: linux-scsi@vger.rutgers.edu
cc: roz@kaa.fvk-berlin.de
From: "Roger Zimmermann" <Zimmermann@fvk-berlin.de>
Date: Wed, 12 Nov 1997 12:05:46 +0100
Hi all,
we've experiencing problems with the Toshiba XM-5701 CD-Rom together with
the AHA 2940UW. I'am not sure wether this is a hard- or a software problem.
Please help.
Boot proccess and normal disk access (mount) work ok. During
the boot proccess there is some new (since linux-2.0.31) message about auto-
termination from the controller(see below), but I experienced
similar problems with an older kernel (2.0.30) too ...
================================== Problems:
---------------------- Problem 1)
Direct access the device (/dev/sr0 OR /dev/scd0) with the 'dd' command.
-> after having read an arbitrary number of bytes the 'dd' command exits with
a read error. The scsi status messages (from /proc/kmsg) start as follows:
<4>(scsi0:4:0): Target did not send an IDENTIFY message; LASTPHASE 0x40,
SAVED_TCL 0x40
<4>(scsi0:-1:0) Reset device, active_scb 8
<4>scsi0: (targ -1/chan A) matching scb to (targ 4/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 4/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 0/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 1/chan A)
<4>scsi0: (targ -1/chan A) matching scb to (targ 4/chan A)
<4>scsi0: Resetting current channel A
<4>scsi0: Channel reset, sequencer restarted
<4>(scsi0:1:0) Aborting scb 0
<4>(scsi0:0:0) Aborting scb 1
<4>(scsi0:0:0) Aborting scb 2
<4>(scsi0:0:0) Aborting scb 3
<4>(scsi0:0:0) Aborting scb 4
<4>(scsi0:0:0) Aborting scb 5
<4>(scsi0:0:0) Aborting scb 6
<4>(scsi0:0:0) Aborting scb 7
<4>(scsi0:1:0) Aborting scb 8
<4>(scsi0:1:0) Aborting scb 10
<4>(scsi0:0:0) Aborting scb 11
<4>(scsi0:1:0) Aborting scb 13
<4>(scsi0:1:0) Aborting scb 14
<4>(scsi0:4:0) Aborting scb 15
<4>scsi0: Issued channel A bus reset; 14 SCBs aborted
4>extra data not valid Current error sd08:13: sense key Not Ready
<4>Additional sense indicates Logical unit not ready, cause not reportable
<4>scsidisk I/O error: dev 08:13, sector 1408, absolute sector 2475418
<4>SCSI disk error : host 0 channel 0 id 1 lun 0 return code = 28000002
... (lots of similar stuff snipped here, i.e. only the sector number changes)
On one of our two machines (w/ only a little different hardware) the reset
crashes the system :-(, on the other all scsi devices get reset.
---------------------- Problem 2)
Mounting a cd-writable (which can be read w/ other hardware)
with the command: 'mount /dev/scd0 /cdrom -t iso9660'
Output from 'tail -20 /var/log/messages ':
Disc change detected.
SCSI CD error : host 0 id 4 lun 0 return code = 28000002
extra data not valid Current error sr0b:00: sense key Blank Check
Additional sense indicates Illegal mode for this track
CD-ROM I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
SCSI CD error : host 0 id 4 lun 0 return code = 28000002
extra data not valid Current error sr0b:00: sense key Blank Check
Additional sense indicates Illegal mode for this track
CD-ROM I/O error: dev 0b:00, sector 64
isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
Is this a HW or a SW problem ? Should I maybe reconfigure the controller or
can I proove that this is Toshibas fault ?
Cheers, Roger
=============================== Scsi configuration and boot messages
(Messages during bootup:
...
aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 12
aic7xxx: Warning - detected auto-termination. Please verify driver
detected settings and use manual termination if necessary.
aic7xxx: BIOS enabled, IO Port 0xe000, IO Mem 0xfa000000, IRQ 12, Revision B
aic7xxx: Wide Channel, SCSI ID 7, 16/255 SCBs, QFull 16, QMask 0x1f
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1/3.2
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Target 0, channel A, refusing WIDE negotiation; using 8 bit transfers.
Vendor: QUANTUM Model: FIREBALL_TM3200S Rev: 300X
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi0: Target 1, channel A, refusing WIDE negotiation; using 8 bit transfers.
Vendor: QUANTUM Model: FIREBALL_TM3200S Rev: 300X
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
scsi0: Target 4, channel A, refusing WIDE negotiation; using 8 bit transfers.
Vendor: TOSHIBA Model: CD-ROM XM-5701TA Rev: 3136
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
scsi : detected 1 SCSI cdrom 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 6281856 [3067 MB] [3.1 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 6281856 [3067 MB] [3.1 GB]
...
#cat /proc/scsi/scsi
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: QUANTUM Model: FIREBALL_TM3200S Rev: 300X
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: QUANTUM Model: FIREBALL_TM3200S Rev: 300X
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-5701TA Rev: 3136
Type: CD-ROM ANSI SCSI revision: 02
# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 4.1/3.2
Compile Options:
AIC7XXX_RESET_DELAY : 15
AIC7XXX_CMDS_PER_LUN : 8
AIC7XXX_TAGGED_QUEUEING: Enabled
AIC7XXX_PAGE_ENABLE : Enabled
AIC7XXX_PROC_STATS : Disabled
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
(AIC-788x chipset)
Host Bus: Wide
Base IO: 0xe000
Base IO Memory: 0xfa000000
IRQ: 12
SCBs: Used 16, HW 16, Page 255
Interrupts: 9441
Serial EEPROM: True
Extended Translation: Enabled
SCSI Bus Reset: Enabled
Ultra SCSI: Disabled
Target Disconnect: Enabled
--
Roger Zimmermann *** Elektro- und Magnetophysiologie, Berlin Buch
Wiltbergstra/3e 50 D - 13125 Berlin Tel.: <Ger>/30 9417 2427
----------------------------------------- Fax.: <Ger>/30 9417 2466
via E-mail: zimmermann@fvk-berlin.de /// roz@berlin.snafu.de
-=-=-=-=- The quick brown fox jumps over the lazy dog. -=-=-=-=-
PGP-ID: Roger Zimmermann <Zimmermann@fvk-berlin.de>
Key fingerprint = 83 16 D1 82 06 71 16 60 6F 61 95 65 BB CA 02 E0