FS#31938 - [linux] 3.6.2 Kernel panic on reboot or shutdown.
Attached to Project:
Arch Linux
Opened by John (graysky) - Sunday, 14 October 2012, 00:15 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 27 February 2013, 10:47 GMT
Opened by John (graysky) - Sunday, 14 October 2012, 00:15 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 27 February 2013, 10:47 GMT
|
Details
Description: Upon testing out linux-3.6.2-1 from [testing] I
noticed that my box will panic upon a reboot or shutdown.
Unfortunately, I cannot locate the error in any log in
/var/log but I can and did take a photo of it. Downgrading
to 3.5.2-1 solves this problem.
Additional info: * package version(s) 3.6.2-1 * config and/or log files etc. (attached photo) Steps to reproduce: Ask box to shutdown or reboot, example: # shutdown -r now or # reboot |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 27 February 2013, 10:47 GMT
Reason for closing: No response
Wednesday, 27 February 2013, 10:47 GMT
Reason for closing: No response
The same occurs with linux-lts-3.0.46-1 (updated same day as linux 3.6.2-1)
In both cases, downgrading (to 3.5.6-1 or 3.0.45-1) solves the problem.
Same commit was introduced in 3.0.46
Definitely this should be reported upstream.
Recompiling kernel/sys.c in 3.0.46 without the call to disable_nonboot_cpus()
at the function kernel_restart() makes my system reboots normally. Otherwise,
kernel_restart() freezes my machine.
Reported this bug to bugzilla, first time I've done this,
https://bugzilla.kernel.org/show_bug.cgi?id=49001
I just comment-out the call to disable_nonboot_cpus in kernel/sys.c:
void kernel_restart(char *cmd)
{
kernel_restart_prepare(cmd);
/* disable_nonboot_cpus(); */
if (!cmd)
printk(KERN_EMERG "Restarting system.\n");
else
printk(KERN_EMERG "Restarting system with command '%s'.\n", cmd);
kmsg_dump(KMSG_DUMP_RESTART);
machine_restart(cmd);
}
That's how it was in 3.5.7 (and in 3.0.45)
For me, 3.5.7 works just fine, it is anything in the 3.6 series that locks up.
I'm not experiencing kernel panics, just a freeze, commenting that call the machine reboots normally. Actually I run -lts series, the call appears on 3.0.46. Try the comment-out and OK, then checked 3.6.2 and the same behavior.
Not sure same problem.
1) This isn't a panic as I originally reported. I can type on the screen and the kernel responds. If I insert a USB stick, I see a message indicating that the kernel detected it.
2) I ONLY get this freeze if my lirc modules are probed: lirc_i2c and lirc_dev. If I manually remove them and either reboot or shutdown, everything is fine.
Should I open a task against lirc? Is this task still valid?
With 3.6.2 had a couple of kernel panics when shutdown, not ocurring with 3.6.3
Absolutely I have to suppress the call to disable_nonboot_cpus in kernel_restart() or my system freezes when reboot just like with 3.0.48