Emuforums.com

Go Back   Emuforums.com > General Discussion > Software Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old November 28th, 2006   #1 (permalink)
Registered User
 
Dukelord's Avatar
 
Join Date: Feb 2003
Location: From the land beyond beyond
Posts: 782
need help with Linux kernel modules installation

Hi there....I just installed kernel 2.6.18.3 yesterday.I'm having trouble installing some modules in kernel 2.6.18.3 on my Redhat 9.2...It gives me a couple of errors......Stuffs like my mouse don't work well....my USB ports don't work at all..my sound....e.t.c....What can I do....I'm thinking that my old modutil version isn't compatible with this kernel version,so I downloaded the latest modutil version....modutil 2.4.9....Do you think it will work?Pls someone help....Thanks...
Dukelord is offline   Reply With Quote
Old December 1st, 2006   #2 (permalink)
Fallen
 
Kraelis's Avatar
 
Join Date: Jun 2001
Location: Moonlight Spire
Posts: 1,393
Hm... sorry, can't help you there. Last I touched Redhat 9 was what, 3 years ago? Why not try a newer flavor of Linux, if at least only for updated drivers.
__________________
--KrÆlis Cross


Mundus vult decipi, ergo decipiatur

===============
Athlon 64 x2 3800| Asrock ALiveNF6G-VSTA | Kingston DDR2 1 Gb RAM
Kraelis is offline   Reply With Quote
Old December 1st, 2006   #3 (permalink)
War Games coder
 
KillerShots's Avatar
 
Join Date: Apr 2001
Location: Florida
Posts: 1,918
What procedure did you use to install the kernel? Did you compile it and forget to run "make modules_install"? Did you try tailoring it (Asking because maybe you chose the wrong options while tailoring)? Need more data...

EDIT: I think this belongs in the software section as it has nothing to do with programming nor web sites
__________________
Primary
CPU: Athlon 64 X2 4400+ Mobo: Biostar N4SLI-A9 RAM: 2G Crucial (DDR400) Video: eVGA GeForce 7900 GTX (512M) Audio: HDA X-Mystique HD(s): Maxtor 300G SATA2, Samsung 400G SATA2 OS(s): WinXP x64 Pro, Vista x32 Ultimate, Gentoo x64 Monitor(s): Primary - 19" Flat Panel (1280x1024) Secondary - 19" Flat Panel (1280x1024) Tertiary - Zenith 42" Plasma TV (1024x768 res)

Many other machines... sig too short
KillerShots is offline   Reply With Quote
Old December 1st, 2006   #4 (permalink)
Registered User
 
Dukelord's Avatar
 
Join Date: Feb 2003
Location: From the land beyond beyond
Posts: 782
How can I go about installing a new Linux version on my existing Linux version?can you pls give me a detailed guide

Quote:
Originally Posted by KillerShots View Post
What procedure did you use to install the kernel? Did you compile it and forget to run "make modules_install"? Did you try tailoring it (Asking because maybe you chose the wrong options while tailoring)? Need more data...

EDIT: I think this belongs in the software section as it has nothing to do with programming nor web sites
I ran the commant make modules_install

Last edited by Dukelord; December 1st, 2006 at 15:38. Reason: Automerged Doublepost
Dukelord is offline   Reply With Quote
Old December 1st, 2006   #5 (permalink)
War Games coder
 
KillerShots's Avatar
 
Join Date: Apr 2001
Location: Florida
Posts: 1,918
Ok, then the other possibility is that you have not booted that kernel. What pops up when you run uname -a? Is it the right kernel version?
__________________
Primary
CPU: Athlon 64 X2 4400+ Mobo: Biostar N4SLI-A9 RAM: 2G Crucial (DDR400) Video: eVGA GeForce 7900 GTX (512M) Audio: HDA X-Mystique HD(s): Maxtor 300G SATA2, Samsung 400G SATA2 OS(s): WinXP x64 Pro, Vista x32 Ultimate, Gentoo x64 Monitor(s): Primary - 19" Flat Panel (1280x1024) Secondary - 19" Flat Panel (1280x1024) Tertiary - Zenith 42" Plasma TV (1024x768 res)

