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

Re: cdrecord and "get performance" scsi errors



Hi,

have a summary of findings with the exploration
of cdrskin's stall on USB with Linux kernel 2.4:

I attached a PHILIPS SPD3300L USB DVD writer to my
system with kernel 2.4.21-215-athlon.
That drive works well with cdrecord and libburn on
several kernel 2.6 systems.


The stall occurs as with Giulio's LG drive.
So it is not a peculiarity of the drive but of the
driver(s) involved.

The stall always occurs with command 46h GET CONFIGURATION.

The additional command 1Eh PREVENT ALLOW MEDIUM REMOVAL
comes from the cleanup routine triggered by the interrupt
handler of cdrskin. telltoc has no interrupt handler at
that time as it is not supposed to bring the drive into
any state that needs cleanup.
(The code part in the drive enumeration which would issue
a 1Eh command too, is not reached in both cases.)

Obviously the driver does not obey the timeout set
by libburn in sg_io_hdr_t.timeout .
I am not sure wether i ever had a timeout with the
ATA drives.


I will now try to get the 46h command and others through
the system. dvd+rw-tools will show me the way.
As soon as libburn is able to cope with my USB situation
i will ask Giulio to try again.


Have a nice day :)

Thomas





Reply to: