I have been debugging lately with Matt Price over on Launchpad an issue with a machine using the r8192se driver would periodically crash with a kernel panic. We have narrowed it down to an ioctl which is most commonly run by the command “iwpriv”. A quick
fix hack is to just entirely neuter the iwpriv command.
1) sudo mv /sbin/iwpriv /sbin/iwpriv.old
2) sudo echo ‘#!/bin/bash’ > /sbin/iwpriv
3) sudo chmod +x /sbin/iwpriv
You can read more about the fix and our work to uncover the bug on the bug report.