LinuxQuestions.org
Visit Jeremy's Blog.
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, 05:35 AM   #1
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 12.04
Posts: 237

Rep: Reputation: 30
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, 05:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 06:06 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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, 06:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

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

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

Original Poster
Rep: Reputation: 30
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, 02:59 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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, 01:30 PM   #8
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 12.04
Posts: 237

Original Poster
Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 03:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration