LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-16-2005, 09:58 AM   #1
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
No new posts Problems with modules from 2.4 to 2.6 kernel


I'm using White Box Enterprise Linux (which is compiled using the Red Hat Enterprise Linux 3 source). It comes with the 2.4 kernel. I decided to upgrade to the 2.6 kernel. I edited the kernel script, compiled it, etc. but when it booted a good portion of the modules didn't load. Here's everything I did:

make xconfig (edited it and saved it)
make bzImage && make modules && make modules_install
cp <linux source>/arch/i386/boot/bzImage /boot/bzImage-2.6.9-selinux1
cp <linux source>/System.map /boot/System.map-2.6.9-selinux
rm /boot/System.map
ln -s /boot/System.map-2.6.9-selinux1 /boot/System.map
//Edited the grub.conf file

I compiled ext3 support into the kernel and everything else I needed to boot so I didn't need an initrd, I even compiled fat32 support into the kernel and that didn't work once I booted up the system. I heard that I needed to install something called modules-init-tools before I did the kernel upgrade however I didn't, do I need this? Also why wouldn't fat32 work when I built it into the kernel? I also heard you needed to load modules you want to boot with in the system in /etc/modules.autoload.d/<kernel version> However I don't have an /etc/modules.autoload.d folder even in my default system. Since this is technically a Red Hat system does Red Hat store this info somewhere else because I would assume I'd have a 2.4 file from the old kernel if not. I just have an /etc/modules.conf and /etc/modules.conf~ file.
 
Old 03-02-2005, 02:23 PM   #2
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
hi
Quote:
I heard that I needed to install something called modules-init-tools before I did the kernel upgrade however I didn't, do I need this?
You do if you get a 'QM_MODULES: Function not implemented' error when trying to use insmod, modprobe, lsmod etc
It is possible to install this post compile . .

Are you sure that the fat32 support doesn't work, or that perhaps the error you see is the system looking for the old fat32 module in the modules for 2.6 ?
 
  


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
modules problems when update kernel amimusa Linux - General 3 04-09-2005 03:55 PM
Modules problems after kernel recompile (2.6.9) magoseitor Linux - Software 2 02-20-2005 01:12 AM
Problems with loading modules in new kernel beejayzed Linux - Newbie 5 02-07-2004 04:29 PM
problems installing kernel modules on new version mcgiv Linux - Newbie 1 09-04-2003 10:35 AM
Problems installing kernel modules Wynd Slackware 6 05-24-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration