You are not logged in.

#1 2003-06-12 21:02:22

nehsa
Member
Registered: 2003-01-14
Posts: 159

can't recompile the kernel

When I used ArchLinux before I had recompiling the kernel down.. now it doesn't work.. smile

I've tried both through ABS and by myself (although they both look the same to me). 

If I have it set to include cd-rom support it'll crash everytime on ide-cd.o.. I can get passed that if I set it to a module (which I don't really want to do) but then it'll crash on reiserfs.o or something.. dunno how I can get passed that since that's what i'm using..

Ohh.. I even tried using the config file from abs thinking that it must have worked before.. all i did was add my soundcard, network card, and usb support and that failed also in the same places.

Anyways.. I want to try getting into Linux again and as part of the learning process I want to have my own kernel.. smile

Thanks

Offline

#2 2003-06-12 21:31:13

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: can't recompile the kernel

if you upgraded to gcc3.3 that is likely your issue. gcc3.3 is very picky and it is not fond of some of the code in the linux kernel. i suggest you try compiling either the 2.4.21 kernel (not stable yet but very soon) or the 2.5 experimental kernel.


AKA uknowme

I am not your friend

Offline

#3 2003-06-12 21:48:51

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: can't recompile the kernel

or you can give my wolk-kernel package a shot damm it tongue


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#4 2003-06-13 00:59:26

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: can't recompile the kernel

I dunno what the wolk-kernel package is, how is it different from the 2.5.70 kernel?

Offline

#5 2003-06-13 22:37:06

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: can't recompile the kernel

its based on 2.4.20 and is not even close to 2.5 series its just a 2.4.20 with a lot of patches some of them that most user will not use but for the ones that do use ir tongue it rocks http://wolk.sourceforge.com


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#6 2003-06-13 23:14:11

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: can't recompile the kernel

Ok, I should get the server one?  How do you know if you are using a patch?  smile

Offline

#7 2003-06-13 23:15:49

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: can't recompile the kernel

hum .... just use the vanilla kernel and read about kernel stuff forget wolk


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#8 2003-06-16 08:04:39

Nickm
Member
From: Netherlands
Registered: 2003-02-25
Posts: 104

Re: can't recompile the kernel

first run abs
then cd to /usr/abs/base/kernel,
edit the PKGBUILD:
change "yes || make config" (could differ a bit) to "make menuconfig"
execute makepkg
wait a while (until you end up in a menu)
change the desired options
exit the menu, and you kernel will be build.
then pacman -U kernel-2.4.xx-x.pkg.tar.gz (change the x to the right number)
run lilo
and reboot

read about compiling the kernel, makepkg only automates the process. imho it's important that you know what it does.

good luck


Who is peer, and why is he resetting my connection ??

Offline

#9 2003-06-16 08:20:51

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: can't recompile the kernel

Nickm wrote:

first run abs
then cd to /usr/abs/base/kernel,
edit the PKGBUILD:
change "yes || make config" (could differ a bit) to "make menuconfig"
execute makepkg
wait a while (until you end up in a menu)
change the desired options
exit the menu, and you kernel will be build.
then pacman -U kernel-2.4.xx-x.pkg.tar.gz (change the x to the right number)
run lilo
and reboot

read about compiling the kernel, makepkg only automates the process. imho it's important that you know what it does.

good luck

well actually when this thread started he was trying to compile the 2.4.20 kernel which has alot of code that gcc3.3 does not like. actually even 2.4.21 did not compile for me right off.

other than that the instructions are good mind you in this case i think he was wanting to recompile for the sake of installing his nvidia drivers. so just running makepkg once in the directory would do. except for the fact that you may get compiling errors with the crystal studio sound drivers that are enabled in the default config


AKA uknowme

I am not your friend

Offline

#10 2003-06-16 10:20:43

Nickm
Member
From: Netherlands
Registered: 2003-02-25
Posts: 104

Re: can't recompile the kernel

whoops will read a bit better next time smile


Who is peer, and why is he resetting my connection ??

Offline

Board footer

Powered by FluxBB