On Sun, 2005-01-23 at 10:20 +1300, Graham Vincent wrote:
Hello.
Attila Body wrote:
Hi,
I am playinh with packet writing again since it is included in the main 2.6 tree, and having lots of problems.
First, this freezing umount thingy also hits me, however emergency sync seems to be working. Also could be relvante information that after trying to umount the dvd+rw, I cannot umount _anything_ even a hdd partition mounted just to back it up to dvd.
I'm runing 2.6.11-pre1, pktcdvd 0.2.0a
Any ideas?
compi
I'm using 2.6.10 with FC3 and it's working fine for both cdrw and dvd.
Mount the media with:
pktsetup cdrw /dev/hdc mount /dev/pktcdvd/cdrw /mnt/cdrw -t udf -o rw,noatime
and umount/eject it with:
umount /mnt/cdrw pktsetup -d cdrw eject /dev/hdc
the device setup is handled motly automativally in debian with udftools package, but I assume the mechanism is the same, based on the file /etc/defaults/udftools.
The bit that caught me for a while was the need to tear down the pktcdvd device so you can eject the media. If that doesn't work send us the relevant bits of the messages log file as you try to umount...
The tricky point is that there is no message. The umount goest to D state and that's it. Btw it could be dependant to the amount of the data transfered to the DVD. if I copy few hundred megabytes i can umount the device, while if I fill the whole media I cannot. (And no, it is not the time necessary to write the buffers to the disk as a whole DVD cold be written during the time I was waiting for the umount to return.) I'll give it a try with the new 2.6.11-pre2. Thanks, compi
Good luck.
Graham
p.s. Full marks to Peter Osterlund and Ben Fennema for finally getting packet writing into the kernel - well done guys!