[SOLVED] Failed to insert module

Discussion about U-Boot and the kernel.

[SOLVED] Failed to insert module

Postby spamru » Thu Nov 15, 2012 8:25 am

Hi team :)

This is the continue of this post: viewtopic.php?f=23&t=4286

I've compiled a kernel as follows: took config from /proc/config.gz, placed into new-kernel-dir as .config, loaded, removed Multimedia/Sound devices support, make uImage module && make modules_install, replace /boot/uImage && reboot.

Now nothing, except embedded NIC works. Tried to bring up bridge - no luck, also no USB-NIC (DLink Dub-100).

Tried this:

$this->bbcode_second_pass_code('', '
[root@goflexnet ~]# uname -a
Linux goflexnet 3.6.4-1-ARCH+ #6 PREEMPT Thu Nov 15 04:39:01 CET 2012 armv5tel GNU/Linux
[root@goflexnet ~]# cd /lib/modules/
[root@goflexnet modules]# ls
3.6.4-1-ARCH+
[root@goflexnet modules]# find ./ -iname 'bridge.*'
./3.6.4-1-ARCH+/kernel/net/bridge/bridge.ko
[root@goflexnet modules]# brctl addbr br0
add bridge failed: Package not installed
[root@goflexnet modules]# insmod ./3.6.4-1-ARCH+/kernel/net/bridge/bridge.ko
Error: could not insert module ./3.6.4-1-ARCH+/kernel/net/bridge/bridge.ko: Unknown symbol in module
[root@goflexnet modules]# insmod bridge
Error: could not load module bridge: No such file or directory
[root@goflexnet modules]#
')

Still no luck...

Any suggestion? What could be the reason?

PS: I've tried to compile bridge not as module, but compiled into uImage - it works, as module - not :(
Last edited by spamru on Sat Nov 17, 2012 11:41 am, edited 1 time in total.
spamru
 
Posts: 4
Joined: Wed Nov 14, 2012 8:47 am

Re: Failed to insert module

Postby xenoxaos » Fri Nov 16, 2012 11:36 pm

Did you try $this->bbcode_second_pass_code('', 'modprobe bridge')
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Failed to insert module

Postby spamru » Sat Nov 17, 2012 11:41 am

Solved now. I've compiled core/linux, instead of core/linux-kirkwood, and it works now.
spamru
 
Posts: 4
Joined: Wed Nov 14, 2012 8:47 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 9 guests