You are not logged in.

#1 2010-07-27 20:41:27

LeafStorm
Member
From: North Carolina
Registered: 2009-05-20
Posts: 51
Website

Compiling updated kernel version

In another thread, I found out that a fix for my cardbus problems had been put in the kernel's git tree (changeset 02caa56e), which has been in mainline long enough to be in 2.6.35-rc6. The other thread's author mentioned manually updating the kernel source. I searched the wiki for information on how to do so, and mostly the information I found was just on how to compile a kernel with patches or a customized config.

After some more research, I concluded that the most likely course of action would be to copy the kernel26 directory from my ABS tree, change the version from '2.6.34' to '2.6.35-rc6', and just makepkg and pacman -U, then update my GRUB entry. However, the kernel26 PKGBUILD is quite complex. (And even if it wasn't, I would still like confirmation before doing something this important.) Does anyone have instructions on how to install this kernel (or at least a kernel with that changeset)?


Thanks,
Matthew Frazier

Offline

#2 2010-07-27 21:03:27

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Compiling updated kernel version

Why not use kernel26-rc from AUR?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-07-27 22:14:21

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Compiling updated kernel version

Try kernel26zen-git.  Its package descriptor will let you choose to check for a new kernel version, as well as allow you to choose between versions of stable or development kernels, when you run makepkg.,

Last edited by Wintervenom (2010-07-27 22:15:22)

Offline

#4 2010-07-29 00:45:33

LeafStorm
Member
From: North Carolina
Registered: 2009-05-20
Posts: 51
Website

Re: Compiling updated kernel version

@fsckd: I didn't know about the kernel26-rc package, thanks! It works great.


Thanks,
Matthew Frazier

Offline

#5 2010-07-29 05:50:57

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Compiling updated kernel version

With a bit of extra research (and if the fix is a patch that applies cleanly to 2.6.34.x code) you could also just rebuild that one module that you need (if it's one module). It is possible to build kernel modules separately and re-integrate them into the installed kernel's module tree after that.

If I'm not mistaken most modules have separate Makefiles themselves. This link has an example on how to do it.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB