public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: mmaciaszek@gmx.net,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
Date: Mon, 15 Jan 2001 22:15:53 +0100	[thread overview]
Message-ID: <20010115221553.A9977@suse.de> (raw)
In-Reply-To: <20010114204948.A10017@nexus.shadowrun.not>
In-Reply-To: <20010114204948.A10017@nexus.shadowrun.not>; from mmaciaszek@gmx.net on Sun, Jan 14, 2001 at 08:49:48PM +0100

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

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

[-- Attachment #2: sr_debug-1 --]
[-- Type: text/plain, Size: 457 bytes --]

--- /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);

  parent reply	other threads:[~2001-01-15 21:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-14 19:49 vmware 2.0.3, kernel 2.4.0 and a cdrom Martin Maciaszek
2001-01-14 20:29 ` Martin Tessun
2001-01-15 21:15 ` Jens Axboe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-06  1:22 Gregory T. Norris
2001-02-06  1:27 ` Jens Axboe
2001-02-06  1:29   ` Jens Axboe
2001-02-25  0:42 Rick Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010115221553.A9977@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmaciaszek@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox