Skip to contentSkip to conversation

vmware 2.0.3, kernel 2.4.0 and a cdrom

DISCUSSION Martin Maciaszek 3 participants 3 messages Jan 14, 2001 – Jan 15, 2001

lore
Share & tools
lore
#0 lore raw

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

Signature · 3 lines
BOFH excuse #122:

because Bill Gates is a Jehovah's witness and so nothing can work on St. Swithin's day.
#1 lore raw

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

Quoted 18 lines · Martin Maciaszek

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

Signature · 12 lines
+-------------------------------------------------------------------------------
| 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/
#2 lore raw
In reply to Martin Maciaszek
Quoted 6 lines · Martin Maciaszek

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.

Quoted 7 lines

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?

Signature · 2 lines
* Jens Axboe <[email protected]>
* SuSE Labs
scsi/sr_ioctl.c renamed from opt/kernel/linux-2.4.0-ac9/drivers/scsi/sr_ioctl.c +4 -4
@@ -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);