LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-03-2007, 05:35 AM   #1
bohemistanbul
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
module loading to kernel 2.6.xxx


Hi all,
I installed kernel 2.6.21. After booting, I observed that any module is loaded. Therefore, I can not connect to the internet. How can I handle this problem ? Is creating improper ramdisk the reason of the problem ?
Thanks for your interests.
 
Old 07-03-2007, 06:28 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
- what Linux distribution?
- how did you install the kernel (compiled yourself, installed from a binary package, ...)?
- how do you know modules are not loaded?

Generally you either compile the modules into the kernel, or as modules. If they're compiled as (separate) modules, they need to be loaded specifically. Use
Code:
modprobe modulename
as root to manually load a module called modulename. You can also configure this to be automatic with the modules configuration file(s) under /etc.
 
Old 07-03-2007, 06:50 AM   #3
bohemistanbul
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
well...
I use Mandriva 2006
I compiled myself. Here is the compilation process :
#cd linux-2.6.21
#patch -p1 -i <../real-time.patch
#cp arch/i386/defconfig .config
#make oldconfig
#make xconfig
#make clean
#make bzImage
#make modules
#make modules_install
#mkinitrd /boot/initrd-2.6.21.img 2.6.21
#cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.21
#cp System.map /boot/System.map-2.6.21
#ln -s /boot/System.map-2.6.21 /boot/System.map
#kate /etc/lilo.conf
#/sbin/lilo

With the lsmod command, I realize that none of modules are loaded.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error, some other host already uses address xxx.xxx,xxx,xxx ryan462 Linux - Networking 20 01-24-2010 11:14 PM
smbclient -M xxx.xxx.xxx.xxx Doesnt Work DiscreetControl Linux - Networking 7 12-28-2007 10:50 AM
Test module for linux kernel v2.4.xxx rbushlow Linux - Kernel 0 02-12-2007 10:59 AM
Problem getting connection with a DLink Router after setting static IP 10.xxx.xxx.xxx kezira Linux - Networking 1 11-09-2005 10:27 PM
Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server ocavid Linux - Newbie 2 03-16-2005 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:31 PM.

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