rt2860sta taints (?) kernel 2.6.37-0.dmz.7-liquorix-686
chattr
Status: New User - Welcome
Joined: 01 Feb 2011
Posts: 1
Reply Quote
booted 2.6.37-0.dmz.7-liquorix-686 today (Feb 01 2011) and this is in dmesg:

------------[ cut here ]------------
WARNING: at /home/damentz/src/zen/main/linux-liquorix-2.6-2.6.37/debian/build/source_i386_none/include/
linux/netdevice.h:1557 RtmpPhyNetDevInit+0x9b/0xb0 [rt2860sta]()
Hardware name: M848A
Modules linked in: snd_seq(+) rt2860sta(C+) parport_pc snd_timer snd_seq_device tpm_tis tpm snd rtc_cmo
s parport tpm_bios evdev soundcore radeon ttm drm_kms_helper shpchp sis_agp drm i2c_algo_bit rtc_core i
2c_sis96x processor crc_ccitt rtc_lib pcspkr button snd_page_alloc pci_hotplug i2c_core agpgart ext4 mb
cache jbd2 crc16 raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx
raid1 raid0 multipath linear md_mod usbhid uas hid sg usb_storage sr_mod sd_mod cdrom pata_acpi ata_ge
neric ohci_hcd ssb pata_sis libata mmc_core pcmcia ehci_hcd pcmcia_core sis900 mii [last unloaded: scsi
_wait_scan]
Pid: 793, comm: modprobe Tainted: G C 2.6.37-0.dmz.7-liquorix-686 #1
Call Trace:
[<c1041c18>] ? warn_slowpath_common+0x78/0xb0
[<f94cf09b>] ? RtmpPhyNetDevInit+0x9b/0xb0 [rt2860sta]
[<f94cf09b>] ? RtmpPhyNetDevInit+0x9b/0xb0 [rt2860sta]
[<c1041c6b>] ? warn_slowpath_null+0x1b/0x20
[<f94cf09b>] ? RtmpPhyNetDevInit+0x9b/0xb0 [rt2860sta]
[<f94e41a9>] ? rt2860_probe+0x262/0x3f1 [rt2860sta]
[<c1152b4c>] ? sysfs_add_one+0x1c/0x150
[<c11c6ba2>] ? local_pci_probe+0x42/0xb0
[<c11c7ad1>] ? pci_device_probe+0x61/0x80
[<c124d437>] ? driver_probe_device+0x77/0x180
[<c11c6b20>] ? pci_match_device+0xa0/0xc0
[<c124d5b9>] ? __driver_attach+0x79/0x80
[<c124d540>] ? __driver_attach+0x0/0x80
[<c124ca72>] ? bus_for_each_dev+0x52/0x80
[<c124d2c6>] ? driver_attach+0x16/0x20
[<c124d540>] ? __driver_attach+0x0/0x80
[<c124ccec>] ? bus_add_driver+0xcc/0x260
[<c11c7960>] ? pci_device_remove+0x0/0xf0
[<c124d853>] ? driver_register+0x63/0x120
[<c11c7cfd>] ? __pci_register_driver+0x3d/0xb0
[<c1001132>] ? do_one_initcall+0x32/0x170
[<f83cb000>] ? rt2860_init_module+0x0/0x14 [rt2860sta]
[<c10778d3>] ? sys_init_module+0x123/0x10a0
[<c1003a9f>] ? sysenter_do_call+0x12/0x28
---[ end trace 19b8b15eb396d4ff ]---

I have no idea what the above means. From lspci, the wireless device requiring rt2860sta is:

00:0a.0 Network controller: RaLink RT2800 802.11n PCI
Subsystem: Edimax Computer Co. Device 7728
Flags: bus master, slow devsel, latency 64, IRQ 10
Memory at cff90000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Kernel driver in use: rt2860

lsmod|grep rt28 returns

rt2860sta 506732 1
crc_ccitt 1343 1 rt2860sta

even though lspci says that the rt2860 module is used.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
The rt2860sta driver is a staging driver. It's clear to me that there are still some serious bugs that need to be looked at before the driver is moved to the main kernel tree.
Back to top
Vincent
Status: Interested
Joined: 17 Nov 2010
Posts: 15
Reply Quote
02:00.0 Network controller [0280]: RaLink RT2860 [1814:0781]
Kernel driver in use: rt2860

I also have a wireless card that uses the rt2860 staging driver, and I've been seeing similar messages in dmesg, which have only started to appear in the 2.6.37 kernel series. Before that, even though it is a staging driver, it has worked perfectfully stable for me. However, with the .37 series, I've come across a rather strange issue; when suspending my laptop while on battery power, and resuming afterwards, I am unable to connect to any wireless networks. Strangely enough, I am perfectly capable of connecting to a wireless network if I suspend and resume while I'm plugged in.

The only successful workaround I've found so far is to manually stop Network Manager and remove the rt2860 module before suspending, and after resuming, modprobe the rt2860 module again and restart Network Manager. (Suspending with the rt2860 module loaded, while on battery power, no longer works like it used to in kernels prior to .37)

