Koozali.org: home of the SME Server

ESmith 4.0b8+new kernel modules

Steven Bayrak

ESmith 4.0b8+new kernel modules
« on: July 01, 2000, 02:27:25 AM »
Hi, Im having a problem with e-smith v4.0b8 and wondering if anyone could help. I have installed the basic packages to compile programs and the kernel. I deleted the old /lib/modules/2.2.14-12 directory because it had the older modules installed. Basically I updated the kernel[to 2.2.16] and modules but their seems to be a problem. It seems that the new kernel networking modules arent loaded up. I have an realtek 8029PCI[ne2k-pci module] network card and I looked in /lib/modules/2.2.16/net and all my new networking modules were installed. I even made links to from the /lib/modules/2.2.14-12/ to /lib/modules/2.2.16 directory just in case if e-smith was picky. I reboot and during the startup scripts, the ethernet loading fails. After it loaded into e-smith, I checked to see if *any* modules loaded up and all the ipmasqerading modules were loaded but no ethernet modules were loaded. So I came to the conclusion that the new modules were be loaded up but not the networking ones. I even tried re-configuring my e-smith with the console and it found my card. Anyone know how to to fix this?

Charlie Brady

RE: ESmith 4.0b8+new kernel modules
« Reply #1 on: July 01, 2000, 07:09:27 AM »
Steven Bayrak wrote:

> Hi, Im having a problem with e-smith v4.0b8 and wondering if
> anyone could help. I have installed the basic packages to
> compile programs and the kernel. I deleted the old
> /lib/modules/2.2.14-12 directory because it had the older
> modules installed. Basically I updated the kernel[to 2.2.16]
> and modules but their seems to be a problem.

Selectively upgrading a kernel can be a tricky process. As well
as upgrading the kernel, you need to reconfigure and rerun LILO, perhaps after creating an upgraded initrd file. This is all done for you automatically by the automated upgrade procedure.

Assuming that your new kernel modules in /lib/modules/2.2.16-3 are intact, then what you need to do is edit /etc/lilo.conf to refer to 2.2.16-3 instead of 2.2.14-12. Then re-run /sbin/lilo. You should get an error message about a missing initrd-2.2.15-3 file - you can either generate that file using "mkinitrd", or just comment out or delete that line from lilo.conf.

You should read  http://www.redhat.com/support/docs/howto/
kernel-upgrade/kernel-upgrade.html for full details on this upgrade process.

regards

Charlie

Steven Bayrak

RE: ESmith 4.0b8+new kernel modules
« Reply #2 on: July 02, 2000, 12:52:19 AM »
What I did was download the linux kernel tar.gz file. And put it /usr/src and untar/gziped it[Like ive always done before when compiling kernels.] I dont likle using rpms so all my modules are in /lib/modukles/2.2.16. I also commented out the initrd since I didnt want to use it. Whenever I reboot my e-smith server, It seems to loadup the new 2.2.16 masquerading modules but never the ethernet modules. Ive already edited my /etc/lilo.conf file to use the new kernel. I wonder why this is happening.

Charlie Brady

RE: ESmith 4.0b8+new kernel modules
« Reply #3 on: July 02, 2000, 06:31:36 AM »
Steven Bayrak wrote:

> What I did was download the linux kernel tar.gz file.
...
> I dont likle using rpms ...

If you don't like using rpms then your server won't be an e-smith server and gateway. Using rpms is an integral part of ensuring the simplicity and reliability of the server.

Regards

Charlie

Steven Bayrak

RE: ESmith 4.0b8+new kernel modules
« Reply #4 on: July 03, 2000, 05:43:08 AM »
The tar.gzip files doesnt break the e-smith server on how it uses the kernel. Theirs no difference between the rpm and tar.gz version end result. Is E-smith looking in old directories or something?