LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2005, 04:35 AM   #1
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 285

Rep: Reputation: 32
Kernel recompiling for SCASI emulation


I am at my first attempts with burning CD-ROMS. I just installed cdroast and it gives me a warning that, since my CD-writer is ATAPI, there can be serious problems, and that it would be better to use SCASI emulation.

I found out on the net that this means recompiling the kernel changing some options.

I am running with Slackware 9.1, kernel 2.4. My questions are:

1) It is better to recompile kernel 2.4 with this different options, or to download kernel 2.6? SCASI emulation is needed also with kernel 2.6?

2) Anyway: I am not a very experienced linux user, I never compiled anything, not even the smallest program. Is there some newbie guide that can bring me step by step into this delicate operation?

Thank you very much
 
Old 01-19-2005, 04:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
2.6 kernels do NOT need ide-scsi emulation (it's scsi, not scasi), so if you're going to upgrade a kernel, you're better off jumping up to that anyway, as you'll get much better performance as it uses the ATAPI interfaces directly.

you shouldn't really need to recompile anythign to get scsi emulation working. in your bootloader, either lilo or grub, just add an option on the boot command saying "hdc=ide-scsi" assuming hdc is where your cdrom is. this is all that should be needed to enable scsi emulation.
 
Old 01-19-2005, 05:06 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow, I'm behind the times... I was completely unaware that a 2.6 kernel didn't require scsi-emulation.

Thanks Chris

Cool
 
Old 01-19-2005, 05:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you'll be getting rid of those dirt roads soon huh?
 
Old 01-19-2005, 05:14 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
The wooden wheels take better to them there kinds of roads

Cool
 
Old 01-21-2005, 06:16 AM   #6
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 285

Original Poster
Rep: Reputation: 32
OK. the instruction hdc=ide-scsi worked fine and I am burning cd-roms with success. Now: how exactly can I introduce that command into lilo, so that I have not to write it manually every time I boot? I tried liloconfig but it scared me off with messages like "are you sure you know what you are doing? Configuring lilo is very dangerous if you are not a guru"

However: I am happy with the fact that right now I needn't recompile anything, but sooner or later... So my first question is still standing: where can I find an easy guide to learn how to compile (kernels, but software in general)?

Thank you very much
 
Old 01-22-2005, 01:59 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You can set it globally in your lilo.conf or you can add it individually to each kernel image with an append line:
append="hdc=ide-scsi"

Do not fear the LILO, it is your friend, it is your destiny. Be careful though, you can make your system unbootable when tinkering with LILO... It's not as bad as it seems though, read the man page, it's quite the tool actually.

Cool
 
Old 01-23-2005, 12:30 PM   #8
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 285

Original Poster
Rep: Reputation: 32
OK. Done. It worked. So my only standing question remains: where can I find a friendly guide that can initiate me to the misteries of compiling programs from source and, as a last step, compiling kernels?
 
  


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
recompiling kernel 2.4.18-14 saajii Programming 2 08-11-2004 11:28 PM
Recompiling kernel without ide-scsi emulation techrolla Linux - Software 1 06-21-2004 12:52 PM
recompiling kernel safil Slackware 1 02-17-2004 07:15 PM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Recompiling Kernel VIP3R Linux - Software 6 06-03-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 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