Re: [2.6.17-rc5-mm2] crash when doing second suspend: BUG in arch/i386/kernel/nmi.c:174

From: Jeremy Fitzhardinge
Date: Mon Jun 05 2006 - 03:36:37 EST


Jeremy Fitzhardinge wrote:
I'm trying to get suspend/resume working properly on my Thinkpad X60.
This is a dual-core machine, so its running in SMP mode.

Now that I have a set of patches to make AHCI resume properly, I'm
getting a crash on the second suspend. I can't get an actual listing of
the oops, but I have a set of screenshots if anyone needs more details.

The gist is that there's a BUG_ON failing at arch/i386/kernel/nmi.c:174
(BUG_ON(counter > NMI_MAX_COUNTER_BITS)), in release_evntsel_nmi. The
backtrace is:

release_evntsel_nmi
stop_apci_nmi_watchdog
on_each_cpu
disable_lapic_nmi_watchdog
lapic_nmi_suspend
sysdev_suspend
device_power_down
suspend_enter
enter_state
state_store
subsys_attr_store
sysfs_write_file
vfs_write
sys_write
sysenter_past_esp

This BUG_ON was introduced by the patch x86_64-mm-add-performance-counter-reservation-framework-for-up-kernels.patch.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/