- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: new kernel does not load any modules
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 07:15 PM
тАО05-06-2002 07:15 PM
new kernel does not load any modules
When i compile the 2.4.2 kernel on RH 7.1, none of the modules are being loaded. lsmod shows an empty list. The /lib/modules/2.4.2/ directory does not contain any of the modules (except for a dummy.o module in drivers/net).
The steps i used to compile the kernel are
1) make mrproper
2) make xconfig
3) make clean
4) make bzImage
5) make modules
6) make modules_install
7) edit lilo etc.
Can someone tell me what the problem is ?
Thanks,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2002 07:55 PM
тАО05-06-2002 07:55 PM
Re: new kernel does not load any modules
CONFIG_MODULES=y
Did you include all your drivers built-in to your kernel?
What modules did you build?
# grep =m$ /usr/src/linux/.config
Will modules load manually using "modprobe" or "insmod"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 06:33 AM
тАО05-07-2002 06:33 AM
Re: new kernel does not load any modules
> Did you enable module support?
>CONFIG_MODULES=y
yes. I checked the .config file and it is enabled
> Did you include all your drivers >built-in to your kernel?
yes. (i chose 'y' instead of 'm' for any modules that i included)
> What modules did you build?
some sound modules
> # grep =m$ /usr/src/linux/.config
When i ran this command the output was
CONFIG_DUMMY=m
> Will modules load manually using >"modprobe" or "insmod"?
when i try to do insmod, it says
module name:no module by that name found. makes sense i think as
/lib/modules/linux/drivers is empty
one more thing i noticed was that when I do make bzImage, the corresponding driver sources are getting compiled. But when I do a make modules the modversions.h is not being updated for those drivers.
And when i do make modules_install,
none of the modules are being copied to the /lib/modules/linux/ directory.
i also have installed latest modutils package but made no difference. (i read somewhere that this could cause the problem).
Hope u can solve my problem with this info
Thanks,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2002 01:33 PM
тАО05-07-2002 01:33 PM
Re: new kernel does not load any modules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 06:25 PM
тАО05-08-2002 06:25 PM
Re: new kernel does not load any modules
# depmod -a
after make modules_install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 11:01 PM
тАО05-08-2002 11:01 PM
Re: new kernel does not load any modules
> # grep =m$ /usr/src/linux/.config
When i ran this command the output was
CONFIG_DUMMY=m
I'd say that you arn't actually choosing any of the drivers to be made as MODULES, but are compiling them into the kernel instead.
Unless you choose 'Module' (M) when going through 'make config' (or 'menuconfig' or 'xconfig'), it won't make any other modules!
It sounds as if it's behaving perfectly fine given this.