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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-19-2005, 05:35 AM
|
#1
|
Member
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 286
Rep:
|
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
|
|
|
01-19-2005, 05:42 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
01-19-2005, 06:06 AM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Wow, I'm behind the times... I was completely unaware that a 2.6 kernel didn't require scsi-emulation.
Thanks Chris
Cool
|
|
|
01-19-2005, 06:07 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you'll be getting rid of those dirt roads soon huh?
|
|
|
01-19-2005, 06:14 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
The wooden wheels take better to them there kinds of roads
Cool
|
|
|
01-21-2005, 07:16 AM
|
#6
|
Member
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 286
Original Poster
Rep:
|
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
|
|
|
01-22-2005, 02:59 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-23-2005, 01:30 PM
|
#8
|
Member
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 286
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 04:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|