Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > Linux > general

Can't Load Modules after Compile of linux.2.4.0-test9

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Can't Load Modules after Compile of linux.2.4.0-test9      Add to my favorites
Ralph Grothe This member has accumulated 2500 or more points
Nov 20, 2000 16:53:22 GMT   

Hello Linuxers,

after having built a kernel from the 2.4.0-test9 preview sources the kernel boots fine, but I can load no modules. :-(

I have followed the same procedure as ever though.

I.e.

1. cd /tmp && tar zxvf /misc/cd/linux.2.4.0-test9.tar.gz
2. rm /usr/src/linux
3. mv /tmp/linux.2.4.0-test9/linux /usr/src/linux.2.4.0-test9
3. ln -fs /usr/src/linux.2.4.0-test9 /usr/src/linux
4. cd /usr/src/linux && make menuconfig
5. going through the config
6. (make dep && make clean && make bzImage && make modules && make modules_install) 2>&1 \| tee /var/tmp/vmlinuz-2.4.0-t9.build01.log
7. cp arch/i386/boot/bzImage /boot/vmlinuz-lvm
8. cp System.map /boot/map-lvm
9. vi /etc/lilo.conf
10. adding new image entry with image pointing to new kernel and map to new map-lvm
11. lilo
12. shutdown -r 0
13. at LILO: selecting new kernel (lvm)

I haven't made an initrd though because my boot disk is the 1st IDE, thus I don't need the SCSI driver at boot time.

But when I issue "lsmod" there are no modules loaded.
It goes without saying that I have only the loopback IF now because I selected ne2k as module. :-(

Even a "modprobe -a \*" only prints many "can't locate module ..."

Has anyone managed to build a 2.4 Kernel with LVM support who can tell me what I may have missed?

When I had a look at the /lib/modules filesystem I realized that all driver modules are there but the directory structure differs from that of linux.2.2.14 :-(
Why have the kernel developers changed this?
Maybe this is the reason?
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Albert E. Whale, CISSP Expert in this area This member has accumulated 2500 or more points
Nov 26, 2000 19:29:18 GMT  5 pts

Ralph,

I would check the README file (/usr/src/linux) for all of the Prequisite packacges required for the 2.4.X Kernel Series.

If indeed the Kernel Team has changed the Module Structure, I am sure that they have changed the support Requirements needed to run the OS as well.

Hope that Helps!
Jerome Fenal Expert in this area
Dec 1, 2000 13:23:49 GMT  10 pts

You need modutils 2.3.x. Last version is modutils-2.3.21.
You can find it on kernel.org (http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.3/) or at your distro download site if they have a RPM repository for new software (as Cooker for Mandrake).
Moreover, as there has been problems with modutils recently, you should upgrade to the last one to avoid security problems.

Regards,

Jerome
Peter Bilitch Expert in this area
Dec 4, 2000 13:56:50 GMT  10 pts

As it happens, the kernel team have put the same README file with the sources as is supplied with the 2.2.x sources. So you won't find any useful information there about the new directory structure under /lib/modules/...

You are correct about the directory changes being the cause of your problem, and the modutils upgrade is the required package to solve this. However, in addition to the modutils upgrade (and any packages that are required to upgrade to modutils 2.3.21) it is also advisable to upgrade to the latest version of bash (if this is your shell).
Ralph Grothe This member has accumulated 2500 or more points
Dec 11, 2000 07:47:56 GMT    N/A: Question Author

Hello Albert, Jerome, and Peter,

I have to apologize for my late response, but I was absent from office (and www) due to vacation and a Solaris training.

Many thanks for your suggestions which I will be giving a hands on as soon as time permits.

I would like to give you a feedback on success/failure later when I will have installed the recommended modutils.

Regards
Ralph
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2010 Hewlett-Packard Development Company, L.P.