[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build module r8712u


I try to build the module for my asus n-10 wifi adapter.

# uname -a
Linux NAS 3.2.0-3-kirkwood #1 Mon Jul 23 22:36:47 UTC 2012 armv5tel GNU/Linux

# cat /etc/debian_version

# cat /boot/config-3.2.0-3-kirkwood > /usr/src/linux-source-3.2/.config

# cd /usr/src/linux-source-3.2
# make menuconfig

Then I turn on the module for this device:

Device Drivers  --->
   Staging drivers  --->
      (M) RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver

# make modules

everything passes successfully.

# mkdir /lib/modules/3.2.0-3-kirkwood/kernel/drivers/staging/rtl8712
# cp drivers/staging/rtl8712/r8712u.ko
# depmod -a

# modprobe r8712u
ERROR: could not insert 'r8712u': Exec format error

=(( But why??

# insmod /lib/modules/3.2.0-3-kirkwood/kernel/drivers/staging/rtl8712/r8712u.ko
Error: could not insert module


How it is correct me to build this module?


Reply to: