View Single Post

   
  #2 (permalink)  
Old 01-17-2008, 07:33 AM
Alan Connor
 
Posts: n/a
Default Re: Compiling my first kernel...

On Tue, 21 Oct 2003 13:47:47 +0000, Jay "Boogieman" Edwards <boogie350@yahoo.com> wrote:
>
>
> Hello, I am a relative n00b to Linux (4 weeks steady, but been tinkering
> with various distros for 2 years). I am having some trouble that I can't
> seem to find a reasonable solution to, and I have decided that compiling
> a kernel is probably in order.
>
> The problem BTW... I had sound in everything using my i810 onboard AC97
> chipset on hte OSS driver. But, it would cause a LOT of crashes in Quake
> 3 as soon as I spawned on a level. ALSA didn't care much for the chip. So
> I picked up a C-Media8738 based PCI card, which sndconfig says isn't
> supported. So I set it up in ALSA and have sound in *everything* except
> Quake 3 and Enemy Territory. But I can't set the card up in OSS, even
> though Mandrake sees the card just fine, so I'm stuck with ALSA and the
> easiest solution I've found thus far is to just recompile my kernel.
>
> I've been through "make xconfig", "make dep", "make clean". I am now at
> "Read the following file (to gain some knowledge about kernel
> building...)
> "less /usr/src/linux-2.4.21-0.13mdk/arch/i386/config.in"
> and I have become a bit confused!
>
> Now, the instructions do not say to edit this file, so I assume this is
> just a summary of my kernel modules at this point?
>
>


The best way to add or subtract some feature from the kernel is to
open your old .config (usually found as /boot/config-2....) and
open it in a text editor.

Delete any lines that list features you want to change.

Then put the edited file in your kernel sources directory as the ONLY
..config file.

Run make oldconfig and you will only be offered choices (except for new
features that weren't available in the old sources) where you have deleted
the line that said do this, or this wasn't included.

Then carry on as instructed in the README in the kernel sources.

--
Alan C
Chronic Netiquette violators killfiled for 30 days. That includes PGP sigs.
Reply With Quote