Comment 22 for bug 585938

Revision history for this message
ZachG (zgold550) wrote : Re: [STAGING] r8192se_pci + powertop = kernel panic

(For all the people who found this thread by googling)
### REALLY HACKY SOLUTION WHICH WILL (hopefully) ENABLE YOU TO USE r8192 WITHOUT CRASHING IN LINUX ###

The usual disclaimer about these kinds of hacks applies -- I am not responsible yada yada, do this at your own risk yada yada, worked for me, not guaranteed to work for you yada yada.

Open a terminal (On Ubuntu 10.04 aka Lucid Lynx: Applications Menu -> system tools -> terminal)
1) sudo mv /sbin/iwpriv /sbin/iwpriv.old
2) sudo echo '#!/bin/bash' > /sbin/iwpriv
3) sudo chmod +x /sbin/iwpriv

NOTES:
1) I did this on my machine, and was still able to connect to and use wifi normally.
2) Obviously this will likely break any application which depends on the iwpriv command, and also makes iwpriv unsable for you on the command line (unless you use iwpriv.old)
3) Powertop now runs fine without crashing with wifi enabled and running
4) Other applications may still do the same thing as iwpriv which can cause the crash. This fix does *NOT* address the root cause of the problem. I'm still going to look for a real fix for the underlying problem with the driver.