guStaVo ZaeRa wrote:
I've been able to write files in the range of 1 kB - 2 GB on an HP dvd200i drive in UDF.
i'm about to do the same test on an 100i drive.
same test completed successfully on the HP dvd 100i on the first try. The second run (after re-formatting the disk), ended in hanging the drive -repetitive sounds were generated from the drive (you know, the kind that show that the drive is not able to read the disk). also, i got this : sr0: CDROM (ioctl) error, command: Synchronize Cache 00 00 00 00 00 00 00 00 00 Info fld=0x230430, Current sr00:00: sense key Medium Error i am about to switch back to the 200i drive to see if this problem is specifc to the 100i drive, or whether i have a bad media. Andy Polyakov wrote:
i did a rm -Rf * on the mounted dvd+rw <-- took almost 30mins...
wow! well, i have no other comment... it must be udf issue... btw, i discussed optimal udf options with ben, he recommended 'mkudffs --spartable=2 --media-type=cdrw' for dvd+rw. i'll post it on my page next weekend.
ok, now it's much better. now it only took one second! :]
then, i did a cp -R /usr/src/linux ~/2gigfile /mnt/dvd+rw which ended succesfully, but i had this in my dmesg: ... scsi : aborting command due to timeout : pid 50348, scsi0, channel 0, id 0, lun 0 Synchronize Cache 00 00 00 00 00 00 00 00 00
SRpnt->sr_timeout_per_command needs to be increased then! Right now it's 5*HZ, set it to say 30*HZ.
ok, done. the timeouts were generated when i wrote files > 1GB. The messages have disappeared now, but it seems to write a bit slowly... copying a 2GB file took over 30 mins... is it writing at 2.4x ? i can see that in get_capabilities() in sr.c, the speed is set to 1 if the capabilites were not read from the drive. Otherwise the speed is set to : scsi_CDs[i].cdi.speed = ((buffer[n + 8] << 8) + buffer[n + 9]) / 176; in my case that is 32/32, but the writer cannot write at 32! is there any way i can find out where to look for the write speed? another (kinda silly) question: how do #define the kernel modules to DEBUG, so i can get more info? gustavo