[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord 2.01 do READ_BUFFER and crashes drive.



Joerg Schilling wrote:
Hin-Tak Leung <hintak_leung@yahoo.co.uk> wrote:


Had a bit of conversation over at usb-storage mailing list below.
cdrecord 2.00.3 works fine with USB freecom drive, but cdrecord 2.01
crashes the firmware. Looks like there are two new READ_BUFFER
scsi commands in 2.01, and the drive doesn't like the 2nd one
with a large transfer length (0xfc00). Obviously this is a firmware
bug, but since it is a USB enclosure to an ATAPI drive, neither would
provide new firmware, so I wonder if there is any possibility of using
cdrecord 2.01 but not having the offending scsi READ_BUFFER command
at initialisation?


Are you sure that this is a firmware bug?

This may also be a bug in the kernel usb driver.

I cannot tell whether it is firmware or kernel driver bug, but the
verdict is that on exactly the same system+hardware combination,
cdrecord 2.00.3 works and 2.01 does not. Some change between the two
is not working, and it is the new READ_BUFFER. BTW, what's the purpose
of it? cdrecord 2.00.3 does not have it (and also seem to do things
quite differently), so the READ_BUFFER seem to be optional.

<snipped>

BTW: if the kernel would return a _correct_ error indication to cdrecord,
cdrecord would stop to repeat this command....

Actually if I don't press cntl-C, after a while when the device disappears,
cdrecord goes into a fast infinite loop spilling out message
'scsi ioctl failed' many times per second.

My advise to you is to try Solaris 10.

It is free and it seems that USB on Solaris 10 is better than the implementation
on Linux. If you get similar problems with the same hardware, it makes sense
to discuss the problem to approach a workaround

As it happens, this same system had Solaris 7 which I installed 5 years ago.
Xsun only runs at 16-color at 600x480, and I tried Xfree 3, then Xfree 4.
(the video module kit from xfree only comes in at Solaris 8). It is a laptop
and the internal cd drive had been replaced and failed again already. Hence
the external CD writer. So I don't have any way of installing Solaris 10
without a working internal cd drive. Besides, I reckon Xsun won't work
on Solaris 10 either... not very funny running X at 16-color at 600x480,
however much I like to use Solaris 10!



Reply to: