You are not logged in.

#1 2005-07-08 17:04:50

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

self-compiled kernels won't work

Heya,

I have compiled 5 kernels or so. They are all different in configuration I think. I tried 2.6.12.2 together with mm2 and without it (and acpi-patches). I also tried compiling 2.6.12.1 with mm2. I'm using gcc-4.0.0.

The first kernels booted, but I couldn't get on the internet. It have me the response: Couldn't get requested adddress or something. Anwyay, I could gezt the ip of other machines, ..., but it couldn't get my own ip-address or something it seems. When I booted back in the old kernel, everything worked again.

I also tried compiling 2.6.12.2 with the default arch-config I believe, but changed the cpu from i686 or so to k-7. I think it gave a kernel-panic on bootup or the "couldn"t get teh requested address"-error when trying to reach an internet-site.

So, with each kernel I got the "couldn't get the requested address"-error or kernel-panic on bootup.

I was wondering if anyone else has encountered one of these problems ? I would like to compile my own kernel since maybe I won't get a frozen system then, like I know have from time to time (maybe an agp-problem .. not sure).

thanks,

Michel

Offline

#2 2005-07-08 17:42:40

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: self-compiled kernels won't work

since you could "get the address of other machines", it doesn't sound like you're missing modules for your ethernet card or anything.

the problem must lie in the kernel configuration... you will have more luck copying the standard arch kernel's config, and disabling only the modules that you don't use.

Offline

#3 2005-07-08 18:39:51

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 801

Re: self-compiled kernels won't work

I'm running 2.6.12-ck3 which includes patches 2.6.12.2 on a Duron 900 - CONFIG_MK7=y. You say you used the "default arch-config". Did you run a "make oldconfig" first? This will stop and ask you about any newly added options.

Offline

#4 2005-07-08 20:13:47

shaurz
Member
From: Leeds, UK
Registered: 2004-02-02
Posts: 337
Website

Re: self-compiled kernels won't work

I've been running self-built kernels on Arch since forever (too many problems with the kernel packages)... Only vanilla non-minor-release ones for me.

Sure you have all the right networking stuff and drivers compiled in? It might be helpful to post the proper error message.

Offline

#5 2005-07-09 10:41:47

sepht
Member
Registered: 2005-07-07
Posts: 51

Re: self-compiled kernels won't work

Could maybe be gcc 4.0, its been known to mis-compile some parts of the kernel.

Try 3.4 just to see if thats the problem

Offline

#6 2005-07-10 13:51:23

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

Re: self-compiled kernels won't work

Heya,

thanks for all the answers. I tried compiling with gcc 3.4., but it gave the same error ... I'm (almost) ashamed ... it seems I didn't include filesystem-support for my boot-partition and other time(s)/or I included it as a module. About the networking-error ... maybe I forgot to include something. Anyway, after some recompiles to get the needed modules included for my speedtouch (it seems I didn't used the arch-config as a starting-point or I disabled the speedtouch-support), I got it working now.
I compiled the kernel with gcc-4.0.0, so gcc wasn't maybe the problem.

thanks for all the responses.

Michel

Offline

#7 2005-07-10 14:51:19

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: self-compiled kernels won't work

so - let me clarify - kernel panic was due to compiling without filesystem support for /boot and the reason for no internet was you forgot to compile the modules for your modem? gcc4 worked tho?

Offline

#8 2005-07-10 16:08:48

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

Re: self-compiled kernels won't work

dibblethewrecker wrote:

so - let me clarify - kernel panic was due to compiling without filesystem support for /boot and the reason for no internet was you forgot to compile the modules for your modem? gcc4 worked tho?

Heya,

indeed that could be it. I'm pretty sure about the filesystem-support. In the beginning I maybe forgot to compile reiserfs-support for my boot-partition, then I compiled it as a module which won't work (which is logical maybe since the partition where the modules resisde is the same as the boot-partition. This brings me to the question ... which if they reside on another partition, is there a way to let the kernel load modules from there? I suppose the partition needs to be mounted already then?). About the "couldn't get the requested address"-error, I'm not sure. It could be that I didn't compile some needed components, but I'm not sure about that. I compiled the working kernel with gcc-4.0.0.

greetings and thanks again fo the responses,

Michel

Offline

#9 2005-07-10 16:17:10

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: self-compiled kernels won't work

Don't use that GCC4 now, it's absolutely not optimized(for now). It has almost the same performance as gcc3.4.

Why do people always have to rush to a new unstable version of GCC ?

Go use 3.4 and it will work.

Offline

#10 2005-07-10 17:35:43

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: self-compiled kernels won't work

jerem - that doesn't help - he already has done that - why jump to conclusions without reading the whole thread!

Offline

Board footer

Powered by FluxBB