LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Recompiling kernel for IDE-SCSI support (https://www.linuxquestions.org/questions/slackware-14/recompiling-kernel-for-ide-scsi-support-98939/)

jspaceman 10-01-2003 06:01 AM

Recompiling kernel for IDE-SCSI support
 
I have /sbin/modprobe ide-scsi uncommented in /etc/rc.d/rc.modules but I notice when I boot Slack up I get the following message:

Quote:

modprobe: Can't locate module ide-scsi
I thought I added ide-scsi support when I customized my kernel, but perhaps I didn't afterall (it was late at night and I was tired). :o

So I am thinking that I have to recompile my kernel and add in scsi support. What exactly do I do when I run 'make xconfig'? Do I click on the SCSI support button and click on the 'y' button to add SCSI support, and then go into IDE/ATAPI block devices and click on 'y' to 'SCSI emulation support'?

aaa 10-01-2003 07:06 AM

The cd-writing howto at www.tldp.org shows a list of things that need to be enabled.

jspaceman 10-02-2003 06:17 AM

I recompiled my kernel to add in SCSI emulation support, or whatever it is called and I also added the line 'append="hdb=ide-scsi"' to /etc/lilo.conf. Now I can burn CDs with K3B using cdrdao. Doing a 'cdrecord -scanbus' produces the following:

Quote:

scsibus0:
0,0,0 0) 'PLEXTOR ' 'CD-R PX-W1210A' '1.02' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
One problem though, I can't seem to do disk to disk copying with K3B. My computer has two CD drives in it, one is a CD/DVD reader (at /dev/hda and a symlink at /dev/cdrom), and the other is the Plextor CD burner mentioned above (at /dev/hdb). When I load K3B up I get the following message:

Quote:

WARNING
PROBLEM: No support for ATAPI with cdrdao
DETAILS: You will not be able to use all your reading devices as copy sources since there is at least one not configured to use SCSI emulation and your system does not support ATAPI with cdrdao.
SOLUTION: The best and recommended solution is to enable ide-scsi (SCSI emulation) for all writer devices. This way you won't have any problems.
Do I have to add a line in /etc/lilo.conf for my CD/DVD reader as well? Something like 'append="hda=ide-scsi"'?? Because I tried that and it didn't seem to work, lilo just gave me the message:

Quote:

Duplicate entry 'append' at or above line 45 in file '/etc/lilo.conf'
after I made that entry.

What do I have to do to fix this?

aaa 10-02-2003 10:02 AM

You add it like this:
append="hda=ide-scsi hdb=ide-scsi"
You don't put more than one 'append'. Do the same for any other kernel options you want to add.

jspaceman 10-03-2003 06:58 AM

Quote:

Originally posted by aaa
You add it like this:
append="hda=ide-scsi hdb=ide-scsi"
You don't put more than one 'append'. Do the same for any other kernel options you want to add.

Thanks, seems to work now. I can do disk to disk burning with K3B.


:)


All times are GMT -5. The time now is 01:22 PM.