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.
OK I've been in and out of this issue and I'm pulling my hair out. I've tried all the stuff I could find online that supposedly gets Mandrake 9.1 to make IDE cdrom look like scsi drives to the system. I went in to my LILO and wrote this script.
I went in and even changed my mount points to reflect these changes and now I have scd0 and scd1 and several cdroms showing in my dev folder I'm not entirely an idiot but I'm beginning to feel a bit frustrated. I can't get any of my burner software to recognize my cdrw, I can mount them just fine otherwise but not as a burner. Please help.
I also tried several other scripts i found, that supposedly makes linux think ide's are scsi and yes I ran
/sbin/insmod -p ide-scsi and the system is using it.
Well, I think the recent kernels eliminate the need for scsi emulation for cd burners (or maybe it's just 2.6.x kernel configured with Fedora Core 2). The cd burning software might still say that your drive needs to be configured for scsi emulation after a kernel upgrade, but when you burn a cd it will still burn it fine.
Thanks Michael,
I tried eroaster, xcdroast, gnome toaster, and kd3b, now my system doesn't see my cd's. I tried to loiad some software this morning and it asked me to place disk in cdrom scd0. Usually up until now it use to open the drive for the disk. It didn't and when I went to place it manually it didn't see it.
OK I got my cdrom back and mounted my cdrw as that so I have the cdrw icon on my desktop, I have added the script hdd=ide-scsi to my lilo. SHould I use "cdrw=ide=scsi"? Anyway gnome toaster still doesn't see it.
J
Oh yeah also when I run cdrecord -scanbus i get this
No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
Last edited by johnnygnote; 07-25-2004 at 04:37 PM.
if its any help to you I added this to my grub.conf file
hdd=ide-scsi hdc=ide-scsi
from what I've read the append line looks correct for lilo.
the drives are labeles so that you primary master is hda, primary slave is hdb, secondary master is hdc and secondary slave is hdd (you can check with is which in bios) , so typing "cdrw=ide-scsi" will do nothing.
to check if your lilo change has made a difference you can try sending a message to the device to eject
OK I've been to several websites and looked up all the different ways to emulate ide to scsi, I figured out I'm running GRUB although I also have LILO. I editted every file I was told to created symbolic links out the yin yang and I even edited my module.conf file to reflect the changes, when I did I lost my audio and my drive's. I have done everything the "EXPERTS" suggest, to get my cdrw working and recognized as a scsi to write to it BUT NADA. Is there anyone out there who can tell me what the BLANK is going on here. I'm sorry if I sound a bit frustrated but I'm at my wits end I've spent 4 daze now trying to get this to work. MY drive is in the list of comaptible drives on the MAndrake site, so I know it's not that. Please someone help, all I want to do is burn cd's
Give us the whole list of dmesg so we can find out that LINUX is using ide-scsi module.
Quote:
I tried eroaster, xcdroast, gnome toaster, and kd3b, now my system doesn't see my cd's. I tried to loiad some software this morning and it asked me to place disk in cdrom scd0. Usually up until now it use to open the drive for the disk. It didn't and when I went to place it manually it didn't see it.
Those are front ends to cdrecord. If cdrecord does not see a SCSI device, none of your front ends will work.
When you do /sbin/lsmod, do you see scsi_mod, sr_mod, and ide-scsi.
Did your drive work before. If it did, you may want to remove cdrecord and re-install it. You can try to use kpackage to freshen up the kernel and the modules from the rpm file on the CD.
Mandrake as cd burning wizard in Mandrake Control Center. You can use that to force it to work.
basically put your stuff at the and of the kernel line!
I also assume you have tried linking your /dev/cdrom and /dev/cdrom1 to /dev/scd0 and /dev/scd1. If you haven't give it a try, it can be done by typing the following into a terminal. but the changes you made to fstab should make them pointless (assuming you haven't changed fstab since first last post)
#make a backup of the origional point
mv /dev/cdrom /dev/cdrom_old
mv /dev/cdrom1 /dev/cdrom1_old
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1
then as electro said check your loaded modules, if you don't have the ones he said type in the following to load them.
/sbin/modprobe scsi_mod
/sbin/modprobe sg
/sbin/modprobe sr_mod
/sbin/modprobe ide-scsi
if it is just these missing add the line to
/etc/rc.local and they will load automatically when you boot the machine.
Originally posted by johnnygnote Oh yeah also when I run cdrecord -scanbus i get this
No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
Well, this sounds like ide-scsi is not even enabled in the kernel (the module ide-scsi has not been built). That's the only reason I can think of you'd get such an error as "Cannot open SCSI driver", and this being Mandrake 9.1 (which was a bit buggy), it certainly is a possiblity, especially since you've pretty much checked/changed everything relevant-- except the kernel.
In addition to the output of dmesg, I'd like to see the output of lsmod.
Thank you all very much, Yes my cdrw worked very well as a cd drive. I did run lsmod and scsi came up with ide-scsi listed along side as well as other's. I also did the symbolic l inks using scd0 and scd1 to cdrom and cdrom1. It was when I changed my module.conf that I lost all of my ide devices and I signified that hdd was the ide device to ignore and default to scsi. I lost sound, my ethernet card and a couple of other things. I went back and changed things back and with some reconfiguring I got things back. I'm not sure what was going on. I didi all of the things you all have suggested and came up with problems.
After reading up in more depth and googling the errors and scsi emulation I found that Mandrake 10 has some new architecture that makes all of this moot. So I am happy to say that I am opting to upgrade and have acguired Mandrake 10.0 and will go from there. Thank you all for your support and the awsome help you have given. I'm sure that If I had pushed on with your help I would have been succesful but as Motub said yes 9.1 is a bit buggy I love it, but I guess it's time to move on to 10, I apologize for my frustration and thank all of you for your help
Last edited by johnnygnote; 07-29-2004 at 04:33 PM.
I just wanted to get back to the forum and report on what has happened. I upgraded to 10.0 Official and had complete success with my burner. I started Kd3b and there was my burner recognized and listed with no effort. I ran a test today and no problems. I burned a disk with no effort what so ever. I am very happy to report that 10.0 is excellent. Thanks again for all of your help and I highly recommend Mandrake 10.0 for those of you who have struggled through the atapi/ide emulation gauntlet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.