On Thu, Mar 06, 2014 at 07:48:21PM +1100, Stephen Rothwell wrote: > Hi all, > > There may be build failures in this tree due to the percpu changes in the > akpm tree. > > This tree fails (more than usual) the powerpc allyesconfig build. > > Changes since 20140305: > Booting on my Samsung Series 9 laptop gives me loads and loads of BUGs triggered by __this_cpu_add(), making making the system completely unusable: [ 5.808326] BUG: using __this_cpu_add() in preemptible [00000000] code: swapper/0/1 [ 5.812331] caller is __this_cpu_preempt_check+0x2b/0x30 [ 5.815654] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc5-next-20140306-joshc-08290-g0ffb2fe #1 [ 5.819553] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D/NP900X3E-A02US, BIOS P07ABK 04/09/2013 [ 5.823558] ffff8801182157c0 ffff880118215790 ffffffff81a64cec 0000000000000000 [ 5.827177] ffff8801182157b0 ffffffff81462360 ffff8800c3d553e0 ffffea00030f5500 [ 5.830744] ffff8801182157e8 ffffffff814623bb 635f736968745f5f 29286464615f7570 [ 5.834134] Call Trace: [ 5.836848] [] dump_stack+0x4e/0x7a [ 5.839943] [] check_preemption_disabled+0xd0/0xe0 [ 5.842997] [] __this_cpu_preempt_check+0x2b/0x30 [ 5.846022] [] __slab_free+0x38/0x590 [ 5.848863] [] ? get_parent_ip+0xd/0x50 [ 5.850467] BUG: using __this_cpu_add() in preemptible [00000000] code: khubd/36 [ 5.850472] caller is __this_cpu_preempt_check+0x2b/0x30 [ 5.859125] [] ? preempt_count_sub+0x6b/0xf0 [ 5.862521] [] ? _raw_spin_unlock_irqrestore+0x4a/0x80 [ 5.865599] [] ? __debug_check_no_obj_freed+0x13e/0x240 [ 5.868738] [] ? __this_cpu_preempt_check+0x2b/0x30 [ 5.871799] [] kfree+0x2f7/0x300 [ 5.874754] [] ? ext4_ext_map_blocks+0x184/0x1950 [ 5.877818] [] ext4_ext_map_blocks+0x184/0x1950 [ 5.880862] [] ? get_parent_ip+0xd/0x50 [ 5.883940] [] ? ext4_map_blocks+0x2dc/0x530 [ 5.886943] [] ext4_map_blocks+0x205/0x530 [ 5.889912] [] ext4_getblk+0x56/0x210 [ 5.893511] [] ext4_find_entry+0x2df/0x510 [ 5.896463] [] ? get_parent_ip+0xd/0x50 [ 5.899355] [] ? preempt_count_sub+0x6b/0xf0 [ 5.902252] [] ext4_lookup+0x42/0x150 [ 5.905132] [] lookup_real+0x1d/0x50 [ 5.907984] [] __lookup_hash+0x33/0x40 [ 5.910827] [] lookup_slow+0x45/0xc0 [ 5.913662] [] link_path_walk+0x872/0x8b0 [ 5.916562] [] ? trace_hardirqs_on+0xd/0x10 [ 5.919460] [] path_openat+0x9f/0x6e0 [ 5.922247] [] do_filp_open+0x3a/0x90 [ 5.925066] [] ? debug_smp_processor_id+0x10/0x20 [ 5.928009] [] ? put_lock_stats.isra.20+0xe/0x30 [ 5.930945] [] ? do_execve_common.isra.25+0x290/0x8d0 [ 5.933942] [] do_open_exec+0x22/0xe0 [ 5.936765] [] do_execve_common.isra.25+0x29f/0x8d0 [ 5.939716] [] ? do_execve_common.isra.25+0x116/0x8d0 [ 5.942620] [] ? rest_init+0x140/0x140 [ 5.945391] [] do_execve+0x18/0x20 [ 5.948112] [] run_init_process+0x2b/0x30 [ 5.950874] [] try_to_run_init_process+0x14/0x40 [ 5.953682] [] ? rest_init+0x140/0x140 [ 5.956472] [] kernel_init+0x9c/0xf0 [ 5.959059] [] ret_from_fork+0x7c/0xb0 [ 5.962611] [] ? rest_init+0x140/0x140 [ 5.965244] CPU: 1 PID: 36 Comm: khubd Not tainted 3.14.0-rc5-next-20140306-joshc-08290-g0ffb2fe #1 [ 5.968014] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X3E/900X4C/900X4D/NP900X3E-A02US, BIOS P07ABK 04/09/2013 [ 5.971766] ffff8801179ad920 ffff8801179ad8f0 ffffffff81a64cec 0000000000000001 [ 5.975058] ffff8801179ad910 ffffffff81462360 ffff8800c302f2c8 ffffea00030c0b00 [ 5.978361] ffff8801179ad948 ffffffff814623bb 635f736968745f5f 29286464615f7570 [ 5.981656] Call Trace: [ 5.981919] BUG: using __this_cpu_add() in preemptible [00000000] code: swapper/0/1 [ 5.981923] caller is __this_cpu_preempt_check+0x2b/0x30 [ 5.988527] [] dump_stack+0x4e/0x7a [ 5.990873] [] check_preemption_disabled+0xd0/0xe0 [ 5.993367] [] __this_cpu_preempt_check+0x2b/0x30 [ 5.995793] [] ? check_preemption_disabled+0x70/0xe0 [ 5.998281] [] __slab_free+0x38/0x590 [ 6.000635] [] ? get_parent_ip+0xd/0x50 [ 6.002976] [] ? preempt_count_sub+0x6b/0xf0 [ 6.005473] [] ? _raw_spin_unlock_irqrestore+0x4a/0x80 [ 6.007976] [] ? __debug_check_no_obj_freed+0x13e/0x240 [ 6.010481] [] ? __this_cpu_preempt_check+0x2b/0x30 [ 6.012914] [] kfree+0x2f7/0x300 [ 6.015074] [] ? urb_destroy+0x24/0x30 [ 6.017301] [] urb_destroy+0x24/0x30 [ 6.019513] [] usb_free_urb+0x21/0x30 [ 6.021676] [] usb_start_wait_urb+0xa2/0x160 [ 6.023940] [] ? wait_for_common+0x122/0x170 [ 6.026200] [] usb_control_msg+0xc5/0x110 [ 6.028378] [] usb_get_descriptor+0x82/0xc0 [ 6.030624] [] usb_get_configuration+0x163/0x1600 [ 6.032921] [] ? _raw_spin_unlock_irq+0x2c/0x60 [ 6.035158] [] ? __this_cpu_preempt_check+0x2b/0x30 [ 6.037469] [] ? preempt_count_sub+0x6b/0xf0 [ 6.039703] [] ? _raw_spin_unlock_irq+0x3d/0x60 [ 6.041913] [] usb_new_device+0x2c8/0x370 [ 6.044100] [] hub_thread+0x792/0x16e0 [ 6.046257] [] ? __wake_up_common+0x90/0x90 [ 6.048416] [] ? usb_reset_device+0x1d0/0x1d0 [ 6.050639] [] kthread+0xf0/0x110 [ 6.052685] [] ? insert_kthread_work+0x80/0x80 [ 6.054911] [] ret_from_fork+0x7c/0xb0 [ 6.057052] [] ? insert_kthread_work+0x80/0x80 And so on.. (full dmesg attached) -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation