LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-24-2004, 11:15 PM   #1
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Rep: Reputation: 15
Need help IDE burner to SCSI


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.

append="devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off quiet"

I then went in to my fstab and changed the script to:

none/mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,unmask=0 0 0

and I changed cdrom2 to scd1

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.

Thanks in advance,
J
 
Old 07-25-2004, 12:41 AM   #2
xbennyboy
Member
 
Registered: Jul 2004
Distribution: openSUSE 10.2
Posts: 141

Rep: Reputation: 15
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.
 
Old 07-25-2004, 01:29 AM   #3
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks, I'm still using Kernnel 2.4.21, any info on this?
 
Old 07-25-2004, 07:18 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What burner software are you trying?

Does the output of:
cdrecord --scanbus

show your CDROM drives?
 
Old 07-25-2004, 09:40 AM   #5
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
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.

J
 
Old 07-25-2004, 03:34 PM   #6
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2004, 11:41 AM   #7
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
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

eg.

eject /dev/cdrom
eject /dev/cdrom1
eject /dev/scd0
eject /dev/scd1

find out which one works, hopefully its the scd0
 
Old 07-28-2004, 06:43 PM   #8
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
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

Thanks
 
Old 07-29-2004, 12:25 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 07-29-2004, 04:54 AM   #10
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
Sorry to repeat stuff a bit but I'm not sure what you found on other sites.

Your grub.conf file should be somthign like this but with your kernel name and initrd name (/boot/grub/grub.conf)

title Fedora Core custom
root (hd0,2)
kernel /vmlinuz-2.4.22-1.2174.custom ro root=LABEL=/ hdd=ide-scsi hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2174.custom.img

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.

if none of that works kick it!!
 
Old 07-29-2004, 06:15 AM   #11
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
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.
 
Old 07-29-2004, 04:30 PM   #12
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 07-29-2004, 06:14 PM   #13
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You're welcome; do let us know that everything works OK after you upgrade.
 
Old 08-15-2004, 07:59 PM   #14
johnnygnote
LQ Newbie
 
Registered: Oct 2003
Location: Durango CO
Distribution: Mandriva 10.2 LE
Posts: 24

Original Poster
Rep: Reputation: 15
Talking

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.

 
Old 08-15-2004, 08:23 PM   #15
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Woo-hoo! Glad to hear it. Don't forget to change your profile , and have fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using scsi scanner with ide-atapi cd burner brombo Linux - General 0 05-21-2004 06:44 PM
cant use cd burner to burn AND read? either one or other, ide-scsi dmx9595 Linux - Hardware 3 05-12-2004 08:33 PM
cd burner question ide/scsi emulation wijnands Linux - Newbie 3 04-20-2004 06:27 AM
how do i enable ide-scsi for my cd burner justin9 Linux - Newbie 13 01-04-2004 04:26 PM
Replacing SCSI burner with IDE fail66 Linux - General 1 12-23-2001 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration