Ralink wifi driver works fine on 12:04 but causes kernel panic on 12:10

Bug #1086650 reported by pnelnik
66
This bug affects 11 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

On a Fujitsu Lifebook, I did a dual install of Windows 8 and Ubuntu 12:10.
For wifi it uses Ralink RT3290

To get the wifi working I got the driver from the Ralink web-site.
I followed the install instructions mentioned:
http://rricketts.com/installing-ralink-rt3290-wireless-drivers-in-ubuntu-12-04/

I was then able to connect to the wifi, but ubuntu was then very unstable.
I was never able to do more than about 30 seconds of surfing with firefox.
The OS would crash sometimes even before firefox was loaded.
Each time, I saw the following on the screen:

+++++++++++++++++++++++++++++++++++++++++++++
Kernel panic - not syncing: Fatal exception in interrupt
panic occurred, switching back to text console
[drm] nouveau 000:01:00.0: no native mode. forcing panel scaling
+++++++++++++++++++++++++++++++++++++++++++++

Had the following in /var/log/kern.log ( which may or may not be relevant ):
RT3290_AsicTxAlcGetAutoAgcOffset: Incorrect desired TSSI or current TSSI

The work around I found that entirely got rid of the problem was to switch from Ubuntu 12:10 to 12:04.
It is now working fine on my machine.

So it looks like we have one of the following:
(i) I've done something silly
(ii) there is a bug in 12:10 causing the crash
(iii) there is a bug in the ralink driver
(iv) something else

Here's more of the kern.log

Dec 4 19:09:49 ubuntu kernel: [ 485.329261] SSDA:(Two) Antenna Configuration
Dec 4 19:09:49 ubuntu kernel: [ 485.329266] cmbCtrl = 50c0ff00
Dec 4 19:10:13 ubuntu kernel: [ 509.273353] RT3290_AsicTxAlcGetAutoAgcOffset: Incorrect desired TSSI or current TSSI
Dec 4 19:10:24 ubuntu kernel: [ 520.226915] CacheVal-OnOff:0, bPCIclkOff:1, WlanFunCtrl:0xff000133
Dec 4 19:10:24 ubuntu kernel: [ 520.226923] ==> RTMPWlan 0, bPCIclkOff = 1, pAd->WlanFunCtrl.word = 0xff000123
Dec 4 19:10:24 ubuntu kernel: [ 520.226924] Set INT_MASK_CSR = 0
Dec 4 19:10:24 ubuntu kernel: [ 520.226932] ==> RTMPWlan 0, bPCIclkOff = 1, WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.226936] <== RTMPWlan 0 bPCIclkOff = 1 pAd->WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.233963] CacheVal-OnOff:0, bPCIclkOff:1, WlanFunCtrl:0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.233972] ==> RTMPWlan 0, bPCIclkOff = 1, pAd->WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.233973] Set INT_MASK_CSR = 0
Dec 4 19:10:24 ubuntu kernel: [ 520.234004] ==> RTMPWlan 0, bPCIclkOff = 1, WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.234008] <== RTMPWlan 0 bPCIclkOff = 1 pAd->WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.238675] MACVersion=0x32900013
Dec 4 19:10:24 ubuntu kernel: [ 520.238681] CacheVal-OnOff:1, bPCIclkOff:0, WlanFunCtrl:0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.238690] ==> RTMPWlan 1, bPCIclkOff = 0, pAd->WlanFunCtrl.word = 0xff000120
Dec 4 19:10:24 ubuntu kernel: [ 520.238692] ==> RTMPWlan 1, bPCIclkOff = 0, WlanFunCtrl.word = 0xff000121
Dec 4 19:10:24 ubuntu kernel: [ 520.238978] <== RTMPWlan 1 bPCIclkOff = 0 pAd->WlanFunCtrl.word = 0xff000123
Dec 4 19:10:24 ubuntu kernel: [ 520.238990] PllCtrl:0x2695555
Dec 4 19:10:24 ubuntu kernel: [ 520.240326] RX DESC ffff880036c48000 size = 2048
Dec 4 19:10:24 ubuntu kernel: [ 520.240680] RTMP_TimerListAdd: add timer obj ffffc90005862d60!
Dec 4 19:10:24 ubuntu kernel: [ 520.240683] RTMP_TimerListAdd: add timer obj ffffc90005862dd0!
Dec 4 19:10:24 ubuntu kernel: [ 520.240685] RTMP_TimerListAdd: add timer obj ffffc90005862e40!
Dec 4 19:10:24 ubuntu kernel: [ 520.240687] RTMP_TimerListAdd: add timer obj ffffc90005862cf0!
Dec 4 19:10:24 ubuntu kernel: [ 520.240690] RTMP_TimerListAdd: add timer obj ffffc90005862ba0!
Dec 4 19:10:24 ubuntu kernel: [ 520.240692] RTMP_TimerListAdd: add timer obj ffffc90005862c10!
Dec 4 19:10:24 ubuntu kernel: [ 520.240694] RTMP_TimerListAdd: add timer obj ffffc9000582cd20!
Dec 4 19:10:24 ubuntu kernel: [ 520.240696] RTMP_TimerListAdd: add timer obj ffffc9000582cd90!
Dec 4 19:10:24 ubuntu kernel: [ 520.240698] RTMP_TimerListAdd: add timer obj ffffc9000582cc38!
Dec 4 19:10:24 ubuntu kernel: [ 520.240700] RTMP_TimerListAdd: add timer obj ffffc9000581bb30!
Dec 4 19:10:24 ubuntu kernel: [ 520.240702] RTMP_TimerListAdd: add timer obj ffffc9000581bba8!
Dec 4 19:10:24 ubuntu kernel: [ 520.240705] RTMP_TimerListAdd: add timer obj ffffc9000582cb58!
Dec 4 19:10:24 ubuntu kernel: [ 520.240708] RTMP_TimerListAdd: add timer obj ffffc9000582ce20!
Dec 4 19:10:24 ubuntu kernel: [ 520.242720] BBP_R105: BBPR105.field.EnableSIGRemodulation = 1, BBPR105.field.MLDFor2Stream = 0

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1086650/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
casl (teyping)
Changed in ubuntu:
assignee: nobody → casl (teyping)
Revision history for this message
Josue Soto (josue-soto1) wrote :

