* 2.4.0 test13-pre7 still causes CDROM ioctl errors
@ 2000-12-31 12:19 Raphael Manfredi
2000-12-31 13:18 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Raphael Manfredi @ 2000-12-31 12:19 UTC (permalink / raw)
To: linux-kernel
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.0 test13-pre7 still causes CDROM ioctl errors
2000-12-31 12:19 2.4.0 test13-pre7 still causes CDROM ioctl errors Raphael Manfredi
@ 2000-12-31 13:18 ` Jens Axboe
2001-01-01 19:11 ` Raphael Manfredi
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2000-12-31 13:18 UTC (permalink / raw)
To: Raphael Manfredi; +Cc: linux-kernel
On Sun, Dec 31 2000, Raphael Manfredi wrote:
> 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.
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?
--
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* 2.4.0 test13-pre7 still causes CDROM ioctl errors
2000-12-31 13:18 ` Jens Axboe
@ 2001-01-01 19:11 ` Raphael Manfredi
0 siblings, 0 replies; 3+ messages in thread
From: Raphael Manfredi @ 2001-01-01 19:11 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel
[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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-01 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-31 12:19 2.4.0 test13-pre7 still causes CDROM ioctl errors Raphael Manfredi
2000-12-31 13:18 ` Jens Axboe
2001-01-01 19:11 ` Raphael Manfredi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox