Linux Kernel 2.6.26.5

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Linux Kernel 2.6.26.5

Post by 01000101 »

I got pretty bored, so I decided to take a swing at kernel compilation and installation into my Ubuntu box.

I wanted to remove as many excess modules as possible, while still allowing me the ability to use some of the less common devices I had kicking around (fat/ntfs flash/usb drives, serial-based switches, etc...). So after about 20 minutes of selecting and deselecting, I finally finished the initial configuration.

Some of the things I chose:
newer xeon optimizations
full SMP support.
1000hz timer freq.
deadline scheduler

As my server/workstation does not have a soundcard and only has a NVidia GeForce 5500, I removed ALL support for soundcards and left only bare minimum graphics support.

unfortunately, on reboot (after installing), i found out that I left the RIVAFB graphics support installed in the kernel, and now I cant install my Nvidia drivers as there is a huge conflict between them.... #-o so now I am re-recompiling the kernel without that stupid module.

Btw, this is the second time I've ever compiled a customized kernel, so I'm still learning quite a bit about this.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Linux Kernel 2.6.26.5

Post by piranha »

I have tried to compile Linux 2.6.x for my own use 8 times, and have succeeded in making a working system 7 times, and succeeded in making a working system that also worked with my hardware/graphics (nVidia) card.
Note: By succeeded I mean not giving up and reverting to my old kernel.

So....I guess that means that I'm batting .750!

I find that messing with the scheduling and memory and processor configurations actually does give me a speed/stability boost compared to the defaults from openSuse.

My one issue is that it takes long time to compile (but what can you expect). So if you miss one option, you just lost another 1/2 hour to an hour (to a day).

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Linux Kernel 2.6.26.5

Post by 01000101 »

ya lol.
it takes me about 10-15 minutes to do a full compile + install. but then again, I'm running two quad-core 2ghz xeons with 8 gigs of memory. =)

I've noticed that using the high freq timer and using deadline scheduling actually boasts a noticable speed increase for UI interactions.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Linux Kernel 2.6.26.5

Post by Solar »

I never got a prebuilt kernel (SuSE, RedHat, Debian) to work to satisfaction. Happy Gentoo user building his own custom kernels since Gentoo 1.4 (that's... like... 2003?).

You sure learn a lot that way... it takes more time, but it's educational.
Every good solution is obvious once you've found it.
User avatar
devel
Member
Member
Posts: 62
Joined: Wed Nov 28, 2007 4:15 am
Contact:

Re: Linux Kernel 2.6.26.5

Post by devel »

I am compiling kernel quite often since I am working with linux source at work.
Fortunately I don't need most of the modules so compilation takes max. 7minutes.
I would suggest to everybody to make a backup of running kernel image before you
install a new one.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Linux Kernel 2.6.26.5

Post by 01000101 »

I don't overwrite the existing kernel, I just add another line to GRUB and point it to the newly compiled kernel.
Post Reply