CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5644|回复: 0

非正常关机 system halt

[复制链接]
发表于 2015-5-8 21:46:19 | 显示全部楼层 |阅读模式
SD卡版的系统3.4.43内核,关机时电源LED以及两个LED(绿色,蓝色)均常亮,(蓝色LED亮与否根据心跳的最后状态决定),串口输出的最后指令为system halt,
这个是SD卡版的开关机串口输出信息:
  1. [20:31:53]root@cubieboard2:~# poweroff
  2. [20:31:53]
  3. [20:31:53]Broadcast message from root@cubieboard2
  4. [20:31:53]        (/dev/ttyS0) at 12:31 ...
  5. [20:31:53]
  6. [20:31:53]The system is going down for power off NOW!
  7. [20:31:53]root@cubieboard2:~#
  8. [20:31:53]root@cubieboard2:~# <4>init: tty4 main process (448) killed by TERM signal
  9. [20:31:53]<4>init: tty5 main process (450) killed by TERM signal
  10. [20:31:53]<4>init: auto-serial-console main process (451) killed by TERM signal
  11. [20:31:53]<4>init: tty2 main process (460) killed by TERM signal
  12. [20:31:53]<4>init: tty3 main process (462) killed by TERM signal
  13. [20:31:53]<4>init: tty6 main process (464) killed by TERM signal
  14. [20:31:53]Tightvncserver stopped
  15. [20:31:53]<4>init: cron main process (470) killed by TERM signal
  16. [20:31:53]<4>init: openvt main process (526) killed by TERM signal
  17. [20:31:53]<4>init: plymouth-upstart-bridge main process (689) terminated with status 1
  18. [20:31:54]<6>sunxi-rtc sunxi-rtc: actually set time to 2015-5-7 12:31:19
  19. [20:31:54]<4>[DISP] layer released: 0,101
  20. [20:31:54]<4>init: plymouth main process (721) killed by ABRT signal
  21. [20:31:54]<4>init: plymouth post-start process (722) terminated with status 2
  22. [20:31:54]<4>init: lightdm post-stop process (718) terminated with status 1
  23. [20:31:55][ OK ]ing all remaining processes to terminate...        
  24. [20:31:55][ OK ] processes ended within 1 seconds....        
  25. [20:32:01]<4>init: network-manager main process (472) killed by KILL signal
  26. [20:32:01]<4>init: Disconnected from system bus
  27. [20:32:02][ OK ]ounting temporary filesystems...        
  28. [20:32:02][ OK ]ctivating swap...        
  29. [20:32:02]umount: /run/lock: not mounted
  30. [20:32:02]umount: /run/shm: not mounted
  31. [20:32:02]<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
  32. [20:32:02] * Will now halt
  33. [20:32:03]<6>[sw-ohci2]: shutdown start
  34. [20:32:03][sw-ohci2]: close clock
  35. [20:32:03]<6>[sw-ohci2]: shutdown end
  36. [20:32:03]<6>[sw-ehci2]: shutdown start
  37. [20:32:03][sw-ehci2]: Set USB Power OFF
  38. [20:32:03][sw-ehci2]: close clock
  39. [20:32:03]<6>[sw-ehci2]: shutdown end
  40. [20:32:03]<6>[sw-ohci1]: shutdown start
  41. [20:32:03][sw-ohci1]: close clock
  42. [20:32:03]<6>[sw-ohci1]: shutdown end
  43. [20:32:03]<6>[sw-ehci1]: shutdown start
  44. [20:32:03][sw-ehci1]: Set USB Power OFF
  45. [20:32:03][sw-ehci1]: close clock
  46. [20:32:03]<6>[sw-ehci1]: shutdown end
  47. [20:32:04]Disabling non-boot CPUs ...
  48. [20:32:04]<5>CPU1: shutdown
  49. [20:32:04]<6>[hotplug]: cpu(0) try to kill cpu(1)
  50. [20:32:04]<6>[hotplug]: cpu1 is killed!
  51. [20:32:04]<0>System halted.
  52. [20:32:04][   42.485760] System halted.
  53. [20:32:18][20:32:18]
