readcd with 2.5 kernels and ide-cd
Quoted 3 lines · Andy Polyakov
Nothing fishy, nothing at all... It's as simple as
driver/block/scsi_ioctl.cdoesn't accepts requestes larger than 64KB, while readcd asks for 256KB.
Yes, that 64KB should be increased. The sg driver allows up to 255 * 32 KB (just less than 8MB). From memory cdparanoia uses a 128 KB packet size. cdrecord uses 63 KB so it gets through.
Quoted 4 lines
Quoted 1 line
0x2285is theSG_IOioctl.
sg_ioreturns EINVAL (line 163), butdriver/block/ioctl.ctransforms it to ENOTTY (see last 8 lines).
That is unhelpful. Is there a good reason for that?
I plan to get working on the SG_IO ioctl in the block layer shortly. Andy has a patch to address the units of the command timeout. sg's iovec may map simply as well (maybe it won't either).
Doug Gilbert