LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-05-2006, 11:59 PM   #1
venkatesh111
Member
 
Registered: Mar 2006
Posts: 34

Rep: Reputation: 15
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????????????????


thanks in advance

venaktesh
 
Old 05-06-2006, 12:10 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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/

Last edited by jschiwal; 05-06-2006 at 12:24 AM.
 
Old 05-06-2006, 12:11 AM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.
 
Old 05-06-2006, 12:40 AM   #4
venkatesh111
Member
 
Registered: Mar 2006
Posts: 34

Original Poster
Rep: Reputation: 15
i still have the 8139cp.c 8139too.c files still present in the kernel
ie in directory:

/usr/src/linux/drivers/net/
 
Old 05-06-2006, 02:34 AM   #5
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Rep: Reputation: 30
Did you do make modules_install after make (before make install)?
 
Old 05-06-2006, 02:40 AM   #6
venkatesh111
Member
 
Registered: Mar 2006
Posts: 34

Original Poster
Rep: Reputation: 15
yes i did make modules_install after make modules and before make install

i have clearly given my steps in my 1st post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Modules and modules.conf init Linux - General 0 02-20-2004 06:51 PM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 05:52 AM
modules dont load at boot time killer_bunny Linux - General 1 12-23-2003 10:59 PM
Kernel modules: why are some kernel modules zipped? hampel Slackware 3 06-30-2003 06:33 AM
modules dont load after kernel patched malix Slackware 4 09-23-2002 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration