lkml.org 
[lkml]   [2002]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Bug] 2.5.44-ac2 cdrom eject panic
On Sun, Oct 27 2002, Jens Axboe wrote:
> > Now if C2 scans would work that'd be great ;-)
> >
> > [plail@plailis_lfs:plail]$ readcd dev=/dev/hdc -c2scan
> > Read speed: 7056 kB/s (CD 40x, DVD 5x).
> > Write speed: 0 kB/s (CD 0x, DVD 0x).
> > Capacity: 4116432 Blocks = 8232864 kBytes = 8039 MBytes = 8430 prMB
> > Sectorsize: 2048 Bytes
> > Copy from SCSI (0,0,0) disk to file '/dev/null'
> > end: 4116432
> > addr: 0 cnt: 99^Mreadcd: Operation not permitted. Cannot send SCSI cmd vi
> > readcd: Operation not permitted. Cannot send SCSI cmd via ioctl
>
> Interesting, have no tried readcd at all myself. Will give it a spin and
> fix this tomorrow.

It uses SCSI_IOCTL_SEND_COMMAND ioctl, an old piece of crap interface
instead of libscg. I can add the 50 lines or so to emulate that ioctl,
but it would probably be better if readcd just got converted to use
libscg instead.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.038 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site