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.
ls -l /dev/hdd
brwxrwxrwx 1 root disk 22, 64 2001-04-15 02:43 /dev/hdd
cat /dev/hdd
cat: /dev/hdd: No such device or address
So, it looks like it doesn't exist at all, even though it gets detected at boot. What gives? How can I make it work?
There's a CD in the drive. I've installed Ogle and libdvdread and everything. It's the only device on the IDE chain. It gets recognized properly on POST (by the BIOS) and also by the boot process (see above).
/dev/sd0 also gives "No such device or address" error, so I don't think it's a SCSI emulation thing.
If you can't watch dvd's its a software problem. If you can't browse any cd or dvd inside it, its system's problem.
Your config seems to be ok. The device is actually /dev/hdd. Try to insert a cdrom into it and do
mount /dev/hdd /cdrom (or whatever dir you mount'em). Then see if you can browse the cdrom. My guess is you can.
Originally posted by bruno buys If you can't watch dvd's its a software problem. If you can't browse any cd or dvd inside it, its system's problem.
Your config seems to be ok. The device is actually /dev/hdd. Try to insert a cdrom into it and do
mount /dev/hdd /cdrom (or whatever dir you mount'em). Then see if you can browse the cdrom. My guess is you can.
No... I tried that yesterday. I mean, what I tried was put a normal cd in the drive and type cat /dev/hdd, and I got a "no device or address" error, even with a plain old CD. I didn't try to mount it though, because the mount didn't work previously. I can give it a shot, but basically whenever I get a "no device or address" error, this same error prevents me from mounting later.
Well, actually my problem got solved by _enabling_ ide/scsi emulation.
I enabled it, and then I set up a symlink to /dev/scd0 (which is the emulated SCSI device) as /dvd, like so: ln -s /dev/scd0 /dvd (I hope I didn't mess up the order of the params -- if it doesn't work, try switching them around).
And then it worked! Without mounting. I just stick the DVD in the drive, start up my media player (oKle or whatever) and it works like a charm.
The only problem was that it was a bit jumpy, so I fixed that using hdparm to enable DMA directly to the device itself, /dev/hdd (I think hdparm -d 1 /dev/hdd). And then it worked smoothly and very nicely.
Originally posted by BedriddenTech sld: Look in your /etc/lilo.conf; scsi emulation is something you must specify at your boot prompt, so it should be listed there.
Thanks this was indeed the problem. After removing the scsi lines from lilo, I got rid of the scsi emulation and managed to read and write dvds!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.