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.
Well I made a huge user error after emerging some new packages in Gentoo. I ran 'etc-update' to update my configuration files and that somehow broke my cdrom link. Its a dead link now. It used to point to /dev/cdroms/cdrom0 but their is now such link now. Its not the kernel because I've been running this 2.6 kernel for 2 months now with no problems. Its a conf file that I messed up.
DMESG shows the cdrom drive detected as /dev/hdc yet a quick scan of /dev does not show hdc which I found strange. The only thing I've gotten from doing a lot of research is that /etc/devfsd.conf could have something to do with it. I don't know what devfs is and I am surely not going to start hacking the conf file without knowing whats going on.
Any ideas? Again, the /dev/cdrom link is completly dead.
huh, well devfs is the device filesystem that keeps track of your hardware, but CD-ROMs should be hd_ or sd_ for either IDE or SCSI drives. Try making the link point to /dev/hdc and see what happens, since it already doesn't work, not much harm could come from trying that.
root in /dev # ln -sf /dev/hdc /dev/cdrom
ln: creating symbolic link `/dev/cdrom' to `/dev/hdc': File exists
root in /dev # ls -al /dev/cdrom
lr-xr-xr-x 1 root root 13 Feb 13 17:47 /dev/cdrom -> cdroms/cdrom0
root in /dev # ls -al /dev/hdc
ls: /dev/hdc: No such file or directory
root in /dev # ls -al /dev/cdroms/cdrom0
ls: /dev/cdroms/cdrom0: No such file or directory
It seems kernel related but as I said this kernel has been working for quiet some time now. Perhaps a module is missing?
do you have a device
/dev/scd0
or
/dev/sg0
(or something similar with the numbers changed?) when I installed kernel2.6.2 the device name assigned to my cdrom changed w/o warning. Also, if you are using ide-scsi on your cd-drive, you should be able to see that it is there with
cdrecord -scanbus
root in /dev # cdrecord -scanbus
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Their is no hint of /dev/scd or /dev/sg. I think that 'Cannot open SCSI driver' may be a good start. What is the name of that module I have to load? ide_scsi?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.