Click to See Complete Forum and Search --> : cdrecord gives me scsi error


Fondor
07-09-2001, 08:18 PM
im trying to get cdrecord working in SuSE 7.1. I put this into lilo.conf:
append "cdrecorder=ide-scsi"
The dev listing for my cdrw is /dev/cdrecorder. According to the LNO artricle i need to put
insmod ide-scsi
somwhere. I tried entering this command after boot-up, but cdrecord still does not work. I get a response saying
"No such file or directory. Cannot open SCSI driver."
Can ne1 help me? Thanks in advance.

bdl
07-09-2001, 08:53 PM
I'd suggest using the command

append="hdc=ide-scsi"

..where 'hdc' is the device name. It looks as though you're trying to use the link to /dev/hdc and I doubt that would work. Don't forget to rerun '/sbin/lilo' everytime you edit your lilo.conf file!!

As far as loading the module, it's important for a couple of different mods to be loaded, specifically ide-scsi, sg and then sr_mod. If you read the CD-Writing HOWTO (http://linuxdoc.org/HOWTO/CD-Writing-HOWTO.html), they specifically list the mods you need to have enabled and show how to load them.

There are several ways to load mods on startup, I'm not familiar with SuSE, but perhaps someone with a little more knowledge on that distros sysinit can help out. You might add something to your rc.modules or create a little rc.local script to load the mods for you. The best way would be to utilize kmod and have the mods loaded automatically when the system calls for them, and use the modules.conf file as it shows in the HOWTO. Luck!

Fondor
07-10-2001, 12:04 AM
I put :
append="hdd=ide-scsi"
in lilo.conf, and i put

options ide-cd ignore=hdb # tell the ide-cd module to ignore hdb
alias scd0 sr_mod # load sr_mod upon access of scd0
#pre-install ide-scsi modprobe imm # uncomment for some ZIP drives only
pre-install sg modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi
in modules.conf. I ran lilo and i restrated, but it still doesnt work. Any other suggestions.

bdl
07-10-2001, 12:25 AM
Ok. You need to remove the following:

options ide-cd ignore=hdb
You're not using hdb, and I'm betting that you don't need to use ide-cd anyway.


pre-install ide-scsi modprobe ide-cd
Again, not using ide-cd, so when the system tries to modprobe ide-scsi, it's gonna fail everytime.

Other than that, you should just verify that the system actually has the mods you want to load. Have you tried loading them by hand? Start with ide-scsi, then sg, then sr_mod. You should then be able to run the command 'cdrecord -scanbus' and get an appropriate result, and mount the cdburner as '/dev/scd0'.

Just a tip: you should always, when possible, put your cdburner on a master channel rather than a slave as you have it. If you've got another CDROM drive as /dev/hdc, I'd swap. If you've got a master HDD on /dev/hdc, then leave things as they are, you'll most likely benefit from the HDD being on the master channel. Just my two cents. YMMV.