Comment 9 for bug 376577

Revision history for this message
Brendan (schismoid) wrote :

I can confirm that I'm seeing the same bug on Ubuntu 9.10 on an eeePC 901

$ uname -r -s -v
Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009

$ modinfo rt2860sta
filename: /lib/modules/2.6.31-17-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 2DB10B2D13BA8040F82A25A
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.31-17-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

dmesg:
[32441.841956] <==== RTMPInitialize, Status=0
[32441.842038] 0x1300 = 000a4260
[32441.942926] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32447.013601] ===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 644
[32447.014052] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32452.713071] ra0: no IPv6 routers present
[32458.073038] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[32466.460268] ===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 553
[32466.460529] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32477.532774] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[32482.533070] ===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 553
[32482.533344] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32567.614215] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

I tried downloading the newer ralink driver from here: http://www.ralinktech.com/support.php?s=2
I picked the "RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890)" option.

However, I can't get it to compile properly:

/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1689: error: ‘struct net_device’ has no member named ‘open’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1690: error: ‘struct net_device’ has no member named ‘stop’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1691: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1692: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1702: error: ‘struct net_device’ has no member named ‘get_stats’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1736: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.o] Error 1
make[1]: *** [_module_/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.3

Anyone have any suggestions?