I had this issue in Ubuntu 12.04 LTS. Bluetooth is not detected.WIFI works fine.
I had tried a lot of solutions from forums but I had no lucky. Seems that for Kernel 3.8 is not an available driver for this Ralink RT3290 Blueetooth/Wifi Card.

Cannot compile it.
cp rtbth.ko ~/bluetooth cd ..errror rtbth.ko file does not exist...

Any advice will be greatly appreciated.
Thanks

Revision history for this message
kudryk (sergiy-kudryk) wrote :

I have the same issue with Ralink rt3690 wifi adapter.

For me the only way to get it worked without connection loss or kernel panic is
 to downgrade kernel to 3.2.0-24 and compile driver provider by Ralink
 (DPO_RT3290_LinuxSTA_V2600_20120508) .

In addition to default settings i turned on next settings:

HAS_BLOCK_NET_IF, HAS_KTHREAD_SUPPORT,
HAS_TSSI_ANTENNA_VARIATION, HAS_RFKILL_HW_SUPPORT

So here is activated settings in my config:

cat os/linux/config.mk | grep ^HAS | grep y

HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
HAS_BLOCK_NET_IF=y
HAS_DOT11N_DRAFT3_SUPPORT=y
HAS_DOT11_N_SUPPORT=y
HAS_KTHREAD_SUPPORT=y
HAS_STATS_COUNT=y
HAS_TSSI_ANTENNA_VARIATION=y
HAS_RFKILL_HW_SUPPORT=y
HAS_OSABL_FUNC_SUPPORT=y
HAS_OSABL_OS_PCI_SUPPORT=y
HAS_OSABL_OS_USB_SUPPORT=y
HAS_OSABL_OS_AP_SUPPORT=y
HAS_OSABL_OS_STA_SUPPORT=y
HAS_LED_CONTROL_SUPPORT=y

My hardware (Asus X501U notebook):

 lspci -k | tail -n 5

07:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
        Subsystem: Foxconn International, Inc. Device e055
        Kernel driver in use: rt2860
07:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
        Subsystem: Foxconn International, Inc. Device e056

My OS: Kubuntu 13.10 with kernel downgraded to 3.2.0-24 (all other kernels i tested:
 3.11.0-7, 3.5.0-40, 3.9.0-7 are not work properly with serialmonkey's/Ralink's drivers .. this is really sad).

As far as i can see there 2 ways to fix this issue:
fix drivers from serialmonkeys project to prevent connection loss or fix Ralink driver somehow to compile
it with modern kernel and prevent kernel panics (removing old kernel macros from pci_main_dev.c is not enough).

Revision history for this message
penalvch (penalvch) wrote :

pnelnik, could you please confirm this issue exists with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder, but the one all the way at the bottom) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: casl (teyping) → nobody
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
stefano callegari (ary-arale) wrote :

Someone knows if this is the same problem I have here?

https://answers.launchpad.net/ubuntu/+question/238424

Revision history for this message
penalvch (penalvch) wrote :

stefano callegari, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

No need exists to comment here at this time. After reading the above documentation in it's entirety, if you have further questions, you are welcome to redirect them to the appropriate mailing list or forum via http://www.ubuntu.com/support/community/mailinglists , or you may contact me directly.

Thank you for your understanding.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.