You are not logged in.

#1 2012-06-30 15:22:59

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

System freezes and wireless stopped working after update

Yesterday I ran my updates and the following were updated:

[2012-06-29 21:03] Running 'pacman -Syu'
[2012-06-29 21:03] synchronizing package lists
[2012-06-29 21:03] starting full system upgrade
[2012-06-29 21:08] upgraded ca-certificates-java (20120524-1 -> 20120608-1)
[2012-06-29 21:08] upgraded chromium (20.0.1132.43-1 -> 20.0.1132.47-1)
[2012-06-29 21:08] upgraded cryptsetup (1.4.2-2 -> 1.4.3-1)
[2012-06-29 21:08] upgraded docbook-xsl (1.77.0-1 -> 1.77.1-2)
[2012-06-29 21:08] upgraded grub2-common (1:2.00beta6-1 -> 1:2.00rc1-1)
[2012-06-29 21:08] upgraded grub2-bios (1:2.00beta6-1 -> 1:2.00rc1-1)
[2012-06-29 21:08] upgraded hplip (3.12.6-2 -> 3.12.6-3)
[2012-06-29 21:08] upgraded hyphen (2.8.3-1 -> 2.8.4-1)
[2012-06-29 21:08] upgraded imagemagick (6.7.7.7-1 -> 6.7.7.10-1)
[2012-06-29 21:08] upgraded libsystemd (185-3 -> 185-4)
[2012-06-29 21:08] upgraded systemd-tools (185-3 -> 185-4)
[2012-06-29 21:08] upgraded sysvinit (2.88-3 -> 2.88-6)
[2012-06-29 21:08] upgraded initscripts (2012.06.1-1 -> 2012.06.2-1)
[2012-06-29 21:08] upgraded keyutils (1.5.5-2 -> 1.5.5-3)
[2012-06-29 21:08] upgraded libnl (3.2.9-1 -> 3.2.11-1)
[2012-06-29 21:08] upgraded libusbx (1.0.12-1 -> 1.0.12-2)
[2012-06-29 21:08] upgraded libpcap (1.2.1-2 -> 1.3.0-1)
[2012-06-29 21:08] upgraded libquvi-scripts (0.4.5-1 -> 0.4.6-1)
[2012-06-29 21:08] upgraded linux-firmware (20120227-2 -> 20120625-1)
[2012-06-29 21:08] upgraded netcfg (2.8.3-1 -> 2.8.5-1)
[2012-06-29 21:08] upgraded pciutils (3.1.9-2 -> 3.1.10-1)
[2012-06-29 21:08] upgraded psmisc (22.18-2 -> 22.19-1)
[2012-06-29 21:08] upgraded qt (4.8.2-1 -> 4.8.2-2)
[2012-06-29 21:08] upgraded raptor (2.0.7-2 -> 2.0.8-1)
[2012-06-29 21:08] upgraded whois (5.0.16-1 -> 5.0.17-1)

Now today, after a reboot, my wireless card won't activate (I normally run on wired, but I needed to hook my printer up and its wireless) and the system locks up and freezes at random times (it just stops...the display displays everything as normal except nothing responds. there are no log messages in everything.log about it).

I have determined that the wireless problem probably came from the firmware update since when I tried to start the wireless card it said:

phy0 -> rt2x00lib_request_firmware: Error - Failed to request firmware

My wireless shows up in lspci as an Ralink Corp. RT2800 802.11n PCI which is correct.

How do I go about troubleshooting these issues? I am very new to Arch Linux (it's been a week or so now) so I think this will probably be a handy skill to have.

Offline

#2 2012-06-30 15:56:27

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: System freezes and wireless stopped working after update

Look at the wireless pages on the wiki and the one that tells you which drivers to use for which cards.  Like here for example: https://wiki.archlinux.org/index.php/Wireless_Setup

At the bottom should be troubleshooting info.  If you use Netcfg or Wicd check the wiki pages for those for other troubleshooting info.  Search the boards for your particular wireless device and any issues people have had with it.

Offline

#3 2012-06-30 16:15:44

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

Re: System freezes and wireless stopped working after update

Looking at my currently loaded modules (using lsmod) it would seem that my wireless driver is loaded at the module level:

rt2800pci               9681  0 
rt2800lib              43247  1 rt2800pci
rt2x00pci               5050  1 rt2800pci
...
rt2x00lib              35928  3 rt2x00pci,rt2800lib,rt2800pci
...
mac80211              395680  3 rt2x00lib,rt2x00pci,rt2800lib
cfg80211              170074  2 mac80211,rt2x00lib

I also found some handy output from dmesg:

[  702.101074] systemd-udevd[4835]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[  762.590997] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[  762.591584] systemd-udevd[4878]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 1285.067769] systemd-udevd[928]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 1345.615907] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 1345.616427] systemd-udevd[931]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 2377.442112] systemd-udevd[24961]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 2438.494258] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 2438.494770] systemd-udevd[26660]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 2606.966231] systemd-udevd[3796]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]
[ 2667.394993] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 2667.395348] systemd-udevd[3807]: segfault at 20 ip 000000000040dac7 sp 00007fff334e3580 error 4 in systemd-udevd[400000+2c000]

