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.
A rather simple problem that I cannot for love or money think of how to ask succinctly through a search engine.
Apologies for that I suppose it has been posted here before. anyway ..
I have an internal CD/DVD rom drive that I have running as ide-scsi from lilo.
I have an external HP 8200e USB cd writer, also recognized as scsi.
Now, I always have /dev/cdrom, /dev/cdrom0 and /dev/cdrom1 upon booting. I've appended the line "modprobe sg" to the end of /etc/rc.d/rc.local to create the appropriate sg? files. Fstab supplies directions as to where the OS (Mandrake 9.0) is to supermount these devices, namely, /mnt/cdrom and /mnt/cdrw.
The trouble comes when, depending how the machine seems to feel upon a reboot, that /mnt/cdrom will be the internal IDE cdrom drive OR that /mnt/cdrom will be the external USB cd writer.
In spite of the fact I do not know how to ask "What is Wrong?" succinctly, I'm willing to bet that several of you out there have come across this problem? What to do?
Thank you very much for your time. First time caller, long time listener.
to post as it is in your files, you can use the code feature. Without spaces next to the words, place the files between the 2 opening and closing brackets:
[ code ] Place the stuff here [ /code ]
Remove the spaces between the brackets and the code and that will help keep the format proper.
BTW, welcome to LQ
Onto your problem... Mandrake uses DevFS. That's great, it's fine and dandy, and some people love it. Anyway, the /mnt/cdrom is only a mount point for the media you are inserting. It can be /mnt/somewhere/anywhere/something/anything/and/so/on If you really wanted it to be. My point is that you can mount your media anywhere you want, it's the device that is changing. I can see at least 1 problem, you are getting "scsi emulation" from /dev/hdc which is more than likely your internal drive, from lilo.conf. The other is probably getting mounted as an actual scsi drive since it's an external USB drive.
Now with that mouthful said, I really am not too sure on how you'd fix it to "force" the device each time to be the same. You could try re-arranging your append line in lilo to have DevFS mount first:
from append="hdc=ide-scsi quiet devfs=mount" to append="devfs=mount quiet hdc=ide-scsi"
But I am not sure if that'd change anything.
It's all I can come up with right now, and might be worth a shot
MasterC, thank you very much. I greatly appreciate the warm welcome and the prompt reply. Thank you as well for the code tip, it will prove handy in the future.
I have made the suggested change to lilo.conf.
I'll thank you early again for the help and I'll let you know after a couple reboots whether it seems effective or not.
Please, let me know if you have any other thoughts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.