You are not logged in.

#1 2007-12-26 13:47:10

wavenator
Member
Registered: 2007-12-03
Posts: 62

want to learn compile a kernel

i want to learn how compile a kernel
i want to compile the zen kernel
after i downloaded the source

step by step what do i have to do

Offline

#2 2007-12-26 14:22:50

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

Re: want to learn compile a kernel

There are Arch-specific pages in the wiki, and more general info all over the web. Read everything carefully. If you're a first-timer, be prepared for various failed builds before you achieve a working one.

Good luck.

Offline

#3 2007-12-26 15:26:50

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: want to learn compile a kernel

i have just searched for those and havent found
can u give me some links plz
and i've read some how to's but  i didnt know what to do next

i am looking for someone who'll help me

Offline

#4 2007-12-26 16:17:48

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: want to learn compile a kernel

The (relatively) difficult thing is not to compile a kernel, but to configure it before compilation. Read through all the fine help provided in 'make menuconfig'.
So download the kernel from kernel.org, untar it, enter the directory. Start from arch default config you are using with 'zcat /proc/config.gz > .config && make oldconfig'. Now fire up 'make menuconfig' and start reading and configuring. If you do not want to generate an initramfs, compile in the kernel the drivers of your hd and root filesystem. Finally compile it with 'make', install (now as root) the modules with 'make modules_insall' and copy the kernel in the boot partition and add an entry in the grub config pointing to it.

DO NOT remove (or overwrite) the kernel default kernel and grub entry, because if something goes wrong it will allow you boot your system anyway. Good luck.


Mortuus in anima, curam gero cutis

Offline

#5 2007-12-26 16:33:22

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: want to learn compile a kernel

i've maid all u just said before
hasn't success
had some problems with the mouse some error in the udev section
something like Genps/2 genius *******/input1

btw
i did before make gconfig
and i honestly red every possible config section in the list
and i know perfectly my hardware

Offline

#6 2007-12-26 16:35:57

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: want to learn compile a kernel

perhaps the problem is not with how you compile the kernel but with the zen kernel itself?  have you tried compiling the current kernel to see if the mouse and udev errors are gone?

Offline

#7 2007-12-26 16:43:04

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: want to learn compile a kernel

i've tried to compile the zen kernel over the aur
had problems with the modules
dunno why
the last version that i had no problems with was the rc4 zen 1
it was perfect and fast

i am trying atm to install manually over the git

Offline

#8 2007-12-27 15:44:24

p4ddY
Member
From: Germany
Registered: 2007-12-04
Posts: 7

Re: want to learn compile a kernel

wavenator wrote:

i've tried to compile the zen kernel over the aur
had problems with the modules
dunno why
the last version that i had no problems with was the rc4 zen 1
it was perfect and fast

i am trying atm to install manually over the git

Simply open the PKGBUILD and change the value of _branch to "v.2.6.24-rc4-zen1".. That should fix your module problems

Offline

#9 2007-12-27 18:44:35

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: want to learn compile a kernel

p4ddY wrote:
wavenator wrote:

i've tried to compile the zen kernel over the aur
had problems with the modules
dunno why
the last version that i had no problems with was the rc4 zen 1
it was perfect and fast

i am trying atm to install manually over the git

Simply open the PKGBUILD and change the value of _branch to "v.2.6.24-rc4-zen1".. That should fix your module problems

thx thats what i am going to do
but i want to know for my knowledge and for doing it in the future
how the fuck can i compile and install the kernel from1 to 10

Offline

#10 2007-12-27 22:03:11

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

Re: want to learn compile a kernel

patroclo7 has already been kind enough to give you a "1 to 10", as you call it, and others have been helpful too. This is a community forum, and any help you get is entirely voluntary. You have asked for help in a specific form, but you should not be surprised if you don't get the exact response you were hoping for, nor should you start cursing and swearing about it.

Against my better judgment, here are two links which you say you can't find online:
http://wiki.archlinux.org/index.php/Cus … n_with_ABS
http://www.digitalhermit.com/linux/Kern … HOWTO.html

Offline

#11 2007-12-27 22:39:19

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: want to learn compile a kernel


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#12 2007-12-28 02:49:36

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: want to learn compile a kernel

uname -r
2.6.24-rc6-zen0-PEUT-ETRE

zen kernel is o.k.
I don't think that it provides anything really outstanding but it works. Still this is so called bleeding edge kernel, if you never before compiled kernel, I would suggest either Arch sources or vanilla. These are proven to work so if something will go wrong at least you would know that this is caused by your mistake, not a bug introduced by experimental patch.

Offline

#13 2007-12-28 13:07:17

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: want to learn compile a kernel

listen whats my problem is

lets say i've already made the kernel successfully
i have now  bzImage file
whats next?

Offline

Board footer

Powered by FluxBB