Comment 33 for bug 365733

Revision history for this message
fari81 (fmmirzaei) wrote :

Hi,

I RANDOMLY get the same error. I posted all the apport-collect out put above. There are several related bugs (maybe identical) and threads listed here (some of them):

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/302452
https://bugs.launchpad.net/ubuntu/+bug/369760
https://bugs.launchpad.net/usplash/+bug/326988
https://bugs.launchpad.net/ubuntu/+bug/350207
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/355054

http://ubuntuforums.org/showthread.php?p=7344807
http://ubuntuforums.org/showthread.php?t=1134201
http://ubuntuforums.org/showthread.php?t=1140584
http://ubuntuforums.org/showthread.php?t=1145034
http://ubuntuforums.org/showthread.php?t=965935

(and many others)

Here is a summary of what I found out:

1- This bug appears to be kind of RANDOMLY happening. After a fresh install, I used to get this shutdown crash. For a couple of days it went away. But then it again came back. I did install some packages in between (totally unrelated to wireless: acroread etc.)

2- Usually (not always) when I shutdown/restart the machine on battery, everything seems to be OK. No kernel panic, no iwlagn error. nothing.

3- It seems that when I turn off the wireless and then shutdown/restart, everything is OK.

4- Some users have observed that when splash is removed from the menu.lst, the problem doesn't happen. I have also observed that. Although, I didn't permanently remove the splash - I just did it a couple of times using grub editor during boot up, and in all those instances, the shutdown process went smoothly. I don't know if this was just random or not.

5- I couldn't find a version of kernel traceback in /var/log/kern.log or /var/log/kern.log.0 (it seems to be missing from there). However, during shutdown, when I press CTRL+ALT+F7, there is a kernel panic. The last messages before the kernel panic is this (I wrote down from the monitor):

[ 371.328580] iwlagn: Error: Response NULL in 'REPLY_ADD_STA'
[ 371.344681] general protection fault: 0000 [#1] SMP
[ 371.344752] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/rfkill/rfkill0/state
[ 371.344831] Dumping ftrace buffer:

The picture of the rest of the traceback is attached. After the traceback, the following messages appear:

* Killing all remaining processes... [fail]
* Deconfiguring network interfaces... [OK]
* Unmounting temporary filesystems... [OK]
* Deactivating swap... [OK]
* Unmounting local filesystem.... [OK]
* Will now halt

And then hangs indefinitely. I can either press and keep power button to turn it off, or I can press CTRL+ALT+DEL to restart the system.

Looking at the kernel panic, it seems that something is wrong with iwlagn.

6- A suggested work-around can be found in this forum:

http://ubuntuforums.org/showpost.php?p=7149271&postcount=22

Some users have reported that this work around fixes their problem. However, this might be just random as well.