lkml.org 
[lkml]   [2001]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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 <axboe@suse.de>
* 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);
\
 
 \ /
  Last update: 2005-03-22 13:17    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog