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.
I setup my DVD burner, but whenever I try to copy anything off of the DVD, I get an input output error. What is this? However, programs like Ogle and NeroLinux work fine.
Last edited by SolidSnakeX28; 11-02-2005 at 06:34 PM.
I'm not sure if this is your problem, but:
If you have installed udftools (packet writing) you will need
to disable the packet device before mounting your cdrom.
eg.
# pktsetup -d 0
in Debian there's a script:
# /etc/init.d/udftools stop
Originally posted by SolidSnakeX28 It's not. Can someone tell me if I need to enable any kernel modules or if I needed to emerge anything prior to using my drive?
Here's how it appears in /etc/fstab:
One thing I see looks like an incorrect device name in fstab.
It should be one of these:
Beyond that, what are you trying to do, or what command did
you issue and what error did you get?
If you issue "dmesg | grep -i dvd" it should tell you where it is
located per the above table. Change your fstab entry.
Thanks, I fixed the fstab.
I just plugged in my DVD Burner I got today, and after I plugged it in, I burned a disc. To make sure it was good, I put the disc back in the drive to copy some files back. When I try to copy files back, I get an "input output error". I'll quote it exactly:
I've never seen anything like that command "cp 'Elfen Lied - 01.avi' ~"
In Linux you can't have a space in a filename. Spaces are treated as
escape characters. If your file is titled "Elfen Lied - 01.avi" then you
would have to issue "cp Elfen\ Lied\ -\ 01.avi" and the tilde (~) I do
not understand at all.
To remove spaces from filenames, and replace them with underscores:
for i in *; do mv "$i" `echo $i | tr ' ' '_'`; done
That will remove all the spaces in the filenames in the directory where
you issue that command and replace them with _ (underscores).
Edit: You can have a space in a filename, but not in a filename
in a command string. There it will be treated as an escape character.
Last edited by Bruce Hill; 11-02-2005 at 09:13 PM.
You're sure? I use bash, and I've always used an apostrophe ( ' ) to specify filenames with spaces such as 'Elfen Lied.avi'; I do this normally. Also, the tilde key is a symbol for current user's home directory, in my case: /home/snake/. At least in gentoo, this is true.
Anyway, I tried it without the spaces and I wrote out the home directory, and still no dice.
EDIT: I've been googleing this problem alot, but to no avail. However, I have found alot of talk about needing SCSI drivers or some modules in the kernel. Anything?
Last edited by SolidSnakeX28; 11-02-2005 at 09:33 PM.
Please forgive me. I would erase my entire post, but then, someone else
can probably learn from my mistake. I just did this:
Code:
bruce@silas:/backup/DATA_old/My_Music/ywam/Dreams_of_God$ cp '04 The Truth Will Set You Free.wma' ~
bruce@silas:/backup/DATA_old/My_Music/ywam/Dreams_of_God$ cd
bruce@silas:~$ ls *Truth*
04\ The\ Truth\ Will\ Set\ You\ Free.wma*
bruce@silas:~$
AFAIK you don't *need* UDF for DVD's, although it is commonly used.
(Your fstab specifies ISO9660 anyway)
If you burn (a subset of) the files to a CD (CDRW?) do you have the same problem?
Have you tried burning with a few different applications?
Does burning at a slower speed make any difference?
Note that /dev/dvdrw should be a link to /dev/hd?
eg:
$ ls -l /dev/dvd*
lrwxrwxrwx 1 root root 3 2005-11-03 05:29 /dev/dvd -> hdd
lrwxrwxrwx 1 root root 3 2005-11-03 05:29 /dev/dvdrw -> hdd
$ ls -l /dev/hdd
brw-rw---- 1 root cdrom 22, 64 2005-11-03 05:29 /dev/hdd
(need to make sure your user is a member of the cdrom group here)
DVD is an optical disc storage media format that can be used for data storage, including movies with high video and sound quality. DVDs resemble compact discs: their physical dimensions are the same¡ª12cm or the mini 8cm¡ªbut they are encoded in a different format and at a much higher density. DVDs contain a file system, called UDF, which is an extension of the ISO 9660 Standard used for CD-ROMs.
Unlike compact discs, where sound (CDDA, Red Book) is stored in a fundamentally different fashion than data (Yellow book et al.), a properly authored DVD will always contain data in the UDF filesystem.
$ man mount
Mount options for udf
udf is the "Universal Disk Format" filesystem defined by the Optical Storage Technology Association, and is often used for DVD-ROM. See also iso9660.
I said you don't *need* to have udf for dvd.
That being said, if SolidSnakeX28 is only using Nero, then UDF support
would be an awfully good idea, as Nero seems to make UDF DVDs (AFAIK)
Quote:
http://community.linux.com/print.pl?sid=04/08/05/1123231
If you're having problems using UDF CDs burned with Nero, then you might be able to make good use of this information, especially if the culprit turns out to be Nero.
Hence my previous comments about udftools and burning applications.
My normal use of UDF is for packet writing:
Quote:
http://packet-cd.sourceforge.net/
UDF provides a filesystem capable of understanding large amounts of storage space (such as that found on DVDs), and is far more optimal for use with packet writing than the ISO9660 format used with traditional Track-at-Once and Disc-at-Once methods.
ps. changing the fstab line to
/dev/dvdrw /mnt/dvdrw auto user,noauto,ro 0 0
might help (assuming UDF support exists )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.