2009-11-27 07:23:47

by Xiaotian Feng

[permalink] [raw]
Subject: kernel warning on list_del corruption

Hi:

I got kernel warnings on list_del corruption while I'm doing as
follows:

1. s2ram
2. resume
3. echo 0 > /sys/devices/system/cpu/cpu1/online

Then I got warning, is there anything wrong on this warning? I can
100% reproduce it. If I change
steps to:
1. echo 0 > /sys/devices/system/cpu/cpu1/online
2. echo 1 > /sys/devices/system/cpu/cpu1/online
3. s2ram
4. resume

I can get the similiar warnings about list_del corruption. My
kernel config is attached, thanks.
Although this kernel is built from tip, but I can also reproduce this
warning from upstream code.

------------[ cut here ]------------
WARNING: at lib/list_debug.c:51 list_del+0x5e/0x8b()
Hardware name: OptiPlex 760
list_del corruption. next->prev should be ffff88022eec0100, but was
ffffffff81a4cec0
Modules linked in: fuse radeon ttm drm_kms_helper drm i2c_algo_bit sco
bridge stp llc bnep l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6
ip6table_filter ip6_tables ipv6 dm_multipath uinput snd_hda_codec_analog
snd_hda_intel snd_hda_codec snd_hwdep iTCO_wdt iTCO_vendor_support ppdev
parport_pc snd_pcm snd_timer e1000e parport dcdbas snd soundcore
snd_page_alloc serio_raw i2c_i801 i2c_core pcspkr ata_generic pata_acpi
[last unloaded: speedstep_lib]
Pid: 2788, comm: bash Tainted: G W 2.6.32-rc6-tip+ #1
Call Trace:
[<ffffffff8104e8e1>] warn_slowpath_common+0x7c/0x94
[<ffffffff8104e950>] warn_slowpath_fmt+0x41/0x43
[<ffffffff81218ea2>] list_del+0x5e/0x8b
[<ffffffff81073ae5>] clockevents_exchange_device+0x49/0xa6
[<ffffffff81073f01>] ? tick_notify+0x270/0x359
[<ffffffff81073f27>] tick_notify+0x296/0x359
[<ffffffff8107384f>] ? clockevents_notify+0x24/0x76
[<ffffffff8146bd2c>] notifier_call_chain+0x37/0x63
[<ffffffff8106ce8c>] raw_notifier_call_chain+0x14/0x16
[<ffffffff81073864>] clockevents_notify+0x39/0x76
[<ffffffff81464378>] hrtimer_cpu_notify+0xb8/0x1d2
[<ffffffff8146890b>] ? _spin_unlock_irq+0x30/0x3c
[<ffffffff8146bd2c>] notifier_call_chain+0x37/0x63
[<ffffffff8106ce8c>] raw_notifier_call_chain+0x14/0x16
[<ffffffff814543f1>] _cpu_down+0x19d/0x28e
[<ffffffff81454525>] cpu_down+0x43/0x7c
[<ffffffff810f5bd5>] ? alloc_pages_current+0x95/0x9e
[<ffffffff81456436>] store_online+0x33/0x71
[<ffffffff812ba549>] sysdev_store+0x20/0x22
[<ffffffff8115e3fe>] sysfs_write_file+0xfb/0x137
[<ffffffff81107b45>] vfs_write+0xae/0x10b
[<ffffffff81107c62>] sys_write+0x4a/0x6e
[<ffffffff81009cc2>] system_call_fastpath+0x16/0x1b
---[ end trace 20204c354abbb5b3 ]---


Attachments:
config-tip (86.13 kB)