2011-04-04 19:40:09

by Wanlong Gao

[permalink] [raw]
Subject: X86_32: Got a kernel panic when poweroff

Hi , all
When I did poweroff or reboot .
It got a kernel panic .
I just have several pictures about these panic .
I tried to fix it , but I can't do .

Here are the pictures .
http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_1.jpg
http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_2.png
http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_3.png
http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_4.png
http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_5.png

Thanks ,goot night .


2011-04-04 20:07:25

by Eric Dumazet

[permalink] [raw]
Subject: Re: X86_32: Got a kernel panic when poweroff

Le mardi 05 avril 2011 à 03:39 +0800, wanlong.gao a écrit :
> Hi , all
> When I did poweroff or reboot .
> It got a kernel panic .
> I just have several pictures about these panic .
> I tried to fix it , but I can't do .
>
> Here are the pictures .
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_1.jpg
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_2.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_3.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_4.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_5.png
>
> Thanks ,goot night .
>

A module called register_syscore_ops(), and was unloaded without calling
unregister_syscore_ops()

Hmm... maybe arch/x86/kernel/microcode_core.c ?

Try reverting f3c6ea1b06c71b43f751b36bd9


2011-04-04 21:03:50

by Shaun Ruffell

[permalink] [raw]
Subject: Re: X86_32: Got a kernel panic when poweroff

On 04/04/2011 02:39 PM, wanlong.gao wrote:
> Hi , all
> When I did poweroff or reboot .
> It got a kernel panic .
> I just have several pictures about these panic .
> I tried to fix it , but I can't do .
>
> Here are the pictures .
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_1.jpg
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_2.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_3.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_4.png
> http://images.cnblogs.com/cnblogs_com/linuxkernel/291984/r_5.png
>

I was running into something similar myself and my issue was resolved in
commit 4ac5fc6a3e4d90120f292526bcaa5ee182a7411b from this morning.

Here is a link to the commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ac5fc6a3e4d90120f292526bcaa5ee182a7411b

--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://www.digium.com & http://www.asterisk.org

2011-04-05 05:41:15

by Wanlong Gao

[permalink] [raw]
Subject: Re: Re: X86_32: Got a kernel panic when poweroff

I pulled the linus' tree ,then it goes well .
The issue is seems like you said ,unregister the syscore_ops
But , can you tell me how did you know that ?

Thanks

2011-04-05 06:03:06

by Eric Dumazet

[permalink] [raw]
Subject: Re: Re: X86_32: Got a kernel panic when poweroff

Le mardi 05 avril 2011 à 13:41 +0800, wanlong.gao a écrit :
> I pulled the linus' tree ,then it goes well .
> The issue is seems like you said ,unregister the syscore_ops
> But , can you tell me how did you know that ?

I analysed your crash and came to this conclusion.

(My local linux-2.6 copy did not had the fix, like yours)


2011-04-05 06:45:33

by Wanlong Gao

[permalink] [raw]
Subject: Re: Re: Re: X86_32: Got a kernel panic when poweroff

It fixed now .
Just pull your tree .
cheers.
Thanks