Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

/lib/modules points to wrong kernel

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
supernov
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Feb 18, 2005 1:37 pm

/lib/modules points to wrong kernel

  • Quote

Post by supernov » Fri May 05, 2006 7:39 pm

Hi there!

Got quite a few problems with my new kernel, but for a start I now saw my new kernel was trying to load a module from my previous installation.
Modprobing doesn't work because of an invalid format. But I noticed /lib/modules/old kernel. So how to solve this? Can't find a symlink
anywhere.

Thanks!
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Fri May 05, 2006 7:42 pm

Please post output of these commands:

Code: Select all

uname -r
ls -l /lib/modules
Looks like you didn't install modules for your new kernel. To do so, run

Code: Select all

cd /usr/src/linux (make sure it's current sources directory)
make
make install modules_install
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56096
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri May 05, 2006 7:54 pm

supernov,

The kernel loads its modules from knowing its own name, so you probably have not installed your kernel properly.

Code: Select all

uname -a
will shoe you the name, and build date/time of your running kernel.

Is it what you expected ?
Did you forget to mount /boot ?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
supernov
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Feb 18, 2005 1:37 pm

  • Quote

Post by supernov » Sat May 06, 2006 12:41 pm

OmG!

uname gave me the fact that I was running the previous kernel! I tried so many things to explain all the behaviour I was constantly seeing,
I'm not a noob anymore, but now I really dropped my trousers. :) For some reason, in previous gentoo installations, I didn't have to
mount boot. It was probably done automatically, but with the new one I apparently changed this (which is a good thing I believe). So here I was
compiling new kernels, copying them to /boot, checking to see if they were copied, updating my linux link... and probably was doing all
that virtually!? Mounting the boot did the trick, after that my modules loaded, eth0 was working again and even the ati-drivers with
fglrx!! Incredible, weeks I spend behind the screen for this. :)

So, what works for me on this system is gentoo 2.6.16-r6 with ati-drivers 8.23.7, not forgetting to mount /boot when copying new kernels:

- Ati Radeon 9600
- SiS chipset controllers
- Realtek, SiS ethernet controllers

Thanks m8's!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic