linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
@ 2001-02-25  0:42 Rick Richardson
  0 siblings, 0 replies; 7+ messages in thread
From: Rick Richardson @ 2001-02-25  0:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jens Axboe

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  rickr@mn.rr.com      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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
  2001-02-06  1:27 ` Jens Axboe
@ 2001-02-06  1:29   ` Jens Axboe
  0 siblings, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2001-02-06  1:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Gregory T. Norris

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
  2001-02-06  1:22 Gregory T. Norris
@ 2001-02-06  1:27 ` Jens Axboe
  2001-02-06  1:29   ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Axboe @ 2001-02-06  1:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: Gregory T. Norris

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
@ 2001-02-06  1:22 Gregory T. Norris
  2001-02-06  1:27 ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Gregory T. Norris @ 2001-02-06  1:22 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel

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

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 -----

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
  2001-01-14 19:49 Martin Maciaszek
  2001-01-14 20:29 ` Martin Tessun
@ 2001-01-15 21:15 ` Jens Axboe
  1 sibling, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2001-01-15 21:15 UTC (permalink / raw)
  To: mmaciaszek, Linux kernel mailing list

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vmware 2.0.3, kernel 2.4.0 and a cdrom
  2001-01-14 19:49 Martin Maciaszek
@ 2001-01-14 20:29 ` Martin Tessun
  2001-01-15 21:15 ` Jens Axboe
  1 sibling, 0 replies; 7+ messages in thread
From: Martin Tessun @ 2001-01-14 20:29 UTC (permalink / raw)
  To: Martin Maciaszek; +Cc: Linux kernel mailing list

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  : Martin.Tessun@class.de
| 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* vmware 2.0.3, kernel 2.4.0 and a cdrom
@ 2001-01-14 19:49 Martin Maciaszek
  2001-01-14 20:29 ` Martin Tessun
  2001-01-15 21:15 ` Jens Axboe
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Maciaszek @ 2001-01-14 19:49 UTC (permalink / raw)
  To: Linux kernel mailing list

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

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-25  0:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-25  0:42 vmware 2.0.3, kernel 2.4.0 and a cdrom Rick Richardson
  -- 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-01-14 19:49 Martin Maciaszek
2001-01-14 20:29 ` Martin Tessun
2001-01-15 21:15 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).