Since the firmware for this update just came out on the 27th is it possible something made its way in there and broke this? I can't seem to find anyone else who has had this problem and from all appearances it looks like it should be working (and it used to work quite well).

EDIT: One thing I am not sure about is that the firmware is in the firmware directory. Here are all the rt* firmwares. Is this correct or should there be an rt2x00 firmware in there?

-rw-r--r-- 1 root root 8192 Jun 14 20:10 rt2561.bin
-rw-r--r-- 1 root root 8192 Jun 14 20:10 rt2561s.bin
-rw-r--r-- 1 root root 8192 Jun 14 20:10 rt2661.bin
-rw-r--r-- 1 root root 8192 Jun 14 20:10 rt2860.bin
-rw-r--r-- 1 root root 8192 Jun 14 20:10 rt2870.bin
lrwxrwxrwx 1 root root   10 Jun 14 20:10 rt3070.bin -> rt2870.bin
-rw-r--r-- 1 root root 4096 Jun 14 20:10 rt3071.bin
lrwxrwxrwx 1 root root   10 Jun 14 20:10 rt3090.bin -> rt2860.bin
-rw-r--r-- 1 root root 4096 Jun 14 20:10 rt3290.bin
-rw-r--r-- 1 root root 2048 Jun 14 20:10 rt73.bin

rtl_nic:
total 44
-rw-r--r-- 1 root root 2076 Jun 14 20:10 rtl8105e-1.fw
-rw-r--r-- 1 root root 1492 Jun 14 20:10 rtl8168d-1.fw
-rw-r--r-- 1 root root 1324 Jun 14 20:10 rtl8168d-2.fw
-rw-r--r-- 1 root root 5500 Jun 14 20:10 rtl8168e-1.fw
-rw-r--r-- 1 root root 3920 Jun 14 20:10 rtl8168e-2.fw
-rw-r--r-- 1 root root 3872 Jun 14 20:10 rtl8168e-3.fw
-rw-r--r-- 1 root root 3136 Jun 14 20:10 rtl8168f-1.fw
-rw-r--r-- 1 root root 1232 Jun 14 20:10 rtl8168f-2.fw
-rw-r--r-- 1 root root 1824 Jun 14 20:10 rtl8402-1.fw
-rw-r--r-- 1 root root 1840 Jun 14 20:10 rtl8411-1.fw

rtlwifi:
total 272
-rw-r--r-- 1 root root  13540 Jun 14 20:10 rtl8192cfw.bin
-rw-r--r-- 1 root root  16014 Jun 14 20:10 rtl8192cufw.bin
-rw-r--r-- 1 root root  20526 Jun 14 20:10 rtl8192defw.bin
-rw-r--r-- 1 root root  88856 Jun 14 20:10 rtl8192sefw.bin
-rw-r--r-- 1 root root 129304 Jun 14 20:10 rtl8712u.bin

Last edited by Los Frijoles (2012-06-30 16:18:17)

Offline

#4 2012-06-30 17:00:53

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

Re: System freezes and wireless stopped working after update

hi Los Frijoles, welcome to arch linux smile

Los Frijoles wrote:

Since the firmware for this update just came out on the 27th is it possible something made its way in there and broke this? I can't seem to find anyone else who has had this problem and from all appearances it looks like it should be working (and it used to work quite well).

likewise, i believe linux-firmware caused the problem as well, since i don't see how other packages you updated would cause this. however, i've been checking the bugtracker in arch, and no one reported about linux-firmware problems. same here too in forums.

Los Frijoles wrote:

One thing I am not sure about is that the firmware is in the firmware directory. Here are all the rt* firmwares. Is this correct or should there be an rt2x00 firmware in there?

