Mailinglist Archive: packet-writing (24 mails)

< Previous Next >
Re: Re: [announce] packet-0.0.2l-as2
On Thu, 14 Jun 2001, O.Sezer wrote:

> Hello:
>
> Could you make cdrwtool to work (format a disc)
> under 2.4.5-ac13 ?
>
No, and it is even stranger. I am trying to use
the generic_packet interface for a cd-writing application
and it kept oops'ing in write_10 => ioctl(CDROM_SEND_PACKET)
=> mmc_ioctl => cdrom_do_cmd => rwsem_wake, so I tried
upgrading to 2.4.5-ac13.

Now in the -ac kernels, I can't seem to do mode_sense
from my application any more (fails with "invalid field
in cdb", but probably my own fault and completely
unrelated).
cdrwtool (from where I copied some of my code) does
mode_sense correctly, but fails at mode_select
with 05:26:00 (invalid field in parameter list).

My uneducated guess is that with the new buffer handling
introduced in the 2.4.5-ac cdrom driver, the user
data never makes it to the scsi layer.

Arnd <><

PS: the patch that I submitted does not work, don't
press SysRq and Q or your kernel will crash hard!


< Previous Next >
References