#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
Keywords: |
--------------------+----------------------------------
reboot -f shows segmentation fault
[quote]
[ 207.760000] Unhandled kernel unaligned access[#1]:
[ 207.760000] CPU: 0 PID: 1270 Comm: reboot Not tainted 3.14.30 #32
[ 207.760000] task: 86ef2b08 ti: 86ed2000 task.ti: 86ed2000
[ 207.760000] $ 0 : 00000000 00000001 ffffff71 00000001
[ 207.760000] $ 4 : 8034bb40 86ed3b88 00000087 70000000
[ 207.760000] $ 8 : 00000001 0e000000 87854481 00000200
[ 207.760000] $12 : 10000000 20000000 40000000 02000000
[ 207.760000] $16 : 87913210 878c4900 803502ec 803b0000
[ 207.760000] $20 : 803108bc 80340e1c 803b0000 00000000
[ 207.760000] $24 : 04000000 08000000
[ 207.760000] $28 : 86ed2000 86ed3c00 7fde4c58 801b1510
[ 207.760000] Hi : 0000028f
[ 207.760000] Lo : 00000001
[ 207.760000] epc : 801b1510 m25p_remove+0x2c/0x1a4
[ 207.760000] Not tainted
[ 207.760000] ra : 801b1510 m25p_remove+0x2c/0x1a4
[ 207.760000] Status: 1100dc03 KERNEL EXL IE
[ 207.760000] Cause : 00800010
[ 207.760000] BadVA : ffffff91
[ 207.760000] PrId : 0001974c (MIPS 74Kc)
[ 207.760000] 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_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_nat_irc nf_nat_ftp
nf_nat nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_irc
nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter
ipt_REJECT ip_tables crc_ccitt compat ip6t_REJECT 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
[ 207.760000] Process reboot (pid: 1270, threadinfo=86ed2000,
task=86ef2b08, tls=77fc5440)
[ 207.760000] Stack : 803108bc 80340e1c 87915630 80000000 86ed3c78
86ed3c40 803108bc 80340e1c
803b0000 00000000 7fde4c58 8019c530 00000000 8019cbc0 879155a0
879155e8
00000000 86ed3c44 86ed3c44 87915630 87911ee8 87915630 87911ee8
878c4900
8034bb9c 803502ec 803b0000 800dee5c 803502ec 8012c670 00000000
878c4900
8034bb9c 803502ec 803b0000 8008d8fc 80340e1c 8019fd0c 803108bc
80340e1c
...
[ 207.760000] Call Trace:
[ 207.760000] [<801b1510>] m25p_remove+0x2c/0x1a4
[ 207.760000] [<8008d8fc>] __device_release_driver+0x6c/0xd0
[ 207.760000] [<80113354>] device_release_driver+0x28/0x40
[ 207.760000] [<800edebc>] bus_remove_device+0xec/0x120
[ 207.760000] [<80112aec>] device_del+0x110/0x170
[ 207.760000] [<801139e4>] device_unregister+0x14/0x28
[ 207.760000] [<800afaac>] __unregister+0x18/0x30
[ 207.760000] [<80112cb4>] device_for_each_child+0x84/0x94
[ 207.760000] [<80255dd0>] spi_unregister_master+0x8c/0xa4
[ 207.760000] [<80254948>] spi_bitbang_stop+0x10/0x20
[ 207.760000] [<800ca0cc>] ath79_spi_remove+0x20/0x58
[ 207.760000] [<8011386c>] device_shutdown+0x100/0x158
[ 207.760000] [<8019c104>] kernel_restart+0x14/0x6c
[ 207.760000] [<80079504>] SyS_reboot+0xf8/0x1d4
[ 207.760000] [<8006283c>] handle_sys+0x11c/0x140
[ 207.760000]
[ 207.760000]
Code: 02202021 0c0626c5 00408021 <8c420020> 240300c2 94420000 10430022
240300ef 10430020
[ 208.050000] ---[ end trace 676e97930dd32d2d ]---
Segmentation fault [/quote]
--
Ticket URL: <https://dev.openwrt.org/ticket/18985>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets