LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   i dont see any modules in my new kernel (https://www.linuxquestions.org/questions/linux-kernel-70/i-dont-see-any-modules-in-my-new-kernel-442090/)

venkatesh111 05-05-2006 11:59 PM

i dont see any modules in my new kernel
 
hi,

i have compiled my kernel but wn i use lsmod command in my new kernel i cant see any modules loaded....

here is more explanation:

i have changed dev.c ip_output.c and if_ether.h files

my kernel version: 2.4.22-1.2155

commands i used for compilation:

make clean
make mrproper
make xconfig
i disabled SMP under preprocessor types and features
make dep
make oldconfig
make dep
make
make modules
make modules_install
make bzImage
make install

then in grub.conf file i changed the fallowing line in my new custom kernel:

kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb


to

kernel /boot/vmlinuz-2.4.22-1.2115.nptlcustom ro root=/dev/hda4 rhgb

when i reboot with my new(custom) kernel i recive an error msg saying

The fallowing network card has been removed from your system:
Realtek | RTL-8139| 8139c| 8139c+

fallowd by options:

remove configaration keep configaration Do nothing


i chose keep configaration

then booting continued

but bringing Up Interfarce eth0: failed

continued again finally i logged in as root

at terminal i issued lsmod but i could not see any modules loaded.......


hw do i load my modules????????????????:confused: :confused:


thanks in advance

venaktesh

jschiwal 05-06-2006 12:10 AM

Double check your kernel config file. I think that you may have removed that module. I believe that one usually uses make oldconfig first to catch any new features between the kernel and then make xconfig to tweek the configuration.

Do you have the 8139cp.c 8139too.c files still present in the kernel?
/usr/src/linux/drivers/net/

tangle 05-06-2006 12:11 AM

Make the directory named /lib/modules/2.4.22-1.2155 (look in the Makefile in your kernel source). Then copy the directories from the source to there (like arch, crypto and such). Then reboot. The modules should load for you then.

venkatesh111 05-06-2006 12:40 AM

i still have the 8139cp.c 8139too.c files still present in the kernel
ie in directory:

/usr/src/linux/drivers/net/

mac1234mac 05-06-2006 02:34 AM

Did you do make modules_install after make (before make install)?

venkatesh111 05-06-2006 02:40 AM

yes i did make modules_install after make modules and before make install

i have clearly given my steps in my 1st post


All times are GMT -5. The time now is 10:16 PM.