复制代码
以下是 nand版串口输出信息:
  1. [20:30:16]root@cubieboard2:~# poweroff
  2. [20:30:16]
  3. [20:30:16]Broadcast message from root@cubieboard2
  4. [20:30:16]        (/dev/ttyS0) at 12:29 ...
  5. [20:30:16]
  6. [20:30:16]The system is going down for power off NOW!
  7. [20:30:16]root@cubieboard2:~#
  8. [20:30:16]root@cubieboard2:~# <4>init: tty4 main process (573) killed by TERM signal
  9. [20:30:16]<6>sunxi-rtc sunxi-rtc: actually set time to 2015-5-7 12:29:40
  10. [20:30:16]<4>init: tty5 main process (577) killed by TERM signal
  11. [20:30:16]<4>init: auto-serial-console main process (578) killed by TERM signal
  12. [20:30:16]<4>init: tty2 main process (589) killed by TERM signal
  13. [20:30:16]<4>init: tty3 main process (590) killed by TERM signal
  14. [20:30:16]<4>init: tty6 main process (594) killed by TERM signal
  15. [20:30:16]<4>init: anacron main process (636) killed by TERM signal
  16. [20:30:16]<4>init: cron main process (639) killed by TERM signal
  17. [20:30:16]<4>init: openvt main process (744) killed by TERM signal
  18. [20:30:16]<4>init: plymouth-upstart-bridge main process (937) terminated with status 1
  19. [20:30:16]<4>[DISP] layer released: 0,101
  20. [20:30:17]<4>init: plymouth main process (1012) killed by ABRT signal
  21. [20:30:17]<4>init: plymouth post-start process (1013) terminated with status 2
  22. [20:30:17]<4>init: lightdm post-stop process (999) terminated with status 1
  23. [20:30:20][ OK ]ing all remaining processes to terminate...        
  24. [20:30:20][ OK ] processes ended within 1 seconds...        
  25. [20:30:25]<4>init: network-manager main process (597) killed by KILL signal
  26. [20:30:25]<4>init: Disconnected from system bus
  27. [20:30:26][ OK ]ounting temporary filesystems...        
  28. [20:30:26][ OK ]ctivating swap...        
  29. [20:30:26]<6>EXT4-fs (nandd): re-mounted. Opts: (null)
  30. [20:30:26] * Will now halt
  31. [20:30:27]<6>[sw-ohci2]: shutdown start
  32. [20:30:27][sw-ohci2]: close clock
  33. [20:30:27]<6>[sw-ohci2]: shutdown end
  34. [20:30:27]<6>[sw-ehci2]: shutdown start
  35. [20:30:27][sw-ehci2]: Set USB Power OFF
  36. [20:30:27][sw-ehci2]: close clock
  37. [20:30:27]<6>[sw-ehci2]: shutdown end
  38. [20:30:27]<6>[sw-ohci1]: shutdown start
  39. [20:30:27][sw-ohci1]: close clock
  40. [20:30:27]<6>[sw-ohci1]: shutdown end
  41. [20:30:27]<6>[sw-ehci1]: shutdown start
  42. [20:30:27][sw-ehci1]: Set USB Power OFF
  43. [20:30:27][sw-ehci1]: close clock
  44. [20:30:27]<6>[sw-ehci1]: shutdown end
  45. [20:30:27][NAND]shutdown
  46. [20:30:27]nand try to shutdown 0 time
  47. [20:30:27]Nand flash shutdown ok!
  48. [20:30:27]Disabling non-boot CPUs ...
  49. [20:30:27]<5>CPU1: shutdown
  50. [20:30:27]<6>[hotplug]: cpu(0) try to kill cpu(1)
  51. [20:30:27]<6>[hotplug]: cpu1 is killed!
  52. [20:30:27]<0>Power down.
  53. [20:30:27][   43.947858] Power down.
  54. [20:30:27]<6>note: halt[1199] exited with preempt_count 1
  55. [20:30:27]<3>BUG: scheduling while atomic: halt/1199/0x40000002
  56. [20:30:27][   43.959481] BUG: scheduling while atomic: halt/1199/0x40000002
  57. [20:30:27]<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
  58. [20:30:27]Backtrace:
  59. [20:30:27][<c0012b5c>] (dump_backtrace+0x0/0x10c) from [<c05efd48>] (dump_stack+0x18/0x1c)
  60. [20:30:27] r6:d08096c0 r5:00000000 r4:ee70ca80 r3:60010013
  61. [20:30:27][<c05efd30>] (dump_stack+0x0/0x1c) from [<c05f06a0>] (__schedule_bug+0x48/0x54)
  62. [20:30:27][<c05f0658>] (__schedule_bug+0x0/0x54) from [<c05f79c4>] (__schedule+0x6e4/0x7b0)
  63. [20:30:27][<c05f72e0>] (__schedule+0x0/0x7b0) from [<c005d600>] (__cond_resched+0x28/0x38)
  64. [20:30:27][<c005d5d8>] (__cond_resched+0x0/0x38) from [<c05f7b24>] (_cond_resched+0x38/0x48)
  65. [20:30:27] r4:b6dc5000 r3:00000001
  66. [20:30:27][<c05f7aec>] (_cond_resched+0x0/0x48) from [<c00ca608>] (unmap_single_vma+0x43c/0x5f0)
  67. [20:30:27][<c00ca1cc>] (unmap_single_vma+0x0/0x5f0) from [<c00cb108>] (unmap_vmas+0x64/0x78)
  68. [20:30:27][<c00cb0a4>] (unmap_vmas+0x0/0x78) from [<c00d066c>] (exit_mmap+0xec/0x1e0)
  69. [20:30:27][<c00d0580>] (exit_mmap+0x0/0x1e0) from [<c00349a0>] (mmput+0x50/0x11c)
  70. [20:30:27] r7:ee4636fc r6:ee70ce70 r5:ee4636c0 r4:ee4636c0
  71. [20:30:27][<c0034950>] (mmput+0x0/0x11c) from [<c003aafc>] (exit_mm+0x11c/0x134)
  72. [20:30:27] r4:ee70ca80 r3:00000000
  73. [20:30:27][<c003a9e0>] (exit_mm+0x0/0x134) from [<c003b0ac>] (do_exit+0x598/0x7c4)
  74. [20:30:27] r7:00000003 r6:4321fedc r5:00000000 r4:ee70ca80
  75. [20:30:27][<c003ab14>] (do_exit+0x0/0x7c4) from [<c00482e8>] (sys_reboot+0x138/0x1fc)
  76. [20:30:27] r7:00000003
  77. [20:30:27][<c00481b0>] (sys_reboot+0x0/0x1fc) from [<c000edc0>] (ret_fast_syscall+0x0/0x30)
  78. [20:30:27]<4>[axp_power_off_wq] enter
  79. [20:30:27][axp] send power-off command!
  80. [20:30:43][20:30:43]
复制代码
请问同学们,该怎么解???
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-19 21:45 , Processed in 0.032270 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部