From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: exynos5800 based peach-pi boot is broken with v4.6-rc-1 Date: Tue, 12 Apr 2016 14:01:14 +0200 Message-ID: <570CE38A.6070306@samsung.com> References: <570CE2A1.904@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from mailout4.w1.samsung.com ([210.118.77.14]:9888 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756122AbcDLMBT (ORCPT ); Tue, 12 Apr 2016 08:01:19 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O5I00GMCS24YG40@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 12 Apr 2016 13:01:16 +0100 (BST) In-reply-to: <570CE2A1.904@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Alim Akhtar , linux-arm-kernel , "linux-samsung-soc@vger.kernel.org" Cc: Douglas Anderson , Javier Martinez Canillas , Olof Johansson On 04/12/2016 01:57 PM, Alim Akhtar wrote: > Hi All, > I can't boot Peach-pi (exynos5800) with v4.6-rc-1, board hangs while > booting with below boot hang-task. > I have not git-bisected yet, will do that, but AFAIR it was booting fine > with v4.5. > Any idea? Yeah... start with bisect. :) Beside that try booting with lockdep enabled, because it might detect it earlier and report more data. If this is the only stalled CPU then maybe a mutex_unlock is missing somewhere in the cros_ec driver? (you have the backtrace...). Otherwise you should get more backtraces from other CPUs (use sysrq to get them eventually) which might point deadlocked locks. Anyway most of traces here point cros_ec, so you might narrow the bisecting. Best regards, Krzysztof > > ======= > [ 3.682786] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 > [ 36.001343] random: nonblocking pool is initialized > [ 240.086291] INFO: task swapper/0:1 blocked for more than 120 seconds. > [ 240.091271] Not tainted 4.6.0-rc1 #1 > [ 240.095324] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 240.103153] swapper/0 D c07247cc 0 1 0 0x00000000 > [ 240.109480] [] (__schedule) from [] > (schedule+0x40/0xac) > [ 240.116517] [] (schedule) from [] > (schedule_preempt_disabled+0x14/0x20) > [ 240.124846] [] (schedule_preempt_disabled) from > [] (__mutex_lock_slowpath+0x1b4/0x418) > [ 240.134474] [] (__mutex_lock_slowpath) from [] > (mutex_lock+0xc/0x24) > [ 240.142544] [] (mutex_lock) from [] > (cros_ec_cmd_xfer+0x18/0xe8) > [ 240.150262] [] (cros_ec_cmd_xfer) from [] > (get_lightbar_version+0x34/0xb8) > [ 240.158849] [] (get_lightbar_version) from [] > (cros_ec_lightbar_attrs_are_visible+0x2c/0x38) > [ 240.169000] [] (cros_ec_lightbar_attrs_are_visible) from > [] (internal_create_group+0xb4/0x2d4) > [ 240.179323] [] (internal_create_group) from [] > (sysfs_create_groups+0x48/0xc8) > [ 240.188260] [] (sysfs_create_groups) from [] > (device_add+0x258/0x528) > [ 240.196413] [] (device_add) from [] > (ec_device_probe+0x12c/0x14c) > [ 240.204223] [] (ec_device_probe) from [] > (platform_drv_probe+0x50/0xa0) > [ 240.212549] [] (platform_drv_probe) from [] > (driver_probe_device+0x200/0x2ac) > [ 240.221397] [] (driver_probe_device) from [] > (__driver_attach+0xa4/0xa8) > [ 240.229811] [] (__driver_attach) from [] > (bus_for_each_dev+0x54/0x88) > [ 240.237966] [] (bus_for_each_dev) from [] > (bus_add_driver+0x174/0x1fc) > [ 240.246206] [] (bus_add_driver) from [] > (driver_register+0x78/0xf4) > [ 240.254188] [] (driver_register) from [] > (cros_ec_dev_init+0x88/0xd0) > [ 240.262344] [] (cros_ec_dev_init) from [] > (do_one_initcall+0x90/0x1d4) > [ 240.270587] [] (do_one_initcall) from [] > (kernel_init_freeable+0x14c/0x1f4) > [ 240.279259] [] (kernel_init_freeable) from [] > (kernel_init+0x8/0x114) > [ 240.287416] [] (kernel_init) from [] > (ret_from_fork+0x14/0x3c) > [ 240.294961] INFO: task kworker/3:1:78 blocked for more than 120 seconds. > [ 240.301637] Not tainted 4.6.0-rc1 #1 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: k.kozlowski@samsung.com (Krzysztof Kozlowski) Date: Tue, 12 Apr 2016 14:01:14 +0200 Subject: exynos5800 based peach-pi boot is broken with v4.6-rc-1 In-Reply-To: <570CE2A1.904@samsung.com> References: <570CE2A1.904@samsung.com> Message-ID: <570CE38A.6070306@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/12/2016 01:57 PM, Alim Akhtar wrote: > Hi All, > I can't boot Peach-pi (exynos5800) with v4.6-rc-1, board hangs while > booting with below boot hang-task. > I have not git-bisected yet, will do that, but AFAIR it was booting fine > with v4.5. > Any idea? Yeah... start with bisect. :) Beside that try booting with lockdep enabled, because it might detect it earlier and report more data. If this is the only stalled CPU then maybe a mutex_unlock is missing somewhere in the cros_ec driver? (you have the backtrace...). Otherwise you should get more backtraces from other CPUs (use sysrq to get them eventually) which might point deadlocked locks. Anyway most of traces here point cros_ec, so you might narrow the bisecting. Best regards, Krzysztof > > ======= > [ 3.682786] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 > [ 36.001343] random: nonblocking pool is initialized > [ 240.086291] INFO: task swapper/0:1 blocked for more than 120 seconds. > [ 240.091271] Not tainted 4.6.0-rc1 #1 > [ 240.095324] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > disables this message. > [ 240.103153] swapper/0 D c07247cc 0 1 0 0x00000000 > [ 240.109480] [] (__schedule) from [] > (schedule+0x40/0xac) > [ 240.116517] [] (schedule) from [] > (schedule_preempt_disabled+0x14/0x20) > [ 240.124846] [] (schedule_preempt_disabled) from > [] (__mutex_lock_slowpath+0x1b4/0x418) > [ 240.134474] [] (__mutex_lock_slowpath) from [] > (mutex_lock+0xc/0x24) > [ 240.142544] [] (mutex_lock) from [] > (cros_ec_cmd_xfer+0x18/0xe8) > [ 240.150262] [] (cros_ec_cmd_xfer) from [] > (get_lightbar_version+0x34/0xb8) > [ 240.158849] [] (get_lightbar_version) from [] > (cros_ec_lightbar_attrs_are_visible+0x2c/0x38) > [ 240.169000] [] (cros_ec_lightbar_attrs_are_visible) from > [] (internal_create_group+0xb4/0x2d4) > [ 240.179323] [] (internal_create_group) from [] > (sysfs_create_groups+0x48/0xc8) > [ 240.188260] [] (sysfs_create_groups) from [] > (device_add+0x258/0x528) > [ 240.196413] [] (device_add) from [] > (ec_device_probe+0x12c/0x14c) > [ 240.204223] [] (ec_device_probe) from [] > (platform_drv_probe+0x50/0xa0) > [ 240.212549] [] (platform_drv_probe) from [] > (driver_probe_device+0x200/0x2ac) > [ 240.221397] [] (driver_probe_device) from [] > (__driver_attach+0xa4/0xa8) > [ 240.229811] [] (__driver_attach) from [] > (bus_for_each_dev+0x54/0x88) > [ 240.237966] [] (bus_for_each_dev) from [] > (bus_add_driver+0x174/0x1fc) > [ 240.246206] [] (bus_add_driver) from [] > (driver_register+0x78/0xf4) > [ 240.254188] [] (driver_register) from [] > (cros_ec_dev_init+0x88/0xd0) > [ 240.262344] [] (cros_ec_dev_init) from [] > (do_one_initcall+0x90/0x1d4) > [ 240.270587] [] (do_one_initcall) from [] > (kernel_init_freeable+0x14c/0x1f4) > [ 240.279259] [] (kernel_init_freeable) from [] > (kernel_init+0x8/0x114) > [ 240.287416] [] (kernel_init) from [] > (ret_from_fork+0x14/0x3c) > [ 240.294961] INFO: task kworker/3:1:78 blocked for more than 120 seconds. > [ 240.301637] Not tainted 4.6.0-rc1 #1 >