based on the keyword phy0 -> rt2x00lib_request_firmware: Error, i googled and came up with a ubuntuforums thread with similar problem as yours. as quoted from the second post in the thread, rt2x00lib_request_firmware: Error is a message indicating the system is unable to find the firmware. i'm not sure if a rt2x00 firmware is supposed to be in there, as i myself have not updated yet. perhaps give the steps inside a try? you'll have to identify your own module bin though.

on a side note, i checked the linux-firmware git, and there was an update on rt2800pci, but i think they only added another module to support, and should not cause any problems...

if all else fails, consider downgrading linux-firmware and see if it works.

hope this helps.

Offline

#5 2012-06-30 17:44:43

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: System freezes and wireless stopped working after update

Alright, looking at the firmware output of lsmod and the files themselves, everything seems to be in order as altbdoor has said.  No there won't be a rt2x00 module or firmware with that name; that is just a place holder for the firmware tarball that indicates which series of firmwares it covers, in your case the rt2x00 series which cover a specific set of chips in different wifi controllers/nics.

What I can suggest are two things:

Firstly, try doing as altbdoor suggests; that is, wipe out current firmware and then downgrade the firmware.  So do an rmmod rt* and then downgrade your firmware.  Reload the modules one by one and see if any errors come up.  If no errors pop up, try bringing up the nic with the usual "ip set addr eth0/wlan0/ra0" (whichever one fits your device, usually it's "ra0" for RealTek nics" and try scanning for networks with the iwscan command.

{Edit} I haven't checked yet but the AUR may have newer firmware in it or you can try the wireless-compat firmware from the AUR.  Wireless-compat is the (daily?) firmware put out upstream as new changes are introduced into the mainline kernel.

Secondly, if the above fails spectacularly, try the current LTS kernel.  I've found that quite often whereas a nic may not work properly with the current mainline kernel the LTS kernel does.  Assuming that also fails, downgrade your mainline kernel and/or the LTS kernel (this assumes you have a hard line connection OR those kernels in your pacman cache directory, /var/cache/pacman/pkg).  Worst case use another computer to grab those files then use your sneaker-net to get them onto the problematic system.

Let us know how it goes!

Last edited by MoonSwan (2012-06-30 17:49:04)

Offline

#6 2012-07-08 00:06:54

Los Frijoles
Member
Registered: 2012-06-23
Posts: 40

Re: System freezes and wireless stopped working after update

So, a few things happened and I got everything stable again.

The random freezes stopped after the next slew of updates (I have my suspicions that it was the graphics drvers), so that got better. There were some problems involving the chromimum/google chrome flash player (I tried both, they both would freeze the computer at times) and so I switched to firefox which solved the problem. I turned off hardware acceleration as well in the flash plugin until the updates came around which improved stability.

As for the wireless card, I am still not sure what went wrong with it, but I downgraded the firmware since it was the quickest fix and all is well again after a reboot. There were no dependencies that also had to be downgraded, so that was good. I may try the wireless-compat firmware later, but for now I just needed it working so that i could use my wireless printer again.

Offline

#7 2012-07-08 02:23:06

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

Re: System freezes and wireless stopped working after update

Los Frijoles wrote:

As for the wireless card, I am still not sure what went wrong with it, but I downgraded the firmware since it was the quickest fix and all is well again after a reboot. There were no dependencies that also had to be downgraded, so that was good. I may try the wireless-compat firmware later, but for now I just needed it working so that i could use my wireless printer again.

hmm hmm its still not the proper fix, but like you said, you only needed it for the wireless printer.

if in future you do update or use compat-wireless, and the wireless problem is fixed, do update this thread for the benefit of other users smile

Offline

#8 2012-07-16 09:47:07

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: System freezes and wireless stopped working after update

I have a similar problem. My hardware:

$ lspci -k
04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
	Subsystem: Edimax Computer Co. Device 7728

I have linux 3.4.4-3 and linux-firmware 20120625-1 (downgrading doesn't help). Relevant lines from dmesg:

[    5.693890] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    5.694096] Registered led device: rt2800pci-phy0::radio
[    5.694116] Registered led device: rt2800pci-phy0::assoc
[    5.694133] Registered led device: rt2800pci-phy0::quality
[   10.827880] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.977058] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[   12.990038] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[   12.991113] wlan0: authenticated
[   13.000006] wlan0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[   13.001858] wlan0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x431 status=0 aid=2)
[   13.001861] wlan0: associated
[   13.007696] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   23.443347] wlan0: no IPv6 routers present

For now I use this with linux-lts (from linux 3.4.x I get kernel panics) but that's not very good because I have to rebuild it after every kernel release.

Offline

Board footer

Powered by FluxBB