Wind River Support Network

HomeDefectsLIN7-6264
Fixed

LIN7-6264 : IMX6 hang during shutdown

Created: May 27, 2016    Updated: Sep 8, 2018
Resolved Date: Jun 14, 2016
Found In Version: 7.0
Fix Version: 7.0.0.17
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

After issuing "poweroff" or "shutdown -h 0" commands the board is reports the following error message:

=====================================
[ BUG: lock held at task exit time! ]
3.10.62-ltsi-WR6.0.0.17_standard #1 Tainted: G        W
-------------------------------------
halt/634 is exiting with locks still held!
1 lock held by halt/634:
 #0:  (reboot_mutex){......}, at: [<8003ff74>] SyS_reboot+0xcc/0x1d0

stack backtrace:
CPU: 0 PID: 634 Comm: halt Tainted: G        W    3.10.62-ltsi-WR6.0.0.17_standard #1
[<80016e58>] (unwind_backtrace+0x0/0xec) from [<800122a8>] (show_stack+0x20/0x24)
[<800122a8>] (show_stack+0x20/0x24) from [<807c1074>] (dump_stack+0x20/0x28)
[<807c1074>] (dump_stack+0x20/0x28) from [<8007c424>] (debug_check_no_locks_held+0x80/0xa0)
[<8007c424>] (debug_check_no_locks_held+0x80/0xa0) from [<8002f464>] (do_exit+0x818/0x8fc)
[<8002f464>] (do_exit+0x818/0x8fc) from [<8003ffe8>] (SyS_reboot+0x140/0x1d0)
[<8003ffe8>] (SyS_reboot+0x140/0x1d0) from [<8000dd80>] (ret_fast_syscall+0x0/0x30)/buildarea1/nightly

Steps to Reproduce

1. Project configuration
--enable-board=fsl-imx6 --enable-kernel=standard --enable-rootfs=glibc_std --with-layer=wr-bsps/fsl-imx6/wr-imx6-graphic --enable-build=production --enable-internet-download=yes --enable-test=yes --with-rcpl-version=0017
2. Boot IMX6 board (only sabre auto)
3. Use "poweroff" or "shutdown -h 0" commands to reproduce the bad behavior.

Other Downloads


Live chat
Online