You are not logged in.

#1 2006-12-29 09:57:08

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

manual kernel compilation > no /lib/modules/ ?

The latest stable version of the Linux kernel is:      2.6.19.1     2006-12-11 19:40 UTC     F     V           C     Changelog

The latest -mm patch to the stable Linux kernels is:      2.6.20-rc2-mm1     2006-12-28 10:05 UTC           V                 Changelog

Since the mm kernel havent been updated for a long time I decided to download the kernel and the patch and install it manually.

1. I downloaded the 2.6.19.1 kernel, and the 2.6.20-rc2-mm1 patch.
2. Extracted the kernel to /usr/src/mmpatch
3. extracted the patch to /usr/src/mmpatch
4. cd /usr/src/mmpatch
5. patch -p1 < 2.6.20-rc20-mm1

After running the fift command, I get different error messages, and alot of hunks gets failed, also not finding some files. What am i doing wrong?


The ultimate Archlinux release name: "I am your father"

Offline

#2 2006-12-29 10:42:19

xerverius
Member
From: ~
Registered: 2004-11-02
Posts: 230
Website

Re: manual kernel compilation > no /lib/modules/ ?

You shoul patch against the 2.6.19 kernel.

http://kernel.org/patchtypes/pre.html

Offline

#3 2006-12-29 14:02:11

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: manual kernel compilation > no /lib/modules/ ?

Yes, I tried that as well, I still got error messages and files that dont exists.. Gonna try it now again just in case ..

--edit

Tried it again.. same error..


The ultimate Archlinux release name: "I am your father"

Offline

#4 2006-12-29 14:44:21

xerverius
Member
From: ~
Registered: 2004-11-02
Posts: 230
Website

Re: manual kernel compilation > no /lib/modules/ ?

Then you should probably download 2.6.19, apply 2.6.20-rc2 en then 2.6.20-rc2-mm1.

Offline

#5 2006-12-29 15:15:27

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: manual kernel compilation > no /lib/modules/ ?

That made the trick. Thanks.


The ultimate Archlinux release name: "I am your father"

Offline

#6 2007-01-16 09:43:45

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: manual kernel compilation > no /lib/modules/ ?

I have another problem now. The custom kernel source wiki is very old (from 2005) and arch have changed alot since then. Thats why i did not follow it and just did the way i did when I used to run gentoo.
http://wiki.archlinux.org/index.php/Ker … rom_Source

i manually downloaded and applied the mm patch. Compiled it with:
make & make modules install

When it wanted to install the modules to /lib/modules/
it fails..  Any ideas why or what i can do?


The ultimate Archlinux release name: "I am your father"

Offline

#7 2007-01-16 12:43:51

Asaru
Member
Registered: 2006-05-06
Posts: 14

Re: manual kernel compilation > no /lib/modules/ ?

make && make modules_install

the "_" is missing

Offline

#8 2007-01-16 15:04:16

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: manual kernel compilation > no /lib/modules/ ?

yeah.. thanks I just noticed that myself.


The ultimate Archlinux release name: "I am your father"

Offline

Board footer

Powered by FluxBB