[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171107092603.ji5hjujdmgbmc3gq@wfg-t540p.sh.intel.com>
Date: Tue, 7 Nov 2017 17:26:03 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jean Delvare <jdelvare@...e.de>,
Ingo Molnar <mingo@...nel.org>, Baoquan He <bhe@...hat.com>
Subject: [param_sysfs_init] watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
[swapper:1]
Hello,
FYI this happens in v4.14-rc8 -- it's not necessarily a new bug.
[ 91.017463] regulator-dummy: Failed to create debugfs directory
[ 91.573695] NET: Registered protocol family 16
[ 94.182258] cpuidle: using governor menu
[ 94.611794] ACPI: bus type PCI registered
[ 95.372114] PCI: Using configuration type 1 for base access
[ 120.720000] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]
[ 120.720000] Modules linked in:
[ 120.720000] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.0-rc8 #65
[ 120.720000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 120.720000] task: ffff88000037c040 task.stack: ffff880000380000
[ 120.720000] RIP: 0010:check_memory_region+0x129/0x12c
[ 120.720000] RSP: 0000:ffff8800003875c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
[ 120.720000] RAX: fffffbfff113f3ab RBX: ffffffff889f9d57 RCX: ffffffff86243ea3
[ 120.720000] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff889f9d50
[ 120.720000] RBP: fffffbfff113f3ab R08: fffffbfff113f3ab R09: fffffbfff113f3aa
[ 120.720000] R10: fffffbfff113f3aa R11: 0000000000000000 R12: ffff880000387ad0
[ 120.720000] R13: ffff880000387778 R14: ffff880000387738 R15: 0000000000000000
[ 120.720000] FS: 0000000000000000(0000) GS:ffffffff8804f000(0000) knlGS:0000000000000000
[ 120.720000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 120.720000] CR2: 0000000000000000 CR3: 0000000009e20000 CR4: 00000000000006b0
[ 120.720000] Call Trace:
[ 120.720000] deref_stack_reg+0x87/0x12f
[ 120.720000] ? __read_once_size_nocheck+0xc/0xc
[ 120.720000] ? deref_stack_reg+0x12f/0x12f
[ 120.720000] ? __orc_find+0xb3/0xf7
[ 120.720000] ? kstrdup_const+0x7f/0x85
[ 120.720000] ? kstrdup_const+0x72/0x85
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] unwind_next_frame+0xf1e/0x10cf
[ 120.720000] ? deref_stack_reg+0x12f/0x12f
[ 120.720000] ? __kernel_text_address+0x38/0x7e
[ 120.720000] __save_stack_trace+0x11c/0x12d
[ 120.720000] ? __kernfs_new_node+0x31/0x275
[ 120.720000] save_stack+0x33/0xa6
[ 120.720000] ? save_stack+0x33/0xa6
[ 120.720000] ? kasan_kmalloc+0x86/0x94
[ 120.720000] ? slab_post_alloc_hook+0x31/0x43
[ 120.720000] ? __kmalloc_track_caller+0x145/0x182
[ 120.720000] ? kstrdup+0x64/0xb3
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? cyc2ns_read_begin+0x81/0x8f
[ 120.720000] ? fs_reclaim_release+0x35/0x52
[ 120.720000] ? cycles_2_ns+0x67/0xaf
[ 120.720000] ? cyc2ns_read_begin+0x8f/0x8f
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? sched_clock_local+0xd7/0xf7
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? quarantine_reduce+0x60/0x1f7
[ 120.720000] ? kasan_unpoison_shadow+0xf/0x2e
[ 120.720000] kasan_kmalloc+0x86/0x94
[ 120.720000] slab_post_alloc_hook+0x31/0x43
[ 120.720000] __kmalloc_track_caller+0x145/0x182
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] kstrdup+0x64/0xb3
[ 120.720000] kstrdup_const+0x73/0x85
[ 120.720000] __kernfs_new_node+0x31/0x275
[ 120.720000] kernfs_new_node+0x3e/0x96
[ 120.720000] kernfs_create_dir_ns+0x3c/0x11b
[ 120.720000] sysfs_create_dir_ns+0x125/0x1e1
[ 120.720000] kobject_add_internal+0x2eb/0x888
[ 120.720000] kobject_add_varg+0x7f/0x8f
[ 120.720000] kobject_init_and_add+0xd0/0xf2
[ 120.720000] ? kobject_create_and_add+0xc1/0xc1
[ 120.720000] ? trace_kmalloc+0x3e/0xc7
[ 120.720000] ? locate_module_kobject+0xb0/0x25a
[ 120.720000] locate_module_kobject+0x150/0x25a
[ 120.720000] param_sysfs_init+0x600/0x866
[ 120.720000] ? locate_module_kobject+0x25a/0x25a
[ 120.720000] ? do_one_initcall+0x2c3/0x30f
[ 120.720000] ? do_raw_spin_unlock+0x1af/0x1be
[ 120.720000] ? locate_module_kobject+0x25a/0x25a
[ 120.720000] do_one_initcall+0x14d/0x30f
[ 120.720000] ? initcall_blacklisted+0x1a7/0x1a7
[ 120.720000] ? kernel_init_freeable+0x1c3/0x3f6
[ 120.720000] kernel_init_freeable+0x24a/0x3f6
[ 120.720000] ? rest_init+0x10d/0x10d
[ 120.720000] kernel_init+0x11/0x244
[ 120.720000] ? rest_init+0x10d/0x10d
[ 120.720000] ret_from_fork+0x25/0x30
[ 120.720000] Code: 41 80 38 00 75 05 49 ff c0 eb f0 4d 85 c0 74 1b 4d 39 c2 75 0c 49 0f be 02 83 e3 07 48 39 c3 7c 0a 5b 5d 44 89 da e9 a8 0d 00 00 <5b> 5d c3 48 8b 0c 24 89 f6 31 d2 e9 c7 fe ff ff 48 8b 0c 24 89
[ 120.720000] Kernel panic - not syncing: softlockup: hung tasks
[ 120.720000] CPU: 0 PID: 1 Comm: swapper Tainted: G L 4.14.0-rc8 #65
[ 120.720000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 120.720000] Call Trace:
[ 120.720000] <IRQ>
[ 120.720000] panic+0x1f4/0x4ab
[ 120.720000] ? __warn+0x1e1/0x1e1
[ 120.720000] ? watchdog+0x1a/0x1a
[ 120.720000] watchdog_timer_fn+0x3c0/0x3ef
[ 120.720000] __hrtimer_run_queues+0x351/0x59e
[ 120.720000] ? __hrtimer_get_remaining+0x8d/0x8d
[ 120.720000] ? read_seqcount_retry+0x2e/0x33
[ 120.720000] ? ktime_get_update_offsets_now+0x178/0x18a
[ 120.720000] hrtimer_run_queues+0x113/0x126
[ 120.720000] run_local_timers+0x11/0xe4
[ 120.720000] update_process_times+0x27/0x83
[ 120.720000] tick_periodic+0xfd/0x109
[ 120.720000] tick_handle_periodic+0x27/0x145
[ 120.720000] ? tick_periodic+0x109/0x109
[ 120.720000] smp_apic_timer_interrupt+0x199/0x2c1
[ 120.720000] apic_timer_interrupt+0x89/0x90
[ 120.720000] </IRQ>
[ 120.720000] RIP: 0010:check_memory_region+0x129/0x12c
[ 120.720000] RSP: 0000:ffff8800003875c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
[ 120.720000] RAX: fffffbfff113f3ab RBX: ffffffff889f9d57 RCX: ffffffff86243ea3
[ 120.720000] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff889f9d50
[ 120.720000] RBP: fffffbfff113f3ab R08: fffffbfff113f3ab R09: fffffbfff113f3aa
[ 120.720000] R10: fffffbfff113f3aa R11: 0000000000000000 R12: ffff880000387ad0
[ 120.720000] R13: ffff880000387778 R14: ffff880000387738 R15: 0000000000000000
[ 120.720000] ? deref_stack_reg+0x87/0x12f
[ 120.720000] deref_stack_reg+0x87/0x12f
[ 120.720000] ? __read_once_size_nocheck+0xc/0xc
[ 120.720000] ? deref_stack_reg+0x12f/0x12f
[ 120.720000] ? __orc_find+0xb3/0xf7
[ 120.720000] ? kstrdup_const+0x7f/0x85
[ 120.720000] ? kstrdup_const+0x72/0x85
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] unwind_next_frame+0xf1e/0x10cf
[ 120.720000] ? deref_stack_reg+0x12f/0x12f
[ 120.720000] ? __kernel_text_address+0x38/0x7e
[ 120.720000] __save_stack_trace+0x11c/0x12d
[ 120.720000] ? __kernfs_new_node+0x31/0x275
[ 120.720000] save_stack+0x33/0xa6
[ 120.720000] ? save_stack+0x33/0xa6
[ 120.720000] ? kasan_kmalloc+0x86/0x94
[ 120.720000] ? slab_post_alloc_hook+0x31/0x43
[ 120.720000] ? __kmalloc_track_caller+0x145/0x182
[ 120.720000] ? kstrdup+0x64/0xb3
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? cyc2ns_read_begin+0x81/0x8f
[ 120.720000] ? fs_reclaim_release+0x35/0x52
[ 120.720000] ? cycles_2_ns+0x67/0xaf
[ 120.720000] ? cyc2ns_read_begin+0x8f/0x8f
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? sched_clock_local+0xd7/0xf7
[ 120.720000] ? ftrace_likely_update+0x99/0xbe
[ 120.720000] ? quarantine_reduce+0x60/0x1f7
[ 120.720000] ? kasan_unpoison_shadow+0xf/0x2e
[ 120.720000] kasan_kmalloc+0x86/0x94
[ 120.720000] slab_post_alloc_hook+0x31/0x43
[ 120.720000] __kmalloc_track_caller+0x145/0x182
[ 120.720000] ? kstrdup_const+0x73/0x85
[ 120.720000] kstrdup+0x64/0xb3
[ 120.720000] kstrdup_const+0x73/0x85
[ 120.720000] __kernfs_new_node+0x31/0x275
[ 120.720000] kernfs_new_node+0x3e/0x96
[ 120.720000] kernfs_create_dir_ns+0x3c/0x11b
[ 120.720000] sysfs_create_dir_ns+0x125/0x1e1
[ 120.720000] kobject_add_internal+0x2eb/0x888
[ 120.720000] kobject_add_varg+0x7f/0x8f
[ 120.720000] kobject_init_and_add+0xd0/0xf2
[ 120.720000] ? kobject_create_and_add+0xc1/0xc1
[ 120.720000] ? trace_kmalloc+0x3e/0xc7
[ 120.720000] ? locate_module_kobject+0xb0/0x25a
[ 120.720000] locate_module_kobject+0x150/0x25a
[ 120.720000] param_sysfs_init+0x600/0x866
[ 120.720000] ? locate_module_kobject+0x25a/0x25a
[ 120.720000] ? do_one_initcall+0x2c3/0x30f
[ 120.720000] ? do_raw_spin_unlock+0x1af/0x1be
[ 120.720000] ? locate_module_kobject+0x25a/0x25a
[ 120.720000] do_one_initcall+0x14d/0x30f
[ 120.720000] ? initcall_blacklisted+0x1a7/0x1a7
[ 120.720000] ? kernel_init_freeable+0x1c3/0x3f6
[ 120.720000] kernel_init_freeable+0x24a/0x3f6
[ 120.720000] ? rest_init+0x10d/0x10d
[ 120.720000] kernel_init+0x11/0x244
[ 120.720000] ? rest_init+0x10d/0x10d
[ 120.720000] ret_from_fork+0x25/0x30
Attached the full dmesg and kconfig.
Thanks,
Fengguang
View attachment "dmesg-vm-lkp-os-openwrt-ia32-13:20171107011400:x86_64-randconfig-u0-11060308:4.14.0-rc8:65" of type "text/plain" (32347 bytes)
View attachment ".config" of type "text/plain" (110169 bytes)
Powered by blists - more mailing lists