Forums

Skip to content

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

modprobe kernel module loading issue [SOLVED]

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
anonybosh
Guru
Guru
Posts: 324
Joined: Sun Nov 20, 2005 1:45 am

modprobe kernel module loading issue [SOLVED]

  • Quote

Post by anonybosh » Tue Jan 22, 2013 10:30 pm

Hi-
So I recently decided to move my server onto a couple of larger drives (2x 500gb). Using software RAID1, opted for moving away from the 0.9x metadata to the v1.2, for which I opted to go for Grub2 and assemble the array in an initramfs.
Long story short, now that I have a bootable system, I can no longer seem to use modprobe to load kernel modules. (This issue did not exist prior to this larger drive migration).

Code: Select all

#modprobe -v loop
#lsmod
Module            Size    Used by
#modprobe --show-depends loop
insmod /lib/modules/3.5.4-hardened-r1/kernel/drivers/block/loop.ko
#insmod /lib/modules/3.5.4-hardened-r1/kernel/drivers/block/loop.ko
#lsmod
Module            Size    Used by
loop            15432      0
There are no errors reported {dmesg; /var/log/messages}. The init.d modules scripts states that it loads 5 modules, however nothing actually loads.
I've tried recompiling module-init-tools, make clean && make && make modules_install && update-modules on my kernel source. I've even actually now just finished up recompiling the entire system (using this script).
I seem to be able to load everything via insmod, and I have, but it is a damned pita.
Anyone have any ideas?

Thanks!
Last edited by anonybosh on Fri Jan 25, 2013 10:54 pm, edited 1 time in total.
Top
cbx550f
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Fri Jun 11, 2004 3:31 pm
Location: Ontario, Canada

  • Quote

Post by cbx550f » Fri Jan 25, 2013 8:59 pm

Just a thought, and likely not a good one, but is your /proc mounted correctly?

My output from "mount":

Code: Select all

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
I think, therefore I am wrong.
Top
anonybosh
Guru
Guru
Posts: 324
Joined: Sun Nov 20, 2005 1:45 am

  • Quote

Post by anonybosh » Fri Jan 25, 2013 10:53 pm

Great thought! /proc ended up being double mounted:

Code: Select all

#mount|grep -i proc
proc on /proc type proc (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
And looking into that a bit further, found that in my initramfs init script, I wasn't unmounting {proc,sys,dev} prior to switch_root.

Now I'm back up and running! Thank you!
Top
cbx550f
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Fri Jun 11, 2004 3:31 pm
Location: Ontario, Canada

  • Quote

Post by cbx550f » Fri Jan 25, 2013 11:00 pm

Good stuff - and thanks for adding the extra info - sounds like something I'm bound to do sooner or later too. ;)
I think, therefore I am wrong.
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