Ticket #57 (assigned bug)
Read buffers show outdated content after write.
| Reported by: | scdbackup | Owned by: | scdbackup |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | libburn | Version: | |
| Keywords: | Cc: |
Description
The originally intended title for this ticket was:
"tail" padding broken again in libburn
Well, it's not broken. I got fooled by the a problem which i know from early growisofs: reading after write without eject is merely fictional.
With growisofs i experienced kernel panics back in 2003 on such occasions.
I wrote a fat padding to a CD-RW and the following checkread gave me back the image without any padding. I had written this in the previous test, ejected and then had read it. Obviously the read buffers did not get discarded by libburn's write.
Kernel 2.4.21, ide-scsi, /dev/hdc-/dev/sg0 read from /dev/sr0
The classical workaround of growisofs was to eject and load the tray. Then came -use-the-force-luke=notray and - on my wish - -use-the-force-luke=noload . (Thanks again, Andy.)
I would undertake the endeavor to try to find out how Andy solved the problem. But he uses /dev/scd0 (resp /dev/sr0) and not /dev/sg0 .
Now i consider seriously to introduce that eject-load cycle into cdrskin with --luke_notray as (deprecated) inhibitor. ("noload" == "notray" -eject)
Anybody who can solve that problem by a little kernel call to devalue the buffers ? I hated the tray out-in of growisofs. Especially because scdbackup by tradition puts the tray out: out-in-2 seconds wait-out. Arghh !
