Kernel panic with rt2600

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4682

jaosn_f

21-03-2008 07:54:04

Hello. I'm not sure if Im in the correct area for this, nor the driver I'm using. It seems I have an rt61 and rt2x00 modules loaded. Forgive my ignorance. I've tried unloading one module or the other but it doesnt seem to work with only one. In any case, Im experiencing an intermittent kernel panic. I would like to submit some debug information, but I want to first make sure I'm not doing anything stuipd. I've tried googling my chipset and it doesnt even seem to be supported by these drivers, again, just want to make sure I'm doing things right on the front end.

My card is a zonet zew1530, lspci shows
0200.0 Network controller RaLink RT2600 802.11 MIMO

I have the following drivers loaded,
rt61pci 22528 0
rt2x00pci 7680 1 rt61pci
rt2x00lib 17920 2 rt61pci,rt2x00pci
These were pre-built into my kernel, which is
2.6.24-ARCH #1 SMP PREEMPT Wed Mar 5 120752 UTC 2008 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

I downloaded the firmware
Firmware RT2501(RT2561/RT2661) 03/23/2006 1.2
which I placed in /lib/firmware.

The kernel panics seem random, but occur fairly often. I've had about 10 of them today.

Thanks in advance.

IvD

21-03-2008 18:59:13

What is the output of 'modinfo rt61pci' ?

Are there any panic traces in your log?

jaosn_f

21-03-2008 22:27:38

filename /lib/modules/2.6.24-ARCH/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license GPL
firmware rt2661.bin
firmware rt2561s.bin
firmware rt2561.bin
description Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version 2.0.10
author http//rt2x00.serialmonkey.com
srcversion D71C36F67F7A0F8B005A78F
alias pciv00001814d00000401sv*sd*bc*sc*i*
alias pciv00001814d00000302sv*sd*bc*sc*i*
alias pciv00001814d00000301sv*sd*bc*sc*i*
depends rt2x00lib,rt2x00pci,mac80211,eeprom_93cx6
vermagic 2.6.24-ARCH SMP preempt mod_unload 686

There is the output. I've made some progress on this. it seems I had a runaway process taking up about 70% cpu, kacpid. I'm booting with noacpi option now and haven't had a panic yet.

Now I just need to figure out if the panics were being caused from the high cpu utilization or some conflict with acpi that the system wasnt liking.

For now I'm considering this solved, I havent had any problems since turning off acpi in the kernel. If I'm able to duplicate further I'll post back..

thanks for your help

jaosn_f

22-03-2008 02:42:46

Hm. Looks like I may have jumped the gun thinking this was fixed. Had 2 hangs in the past hour. Seems to repeat more often when i'm reading data from an nfs share, although I was experiencing it before I even setup nfs on this laptop so thats not the only problem, but it does seem to bring it about more often.
I dont see anything relevant in /var/log...I can see the kernel panic dump on the console as i've been working on a virtual terminal a couple times when this has happened. Not sure if there is a dump going somewhere else, I'll look into that more and if need be transcribe the output =)

I'm compiling a vanilla kernel right now and enabled ra2x00 debugs. See what happens there. Should I continue to post info here or should i open something up in the bugtracker?

IvD

22-03-2008 13:00:50

I think the issue has been fixed in rt2x00 2.1.4, so upgrading to rt2x00.git would most likely help.

jaosn_f

22-03-2008 23:58:08

I've got the latest git snapshot up and running. so far so good. Will let you know if it happens again.
Thank you very much