× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Compiling bridge kernel module for Readynas 102

piweds
Aspirant

Compiling bridge kernel module for Readynas 102

Hi,

I desperately try to compile the bridge kernel module for my Readynas but when I modprobe the llc module (which is a dependancy of the bridge module), I get :

llc: disagrees about version of symbol dev_queue_xmit
llc: Unknown symbol dev_queue_xmit (err -22)
llc: disagrees about version of symbol dev_add_pack
llc: Unknown symbol dev_add_pack (err -22)
llc: disagrees about version of symbol ___pskb_trim
llc: Unknown symbol ___pskb_trim (err -22)
llc: disagrees about version of symbol kfree_skb
llc: Unknown symbol kfree_skb (err -22)
llc: disagrees about version of symbol skb_pull
llc: Unknown symbol skb_pull (err -22)
llc: disagrees about version of symbol dev_remove_pack
llc: Unknown symbol dev_remove_pack (err -22)
llc: disagrees about version of symbol skb_push
llc: Unknown symbol skb_push (err -22)
llc: disagrees about version of symbol __pskb_pull_tail
llc: Unknown symbol __pskb_pull_tail (err -22)
llc: disagrees about version of symbol skb_clone
llc: Unknown symbol skb_clone (err -22)


My hardware is Readynas 102 with cpu :


# cat /proc/cpuinfo
Processor : Marvell PJ4Bv7 Processor rev 1 (v7l)
BogoMIPS : 1196.85
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x581
CPU revision : 1

Hardware : Marvell Armada-370
Revision : 0000
Serial : 0000000000000000


I used both linux-3.0.101-0.15 and linux-3.0.101-0.35 kernel sources to build the module with :

cp arch/arm/configs/readynas_defconfig ./.config
make menuconfig #and activate the bridge module
make
#then copy the bridge, llc and 802 modules into /lib/modules/
cp net/802/*.ko /lib/modules/3.0.101.RN_ARM.1/net/802/
cp net/bridge/bridge.ko /lib/modules/3.0.101.RN_ARM.1/net/bridge/
cp net/llc/llc.ko /lib/modules/3.0.101.RN_ARM.1/net/llc/
depmod -a


Modinfo on a previous module (videodev for example) gives

# modinfo /lib/modules/3.0.101.RN_ARM.1/kernel/drivers/media/video/videodev.ko
filename: /lib/modules/3.0.101.RN_ARM.1/kernel/drivers/media/video/videodev.ko
description: Device registrar for Video4Linux drivers v2
description: '%s'
author: Alan Cox, Mauro Carvalho Chehab <mchehab@infradead.org>
license: GPL
vermagic: 3.0.101.RN_ARM.1 mod_unload modversions ARMv7
depends:


and on the buggy llc module

# modinfo /lib/modules/3.0.101.RN_ARM.1/net/llc/llc.ko
filename: /lib/modules/3.0.101.RN_ARM.1/net/llc/llc.ko
description: LLC IEEE 802.2 core support
author: Procom 1997, Jay Schullist 2001, Arnaldo C. Melo 2001-2003
license: GPL
vermagic: 3.0.101.RN_ARM.1 mod_unload modversions ARMv7
depends:


The different "missing" symbols seem to be part of the kernel since I can list them in /proc/kallsyms.

Any help would be really appreciated since I spent more than 4 days on trying to compile these modules and I really would like it to work.

Thanks !
Message 1 of 1
Top Contributors
Discussion stats
  • 0 replies
  • 3095 views
  • 0 kudos
  • 1 in conversation
Announcements