From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 192131] New: Hang up at boot time [] (io_schedule_timeout) from [] (bit_wait_i) Date: Sun, 08 Jan 2017 23:51:56 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT To: linux-ext4@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.29.136]:60110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934218AbdAHXwD (ORCPT ); Sun, 8 Jan 2017 18:52:03 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DF9C202A1 for ; Sun, 8 Jan 2017 23:52:00 +0000 (UTC) Received: from bugzilla1.web.kernel.org (bugzilla1.web.kernel.org [172.20.200.51]) by mail.kernel.org (Postfix) with ESMTP id 853872025A for ; Sun, 8 Jan 2017 23:51:58 +0000 (UTC) Sender: linux-ext4-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=192131 Bug ID: 192131 Summary: Hang up at boot time [] (io_schedule_timeout) from [] (bit_wait_i) Product: File System Version: 2.5 Kernel Version: 4.10.0-rc2 Hardware: ARM OS: Linux Tree: Mainline Status: NEW Severity: blocking Priority: P1 Component: ext4 Assignee: fs_ext4@kernel-bugs.osdl.org Reporter: bugux@miouyouyou.fr Regression: No Created attachment 250821 --> https://bugzilla.kernel.org/attachment.cgi?id=250821&action=edit Kernel .config file used to compile the kernel in question Greetings, I'm currently experiencing hang up at boot time when using a Linux Kernel 4.10.0-rc2 on a Rockchip 3288 ARM board. Since I cannot login to the system in such conditions, I'm using a UART←→USB cable and minicom to read the console messages. The system first hangs at: [ 4.445965] ttyS2 - failed to request DMA Then print the following after a few minutes: [ 246.829223] INFO: task swapper/0:1 blocked for more than 120 seconds. [ 246.835665] Not tainted 4.10.0-rc2MyyMyy #1 [ 246.840368] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this. [ 246.848190] swapper/0 D 0 1 0 0x00000000 [ 246.853685] [] (__schedule) from [] (schedule+0xb8/0xd0) [ 246.860731] [] (schedule) from [] (schedule_timeout+0x2c) [ 246.868383] [] (schedule_timeout) from [] (io_schedule_t) [ 246.876901] [] (io_schedule_timeout) from [] (bit_wait_i) [ 246.884986] [] (bit_wait_io) from [] (__wait_on_bit+0x70) [ 246.892550] [] (__wait_on_bit) from [] (out_of_line_wait) [ 246.901156] [] (out_of_line_wait_on_bit) from [] (__wait) [ 246.910022] [] (__wait_on_buffer) from [] (__bread_gfp+0) [ 246.917847] [] (__bread_gfp) from [] (ext4_fill_super+0x) [ 246.925847] [] (ext4_fill_super) from [] (mount_bdev+0x1) [ 246.933673] [] (mount_bdev) from [] (ext4_mount+0x24/0x3) [ 246.940893] [] (ext4_mount) from [] (mount_fs+0x80/0x15c) [ 246.948025] [] (mount_fs) from [] (vfs_kern_mount+0x58/0) [ 246.955503] [] (vfs_kern_mount) from [] (do_mount+0x814/) [ 246.963069] [] (do_mount) from [] (SyS_mount+0x84/0xac) [ 246.970028] [] (SyS_mount) from [] (mount_block_root+0x1) [ 246.977856] [] (mount_block_root) from [] (mount_root+0x) [ 246.985594] [] (mount_root) from [] (prepare_namespace+0) [ 246.993593] [] (prepare_namespace) from [] (kernel_init_) [ 247.002458] [] (kernel_init_freeable) from [] (kernel_in) [ 247.010718] [] (kernel_init) from [] (ret_from_fork+0x14) [ 247.018282] NMI backtrace for cpu 2 [ 247.021770] CPU: 2 PID: 34 Comm: khungtaskd Not tainted 4.10.0-rc2MyyMyy #1 [ 247.028718] Hardware name: Rockchip (Device Tree) [ 247.033416] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.041147] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.048358] [] (dump_stack) from [] (nmi_cpu_backtrace+0) [ 247.056175] [] (nmi_cpu_backtrace) from [] (nmi_trigger_) [ 247.065725] [] (nmi_trigger_cpumask_backtrace) from [] () [ 247.076317] [] (arch_trigger_cpumask_backtrace) from [] ) [ 247.085262] [] (watchdog) from [] (kthread+0x128/0x144) [ 247.092215] [] (kthread) from [] (ret_from_fork+0x14/0x3) [ 247.099435] Sending NMI from CPU 2 to CPUs 0-1,3: [ 247.104239] NMI backtrace for cpu 3 [ 247.107720] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.114492] Hardware name: Rockchip (Device Tree) [ 247.119185] task: ee94de80 task.stack: ee978000 [ 247.123705] PC is at arch_cpu_idle+0x3c/0x48 [ 247.127964] LR is at arch_cpu_idle+0x38/0x48 [ 247.132224] pc : [] lr : [] psr: 60000013 [ 247.138477] sp : ee979f90 ip : ee979fa0 fp : ee979f9c [ 247.143690] r10: 00000000 r9 : 410fc0d1 r8 : 0000406a [ 247.148902] r7 : c12e52e8 r6 : c11c41d0 r5 : 00000000 r4 : 00000000 [ 247.155415] r3 : c011ba80 r2 : 00000000 r1 : 00000000 r0 : 00000001 [ 247.161928] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 247.169047] Control: 10c5387d Table: 0000406a DAC: 00000051 [ 247.174781] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.181553] Hardware name: Rockchip (Device Tree) [ 247.186246] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.193972] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.201179] [] (dump_stack) from [] (show_regs+0x1c/0x20) [ 247.208298] [] (show_regs) from [] (nmi_cpu_backtrace+0x) [ 247.216024] [] (nmi_cpu_backtrace) from [] (handle_IPI+0) [ 247.224011] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 247.231563] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 247.239030] Exception stack(0xee979f40 to 0xee979f88) [ 247.244069] 9f40: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c8 [ 247.252229] 9f60: 0000406a 410fc0d1 00000000 ee979f9c ee979fa0 ee979f90 c010c [ 247.260388] 9f80: 60000013 ffffffff [ 247.263868] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 247.271248] [] (arch_cpu_idle) from [] (default_idle_cal) [ 247.279321] [] (default_idle_call) from [] (do_idle+0xf0) [ 247.286960] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 247.294513] [] (cpu_startup_entry) from [] (secondary_st) [ 247.303540] [] (secondary_start_kernel) from [<0010192c>] (0x10192) [ 247.310747] NMI backtrace for cpu 1 [ 247.314228] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.321001] Hardware name: Rockchip (Device Tree) [ 247.325693] task: ee94d100 task.stack: ee974000 [ 247.330213] PC is at arch_cpu_idle+0x3c/0x48 [ 247.334472] LR is at arch_cpu_idle+0x38/0x48 [ 247.338731] pc : [] lr : [] psr: 60000013 [ 247.344983] sp : ee975f90 ip : ee975fa0 fp : ee975f9c [ 247.350196] r10: 00000000 r9 : 410fc0d1 r8 : 0000406a [ 247.355409] r7 : c12e52e8 r6 : c11c41d0 r5 : 00000000 r4 : 00000000 [ 247.361922] r3 : c011ba80 r2 : 00000000 r1 : 00000000 r0 : 00000001 [ 247.368435] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 247.375554] Control: 10c5387d Table: 0000406a DAC: 00000051 [ 247.381288] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.388060] Hardware name: Rockchip (Device Tree) [ 247.392753] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.400479] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.407686] [] (dump_stack) from [] (show_regs+0x1c/0x20) [ 247.414806] [] (show_regs) from [] (nmi_cpu_backtrace+0x) [ 247.422533] [] (nmi_cpu_backtrace) from [] (handle_IPI+0) [ 247.430519] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 247.438071] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 247.445538] Exception stack(0xee975f40 to 0xee975f88) [ 247.450577] 5f40: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c8 [ 247.458737] 5f60: 0000406a 410fc0d1 00000000 ee975f9c ee975fa0 ee975f90 c010c [ 247.466897] 5f80: 60000013 ffffffff [ 247.470376] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 247.477755] [] (arch_cpu_idle) from [] (default_idle_cal) [ 247.485828] [] (default_idle_call) from [] (do_idle+0xf0) [ 247.493467] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 247.501020] [] (cpu_startup_entry) from [] (secondary_st) [ 247.510047] [] (secondary_start_kernel) from [<0010192c>] (0x10192) [ 247.517254] NMI backtrace for cpu 0 [ 247.520736] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.527509] Hardware name: Rockchip (Device Tree) [ 247.532201] task: c120f100 task.stack: c1200000 [ 247.536721] PC is at arch_cpu_idle+0x3c/0x48 [ 247.540981] LR is at arch_cpu_idle+0x38/0x48 [ 247.545241] pc : [] lr : [] psr: 60000113 [ 247.551493] sp : c1201f50 ip : c1201f60 fp : c1201f5c [ 247.556706] r10: 00000000 r9 : c116da38 r8 : eefdedc0 [ 247.561919] r7 : c1209480 r6 : c11c41d0 r5 : 00000000 r4 : 00000000 [ 247.568432] r3 : c011ba80 r2 : 00000000 r1 : 00000000 r0 : 00000001 [ 247.574945] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 247.582064] Control: 10c5387d Table: 0000406a DAC: 00000051 [ 247.587796] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.594569] Hardware name: Rockchip (Device Tree) [ 247.599262] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.606988] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.614194] [] (dump_stack) from [] (show_regs+0x1c/0x20) [ 247.621315] [] (show_regs) from [] (nmi_cpu_backtrace+0x) [ 247.629041] [] (nmi_cpu_backtrace) from [] (handle_IPI+0) [ 247.637028] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 247.644580] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 247.652046] Exception stack(0xc1201f00 to 0xc1201f48) [ 247.657086] 1f00: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c0 [ 247.665247] 1f20: eefdedc0 c116da38 00000000 c1201f5c c1201f60 c1201f50 c010c [ 247.673406] 1f40: 60000113 ffffffff [ 247.676885] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 247.684266] [] (arch_cpu_idle) from [] (default_idle_cal) [ 247.692339] [] (default_idle_call) from [] (do_idle+0xf0) [ 247.699979] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 247.707531] [] (cpu_startup_entry) from [] (rest_init+0x) [ 247.715258] [] (rest_init) from [] (start_kernel+0x338/0) [ 247.722725] [] (start_kernel) from [<0000807c>] (0x807c) [ 247.728903] Kernel panic - not syncing: hung_task: blocked tasks [ 247.734899] CPU: 2 PID: 34 Comm: khungtaskd Not tainted 4.10.0-rc2MyyMyy #1 [ 247.741846] Hardware name: Rockchip (Device Tree) [ 247.746543] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.754273] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.761483] [] (dump_stack) from [] (panic+0xd8/0x25c) [ 247.768347] [] (panic) from [] (watchdog+0x38c/0x40c) [ 247.775123] [] (watchdog) from [] (kthread+0x128/0x144) [ 247.782074] [] (kthread) from [] (ret_from_fork+0x14/0x3) [ 247.789284] CPU0: stopping [ 247.791985] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.798758] Hardware name: Rockchip (Device Tree) [ 247.803455] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.811184] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.818393] [] (dump_stack) from [] (handle_IPI+0x180/0x) [ 247.825776] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 247.833331] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 247.840797] Exception stack(0xc1201f00 to 0xc1201f48) [ 247.845840] 1f00: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c0 [ 247.854003] 1f20: eefdedc0 c116da38 00000000 c1201f5c c1201f60 c1201f50 c010c [ 247.862164] 1f40: 60000113 ffffffff [ 247.865646] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 247.873030] [] (arch_cpu_idle) from [] (default_idle_cal) [ 247.881099] [] (default_idle_call) from [] (do_idle+0xf0) [ 247.888742] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 247.896298] [] (cpu_startup_entry) from [] (rest_init+0x) [ 247.904028] [] (rest_init) from [] (start_kernel+0x338/0) [ 247.911497] [] (start_kernel) from [<0000807c>] (0x807c) [ 247.917665] CPU3: stopping [ 247.920367] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.10.0-rc2MyyMyy #1 [ 247.927140] Hardware name: Rockchip (Device Tree) [ 247.931838] [] (unwind_backtrace) from [] (show_stack+0x) [ 247.939568] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 247.946777] [] (dump_stack) from [] (handle_IPI+0x180/0x) [ 247.954160] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 247.961715] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 247.969182] Exception stack(0xee979f40 to 0xee979f88) [ 247.974224] 9f40: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c8 [ 247.982387] 9f60: 0000406a 410fc0d1 00000000 ee979f9c ee979fa0 ee979f90 c010c [ 247.990547] 9f80: 60000013 ffffffff [ 247.994031] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 248.001415] [] (arch_cpu_idle) from [] (default_idle_cal) [ 248.009492] [] (default_idle_call) from [] (do_idle+0xf0) [ 248.017136] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 248.024692] [] (cpu_startup_entry) from [] (secondary_st) [ 248.033713] [] (secondary_start_kernel) from [<0010192c>] (0x10192) [ 248.040920] CPU1: stopping [ 248.043621] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.10.0-rc2MyyMyy #1 [ 248.050393] Hardware name: Rockchip (Device Tree) [ 248.055090] [] (unwind_backtrace) from [] (show_stack+0x) [ 248.062819] [] (show_stack) from [] (dump_stack+0x80/0xa) [ 248.070029] [] (dump_stack) from [] (handle_IPI+0x180/0x) [ 248.077411] [] (handle_IPI) from [] (gic_handle_irq+0x88) [ 248.084967] [] (gic_handle_irq) from [] (__irq_svc+0x6c/) [ 248.092433] Exception stack(0xee975f40 to 0xee975f88) [ 248.097476] 5f40: 00000001 00000000 00000000 c011ba80 00000000 00000000 c11c8 [ 248.105638] 5f60: 0000406a 410fc0d1 00000000 ee975f9c ee975fa0 ee975f90 c010c [ 248.113799] 5f80: 60000013 ffffffff [ 248.117282] [] (__irq_svc) from [] (arch_cpu_idle+0x3c/0) [ 248.124666] [] (arch_cpu_idle) from [] (default_idle_cal) [ 248.132743] [] (default_idle_call) from [] (do_idle+0xf0) [ 248.140386] [] (do_idle) from [] (cpu_startup_entry+0x28) [ 248.147943] [] (cpu_startup_entry) from [] (secondary_st) [ 248.156971] [] (secondary_start_kernel) from [<0010192c>] (0x10192) [ 248.164184] ---[ end Kernel panic - not syncing: hung_task: blocked tasks Since the first backtrace relates to ext4 mount functions, I'm putting this bugreport here. However, I'm not sure where this bug comes from. The system is a Rockchip 3288 MiQi board. The DTB is compiled from the arch/arm/boot/dts/rk3288-miqi.dts file. I'm attaching the kernel .config file used to compile this kernel. The 4.9 kernels worked flawlessly, on that regard. -- You are receiving this mail because: You are watching the assignee of the bug.