On Sat, May 27 2000, Nick Brok wrote:
> I tested it as requested, without any possitive results.
> My Plextor cdrom drive is not recognized as a MMC drive....
>
> This is very strange isn't it? vcdread won't work also... (compiled for my
> kernel.. in this case the 2.4.0-test1 kernel.)
> MTV doesn't recognize a videocd also... but that could be a problem of MTV.
> I mailed them, but still no answer :-(
> Tell me what you want to know to solve this problem.
It does look odd, I'd say it looks as if your Plextor is failing the
MODE_SENSE that we use to gather information on what a particular
drive supports. Hmm, could you try this patch? We need a bit
more info.
--
* Jens Axboe <[EMAIL PROTECTED]>
* Linux CD/DVD-ROM, SuSE Labs
* http://kernel.dk
--- drivers/scsi/sr.c~ Sat May 27 14:46:10 2000
+++ drivers/scsi/sr.c Sat May 27 14:46:19 2000
@@ -573,7 +573,7 @@
cmd[2] = 0x2a;
cmd[4] = 128;
cmd[3] = cmd[5] = 0;
- rc = sr_do_ioctl(i, cmd, buffer, 128, 1, SCSI_DATA_READ);
+ rc = sr_do_ioctl(i, cmd, buffer, 128, 0, SCSI_DATA_READ);
if (-EINVAL == rc) {
/* failed, drive has'nt this mode page */
--- drivers/scsi/sr_ioctl.c~ Sat May 27 14:46:13 2000
+++ drivers/scsi/sr_ioctl.c Sat May 27 14:46:36 2000
@@ -120,10 +120,8 @@
} else {
err = -EINVAL;
}
-#ifdef DEBUG
print_command(sr_cmd);
print_req_sense("sr", SRpnt);
-#endif
break;
default:
printk(KERN_ERR "sr%d: CDROM (ioctl) error, command: ",
target);