You are not logged in.

#1 2015-04-27 21:00:54

Thornet
Member
Registered: 2011-12-09
Posts: 20

[Solved] Bridge kernel module not found

Hey all, I'm got an issue I can't figure out.

For whatever reason, my system does not have the bridge module present, event though as far I can tell it's part of the linux package:

$ sudo modinfo bridge
modinfo: ERROR: Module bridge not found.

I'm using an archlinux image provided by Rackspace updated to kernel 3.19.3.
I've made sure I'm using official mirrors in /etc/pacman.d/mirrorlist and I've re-installed the package + rebooted the system.
I've checked to see if it's blacklisted in /etc/modprobe.d and /usr/lib/modprobe.d/ with no sign of it.
I've also made another fresh system and it doesn't come with it either. It's present on non-rackspace machines I have around so I know it's supposed to be there.

I discovered it was missing as I was installing docker and the daemon failed to start right out of the gate.

Does anyone have any idea as to what could be going on here?

Last edited by Thornet (2015-04-29 15:16:35)

Offline

#2 2015-04-28 17:38:19

Thornet
Member
Registered: 2011-12-09
Posts: 20

Re: [Solved] Bridge kernel module not found

So after some more digging I found that they're using their own initramfs in /boot.

$ uname -r
3.19.3

Normally this would be 3.19.3-3-ARCH, which I think may be part of the problem.
If I go to /lib/modules, there's a 3.19.3-3-ARCH folder as well as a 3.19.3 folder. The 3.19.3-3-ARCH folder contains the bridge module, while the other does not, which probably explains why the system can't find it.
I'm at a loss as to what to do now though. Is there an easy way to have the system look for modules in the 3.19.3-3-ARCH folder instead of the 3.19.3 folder?

Last edited by Thornet (2015-04-28 17:38:38)

Offline

#3 2015-04-28 17:54:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,659

Re: [Solved] Bridge kernel module not found

Yes, run the  3.19.3-3-ARCH kernel.  tongue

Where did the other kernel come from?  Did you build a custom kernel?  What bootloader do you use?  Take a look at the configuration for that bootloader and check the Arch Linux entry.  What kernel is being loaded?

Edit:  Never mind.  I re-read your first post.   Rackspace.   You might try a soft link

Last edited by ewaller (2015-04-28 17:56:18)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2015-04-29 15:16:19

Thornet
Member
Registered: 2011-12-09
Posts: 20

Re: [Solved] Bridge kernel module not found

Tried to symlink it which didn't work at first, but http://stackoverflow.com/questions/2258 … -my-module reveals that I need to run depmod to allow it to be found.
So now I got:

# ln -s /lib/modules/3.19.3-3-ARCH/kernel/net/bridge /lib/modules/3.19.3/kernel/net/bridge
# depmod -a
# modprobe bridge
modprobe: ERROR: could not insert 'bridge': Exec format error

So it found it now, which is the answer to my original question. As for why it fails to load, that's a whole other can of worms now. I think I'll just try to get it working with the default kernel.
Marking the thread as solved.

Offline

Board footer

Powered by FluxBB