2.1.102 Advansys scsi changes

Melissa Johnson (mjhnsn@u.washington.edu)
Tue, 23 Jun 1998 21:40:29 -0700 (PDT)


Recently I jumped from 2.1.100 to 2.1.103 (all UP), and have been getting
the following message on bootup:

scsi0 : AdvanSys SCSI 3.1E: PCI Ultra 16 CDB: IO 6200/F, IRQ 10
scsi : 1 host.
Vendor: PHILIPS Model: CDD2600 Rev: 1.07
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 total.
sr0: CDROM (ioctl) error, command: 0x1a 00 2a 00 80 00
sr00:00: sns = 0 0
Non-extended sense class 0 code 0x0 Raw sense data:0x00 0x00 0x00 0x00
sr0: scsi3-mmc drive: 0x/0x caddy

Going back through previous patches, I have determined this behavior
was introduced with the Advansys scsi changes in the 2.1.101 patch.
I have decided it is either (a) a kernel bug, or (b) my drive is
dying and the change does something new on bootup which shows it.

Given these two choices, some background info: I have become
wary/suspicious of the drive in question as it has been spitting out odd
messages that don't SEEM to coincide with any upgrades/changes. As I don't
use it every day, I wasn't able to pinpoint when it started. ie the
following -

I first noticed it with 2.0.33, and 2.1.100 gives me almost identical
messages:

o starting a CD playing/moving tracks gives me the following with a
totally non-responsive machine until it is done doing its thing. It
usually starts playing or goes to the next track anyway afterwards:
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
advansys: advansys_reset: reset request not active or waiting,
completing anyway 97a04
or scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
advansys: advansys_reset: reset request not active or waiting,
completing anyway c02be800 etc.

o stopping blesses me with this but it usually still stops:
SCSI CD error: host 0 id 4 lun 0 return code = 27070008
Sense class 0, sense error 0, extended sense 0
SCSI error: host 0 id 4 lun 0 return code = 27070008
Sense class 0, sense error 0, extended sense 0

o for ejecting, choose (randomly) either (a) one of the above, or (b) it
works fine.

2.1.103 doesn't have any of the resetting - instead, I'll get the error
messages but unlike 2.0.33, the drive will happily do ... nothing:

o play:
sr0: CDROM (ioctl) error, command: 0x47 00 00 00 02 00 2c 17 0c 00
sr00:00: sns = 0 0
Non-extended sense class 0 code 0x0 Raw sense data:0x00 0x00 0x00 0x00
cdplay: ioctl cdrommsf

o stop:
SCSI error: host 0 id 4 lun 0 return code = 25040000
Sense class 0, sense error 0, extended sense 0

o eject:
seems to work okay ... usually.

The most aggravating part of the whole thing is that it burns cds just
fine. All of this being said, could someone more familiar with scsi
workings tell me if this sounds like a kernel problem or if I should use
the drive as a doorstop?

Hardware/config bits/lspci follows.

Thanks,
Melissa

Hardware:

AdvanSys SCSI 3.1E: PCI Ultra 16 CDB: IO 6200/F, IRQ 10
Philips cdd2600 CDR
VIA VP-1 mb
S3 4M Virge
Aimslab VideoHighway Xtreme PCI tv card (bt848)
Maxtor 72700 AP, ATA DISK drive
Maxtor 84320D4, ATA DISK drive
TOSHIBA CD-ROM XM-5602B, ATAPI CDROM drive
ne2000 ISA net card

Config bits:

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_ADVANSYS=y
CONFIG_SCSI_PPA=m
CONFIG_SCSI_PPA_HAVE_PEDANTIC=2

lspci output:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C585VP [Apollo VP1/VPX]
(rev 23) Flags: bus master, 66Mhz, medium devsel, latency 32

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586 ISA [Apollo VP] (rev
25)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev
06) (prog-if 8a)
Flags: bus master, medium devsel, latency 32
I/O ports at 6000

00:08.0 Multimedia video controller: Brooktree Corporation Bt848 (rev 12)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at e4000000 (32-bit, prefetchable)

00:0a.0 SCSI storage controller: Advanced System Products, Inc ABP940-U
(rev 02) Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at 6200

00:0b.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
Flags: bus master, medium devsel, latency 32, IRQ ?
Memory at e0000000 (32-bit, non-prefetchable)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu