According to John Macghley: While burning my CPU.
> 
> My actual kernel is redhat 4.2 (2.0.32).
> I went recompiling my kernel mainly for IP forwarding support.
> I went to /usr/src/linux-2.0.30 and ran make config, make dep, make clean,
> make zlilo, make zImage ..everything seemed ok.

I can imagen why you want to go back in time by compileing a kernel which
is lower than what you have, 2.0.30 was renouwen for a big memory bug + a
lot of others. Anyway thats your choise.

> At the make config step, I chose all the options for IP_forwarding 
> such as the 1st question (EXPERIMENTAL_CONFIG or..somethin like that), I
> enabled IP forwarding, IP alias, IP accounting, IP firewalling,
> networking..PPP..etc.

Oops stop here, what about make modules and modules_install.

> Then I rebooted my system with the new kernel and got at boot time:
> loading.......
> [every general bootin arguments went OK]...
> Then came a step of bootin with outputs like:
> finding module dependencies
> insmod:loading failed! The module symbols (from linux-2.0.30): dont match
> your linux-2.0.30
> unresolved sysmbols
> insmod: sock_getsockpot=>wrong version or undefined
> insmod:......
> and when I get into my system, and shut it down I get :
> ..all normal shutdown arguments
> ... SYSTEM HALTED
> General protection:0
> CPU: 0
> EIP: 0010 [<001a550f>]
> EFLAGS:00010046
> eax:00053707 ebx: 0000001 ecx: bfff000 edx: 0000000000
> ds:000 es: 0000 fs:00000
> process hat (pid:933, process nt: 4. stack paskage=01953000)
> stack:0000246 0000002b
> ...fee1dead 28121969 cdef0123
> call trace :[<00113c36>]
> code: 2e ff 1d 78 20 21 00 ..c5 84
> 

Well whatever PID 933 was it caused the above problem, that "should not
happen".

> I) well, probably there s nothin wrong assumong that the insmod arguments
> at boot time is only referred to the fact that I refused
> some modules support during the "make config: step. But, how come, when I
> get to my newly kernel...supposed to have IP forwarding compiled in, i
> REALLY HAVE NO SIGN OF IP FORWARDING! 
> In /etc/syscinfig/network there s no line referrin to IP forwarding.
> And when I run ipfwadm, my system doent recognize it. And there s really no
> sign of IP forwarding any where else..
> 
> did my recompilin kernel failed?? How can I have the certitude that IP
> forwardding is really compiled in???
> 

If the compile had failed then you would have seen an "error" from gcc and a
few warnings beforehand, now i presume you did not get any otherwise you
would have seen them right?.

The place to see if ip_forward is compiled in "and" turned on do;
cat /proc/sys/net/ipv4/ip_forward
on = 1
off = 0
If the file is not there at all then you did not include IP_FORWARDING in
make config, you can also check your options in
/usr/src/linux-2.0.30/.config {use 'less'} to read it.

I rather think you forgot to do 'make modules and modules_install' !!!.

-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to