On Sun, 20 Jul 2003 13:54:58 +0200 (CEST)
Peter Osterlund
On Sat, 19 Jul 2003, Eric Boucharé wrote:
I use linux-2.4.21 with a slackware distrib. I have patched the kernel with the 2.4.21 patch available and compiled it successfully. I have been able to format a cdrw. The disc have been recognized by Adaptec DirectCD under Windows. ... # mount /dev/pktcdvd /mnt/cdrw -t udf -o rw,noatime mount: /dev/pktcdvd: can't read superblock ... Jul 19 15:10:53 darkstar kernel: pktcdvd: pktcdvd0 Optimum Power Calibration failed
Apparently, OPC fails for this drive. Hopefully, if the drive does not support the OPC command, it will do some kind of OPC internally before starting to write, so it ought to be OK to just ignore this error.
Does this patch help?
--- linux/drivers/block/pktcdvd.c.old Sun Jul 20 13:49:28 2003 +++ linux/drivers/block/pktcdvd.c Sun Jul 20 13:48:45 2003 @@ -1899,7 +1899,6 @@
if ((ret = pkt_perform_opc(pd))) { DPRINTK("pktcdvd: %s Optimum Power Calibration failed\n", pd->name); - return -EIO; }
return 0;
-- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
Thank you very much ! It works fine !! My device is a TOSHIBA DVD-ROM SD-R2002, ATAPI CD/DVD-ROM drive on a hp n5461 laptop. Eric