All - I am trying to get a CD-RW to write using the udftools and "dar". I have done the following - compiled the SuSE 2.4.21-4 (mantel) kernel with the 2.4.21-patch from kernel.org; I had 3 "rejects" (two Makefiles which were easy to fix, and drivers/block/elevator.c, which seemed to have already had the patch applied) - used modprobe to load the pktcdvd module - cdrwtool -d /dev/cdrecorder -q - pktsetup /dev/pktcdvd0 /dev/cdrecorder - mount -t ufd -o rw,noatime /dev/pktcdvd0 /media/cdrecorder - used "dar" to write an archive on /media/cdrecorder - removed and restored a file from the archive At that point, I wanted to unmount and eject the CD-RW, to make sure the archive would be saved on the disc. So, I tried - umount /media/cdrecorder and the command never returns. The system is still up, but the Konsole window is still waiting for the command to complete. I have tried killing the command, rebooting the system, halting the system, nothing works. I finally had to power-cycle to get the system to reboot. After it rebooted, I thought maybe I missed a step, so I went back and re-read the "cd-rw hint" file I was working from, but didn't see any steps I missed. I even tried - modprobe to load the pktcdvd module - cdrwtool -d /dev/cdrecorder -q - pktsetup /dev/pktcdvd0 /dev/cdrecorder - mount -t ufd -o rw,noatime /dev/pktcdvd0 /media/cdrecorder - used "dar" to write an archive on /media/cdrecorder - removed and restored a file from the archive - cdrwtool -d /dev/cdrecorder -c 1 - umount /media/cdrecorder same result, can't reboot/shutdown/halt and the umount command never returns. Any one have any ideas/suggestions? Mark Almeida mailto:markea@earthlink.net -- Powered by SuSE Linux 8.2/Kmail 1.5.2
On Tue, 29 Jul 2003, The Wizard wrote:
I am trying to get a CD-RW to write using the udftools and "dar". I have done the following
- compiled the SuSE 2.4.21-4 (mantel) kernel with the 2.4.21-patch from kernel.org; I had 3 "rejects" (two Makefiles which were easy to fix, and drivers/block/elevator.c, which seemed to have already had the patch applied) - used modprobe to load the pktcdvd module - cdrwtool -d /dev/cdrecorder -q - pktsetup /dev/pktcdvd0 /dev/cdrecorder - mount -t ufd -o rw,noatime /dev/pktcdvd0 /media/cdrecorder - used "dar" to write an archive on /media/cdrecorder - removed and restored a file from the archive
At that point, I wanted to unmount and eject the CD-RW, to make sure the archive would be saved on the disc. So, I tried
- umount /media/cdrecorder
and the command never returns. The system is still up, but the Konsole window is still waiting for the command to complete. I have tried killing the command, rebooting the system, halting the system, nothing works. I finally had to power-cycle to get the system to reboot.
Try to create a small file on the udf filesystem touch /media/cdrecorder/tmpfile sync Look at dmesg and/or /var/log/messages to see if the kernel reports any problems. You can also run cat /proc/driver/pktcdvd/pktcdvd0 to see if anything is happening. If you are writing large amounts of data to a slow writer, it could take a very long time to finish. -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340
participants (2)
-
Peter Osterlund
-
The Wizard