Click to See Complete Forum and Search --> : IDE Cd burners.
evulish
08-15-2001, 02:29 AM
Ok. This is basically a last resort. I've searched google, added 5 lines to module.conf, modprobed every damned scsi module (not quite, but still). Added that append line to lilo.conf, and STILL nothing.
Ok, I've got sg, sr_mod, ide-scsi installed, the modules.conf lines i added are:
alias scd0 sr_mod
alias scsi_hostadapter0 ide-scsi
alias block-major-11 ide-scsi
Then the stuff in dmesg for the SCSI emulation is just:
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
nothing special.
Pretty sure I did everything right.
g0d:/home/evulish# cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
g0d:/home/evulish#
I'm running kernel 2.4.7 on my 686. Debian stable/unstable/testing. The cd burner is a new ATAPI LG cd-r 8x4x24x or something.
Any clues?
Malakin
08-15-2001, 02:47 AM
I think (append=" hdd=ide-scsi") is needed in your lilo.conf file, the relevant part in my lilo.conf file looks like this(the cd drive being hdd, yours may be different of course):
image=/boot/vmlinuz-2.4.6-5mdk
label=linux-2.4.6-5mdk
root=/dev/hda2
initrd=/boot/initrd.img
append=" hdd=ide-scsi"
read-only
I don't know the module names, you could be naming all these for all I know but I'll say this anyways, in the kernel or as a module I believe you need "scsi support", "scsi cd-rom support" and "scsi emulation support" other then the obvious ide stuff.
evulish
08-15-2001, 02:54 AM
Yeah, I made a typo in my post, I meant to add append= but forgot :)
Also, I'm pretty sure those are the mods i loaded, I used modconf so I hope I got it right :)
evul,
once you do a modprob ide-scsi and made sure that the append line is in your lilo.conf...(as root btw) are you still getting the same errors when u do the scanbus?
also - just to cover the base - is scsi emulation enabled and ide cdrom disabled in your kernel when u compiled it - cuz ide cdrom need to be if your using scsi emulation.
hope that helps - i had the same error a while back and it was because i had scsi emulation and atapi crdom enabled in my kernel. once i disabled the atapi cdrom(ide) it all worked beautifully.
if you need more help...IM me at AOLIM I AM Drunk( i am atm but hopefully won't be when you message me)
-Jon
Malakin
08-15-2001, 05:09 AM
is scsi emulation enabled and ide cdrom disabled in your kernel when u compiled it - cuz ide cdrom need to be if your using scsi emulation.
The append=" hdd=ide-scsi" line in lilo.conf is there to tell the kernel to use scsi emulation instead of the native atapi driver. This is clearly mentioned in the kernel configuration documentation.
Here's the relevant part of it quoted:
This is useful if you have an ATAPI device for which no native driver has been written (for example, an ATAPI PD-CD or CDR drive); you can then use this emulation together with an appropriate SCSI device driver. In order to do this, say Y here and to "SCSI support" and "SCSI generic support", below. You must then provide the kernel command line "hdx=scsi" (try "man bootparam" or see the documentation of your boot loader (lilo or loadlin) about how to pass options to the kernel at boot time) for devices if you want the native EIDE sub-drivers to skip over the native support, so that this SCSI emulation can be used instead. This is required for use of CD-RW's.
[ 15 August 2001: Message edited by: idealego ]