[8905] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Problems playing video-cd's with plextor cdrom

daemon@ATHENA.MIT.EDU (Jens Axboe)
Sat May 27 08:51:32 2000

Date:	Sat, 27 May 2000 14:47:31 +0200
From: Jens Axboe <axboe@suse.de>
To: Nick Brok <nick@iae.nl>
Cc: linux-scsi@vger.rutgers.edu
Message-ID: <20000527144731.D3638@suse.de>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="y0ulUmNC+osPPQO6"
Content-Disposition: inline
In-Reply-To: <20000527110840.A447@atx.nbrok.iaehv.nl>; from nick@iae.nl on Sat, May 27, 2000 at 11:08:40AM +0200


--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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 <axboe@suse.de>
*  Linux CD/DVD-ROM, SuSE Labs
*  http://kernel.dk

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sr-2.4.0-test1.diff"

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

--y0ulUmNC+osPPQO6--

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post