You are not logged in.

#1 2012-02-06 13:20:21

ratcheer
Member
Registered: 2011-10-09
Posts: 924

[SOLVED] Cannot make rt3562sta module with new 3.2.4 kernel

I have a wireless PCI card that requires me to build the driver from the chipset maker. The latest version of their driver was produced on 17-Dec-2010. It has worked for me with all kernel versions up through 3.2.2. But, with this morning's kernel upgrade to 3.2.4, the make fails.

make -C tools
make[1]: Entering directory `/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.4 /home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/
make[1]: Entering directory `/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
gcc -D__KERNEL__ -I/lib/modules/3.2.4-1-ARCH/build/include -I/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /lib/modules/3.2.4-1-ARCH/build/include/linux/modversions.h -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT  -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs  -DSYSTEM_LOG_SUPPORT -DLED_CONTROL_SUPPORT -DPROFILE_STORE -DPRE_ASSIGN_MAC_ADDR -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DDBG -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DDOT11_N_SUPPORT -DDOT11N_DRAFT3 -DSTATS_COUNT_SUPPORT -DCREDENTIAL_STORE -DPRE_ASSIGN_MAC_ADDR -DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT   -c -o /home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.o /home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.c
/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.c:1:0: error: CPU you selected does not support x86-64 instruction set
/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.c:1:0: error: -mpreferred-stack-boundary=2 is not between 4 and 12
make[1]: *** [/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.o] Error 1
make[1]: Leaving directory `/home/tim/ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
make: *** [LINUX] Error 2

Is this something wrong with the supplied driver's code or is my kernel upgrade missing something? I am certain the new kernel headers were installed.

Tim

Last edited by ratcheer (2012-02-06 22:54:11)

Offline

#2 2012-02-06 17:30:43

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: [SOLVED] Cannot make rt3562sta module with new 3.2.4 kernel

Hmmm. I searched the Internet for hours trying to find a solution. I couldn't find anything I could use, just some vague references to it possibly being a Python problem or a "-march" setting. Something is telling the make process, incorrectly, that I do not have a 64-bit CPU.

Anyway, on a whim, I decided to see if the standard kernel driver, rt2800pci would work. I have had this PC since last June, and that driver has never worked before. But, oddly, it is working now. If it proves to be stable, I will not need to make and install rt3562sta. So, I'm keeping my fingers crossed that rt2800pci will be reliable.

Tim

Offline

#3 2012-02-06 22:53:45

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: [SOLVED] Cannot make rt3562sta module with new 3.2.4 kernel

So, this is not just my imagination. The kernel change log for 3.2.4 shows that they added new chipset support for rt2x00. So, I'm marking this thread as SOLVED.

Tim

Last edited by ratcheer (2012-02-06 22:54:38)

Offline

Board footer

Powered by FluxBB