◤礼◢ 发表于 2015-5-8 21:46:19

非正常关机 system halt

SD卡版的系统3.4.43内核,关机时电源LED以及两个LED(绿色,蓝色)均常亮,(蓝色LED亮与否根据心跳的最后状态决定),串口输出的最后指令为system halt,
这个是SD卡版的开关机串口输出信息:root@cubieboard2:~# poweroff

Broadcast message from root@cubieboard2
      (/dev/ttyS0) at 12:31 ...

The system is going down for power off NOW!
root@cubieboard2:~#
root@cubieboard2:~# <4>init: tty4 main process (448) killed by TERM signal
<4>init: tty5 main process (450) killed by TERM signal
<4>init: auto-serial-console main process (451) killed by TERM signal
<4>init: tty2 main process (460) killed by TERM signal
<4>init: tty3 main process (462) killed by TERM signal
<4>init: tty6 main process (464) killed by TERM signal
Tightvncserver stopped
<4>init: cron main process (470) killed by TERM signal
<4>init: openvt main process (526) killed by TERM signal
<4>init: plymouth-upstart-bridge main process (689) terminated with status 1
<6>sunxi-rtc sunxi-rtc: actually set time to 2015-5-7 12:31:19
<4> layer released: 0,101
<4>init: plymouth main process (721) killed by ABRT signal
<4>init: plymouth post-start process (722) terminated with status 2
<4>init: lightdm post-stop process (718) terminated with status 1
[ OK ]ing all remaining processes to terminate...      
[ OK ] processes ended within 1 seconds....      
<4>init: network-manager main process (472) killed by KILL signal
<4>init: Disconnected from system bus
[ OK ]ounting temporary filesystems...      
[ OK ]ctivating swap...      
umount: /run/lock: not mounted
umount: /run/shm: not mounted
<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
* Will now halt
<6>: shutdown start
: close clock
<6>: shutdown end
<6>: shutdown start
: Set USB Power OFF
: close clock
<6>: shutdown end
<6>: shutdown start
: close clock
<6>: shutdown end
<6>: shutdown start
: Set USB Power OFF
: close clock
<6>: shutdown end
Disabling non-boot CPUs ...
<5>CPU1: shutdown
<6>: cpu(0) try to kill cpu(1)
<6>: cpu1 is killed!
<0>System halted.
[   42.485760] System halted.

以下是 nand版串口输出信息:root@cubieboard2:~# poweroff

Broadcast message from root@cubieboard2
      (/dev/ttyS0) at 12:29 ...

The system is going down for power off NOW!
root@cubieboard2:~#
root@cubieboard2:~# <4>init: tty4 main process (573) killed by TERM signal
<6>sunxi-rtc sunxi-rtc: actually set time to 2015-5-7 12:29:40
<4>init: tty5 main process (577) killed by TERM signal
<4>init: auto-serial-console main process (578) killed by TERM signal
<4>init: tty2 main process (589) killed by TERM signal
<4>init: tty3 main process (590) killed by TERM signal
<4>init: tty6 main process (594) killed by TERM signal
<4>init: anacron main process (636) killed by TERM signal
<4>init: cron main process (639) killed by TERM signal
<4>init: openvt main process (744) killed by TERM signal
<4>init: plymouth-upstart-bridge main process (937) terminated with status 1
<4> layer released: 0,101
<4>init: plymouth main process (1012) killed by ABRT signal
<4>init: plymouth post-start process (1013) terminated with status 2
<4>init: lightdm post-stop process (999) terminated with status 1
[ OK ]ing all remaining processes to terminate...      
[ OK ] processes ended within 1 seconds...      
<4>init: network-manager main process (597) killed by KILL signal
<4>init: Disconnected from system bus
[ OK ]ounting temporary filesystems...      
[ OK ]ctivating swap...      
<6>EXT4-fs (nandd): re-mounted. Opts: (null)
* Will now halt
<6>: shutdown start
: close clock
<6>: shutdown end
<6>: shutdown start
: Set USB Power OFF
: close clock
<6>: shutdown end
<6>: shutdown start
: close clock
<6>: shutdown end
<6>: shutdown start
: Set USB Power OFF
: close clock
<6>: shutdown end
shutdown
nand try to shutdown 0 time
Nand flash shutdown ok!
Disabling non-boot CPUs ...
<5>CPU1: shutdown
<6>: cpu(0) try to kill cpu(1)
<6>: cpu1 is killed!
<0>Power down.
[   43.947858] Power down.
<6>note: halt exited with preempt_count 1
<3>BUG: scheduling while atomic: halt/1199/0x40000002
[   43.959481] BUG: scheduling while atomic: halt/1199/0x40000002
<d>Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables x_tables mali ump lcd pwm_sunxi gpio_sunxi
Backtrace:
[<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
r6:d08096c0 r5:00000000 r4:ee70ca80 r3:60010013
[<c05efd30>] (dump_stack+0x0/0x1c) from [<c05f06a0>] (__schedule_bug+0x48/0x54)
[<c05f0658>] (__schedule_bug+0x0/0x54) from [<c05f79c4>] (__schedule+0x6e4/0x7b0)
[<c05f72e0>] (__schedule+0x0/0x7b0) from [<c005d600>] (__cond_resched+0x28/0x38)
[<c005d5d8>] (__cond_resched+0x0/0x38) from [<c05f7b24>] (_cond_resched+0x38/0x48)
r4:b6dc5000 r3:00000001
[<c05f7aec>] (_cond_resched+0x0/0x48) from [<c00ca608>] (unmap_single_vma+0x43c/0x5f0)
[<c00ca1cc>] (unmap_single_vma+0x0/0x5f0) from [<c00cb108>] (unmap_vmas+0x64/0x78)
[<c00cb0a4>] (unmap_vmas+0x0/0x78) from [<c00d066c>] (exit_mmap+0xec/0x1e0)
[<c00d0580>] (exit_mmap+0x0/0x1e0) from [<c00349a0>] (mmput+0x50/0x11c)
r7:ee4636fc r6:ee70ce70 r5:ee4636c0 r4:ee4636c0
[<c0034950>] (mmput+0x0/0x11c) from [<c003aafc>] (exit_mm+0x11c/0x134)
r4:ee70ca80 r3:00000000
[<c003a9e0>] (exit_mm+0x0/0x134) from [<c003b0ac>] (do_exit+0x598/0x7c4)
r7:00000003 r6:4321fedc r5:00000000 r4:ee70ca80
[<c003ab14>] (do_exit+0x0/0x7c4) from [<c00482e8>] (sys_reboot+0x138/0x1fc)
r7:00000003
[<c00481b0>] (sys_reboot+0x0/0x1fc) from [<c000edc0>] (ret_fast_syscall+0x0/0x30)
<4> enter
send power-off command!

请问同学们,该怎么解???
页: [1]
查看完整版本: 非正常关机 system halt