#18985: trunk : Reboot command causes hanging router on 32M flash chip (AR9344
platform)
---------------------+----------------------------------
  Reporter:  dony71  |      Owner:  developers
      Type:  defect  |     Status:  new
  Priority:  normal  |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel  |    Version:  Trunk
Resolution:          |   Keywords:
---------------------+----------------------------------

Comment (by anonymous):

 actually, I forgot to include debug mode in earlier compilation
 I recompile latest trunk r44496, still show segmentation fault

 {{{
 root@OpenWrt:/# reboot -f
 [  228.490000] CPU 0 Unable to handle kernel paging request at virtual
 address 00000054, epc == 801c06bc, ra == 8008f324
 [  228.500000] Oops[#1]:
 [  228.500000] CPU: 0 PID: 1276 Comm: reboot Not tainted 3.18.7 #4
 [  228.500000] task: 86de5360 ti: 86dec000 task.ti: 86dec000
 [  228.500000] $ 0   : 00000000 00000000 803640f4 803640dc
 [  228.500000] $ 4   : 00000000 00000006 87901200 ffffffff
 [  228.500000] $ 8   : 00320066 879219b0 00000033 00320066
 [  228.500000] $12   : 0000000e 00000007 00000001 80333754
 [  228.500000] $16   : 87901200 878b0c10 80368a40 803c0000
 [  228.500000] $20   : 803289f8 80358e5c 803c0000 00000000
 [  228.500000] $24   : 0000000e 801c06a4
 [  228.500000] $28   : 86dec000 86dedc80 7ff96a08 8008f324
 [  228.500000] Hi    : 000002a1
 [  228.500000] Lo    : 00000001
 [  228.500000] epc   : 801c06bc m25p_remove+0x18/0x7c
 [  228.500000]     Not tainted
 [  228.500000] ra    : 8008f324 __device_release_driver+0x6c/0xc8
 [  228.500000] Status: 1100dc03 KERNEL EXL IE
 [  228.500000] Cause : 00800008
 [  228.500000] BadVA : 00000054
 [  228.500000] PrId  : 0001974c (MIPS 74Kc)
 [  228.500000] Modules linked in: ath9k ath9k_common pppoe ppp_async
 iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6
 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time
 xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id
 xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc
 nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_ftp nf_nat
 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
 nf_conntrack_irc nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle
 iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6
 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter
 ip6_tables x_tables ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd
 gpio_button_hotplug usbcore nls_base usb_common
 [  228.500000] Process reboot (pid: 1276, threadinfo=86dec000,
 task=86de5360, tls=77c29440)
 [  228.500000] Stack : 803c0000 800e42b8 803c0000 8013925c 8794df50
 87901200 00000000 87901200
           803640f4 8008f324 80358e5c 801af8a4 803289f8 80358e5c 803c0000
 87901234
           87901200 8011dd80 8794df50 87901200 00000000 87901200 87901200
 87901200
           8785162c 800f7388 81000000 00000000 7ff96a08 87901200 87901200
 00000000
           87901000 8011d4fc 878c4e88 878c4e88 00000000 0009001a 87901200
 00000000
           ...
 [  228.500000] Call Trace:
 [  228.500000] [<801c06bc>] m25p_remove+0x18/0x7c
 [  228.500000] [<8008f324>] __device_release_driver+0x6c/0xc8
 [  228.500000] [<8011dd80>] device_release_driver+0x28/0x40
 [  228.500000] [<800f7388>] bus_remove_device+0xec/0x120
 [  228.500000] [<8011d4fc>] device_del+0x110/0x18c
 [  228.500000] [<8011e414>] device_unregister+0x14/0x28
 [  228.500000] [<800b4190>] __unregister+0x18/0x30
 [  228.500000] [<8011d6e0>] device_for_each_child+0x84/0x94
 [  228.500000] [<8026af0c>] spi_unregister_master+0x8c/0xa4
 [  228.500000] [<800ce974>] ath79_spi_remove+0x18/0x50
 [  228.500000] [<8011e29c>] device_shutdown+0x100/0x158
 [  228.500000] [<801ab26c>] kernel_restart+0x14/0x6c
 [  228.500000] [<80078b30>] SyS_reboot+0xf8/0x1f4
 [  228.500000] [<80062b5c>] handle_sys+0x11c/0x140
 [  228.500000]
 [  228.500000]
 Code: afb0001c  8c91004c  00002021 <8c900054> 24050066  afa00010  00003021
 0200f809  00003821
 [  228.790000] ---[ end trace 4a36ab14a4da870f ]---
 Segmentation fault

--
Ticket URL: <https://dev.openwrt.org/ticket/18985#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to