You are not logged in.

#1 2006-12-14 09:55:06

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 517
Website

Kernel with Patch

There are many kernel patches available for linux ( http://wiki.archlinux.org/index.php/Ker … _Patchsets ). according to the above link, to install and use a patch, we need to know about abs and compilation which is not a noob's cup of tea. However, on searching in repos, i got kernel26beyond, kernel26ck, kernel26mm, kernel26suspend2, etc. So, does that mean that to install a patched kernel, say kernel26ck, the only thing i need to do is

pacman -S kernel26ck

then

pacman -Rs kernel26

is it that easy???????/

Also could someone list pros and cons of the patched kernels available in repos and pros/cons of using them versus the default kernel26.

Offline

#2 2006-12-14 09:57:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel with Patch

You don't even have to remove the old kernel.  You can install all the kernels in the repo side-by-side, just as long as you put the proper entries in your bootloader (i.e. vmlinuz26ck vs vmlinuz26 - make sure to change the mkinitcpio image names too.) - just make sure you add a new entry and not change the current one, so you can chose which kernel to use when you boot

Offline

#3 2006-12-15 01:54:58

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 517
Website

Re: Kernel with Patch

@phrakture, could u please make that mkinitcpio thing a lil clear. and also if you know any link where one can get some feature comparison of different patched kernels versus plain vanila one.

Offline

#4 2006-12-15 09:33:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel with Patch

Every kernel package installs a kernel (vmlinuz*) and an initcpio image (kernel*.img). For each installed kernel, create a grub menu entry using the related kernel and initcpio images.

The best way to compare patches IMO is to try them out, but reading about them is good too - try their websites/mailing lists/etc.

Offline

#5 2006-12-16 09:09:49

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 517
Website

Re: Kernel with Patch

I installed the kernel26ck and now my grub looks like this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,6)
kernel /boot/vmlinuz26 root=/dev/sda7 ro
initrd /boot/kernel26.img

# (1) Arch Linux CK
title  Arch Linux CK
root   (hd0,6)
kernel /boot/vmlinuz26 root=/dev/sda7 ro
initrd /boot/kernel26ck.img

kernel26 boots both any issues with these lines, but kernel26ck gives kernel panic. i tried changing (hd0,6) to (sd0,6), but to no avail.

Offline

#6 2006-12-16 09:46:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Kernel with Patch

You simply missed another "ck", after /boot/vmlinuz26.


1000

Offline

Board footer

Powered by FluxBB