I successfully upgraded my kernel today from 2.4.20-gentoo-r5 to r6 using Genkernel.
1)cd /usr/src
2)dir
3)rm linux
4)ln -s linux-2.4.20-gentoo-r6 linux
5)cd linux
5)genkernel
update grub.conf to reflect the new kernel revision.
After I rebooted I did "uname -a" to confirm:
Linux deadmeat 2.4.20-gentoo-r6 #1 Mon Sep 8 17:50:29 PDT 2003 i686 Pentium III
(Coppermine)
GenuineIntel GNU/Linux
Wahoooo....
So now I need to load the appropriate Netfilter modules so that I can get the
Shorewall firewall
working.
Issue: genkernel --config ...which opens the genkernel menuconfig.
I was moving around in the netfilter configuration section when the menuconfig utility
disappeared
and brought me back to the command line with an error. I copied the error message
which follows
next after the full explanation. I then issued the "genkernel --config" command again
to get back
into kernel menuconfig again and adjusted my kernel to follow Toms Kernel settings on
the
Shorewall site.
Exited and saved and it got about half way through compiling and ":aborted"
In the meantime I'm going to "emerge ncurses" and hope that this will fix the problem
and hope
that someone else has run into the same thing.
*******************
There seems to be a problem with the lxdialog companion utility which is
built prior to running Menuconfig. Usually this is an indicator that you
have upgraded/downgraded your ncurses libraries and did not remove the
old ncurses header file(s) in /usr/include or /usr/include/ncurses.
It is VERY important that you have only one set of ncurses header files
and that those files are properly version matched to the ncurses libraries
installed on your machine.
You may also need to rebuild lxdialog. This can be done by moving to
the /usr/src/linux/scripts/lxdialog directory and issuing the
"make clean all" command.
If you have verified that your ncurses install is correct, you may email
the maintainer <[EMAIL PROTECTED]> or post a message to
<[EMAIL PROTECTED]> for additional assistance.
make: *** [menuconfig] Error 139
Error running "make menuconfig"; exiting.
: aborting.
*******************************************************
Below is my second attempt. I actually make it through selecting my module changes to
netfilter
menu in the Kernel menuconfig and then save changes: Aborts..at the point listed below.
Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
* Logging to /var/log/genkernel.log...
[ ok ]
* Starting 2.4.20-gentoo-r6 build...
[ ok ]
* Running "make dep"...
[ ok ]
* Running "make bzImage"...
[ ok ]
* Running "make modules"...
: aborting.
deadmeat modules.autoload.d # emerge -sp ncurses
Searching...
[ Results for search key : ncurses ]
[ Applications found : 3 ]
* app-games/mt_ncurses_client
Latest version available: 0.1.98
Latest version installed: [ Not Installed ]
Size of downloaded files: 94 kB
Homepage: http://www.nongnu.org/maitretarot/
Description: client for the french tarot game maitretarot
* dev-ruby/ncurses-ruby [ Masked ]
Latest version available: 0.7.1
Latest version installed: [ Not Installed ]
Size of downloaded files: 33 kB
Homepage: http://ncurses-ruby.berlios.de/
Description: Ruby wrappers of ncurses and PDCurses libs
* sys-libs/ncurses
Latest version available: 5.3-r1
Latest version installed: 5.3-r1
Size of downloaded files: 2,019 kB
Homepage: http://www.gnu.org/software/ncurses/ncurses.html
Description: Linux console display library
deadmeat modules.autoload.d # emerge ncurses
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/ncurses-5.3-r1 to /
This is what I show before emerging the above:
-rw-r--r-- 1 root root 55881 Jul 26 15:11 curses.h
lrwxrwxrwx 1 root root 8 Sep 4 12:53 ncurses.h -> curses.h
-rw-r--r-- 1 root root 1342 Jul 26 15:11 ncurses_dll.h
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
[EMAIL PROTECTED] mailing list