Masanori ITOH
8474b591fa
percpu: fix list_head init bug in __percpu_counter_init()
...
WARNING: at lib/list_debug.c:26 __list_add+0x3f/0x81()
Hardware name: Express5800/B120a [N8400-085]
list_add corruption. next->prev should be prev (ffffffff81a7ea00), but was dead000000200200. (next=ffff88080b872d58).
Modules linked in: aoe ipt_MASQUERADE iptable_nat nf_nat autofs4 sunrpc bridge 8021q garp stp llc ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_round_robin dm_multipath kvm_intel kvm uinput lpfc scsi_transport_fc igb ioatdma scsi_tgt i2c_i801 i2c_core dca iTCO_wdt iTCO_vendor_support pcspkr shpchp megaraid_sas [last unloaded: aoe]
Pid: 54, comm: events/3 Tainted: G W 2.6.34-vanilla1 #1
Call Trace:
[<ffffffff8104bd77>] warn_slowpath_common+0x7c/0x94
[<ffffffff8104bde6>] warn_slowpath_fmt+0x41/0x43
[<ffffffff8120fd2e>] __list_add+0x3f/0x81
[<ffffffff81212a12>] __percpu_counter_init+0x59/0x6b
[<ffffffff810d8499>] bdi_init+0x118/0x17e
[<ffffffff811f2c50>] blk_alloc_queue_node+0x79/0x143
[<ffffffff811f2d2b>] blk_alloc_queue+0x11/0x13
[<ffffffffa02a931d>] aoeblk_gdalloc+0x8e/0x1c9 [aoe]
[<ffffffffa02aa655>] aoecmd_sleepwork+0x25/0xa8 [aoe]
[<ffffffff8106186c>] worker_thread+0x1a9/0x237
[<ffffffffa02aa630>] ? aoecmd_sleepwork+0x0/0xa8 [aoe]
[<ffffffff81065827>] ? autoremove_wake_function+0x0/0x39
[<ffffffff810616c3>] ? worker_thread+0x0/0x237
[<ffffffff810653ad>] kthread+0x7f/0x87
[<ffffffff8100aa24>] kernel_thread_helper+0x4/0x10
[<ffffffff8106532e>] ? kthread+0x0/0x87
[<ffffffff8100aa20>] ? kernel_thread_helper+0x0/0x10
It's because there is no initialization code for a list_head contained in
the struct backing_dev_info under CONFIG_HOTPLUG_CPU, and the bug comes up
when block device drivers calling blk_alloc_queue() are used. In case of
me, I got them by using aoe.
Signed-off-by: Masanori Itoh <itoumsn@nttdata.co.jp>
Cc: Tejun Heo <tj@kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-26 16:52:04 -07:00
..
2010-01-11 09:34:04 -08:00
2010-08-30 17:35:52 +10:00
2008-04-18 22:17:17 -04:00
2009-09-21 15:14:55 +02:00
2010-03-12 15:52:44 -08:00
2009-12-15 08:53:32 -08:00
2010-07-27 10:43:46 +01:00
2010-03-01 11:38:46 -08:00
2008-07-24 10:47:33 -07:00
2010-05-30 09:00:03 -07:00
2008-06-06 11:29:10 -07:00
2010-05-15 12:48:10 -07:00
2010-10-05 11:29:27 -07:00
2009-01-06 15:59:11 -08:00
2009-11-03 16:06:53 +01:00
2008-07-28 15:05:23 +02:00
2010-05-27 09:12:48 -07:00
2010-03-30 22:02:32 +09:00
2010-05-26 08:19:23 -07:00
2008-07-12 08:22:32 -05:00
2009-12-15 08:53:32 -08:00
2010-02-25 09:40:59 +01:00
2010-05-18 08:17:58 -07:00
2009-06-16 19:47:47 -07:00
2010-08-11 08:59:23 -07:00
2009-09-24 07:21:05 -07:00
2009-09-24 07:21:05 -07:00
2010-04-24 11:31:25 -07:00
2010-01-11 09:34:05 -08:00
2010-07-11 22:16:32 +02:00
2008-06-12 10:47:58 +02:00
2010-10-15 15:53:27 +02:00
2010-10-22 19:36:42 -07:00
2009-06-12 21:47:04 +09:30
2009-10-11 11:20:58 -07:00
2009-01-01 10:12:19 +10:30
2008-04-29 08:11:16 -07:00
2010-08-09 20:45:09 -07:00
2009-06-18 13:04:05 -07:00
2010-05-25 08:07:06 -07:00
2010-06-29 15:29:30 -07:00
2010-05-25 08:07:05 -07:00
2010-04-06 15:52:11 -07:00
2010-08-31 09:43:59 +02:00
2010-08-12 09:51:35 -07:00
2008-07-26 12:00:07 -07:00
2010-08-09 20:45:05 -07:00
2010-07-09 11:42:03 -07:00
2009-07-17 09:11:31 +10:00
2010-03-30 22:02:32 +09:00
2010-08-09 10:36:44 +01:00
2010-10-24 19:57:05 +03:00
2010-05-20 21:04:26 -05:00
2009-07-01 22:28:44 +02:00
2009-12-14 23:55:33 +01:00
2009-01-06 10:44:30 -08:00
2010-08-23 18:12:46 -07:00
2010-10-22 10:16:44 -07:00
2010-05-21 09:37:29 -07:00
2010-03-15 12:47:59 +01:00
2008-12-25 11:01:42 +11:00
2010-08-09 20:45:08 -07:00
2010-10-01 10:50:58 -07:00
2009-03-13 01:32:36 +01:00
2009-10-01 21:17:49 +02:00
2010-08-09 10:36:44 +01:00
2009-03-26 22:45:23 -07:00
2009-12-15 08:53:33 -08:00
2010-10-26 16:52:04 -07:00
2009-12-14 23:55:33 +01:00
2009-01-06 15:59:11 -08:00
2009-01-06 17:10:04 -08:00
2010-10-07 09:43:11 +02:00
2010-06-16 18:08:13 +02:00
2010-04-07 08:38:04 -07:00
2010-01-11 09:34:05 -08:00
2010-07-05 14:43:50 +02:00
2010-04-07 16:15:05 -07:00
2010-08-09 20:45:11 -07:00
2010-08-30 19:55:09 +02:00
2010-03-06 11:26:27 -08:00
2009-01-30 15:47:34 +01:00
2009-01-08 08:31:14 -08:00
2009-12-14 23:55:33 +01:00
2008-10-23 11:42:20 -05:00
2010-03-06 11:26:35 -08:00
2010-10-11 17:08:36 -04:00
2008-07-26 12:00:10 -07:00
2010-03-30 22:02:32 +09:00
2008-07-08 02:37:54 -07:00
2008-07-08 02:38:27 -07:00
2008-07-08 02:38:09 -07:00
2010-05-19 22:40:47 -04:00
2010-08-09 20:45:09 -07:00