Hi,

I manage to dig a bit deeper, so actually the missing functions are in compat-3.0.{c,h} from compat-wireless

The file compat-3.0.c is build into a .o, but for some reason compat.ko links only to main.o.

So my .config in compat-wireless/ looks like:
export
CONFIG_COMPAT_KERNEL_2_6_39=y
CONFIG_COMPAT_KERNEL_3_0=y
CONFIG_COMPAT_KERNEL_3_1=y
CONFIG_COMPAT_KERNEL_3_2=y
CONFIG_COMPAT_KERNEL_3_3=y

But the .tmp_versions/compat.mod only reference main.o:
[...]/openwrt/trunk/build_dir/linux-at91_tmbbv3/compat-wireless-2012-02-27/compat/compat.ko
[...]/openwrt/trunk/build_dir/linux-at91_tmbbv3/compat-wireless-2012-02-27/compat/main.o

weird ....

Chris



On 06/04/12 20:00, Christian Gagneraud wrote:
Hi there,

I'm fighting with a problem of missing kernel symbol.
Basically kstrtou8_from_user is missing, as a consequence mac80211.ko
can't be loaded, and then all the rest of the 802.11 stack and my wifi
drivers.

At some point I manage to get it loading, but i don't know how I did,
and I can't reproduce it (reproducing the missing symbol situation is
way easier)
I'm not sure, but it seems to me that in my case using the 802.11 code
from the kernel works but using the modules from
compat-wireless-2012-02-27 doesn't...

After checking on the linux cross-reference, i found that this symbol
have been added to linux-3.0, and I'm running 2.6.38.8 ...
(see http://lxr.free-electrons.com/source/lib/kstrtox.c?v=3.0#L249)

My wifi device is a WPER-150gn (miniPCIe, Ralink RT3070 chipset on the
USB lane), the kernel module i need seems to be rt2800usb.ko
This module is selected from my subtarget's target.mk.

I'm using OpenWrt trunk, updated a couple of days ago (the problem was
already there before the last update I think).

To give u an insight on my configuration here are some traces when I
grep around for 80211 and kstrtou8_from_user:
http://pastebin.com/gAY5d99M

Could someone shed some light on how to fix this problem? Is it related
with compat-wireless or maybe it's because of my target or configuration?

Any help greatly appreciated.

Cheers,
Chris




--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to