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

Re: cdrecord and "get performance" scsi errors



Hi,

> -atip goes on ok without any error, maybe the only issue is that it
> says "blank disk" while it was not blank.

With overwriteable media (DVD-RAM, DVD+RW, formatted DVD-RW)
"blank" is the only possible state in the model of libburn.
It means that the media can be written without prior erasing
and it also indicates that no media structure TOC is available.
(The best info one can get is the size of the formatted area.
But this size does not necessarily tell the amount of valid
data from the most recent burn session.)

If you got that result with written CD, DVD-R, DVD+R or unformatted
DVD-RW, then it is a bug in libburn. 


Giulio:
>>> with LG 2466D USB I have to use
>>> 1 instead of 2, moreover this has other issues and cannot write DVD-RW
>>> (DVD+RW are ok)
me:
>> Does dvd+rw-tools reply a single
>>  Speed Descriptor#1:    ...
>> with that drive ?
Giulio:
> Yes

This would support the theory that the driver(s) want
descriptor limits and allocation lengths to be not more
than the amount of available data.


We can be glad that libburn in its published versions
only stalls. Currently it looks like the inquiry of an
oversized mode page 2Ah (command 5Ah) spoils the following
inquiry of drive features (command 46h).
Now i restricted that mode page inquiry to the 36 bytes
which any page 2Ah is supposed to have.
Result: all USB is stuck.
/proc/scsi/sg/devices  says the drive is busy.

I was stupid enough to ram a dvd+rw-mediainfo into that
stuck device. 
Then the desktop user still could use the ATA drives but
when the superuser touched them, they got stuck too.
/proc/scsi/sg/devices shows them as busy.

Only a reboot brought me back my drives. :(

An hour later the USB drive is dead again. Obviously
this time i did not spoil my ATA (ide-scsi) drives.
But the USB drive is not reachable by any sg
or sr device. (/var/log/messages shows only half a
USB load on replugging.)


(I could need Linux sysadmin advice on how to reset the
 whole USB and SCSI system without rebooting. In a few
 hours i'll try a modprobe massacre.)


Have a nice day :)

Thomas



Reply to: