Redhat 4.1 Kernel compilation
Posted on 1997-07-30
This question is probably not intrinsically worth 400 points, but I need to get it solved, so I am offering the "big bucks" in hopes of getting the attention of an expert who can resolve this quickly.
I have RedHat 4.1 installed and running quite well on my system: IBM PS/1 486/33, 32 mb, 212 and 850 mb HD, SB 16 with 2X CD200F CDROM. TCP/IP didn't work when installed, so I undertook a kernel rebuild as per FAQ, HOWTO, RedHat documents, etc. The kernel version is 2.0.27.
When I reboot I now get a long series of messages about module versions not matching the kernel. I did the build as follows (in this order):
make xconfig (selecting appropriate options)
In the xconfig step, I have enabled networking, included ppp in the kernel (rather than as a module), and made most other, nonessential functions as modules.
The build sequence seems to be error free with one small exception: during make zlilo, there is a warning message from gcc which says that "3c59x.c needs configuration but has not included config file". I did not select any Ethernet or other LAN features in the xconfig step, and I have no such hardware, so I have no idea why it is trying to compile this module. I presume that this is harmless in any event, but I checked all the includes in that source module, and all of the appropriate .h files exist and are where they belong.
Anyway, when the new kernel boots, I get a long sequence of about 20-25 messages saying that module versions do not match the kernel (none of which have to do with the 3c59x). However, the system seems to run fine except when I try to establish a PPP connection (using DIP). It dials and gets the physical connection, but fails to establish the PPP protocol; ifconfig shows only a local loopback. System logs show more module version- incompatibility problems.
I have carefully redone all the steps; I have looked in the /lib/modules/2.0.27/* directories, and it appears that all the right modules are there, with date stamps corresponding to the latest make. There are also a lot of older modules there, which are from (I guess) the original RedHat make, for features I did not select. Should these old versions have been cleared out by one of the make steps? Should I clear them out manually? Is there somethig else I am doing wrong?
Thanks. 400 easy points to someone....