You are not logged in.

#1 2006-09-24 12:10:27

veikko
Member
From: Estonia
Registered: 2006-07-28
Posts: 3

Compile a new kernel with only one change

Hi

The beyond kernel was working well on my old dell laptop until I got an usb sound card and the sound turned out to be playing incorrectly (keeps skipping ahead). I found out that a thing that might help is to turn off the kernel option "CONFIG_USB_BANDWIDTH" that is on in beyond and I got the sound working with the vanilla kernel that has the option off.

So, is there an easy way how I can compile exactly the same kernel as in the kernel26beyond package with only that single option changed? I have not compiled a kernel before so I'll probably screw something up if I start from zero... wink

Thanks

Offline

#2 2006-09-24 12:24:00

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Compile a new kernel with only one change

If you run "gzip -cd /proc/config.gz" (assuming the beyond kernel has it), you'll get the current config.  So basically, get the source for the beyond kernel, and pipe the output of "gzip ...." to ".config" in the source directory, and compile in the usual way (go read a big guide on how to do that, there are plenty on the internet, and I'm too lazy to describe it...)


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#3 2006-09-24 12:54:14

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,167

Re: Compile a new kernel with only one change

For a custom kernel , ABS is usually the easiest way.
The wiki has  alot of artciles about building custom kernels.

Custom_Kernel_Compilation_with_ABS


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB