2.4.0 test13-pre7 still causes CDROM ioctl errors
I had sent the following report a week ago:
--------------------------
Since I've installed 2.4.0 test13-pre4, I see the following errors in my log:
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
and xmcd reports:
CD audio: ioctl error on /dev/scd0: cmd=CDROMVOLCTRL errno=95
This was working fine with 2.4.0 test12-pre5, which was the previous kernel I was using.
-------------------------
Well, I installed 2.4.0 test13-pre7 and I still have the same error.
My CDROM driver is SCSI, connected to a Tekram DC390. I use the am53c974 driver.
Something must have changed in this driver since 2.4.0 test12-pre5 which broke the ioctl() handling routine.
Raphael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 10 lines · Raphael Manfredi
I had sent the following report a week ago:
--------------------------
Since I've installed 2.4.0 test13-pre4, I see the following errors in my log:sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
and xmcd reports:
Quoted 7 lines
CD audio: ioctl error on
/dev/scd0: cmd=CDROMVOLCTRL errno=95This was working fine with 2.4.0 test12-pre5, which was the previous kernel I was using.
-------------------------Well, I installed 2.4.0 test13-pre7 and I still have the same error.
Appears audio capabilities are not being detected as supported. What does /proc/sys/dev/cdrom/info say? And what does the sr_mod load line look like?
Signature · 6 lines
* Jens Axboe <[email protected]> * SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
[Saw your reply on the web archive: I'm not subscribed to linux-kernel.
Cc-ing the list for archive -- I've faked an In-Reply-To for correct threading].
A "cat /proc/sys/dev/cdrom/info" says
(I have 2 CD-ROMs, but the one with ioctl() errors is the SCSI one)
CD-ROM information, Id: cdrom.c 3.12 2000/10/18
drive name: sr0 hdb
drive speed: 1 1
drive # of slots: 1 1
Can close tray: 1 1
Can open tray: 1 1
Can lock tray: 1 1
Can change speed: 0 1
Can select disk: 1 0
Can read multisession: 1 1
Can read MCN: 1 1
Reports media changed: 1 1
Can play audio: 1 1
Can write CD-R: 1 0
Can write CD-RW: 1 0
Can read DVD: 1 0
Can write DVD-R: 1 0
Can write DVD-RAM: 1 0
Apparently, it recognizes its audio-playing capabilities.
However, this is NOT a CD writer, and I don't know why it's saying it can *write* CDs. This CD-ROM is:
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
As for sr_mod loading, I don't have any special flags specified (no options in /etc/modules.conf). But I did not have any either previously.
The module "sr_mod" loads correctly:
Module Size Used by
sr_mod 12688 0 (autoclean)
es1371 29104 0 (autoclean)
ac97_codec 7728 0 (autoclean) [es1371]
vmnet 17824 3
vmmon 19056 3
nls_cp437 4352 2 (autoclean)
Note that this does not prevent correct playback from xmcd, i.e. the control interface to launch the playback works correctly, xmcd just complains about the ioctl() error.
However, I'm also running VMWare (as you can see with the vmnet and vmmon modules), and it refuses to connect my SCSI CD-ROM device. It says:
CDROM: "/dev/cdrom" exists but does not appear to be a CDROM device
And /dev/cdrom is:
/dev/cdrom -> /dev/scd0
Raphael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/