rt2x00pci hard-locks fc8 on PPC when activated

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

thnker

05-04-2008 15:36:22

I'm new to linux so please be patient (and verbose with answers). I'm using a Mac G4 with Fedora 8 and a Linksys WMP54G wireless card. When I use System|Administration|Network in Gnome to "Activate" wlan0, the computer completely locks up with no error message - requiring hard-boot.

iwconfig reports in pertinent part

wlan0 IEEE 802.11 ESSID""
Mode Managed Frequency2.412 GHz Access Point Not-Associated
Tx-Power= 0 dBm
Retry min limit7 RTS throff Fragment thr=2352 B
Encryption keyoff
Link Quality0 Signal level0 Noise level0
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0

lsmod reports in pertinent part

Module Size Used by

rt2500pci 21696 0
rt2x00pci 8704 1 rt2500pci
rt2x00lib 37760 2 rt2500pci,rt2x00pci
rfkill 6932 1 rt2x00lib
input_polldev 4008 1 rt2x00lib
mac80211 233716 2 rt2x00pci, rt2x00lib
cfg80211 27984 2 rt2x00lib, mac80211
eeprom_93cx6 2112 1 rt2500pci

lspci gives
00011103.0 Network Controller RaLink RT2500 802.11g Cardbus/mini-pci (rev 01)

Any help is much appreciated!

IvD

05-04-2008 15:40:14

Could you try the latest Fedora kernel?

thnker

05-04-2008 22:58:10

I got the install that I have from http//fedoraproject.org/en/get-fedora about a week ago. I was of the impression that it was the latest version. I now see that there is a beta version of Fedora-9. I was hoping for a less drastic resolution to my problem. If no one has any other ideas, I'll give it a try.

Also... in case it matters, the in-built wired nic is active and functioning correctly. However, when I use the gui network manager to de-activate it, it does not get de-activated.

Thanks.

IvD

06-04-2008 10:30:02

You don't need a beta for Fedora 9, you just need the latest kernel...
I don't have a link at this time, but Fedora provides kernel updates and you simply need the very latest version to get the latest rt2x00 version.

raulsaeztapia@gmail.com

06-04-2008 16:56:13

I did try with last kernel by fedora

root@XBTO-HT~ #-> uname -a
Linux XBTO-HT 2.6.24.4-64.fc8 #1 SMP Sat Mar 29 095446 EDT 2008 i686 i686 i386 GNU/Linux

and not work.

If remove modules and load again i can see this trace

Apr 6 182513 XBTO-HT kernel ACPI PCI Interrupt 00000203.0[A] -> GSI 19 (level, low) -> IRQ 18
Apr 6 182513 XBTO-HT kernel Registered led device rt2500pci-phy0radio
Apr 6 182513 XBTO-HT kernel ADDRCONF(NETDEV_UP) wlan0 link is not ready
Apr 6 182524 XBTO-HT kernel BUG soft lockup - CPU#1 stuck for 11s! [rt2500pci8684]
Apr 6 182524 XBTO-HT kernel
Apr 6 182524 XBTO-HT kernel Pid 8684, comm rt2500pci Not tainted (2.6.24.4-64.fc8 #1)
Apr 6 182524 XBTO-HT kernel EIP 0060[<c043bc88>] EFLAGS 00000287 CPU 1
Apr 6 182524 XBTO-HT kernel EIP is at run_workqueue+0x64/0x109
Apr 6 182524 XBTO-HT kernel EAX f64ae000 EBX f64ae000 ECX dcc0531c EDX f64ae004
Apr 6 182524 XBTO-HT kernel ESI dcc05318 EDI f8d3d02c EBP 00000000 ESP e0d9bf9c
Apr 6 182524 XBTO-HT kernel DS 007b ES 007b FS 00d8 GS 0000 SS 0068
Apr 6 182524 XBTO-HT kernel CR0 8005003b CR2 007b21a0 CR3 270c9000 CR4 000006d0
Apr 6 182524 XBTO-HT kernel DR0 00000000 DR1 00000000 DR2 00000000 DR3 00000000
Apr 6 182524 XBTO-HT kernel DR6 ffff0ff0 DR7 00000400
Apr 6 182524 XBTO-HT kernel [<c043c50a>] worker_thread+0x0/0xc6
Apr 6 182524 XBTO-HT kernel [<c043c5c4>] worker_thread+0xba/0xc6
Apr 6 182524 XBTO-HT kernel [<c043ee7d>] autoremove_wake_function+0x0/0x35
Apr 6 182524 XBTO-HT kernel [<c043edb4>] kthread+0x38/0x60
Apr 6 182524 XBTO-HT kernel [<c043ed7c>] kthread+0x0/0x60
Apr 6 182524 XBTO-HT kernel [<c0405e0b>] kernel_thread_helper+0x7/0x10
Apr 6 182524 XBTO-HT kernel =======================


Now will try with compile sources and loading compiled module.


Raśl.-

thnker

07-04-2008 02:27:55

Thanks for your help so far. I did uname -a and got the same kernel version as above. I also did yum update kernel and it appeared that there were no updates. Is that the kernel update you were referring to?

Can someone tell me how to obtain the kind of trace in the previous reply post? I'm using a PPC so mine may be substantially different.

Any other ideas anyone? I really have no idea how to begin troubleshooting this.

IvD

07-04-2008 13:16:53

Updated kernels can be found here
http//koji.fedoraproject.org/koji/buil ... ldID=44780

IvD

07-04-2008 14:10:54

Another option
http//koji.fedoraproject.org/koji/buil ... ldID=44648

thnker

07-04-2008 22:53:53

My problem was solved by downloading and installing kernel-2.6.24.4-69.fc8.ppc.rpm. The other kernel update you suggested (the first one) could not be installed due to failed dependencies. It was much easier to install the .fc8 kernel than to update the failed dependencies of the .fc9 kernel.

Thanks so much for your help!

My initial problem is solved but now I'm having a different problem - wlan0 cannot get an ip address from the wireless router. I'll keep working on that and come back here if I have another question.

MrHappy

23-04-2008 15:05:44

Hi

I am trying to get a new version of the fedora kernel rolled out which includes a working rt2x00 driver. If you could test it and vote for it that would be great, it's got a more recent version number than you mentioned.

Run the following command as root.

yum --enable-repo=updates-testing update kernel

Reboot, test and if everything still works vote for it on this page.

https//admin.fedoraproject.org/updates ... -2008-3260

Add your name, some nice comment like it works on ppc

Click the Works for me button, this gives it the vote.