Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
On Sun, Jan 14 2001, Martin Maciaszek wrote: > Since I installed Kernel 2.4.0 VMware is no longer able to > recognize my cdrom drive. VMware shows a dialog box on power up > with following content: > [...] > CDROM: '/dev/scd0' exists, but does not appear tobe a CDROM device. On Mon Jan 15 2001, Jens Axboe wrote: > Could you try with this patch, so maybe we can get some hints as to what > is going on? I didn't see any reply to the request to see the debug output from the patch. So here is the output when it is applied to kernel 2.4.2: Feb 24 18:36:11 ipcroe kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0 Feb 24 18:36:11 ipcroe kernel: sr0: scsi-1 drive Feb 24 18:36:19 ipcroe kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. Feb 24 18:36:19 ipcroe kernel: Mode Sense (10) 00 0e 00 00 00 00 00 18 00 Feb 24 18:36:19 ipcroe kernel: [valid=0] Info fld=0x0, Current sr00:00: sense key Illegal Request Feb 24 18:36:19 ipcroe kernel: Additional sense indicates Invalid command operation code -Rick -- Rick Richardson [EMAIL PROTECTED] http://home.mn.rr.com/richardsons/ Twins Cities traffic animations are at http://members.nbci.com/tctraffic/ Important data should not be entrusted to Fisher, as it may eat it and make loud belching noises. -- RH 7.1 beta release notes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
On Tue, Feb 06 2001, Jens Axboe wrote: > Interesting, does audio volume control work if you play an audio cd? Nope it won't (just checked). I'll produce a patch for this tomorrow, I know what's going on. Is this an old SCSI drive? -- Jens Axboe - 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/
Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
On Mon, Feb 05 2001, Gregory T. Norris wrote: > On Mon, Jan 15 2001, Jens Axboe wrote: > > Could you try with this patch, so maybe we can get some hints as to > > what is going on? > > Here's what I got after applying your patch to 2.4.1: > > - SNIP - > Feb 5 17:25:26 glitch kernel: VFS: Disk change detected on device sr(11,0) > Feb 5 17:25:26 glitch kernel: VFS: Disk change detected on device sr(11,0) > Feb 5 17:25:26 glitch kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. > Feb 5 17:25:26 glitch kernel: Mode Sense (10) 00 0e 00 00 00 00 00 18 00 > Feb 5 17:25:26 glitch kernel: [valid=0] Info fld=0x0, Current sr00:00: sense key >Illegal Request > Feb 5 17:25:26 glitch kernel: Additional sense indicates Invalid command operation >code > - SNIP - Interesting, does audio volume control work if you play an audio cd? -- Jens Axboe - 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/
Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
On Mon, Jan 15 2001, Jens Axboe wrote: > Could you try with this patch, so maybe we can get some hints as to > what is going on? Here's what I got after applying your patch to 2.4.1: - SNIP - Feb 5 17:25:26 glitch kernel: VFS: Disk change detected on device sr(11,0) Feb 5 17:25:26 glitch kernel: VFS: Disk change detected on device sr(11,0) Feb 5 17:25:26 glitch kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. Feb 5 17:25:26 glitch kernel: Mode Sense (10) 00 0e 00 00 00 00 00 18 00 Feb 5 17:25:26 glitch kernel: [valid=0] Info fld=0x0, Current sr00:00: sense key Illegal Request Feb 5 17:25:26 glitch kernel: Additional sense indicates Invalid command operation code - SNIP - PGP signature
Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
On Sun, Jan 14 2001, Martin Maciaszek wrote: > Since I installed Kernel 2.4.0 VMware is no longer able to > recognize my cdrom drive. VMware shows a dialog box on power up > with following content: > [...] > CDROM: '/dev/scd0' exists, but does not appear tobe a CDROM device. > > Error connecting the CDROM device > [...] > > At the same time my syslog records the following message: > Jan 13 21:49:57 nexus kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. > > I tried 2.2.18 and VMware recognized the cdrom drive. Could you try with this patch, so maybe we can get some hints as to what is going on? -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs --- /opt/kernel/linux-2.4.0-ac9/drivers/scsi/sr_ioctl.c Fri Dec 29 23:07:22 2000 +++ drivers/scsi/sr_ioctl.c Mon Jan 15 22:14:59 2001 @@ -161,10 +161,10 @@ } else { err = -EINVAL; } -#ifdef DEBUG - print_command(sr_cmd); - print_req_sense("sr", SRpnt); -#endif + if (!quiet) { + print_command(sr_cmd); + print_req_sense("sr", SRpnt); + } break; default: printk(KERN_ERR "sr%d: CDROM (ioctl) error, command: ", target);
Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
Hi, I have the same problem. But if I say my CD-RW is the cdrom all works as expected (/dev/scd1). Also the capabilities aren't correct I think: Jan 14 21:26:31 worf kernel: sr0: scsi3-mmc drive: 0x/0x writer cd/rw caddy for my CDROM; it is a TEAC-CDROM without caddy, but tray and has a read-speed of 42. It is NOT a writer. The writer seems to be recognized correctly (again a TEAC-CDRW): Jan 14 21:26:31 worf kernel: sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Only the write-speed isn't correct (it can only write 8x not 24x) As I have no time in the moment to dig this down further, I just write this for information. Btw I'm using kernel 2.4.0 with reiserfs and NVIDIA patch. Bye Martin Martin Maciaszek wrote: > Since I installed Kernel 2.4.0 VMware is no longer able to > recognize my cdrom drive. VMware shows a dialog box on power up > with following content: > [...] > CDROM: '/dev/scd0' exists, but does not appear tobe a CDROM device. > > Error connecting the CDROM device > [...] > > At the same time my syslog records the following message: > Jan 13 21:49:57 nexus kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. > > I tried 2.2.18 and VMware recognized the cdrom drive. > > Any hints? > > Cheers > Martin -- +--- | MARTIN TESSUN Telefon: 08151 / 991 - 257 | System Engineer Telefax: 08151 / 991 - 259 | Class GmbH Mobil : 0172 / 8363502 | Moosstrasse 7 eMail : [EMAIL PROTECTED] | D-82319 Starnberg URL: http://www.class.de +--- - 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/
vmware 2.0.3, kernel 2.4.0 and a cdrom
Since I installed Kernel 2.4.0 VMware is no longer able to recognize my cdrom drive. VMware shows a dialog box on power up with following content: [...] CDROM: '/dev/scd0' exists, but does not appear tobe a CDROM device. Error connecting the CDROM device [...] At the same time my syslog records the following message: Jan 13 21:49:57 nexus kernel: sr0: CDROM (ioctl) reports ILLEGAL REQUEST. I tried 2.2.18 and VMware recognized the cdrom drive. Any hints? Cheers Martin -- BOFH excuse #122: because Bill Gates is a Jehovah's witness and so nothing can work on St. Swithin's day. PGP signature