Many other machines... sig too short
KillerShots is offline   Reply With Quote
Old December 1st, 2006   #6 (permalink)
Registered User
 
Dukelord's Avatar
 
Join Date: Feb 2003
Location: From the land beyond beyond
Posts: 782
Yeah I've booted the new kernel....when the boot screen loads up,I get a couple of kernel module failed errors....I used uname -a.....kernel version2.6.18.3
Dukelord is offline   Reply With Quote
Old December 1st, 2006   #7 (permalink)
Resident Movie Critic
 
Betamax's Avatar
 
Join Date: Apr 2001
Location: Belfast, Northern Ireland
Posts: 9,480
Moved to software.

If I was to hazard a guess I'd say that it's trying to load some modules from the old kernel at bootup...
__________________

Superior marketing of an inferior product will always win over inferior marketing of a superior product.
Betamax is offline   Reply With Quote
Old December 2nd, 2006   #8 (permalink)
Registered User
 
Dukelord's Avatar
 
Join Date: Feb 2003
Location: From the land beyond beyond
Posts: 782
So...do you have any idea what I can do about this?
Dukelord is offline   Reply With Quote
Old December 4th, 2006   #9 (permalink)
Insane Linux Advocate
 
DoktorSeven's Avatar
 
Join Date: May 2001
Location: USA
Posts: 271
Basically it sounds like the custom kernel does not support all of your devices. It's best with most distros to either stick with what kernel is given to you or just upgrade the system. Redhat 9.2 is rather old; I would move up to Fedora Core (whatever the latest version is, I don't keep up with FC) and you'll get a new updated kernel in the process.

If you really want to make your old one work, go through the make menuconfig step and be sure all of the appropriate selections are chosen as modules (anything required to boot, like your hard drive controllers, need to be compiled into the kernel, not as modules!). Then do a full make && make modules_install again, and see if there are any improvements.

(No, it wouldn't try to use the old modules; modules are always loaded from /lib/modules/`uname -r`/ which will point to the current kernel's modules.)

Plus if you have any modules that have to be compiled separately from the kernel (like the NVidia drivers), you will have to recompile those when you boot into your new kernel (make sure /usr/src/linux is symlinked to your kernel source directory).

Good luck.
__________________
TITLE GOES HERE. // The Linux Blog Of Stuff
Warning: my posts may be filled with sarcasm and/or lies. Proceed with caution.
oldskool pc win: 1.5GHz P4/384MB/GeForce FX 5200 running GNU/Linux.
DoktorSeven is offline   Reply With Quote
Old December 4th, 2006   #10 (permalink)
War Games coder
 
KillerShots's Avatar
 
Join Date: Apr 2001
Location: Florida
Posts: 1,918
Ok, your uname -a is telling us that you are at least booting the correct kernel... so that means that the kernel modules are causing the problems, not the other way around.

I'd check the directory structure and see if the modules are installed correctly. You should find them under /lib/modules/`uname -r` as DoktorSeven pointed out. Depending on whether they exist or not, we'll work from there.

Also, make sure your kernel sources are symlinked to /usr/src/linux
__________________
Primary
CPU: Athlon 64 X2 4400+ Mobo: Biostar N4SLI-A9 RAM: 2G Crucial (DDR400) Video: eVGA GeForce 7900 GTX (512M) Audio: HDA X-Mystique HD(s): Maxtor 300G SATA2, Samsung 400G SATA2 OS(s): WinXP x64 Pro, Vista x32 Ultimate, Gentoo x64 Monitor(s): Primary - 19" Flat Panel (1280x1024) Secondary - 19" Flat Panel (1280x1024) Tertiary - Zenith 42" Plasma TV (1024x768 res)

Many other machines... sig too short
KillerShots is offline   Reply With Quote
Old December 5th, 2006   #11 (permalink)
Registered User
 
Dukelord's Avatar
 
Join Date: Feb 2003
Location: From the land beyond beyond
Posts: 782
Thanks..I'll work on it an let you guys know how it goes...I may have to install a newer version of Linux...preferably Fedora....
Dukelord is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:40.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5