Linux-kernel mailing list archive 2000-23,: Problem with DVD-RAM in aic7xxx/Kernel 2.2.16

# Problem with DVD-RAM in aic7xxx/Kernel 2.2.16

Oliver Feiler (kiza@claws-and-paws.com)
Thu, 8 Jun 2000 11:52:03 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Woodhouse: "Re: [LINUX-ABIT] Re: ABIT -- GENTUS Linux Steals GPL CODE AGAIN!!"
- Previous message: James Sutherland: "Re: ULTRA ATA/100 announced"

Hi,

I just upgraded to Kernel 2.2.16 and now there is a problem with my
DVD-RAM drive, Panasonic LF-D101. The drive is connected to a Adaptec 2904
(the low cost model) together with a TEAC R56S4 CDR drive.

I dunno if anybody has such a drive... the DVD-RAM drive consist of
two devices. One for reading disks (sr0) and one that is used for writing and
reading RAM medias, a normal scsi disk device (sda). And so Kernel recognized
the drive as two devices (see below [1]). However, after I upgraded to 2.2.16
the "sda part" of the drive is no longer recognized. See below as well [2].

It seems not to be really a problem with the aic7xxx device driver. I
replaced the aic7xxx files in the 2.2.16 source (.../drivers/scsi) with the
ones from the old 2.2.15 Kernel. Didn't work as well.

The Kernel SCSI support is configured with:

<*> SCSI support
--- SCSI support type (disk, tape, CD-ROM)
<*> SCSI disk support
< > SCSI tape support
<*> SCSI CD-ROM support
[ ] Enable vendor-specific extensions (for SCSI CDROM)
<*> SCSI generic support
--- Some SCSI devices (e.g. CD jukebox) support multiple LUNs
[ ] Probe all LUNs on each SCSI device
[*] Verbose SCSI error reporting (kernel size +=12K)
[ ] SCSI logging facility

The drive does not have multiple LUNs, so selecting that Kernel
option doesn't cause anything.

The AIC driver with:

<*> Adaptec AIC7xxx support
[ ] Enable Tagged Command Queueing (TCQ) by default
(8) Maximum number of TCQ commands per device
[ ] Collect statistics to report in /proc
(5) Delay in seconds after SCSI bus reset

[1] Kernelmessage and /proc/scsi/scsi from the 2.2.15 Kernel (working):

2.2.15

scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
<Adaptec AIC-7850 SCSI host adapter>
scsi1 : Iomega VPI0 (ppa) interface
scsi : 2 hosts.
(scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: Optical Device ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 2, lun 0
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
(scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Vendor: TEAC Model: CD-R56S4 Rev: 1.0M
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
Vendor: IOMEGA Model: ZIP 100 Rev: J.03
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi1, channel 0, id 6, lun 0
scsi : detected 2 SCSI cdroms 2 SCSI disks total.
sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray

-/proc/scsi/scsi

11:07 root@kiza /proc/scsi# cat scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: Optical Device ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: TEAC Model: CD-R56S4 Rev: 1.0M
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: J.03
Type: Direct-Access ANSI SCSI revision: 02

[2] Kernelmessage and /proc/scsi/scsi from the 2.2.16 Kernel (problematic):

scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
<Adaptec AIC-7850 SCSI host adapter>
scsi1 : Iomega VPI0 (ppa) interface
scsi : 2 hosts.
(scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
(scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Vendor: TEAC Model: CD-R56S4 Rev: 1.0M
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
Vendor: IOMEGA Model: ZIP 100 Rev: J.03
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi1, channel 0, id 6, lun 0
scsi : detected 3 SCSI generics 2 SCSI cdroms 1 SCSI disk total.
sr0: scsi3-mmc drive: 0x/0x dvd-ram cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray

-/proc/scsi/scsi

11:20 root@kiza /usr/src# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: MATSHITA Model: PD-2 LF-D100 Rev: A113
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: TEAC Model: CD-R56S4 Rev: 1.0M
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: J.03
Type: Direct-Access ANSI SCSI revision: 02

Bye
Oliver

    --
    Oliver Feiler   [kiza@claws-and-paws.com]         PGP key ID: 0x561D4FD2
    http://www.lionking.org/~kiza/pgpkey.txt                   ICQ: 10816828
    http://www.lionking.org/~kiza/

    -
    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/

- Next message: David Woodhouse: "Re: [LINUX-ABIT] Re: ABIT -- GENTUS Linux Steals GPL CODE AGAIN!!"
- Previous message: James Sutherland: "Re: ULTRA ATA/100 announced"