PDA

View Full Version : [ubuntu] 8.04: Best way for Kernel update to 2.6.25.x?



rufus25
June 21st, 2008, 03:55 PM
Hey all. I'm stuck with this bug since my update from 7.08: I use an onboard soundchip (Intel HDA) which no longer works under the current 2.6.24 kernel series[1]. Since I got a differnt computer for gaming and stuff, I keep up with Ubuntu 8.04, instead of going back to 7.08. Some days ago, a user commented on the bugreport, that his soundchip works again under the 2.6.25.7 kernel[2].

Now I want to give the 2.6.25.x kernel series a try and see if it works for me too.

Problem is: I never compiled my own kernel under Ubuntu and after reading some intro texts I'm still not quiete sure where to start (different methodes to get the source, where exactly get the source, etc.) and if I also need to compile the restricted modueles (I use an nvidia GPU with the restricted drivers, no wireless card, etc. though)? I didn't even find the Ubuntu sources for 2.6.25.x in GIT :oops:

So, can anyone tell me, what would be the best way to do this?

Best in that I get all the Ubuntu-Modifications along instead of a plain vanilla kernel (from Kernel.org, or is it a good way to use the plain kernel.org stuff?), good integration in Ubuntu, works after automatic updates and the like.

Couldn't be as easy as someone gives me an adress for 2.6.25.x, I use git, copy my old config over, build a .deb and install it?

[1]https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/211644
[2]https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/211644/comments/50

rufus25
June 27th, 2008, 02:57 PM
OK, to long of a text, maybe.

- Kernel Source from kernel.org?
- Or do I need modified sources for Ubuntu?
- If so, where do I get them.

sdennie
June 27th, 2008, 09:08 PM
Couldn't be as easy as someone gives me an adress for 2.6.25.x, I use git, copy my old config over, build a .deb and install it?


Actually, yes, it is basically that easy. Go to: www.kernel.org and grab the kernel you want and then try this guide: http://www.howtoforge.com/kernel_compilation_ubuntu.

You will also need to get the nvidia drivers and manually install them: I would look here for drivers and installation instructions: http://www.nvnews.net/vbulletin/forumdisplay.php?f=14

Zorael
June 27th, 2008, 09:10 PM
You could use KernelCheck to automate some of the kernel-building procedure. Please see http://ubuntuforums.org/showthread.php?t=311158.

jimv
June 27th, 2008, 11:02 PM
Seems like it might be easier to try installing the lastest development build of ALSA first to see if his sound card will work with that.

master_kernel
June 28th, 2008, 04:02 AM
Looks like a job for... KernelCheck!
Check out the sig. (Try out RC3 :))

And don't forget to install your nvidia drivers on reboot!

sdennie
June 28th, 2008, 04:14 AM
Looks like a job for... KernelCheck!
Check out the sig. (Try out RC3 :))


Not a bad idea.



And don't forget to install your nvidia drivers on reboot!

Or use: http://ubuntuforums.org/showthread.php?t=835573 and it will automatically install every time you install a kernel .deb file. ;)

rufus25
July 14th, 2008, 04:12 PM
Thanks all. The 'Master Kernel Thread' is great and out of curiosity I tried the tool and it worked also fine. I'm running 2.6.25.10 now and my sound works again, nice :)

I got some glitches though - some minor like a broken bootsplash and some more major ones like lags and occasional video problems. Thing is, I failed to save my old config... yeah, stupid me. Can anyone send or post me a default config for Ubuntu 8.04? So I can start from a clean slate?

sdennie
July 14th, 2008, 10:07 PM
The configs should be all installed in /boot. So, the default Hardy config should be "/boot/config-2.6.24-19-generic" whereas the config for your currently running kernel should be "/boot/config-`name -r`".