LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to Enable ide-scsi emulation in the kernel? (https://www.linuxquestions.org/questions/linux-software-2/how-to-enable-ide-scsi-emulation-in-the-kernel-21590/)

shassouneh 05-22-2002 08:20 PM

How to Enable ide-scsi emulation in the kernel?
 
Hi All,
I've just installed an old burner on my machine, and I get an error saying I must enable ide-scsi emulation in the kernel for it to work. Does anyone know how I can do that?

Here is my setup info:

Distro: SuSE Linux Professional 7.3
kernel: 2.4.10-gmbh
burner: Plextor PlexWriter 8/4/32A (8432T)
burner bus: IDE / EIDE


Note: I tried recompiling my kernel almost 20 times and I keep getting "Error 2", So please let me know if therte's any way I can do this without recompiling the kernel :)


Thanx beforehand :)

trickykid 05-22-2002 11:25 PM

What are the steps you are taking to recompile the kernel and when do you get error 2 while doing it ?? Most likely got to recompile the kernel to get that scsi-emulation.

Search the site here as well, recompiling the kernel is asked and answered all the time.

neo77777 05-22-2002 11:37 PM

try as root
#modprobe ide-scsi

and add the following line into you /etc/lilo.conf
right after root=.... entry
append="hdx=ide-scsi"
rerun lilo
#lilo
where x is a for primary master, b primary slave, c secondary master, d secondary slave

shassouneh 05-22-2002 11:48 PM

trickykid-> I loooked on the LDP on steps of how to recompile it. I went through everything all the way until the final step, make bzImage where it displayed a SHITLOAD of text then finally said "Error 2"
neo777, here are the results I get from modprobe/insmod as root. I have bolded them and quoted them for readability.
Quote:


suseorbust:/home/samer # modprobe ide-scsi
suseorbust:/home/samer # insmod ide-scsi
Using /lib/modules/2.4.10-4GB/kernel/drivers/scsi/ide-scsi.o
insmod: a module named ide-scsi already exists
suseorbust:/home/samer #

I will try your lilo trick in a bit. Thanx for the replies guys. I really appreciate it

neo77777 05-22-2002 11:53 PM

Ok the modprobe thingy worked then there is supposed to be no prblems if you run
cdrecord -scanbus
prefferably as root if cdrecord is installed of course. You should see some nice output about your now-SCSI ATAPI CD-burner

shassouneh 05-23-2002 12:00 AM

nope
 
suseorbust:~ # cdrecord -scanbus
Cdrecord 1.11a05 (i686-suse-linux) Copyright (C) 1995-2001 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.
suseorbust:~ #


I am about to try your lilo trick.

neo77777 05-23-2002 12:02 AM

Yep, try it after you done editing lilo.conf don't forget to rerun lilo, reboot and you should be ok, if there is a problem add modprobe trick into rc.local startup script.

shassouneh 05-23-2002 12:04 AM

I just tried editing lilo.conf and I realized that there already IS an append entry. Could you please clarify how I can edit the thing to make it pick up the burner.
NOTE: The burner is installed on the Secondary Slave (i.e hdd)

here is the segment from lilo.conf (bolded and quoted for readability).

Quote:


image = /boot/vmlinuz
label = linux
root = /dev/hda7
initrd = /boot/initrd
append = "enableapic"

Thanx for all the help guys. It is much appreciated.

neo77777 05-23-2002 12:08 AM

if there is still a problem though I suggest head to http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html
it is a little bit outdated though, I saw somewhere on the net the specifics on how to setup CD-burner in suse, you might want to try search google for suse and cd-r/rw

neo77777 05-23-2002 12:10 AM

Oh ok then in this append statement make changes so it will read
append = "enableapic hdd=ide-scsi"

shassouneh 05-23-2002 12:10 AM

yes, please read above. How do I edit the lilo.conf file properly?

neo77777 05-23-2002 12:12 AM

did you get it
it should be
image = /boot/vmlinuz
label = linux
root = /dev/hda7
initrd = /boot/initrd
append = "enableapic hdd=ide-scsi"

neo77777 05-23-2002 12:18 AM

if there is still a no go after editing lilo.conf and rerunning lilo and consequential reboot, head to this page http://seismo.ethz.ch/linux/xcdroast.html
It is a specific for Suse 7.3 and IDE burner setup

neo77777 05-23-2002 12:20 AM

Actually this is exactly what I suggest you to do, just overview the symlinks setup if you need to, etc.

shassouneh 05-23-2002 03:42 AM

OK, I will edit my lilo.conf file as you guys advised. It may have to wait a bit though as Its getting late here and I ought to go to bed. I'll update you guys with the results once they are available :0

Thanx for all your help :D


All times are GMT -5. The time now is 12:22 AM.