You are not logged in.

#1 2011-07-21 16:58:38

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

[SOLVED] kernel panic on shutdown

Hi all,
I'm experiencing kernel panics when shutting down. My system is up to date.

No issues with boot.

I don't know what to look for or to check. I tried to boot with fallback image but shutdown gives the same messages.

after printing "power off" (until there everything is fine) it prints something like a stack backtrace...messages not understandable by me. Are they logged anywhere?
the last one is:

/etc/rc.shutdown:line 100: 1761 killed /sbin/poweroff -d -f -h -i

What can I do?

Hope you'll give some feedback sad

Last edited by virusso80 (2011-07-22 17:30:25)

Offline

#2 2011-07-21 20:09:57

lukaszan
Member
Registered: 2011-05-05
Posts: 117

Re: [SOLVED] kernel panic on shutdown

Interesting...

Does reboot cause the same issues? You think you could grab a photo of messages after POWER OFF ?

I'm getting the same thing, but don't really know what is wrong. It's caused by TV card, and it started with mobo upgrade, so I'm leaning towards hardware/compatibility issue...

Offline

#3 2011-07-21 23:12:41

StenM
Member
Registered: 2011-07-03
Posts: 33

Re: [SOLVED] kernel panic on shutdown

If you have VirtulBox 4.1.0 look at this:
  http://www.virtualbox.org/ticket/9253

I added to /etc/rc.shutdown

modprobe -r vboxdrv

S-

Offline

#4 2011-07-21 23:27:56

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOLVED] kernel panic on shutdown

You should put that in /etc/rc.local.shutdown instead.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2011-07-22 09:44:03

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] kernel panic on shutdown

Thanks for suggestions...at first sight seems that virtual box bug is the same...but i don't remember messages...then i'll look better asap. Of course I can only take a pic from screen as is...

where should i put the modprobe -r instruction?

thanks again

V

Offline

#6 2011-07-22 10:34:27

StenM
Member
Registered: 2011-07-03
Posts: 33

Re: [SOLVED] kernel panic on shutdown

As Stebalien posted correction:
edit:  /etc/rc.local.shutdown

#!/bin/bash
#
# /etc/rc.local.shutdown: Local shutdown script.
#

run as root

nano /etc/rc.local.shutdown

add line

modprobe -r vboxdrv

You could also test if problem is caused with module vboxdrv, by simply running as root command mentioned above and see if your problem persist during shutdown. To check if you have vboxdrv running use this

lsmod | grep vboxdrv

Then, by editing /etc/rc.local.shutdown you make it permanent.

S-

This solved problem with hibernation (post 7):
https://bbs.archlinux.org/viewtopic.php?id=122957

Last edited by StenM (2011-07-23 09:43:10)

Offline

#7 2011-07-22 11:59:30

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] kernel panic on shutdown

thanks,
just to know, which is the effect of doing this? i mean, before it was not needed, then, why it is needed now?

Offline

#8 2011-07-22 12:39:01

ginoboy
Member
From: Brazil
Registered: 2011-06-29
Posts: 9

Re: [SOLVED] kernel panic on shutdown

virusso80 wrote:

thanks,
just to know, which is the effect of doing this? i mean, before it was not needed, then, why it is needed now?

This is a bug of the new version (4.1.0).. thats causes kernel panic in the turn-off time, when the modules of vbox (vboxdrv) are loaded. Probably this bug will fixed in the next version..

This bug was reported here too: https://bugs.archlinux.org/task/25187

Offline

#9 2011-07-22 12:40:47

StenM
Member
Registered: 2011-07-03
Posts: 33

Re: [SOLVED] kernel panic on shutdown

I have no idea what caused the problem, but clearly that is relating to loaded vboxdrv module during shutdown process. "rc.local.shutdown" file is place to put any script that you willing to run before your system run a common shout down process.

Using "modprobe -r vboxdrv" solved only consequences of that error, but the error in VirtualBox remain and VB makers will fix it with new release, hopefully.

S-

PS: Please mark your topic solved

Offline

#10 2011-07-22 17:30:00

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED] kernel panic on shutdown

I confirm that removing vboxdrv kernel module problem does not appear anymore. Temporary solved until fixing. Thanks!

Offline

Board footer

Powered by FluxBB