You are not logged in.

#26 2008-06-19 07:50:59

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: new kernel 2.6.25-ARCH - freeze often

http://bugzilla.kernel.org is the place for kernel bugs.


:?

Offline

#27 2008-06-19 08:22:40

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: new kernel 2.6.25-ARCH - freeze often

Setting up additional kernels is pretty easy, setup abs first (its in the wiki).
Copy the /var/abs/core/kernel26 to somewhere you have write permissions.

First go through the PKGBUILD, kernel26.preset, and kernel26.install and change any entrys of kernel26 to kernel26test (change test to whatever you want, kernel26omgwtfbbq or something).
At the same time go change any entries with 2.6.xx-ARCH to 2.6.xx-TEST (again replace TEST with whatever you like).
Then rename the files in the kernel26 directory from kernel26.<whatever> to kernel26test.<whatever>

Now open up the config file (or config.x86_64) and change the CONFIG_LOCALVERSION to "-TEST" (or whatever).

As a side note I remove all the source files from the PKGBUILD and manually unpack the source (in src/) and copy the config files this way you can have multiple config files and not worry about overwriting them automagically.

Once the source is unpacked (I just use the latest RC kernels from kernel.org) open up the src/linux-2.6.xx/Makefile and remove the text after the 'EXTRAVERSION =' as below.

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 26
EXTRAVERSION = 
NAME = Rotary Wombat

Copy the config file to src/linux-2.6.xx/.config and run make menuconfig and change any options you want.

Go back the the main PKG dir and makepkg. All the above is much easier with the use of sed but you will still want to check the files for sanitys sake smile

All done.

Last edited by shazeal (2008-06-19 08:26:35)

Offline

#28 2008-06-19 09:27:16

shining_grin
Member
From: a little town near Milan
Registered: 2008-05-02
Posts: 23

Re: new kernel 2.6.25-ARCH - freeze often

About kernel install documentation there are some good entries in the Archlinux wiki like:
http://wiki.archlinux.org/index.php/Ker … n_with_ABS
http://wiki.archlinux.org/index.php/Cus … n_with_ABS
http://wiki.archlinux.org/index.php/Ker … rom_Source

I'm actually using kernel 2.6.24.7 compiled from source and everything is ok.

my 2 cents

Offline

#29 2008-06-20 05:28:29

schimpfj
Member
From: Frankfurt, Germany
Registered: 2007-08-15
Posts: 53

Re: new kernel 2.6.25-ARCH - freeze often

Thank you for these guidelines to have multiple kernels. Will give it a try, hopefully without crashing anything. :-)

Offline

#30 2008-06-20 06:07:17

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: new kernel 2.6.25-ARCH - freeze often

Just a warning dont compile any kernel version under 2.6.26-rc6 with gcc4.31 if you are using ext3, I forget the exact bug but it could do something potentially nasty.

Last edited by shazeal (2008-06-20 06:08:06)

Offline

Board footer

Powered by FluxBB