Slow DVD-RAM writes on SuSE 64-bit with Lite-on multi drive
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slow DVD-RAM writes on SuSE 64-bit with Lite-on multi drive
I have an odd problem with my dvd-ram drive. It seems to recognize any disk I put in it, writes to most formats just fine, but when I read or write dvd-ram disks is very slow. It appears to write 32k,stall out for a couple of seconds, and write the next 32K, stall out, (repeat until file copied). I've tried writeing with Krusader and from the command line, logged in as a normal user.
I'm running SuSE 10.2 64 bit.
Computer is:
Daktech Discovery 6
Intel D946GZ motherboard
Pent 3.4 dual core
4gb ram
/dev/sda = 80 gb sata
/dev/sdb = 250gb sata
/dev/hda = LITE-ON DVD LH52C1P - DVD - CDRW
/dev/hdb = LITE-ON DVDRW LH-20A1H - DVDRAM (multi)
(Side note: The SuSE install saw every device on this computer perfectly except the onboard video. I had to manually change it to Intel i810 video in the xorg.conf file. The video now works perfectly.)
Disks automount correctly in both drives. Neither of the drives show in the /etc/fstab or /etc/mtab files, as hald is handling mounting. Blank media is seen ok. K3b has worked with all blank burnable media I've used so far. I've been able to read/write disks that have been used on this computer on other computers just fine.
DVD-RAM disks are recognized as UDF filesystem correctly. udf is in the /etc/filesystems file. Yast shows both optical drives to have DMA on.
The drive (/dev/hdb) seems to work correctly, just extremely slow with DVD-RAM. With CDRW media, it goes at normal speed. I use this for data, not movies. I've not installed the libdvdcss, as I don't watch movies on the computer anyway. I don't see any errors in the /var/log/messages file, so it isn't timing out,or erroring that I can tell, just takes a month of Sundays to write anything. I haven't tried writeing a 100mb file to see if it ever errors, as a 300kb file takes about 5 minutes.
Does seem a little bit odd, as most modes seem to work properly.. You could check if your BIOS offers the option of 16 or 32 bit IO on the IDE bus. If it does, is it set to 32?
Also, what's the command 'hdparm -I /dev/hdx' return for that drive (where hdx is the drive) ? Would you post the output?
Ok, just found the problem. Not sure how to fix, but here goes:
Edit: Was incorrect.
I went to Konsole, and umounted the /dev/hdb (as root). Next I mounted it as /dev/dvdram, instead of dev/hdb. Did a cp from there, and it was very fast. Next went back to Krusader (as normal user) and it is as fast as possible. It appears that hald needs to use /dev/dvdram for DVD-RAM disks, and /dev/hdb for "normal" r and rw media.
Edit: It shows the files I copied and I can work with them, until I umount the disk, eject it, and remount it. The files still show to be there, show the correct file size, but seem to be empty. So guess the fix isn't a fix at all.
Edit2: To anyone else trying this, don't do what I did up there. I think I've corrupted this disk. I'm now getting errors in the /var/log/messages file:
Mar 24 12:41:40 cbhome hald: mounted /dev/hdb on behalf of uid 1000
Mar 24 12:41:46 cbhome kernel: udf: udf_read_inode(ino 558) failed !bh
Mar 24 12:41:46 cbhome kernel: udf: udf_read_inode(ino 437) failed !bh
Mar 24 12:42:26 cbhome kernel: VFS: busy inodes on changed media.
Mar 24 12:43:00 cbhome kernel: VFS: busy inodes on changed media.
Not sure if it was caused by the mount as /dev/dvdram, or what, but was not getting these errors before.
Last edited by chuckbuhler; 03-24-2007 at 12:47 PM.
After doing research about DVD-RAM, it can use other filesystems that are reliable in Linux. Linux provides several filesystems that you can use. They include, EXT2, EXT3, ReiserFS, JFS, XFS, cramfs, EncFS, and many others. If you want the disc to be read and write in Windows and write reliable in Linux, use FAT32. Like NTFS, UDF write support is experimental. Just make sure block size is 2048 bytes.
Formating the disk to Fat32 seems to have worked. I'll have to take this disk to the office and try it on a Windows computer to be sure, but this is looking like a solution.
Now, the problem is, I have about 20 disks that are all formated UDF, and have data on them. If the Windows workstation can read these ok, then I guess I'll have a lot of data to transfer.
I'm still getting one error, but not sure how severe it is:
Mar 24 15:51:31 cbhome kernel: VFS: busy inodes on changed media.
The files all look ok, even after a umount and remount.
Just got back from the office. The windows computer read the disk fine. I copied about a GB of data to it, brought it back home, and was able to copy the new data here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.