If I could, I would use the drivers provided by the rt2x00 project, but alas, none of their drivers support wireless N adapters (I can't connect to any network at all with the rt2800pci kernel module loaded). Looks like I'm stuck with rt2860sta at the moment.
Back to top
Vincent
Status: Interested
Joined: 17 Nov 2010
Posts: 15
Reply Quote
I've just tried compiling and installing the latest rt2860sta driver from Ralink's website (it's at version 2.4.0.0 right now, while modinfo says that the rt2860 staging driver in the Liquorix kernel is version 2.1.0.0). The same problem still persists, unfortunately.

Here's the relevant part of my dmesg output, after suspending and resuming while on battery power:

:: Code ::
=== pAd = ffffc90005152000, size = 575248 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
pAd->CSRBaseAddress =0xffffc90005140000, csr_addr=0xffffc90005140000!
------------[ cut here ]------------
WARNING: at include/linux/netdevice.h:1557 RtmpPhyNetDevInit+0xe3/0x100 [rt2860sta]()
Hardware name: R580-K.AHC4WA9
Modules linked in: rt2860sta(+) cryptd aes_x86_64 aes_generic arc4 ecb vboxnetadp vboxnetflt acpi_cpufreq mperf vboxdrv cpufreq_stats cpufreq_powersave cpufreq_userspace cpufreq_ondemand freq_table cpufreq_conservative parport_pc ppdev lp parport sco bnep rfcomm l2cap bluetooth rfkill af_packet nfsd lockd nfs_acl auth_rpcgss binfmt_misc sunrpc exportfs uinput ipt_REJECT ipt_LOG xt_limit xt_tcpudp ipt_addrtype xt_state ip6table_filter ip6_tables ipv6 nf_nat_irc nf_conntrack_irc fuse nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables coretemp nvidia_bl loop nvidia(P) joydev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq snd_timer snd_seq_device tpm_tis tpm tpm_bios snd pcspkr intel_agp intel_gtt psmouse serio_raw i2c_i801 i2c_core evdev soundcore snd_page_alloc video battery rtc_cmos rtc_core rtc_lib output wmi ac button processor ext4 mbcache jbd2 crc16 sg sd_mod sr_mod cdrom ahci libahci uhci_hcd libata scsi_mod r8169 mii thermal ehci_hcd [last unloaded: cfg80211]
Pid: 14379, comm: modprobe Tainted: P        W   2.6.37-2.dmz.1-liquorix-amd64 #1
Call Trace:
 [<ffffffff81058f9b>] ? warn_slowpath_common+0x7b/0xc0
 [<ffffffffa12660f3>] ? RtmpPhyNetDevInit+0xe3/0x100 [rt2860sta]
 [<ffffffffa12706f6>] ? rt2860_probe+0x30e/0x43d [rt2860sta]
 [<ffffffffa1265c60>] ? MainVirtualIF_open+0x0/0x1d0 [rt2860sta]
 [<ffffffffa1265e30>] ? MainVirtualIF_close+0x0/0x1e0 [rt2860sta]
 [<ffffffffa12658b0>] ? rt28xx_send_packets+0x0/0x60 [rt2860sta]
 [<ffffffffa1265690>] ? rt28xx_ioctl+0x0/0x30 [rt2860sta]
 [<ffffffffa12653f0>] ? RT28xx_get_ether_stats+0x0/0x150 [rt2860sta]
 [<ffffffff81214795>] ? local_pci_probe+0x55/0xd0
 [<ffffffff81215a6a>] ? pci_device_probe+0x10a/0x130
 [<ffffffff812b2462>] ? driver_sysfs_add+0x72/0xa0
 [<ffffffff812b25a6>] ? driver_probe_device+0x96/0x1c0
 [<ffffffff812b2763>] ? __driver_attach+0x93/0xa0
 [<ffffffff812b26d0>] ? __driver_attach+0x0/0xa0
 [<ffffffff812b1a58>] ? bus_for_each_dev+0x58/0x80
 [<ffffffff812b1cfb>] ? bus_add_driver+0xbb/0x260
 [<ffffffffa022a000>] ? rt2860_init_module+0x0/0x20 [rt2860sta]
 [<ffffffff812b2a6a>] ? driver_register+0x6a/0x130
 [<ffffffff8107f596>] ? notifier_call_chain+0x46/0x70
 [<ffffffffa022a000>] ? rt2860_init_module+0x0/0x20 [rt2860sta]
 [<ffffffff81215d0c>] ? __pci_register_driver+0x4c/0xc0
 [<ffffffff8107f929>] ? __blocking_notifier_call_chain+0x69/0x90
 [<ffffffff8100204a>] ? do_one_initcall+0x3a/0x180
 [<ffffffff810945ea>] ? sys_init_module+0xba/0x200
 [<ffffffff8100afd2>] ? system_call_fastpath+0x16/0x1b
---[ end trace ab90592d8ed5936c ]---
netif_stop_queue() cannot be called before register_netdev()RX DESC ffff880037a26000  size = 2048
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! NICInitializeAdapter failed, Status[=0x00000001]
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
!!! rt28xx Initialized fail !!!
RX DESC ffff880037a26000  size = 2048
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! BBP(viaMCU=1) read R0 fail
ERROR!!! NICInitializeAdapter failed, Status[=0x00000001]
ERROR!!! H2M_MAILBOX still hold by MCU. command fail
!!! rt28xx Initialized fail !!!


These error messages don't appear if I suspend and resume my laptop while connected to a power source.

I've also started to notice that my internet connection randomly disconnects from time to time in 2.6.37, whereas my connection was pretty much stable in previous kernels. I have no idea what has caused the rt2860sta driver to break like this between .36 and .37, so for now, I'm just going to go back to using the latest Liquorix 2.6.36 kernel instead, for now.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours