TD-W8980: Kernel panic - not syncing: Fatal exception in interrupt
Username: damocles-git
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2410
A few times to day the ADSL2+ connection is unable to reconnect because something in the driver seems unable to work again, I have an older router (cisco) and it reconnects whitout any trouble.
Restarting the interface with the br2684ctl init script causes a kernel panic.
DEVICE="TP-Link TD-W8980"
VERSION="18.06.4"
BUILD_ID="r7808-ef686b72"
LEDE_BOARD="lantiq/xrx200"
LEDE_ARCH="mips_24kc"
Fri Jul 26 19:53:54 2019 daemon.notice pppd[32180]: pppd 2.4.7 started by root, uid 0 Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4 Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]: dst ff:ff:ff:ff:ff:ff src 30:b5:c2:9d:c4:7e Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]: [service-name] Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4 Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]: dst ff:ff:ff:ff:ff:ff src 30:b5:c2:9d:c4:7e Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]: [service-name] Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4 Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]: dst ff:ff:ff:ff:ff:ff src 30:b5:c2:9d:c4:7e Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]: [service-name] Fri Jul 26 19:54:09 2019 daemon.warn pppd[32180]: Timeout waiting for PADO packets Fri Jul 26 19:54:09 2019 daemon.err pppd[32180]: Unable to complete PPPoE Discovery Fri Jul 26 19:54:09 2019 daemon.info pppd[32180]: Exit.
root@OpenWrt:~# /etc/init.d/br2684ctl
[...]
[ 888.844371] CPU 0 Unable to h
andle kernel paging request at virtual address 0000000c, epc == 82cce5b0, ra == 819e07a0
[ 888.853829] Oops[#1]:
[ 888.856086] CPU: 0 PID: 3338 Comm: sh Not tainted 4.9.184 #0
[ 888.861738] task: 83a88bc0 task.stack: 81534000
[ 888.866255] $ 0 : 00000000 7f8bfef0 80a08b40 82cce5a0
[ 888.871476] $ 4 : 8271dc00 80a08b40 0000f6be 00000001
[ 888.876697] $ 8 : 83806000 00001ff0 8003256c 7f8bfe64
[ 888.881920] $12 : 7f8c0058 00000000 00000000 774b42c0
[ 888.887145] $16 : 00000000 00000001 819e6b88 00000000
[ 888.892365] $20 : 00000001 819e6b9c 0000000f 819e0000
[ 888.897587] $24 : 0045bbe4 00000000
[ 888.902809] $28 : 81534000 83807eb0 00000001 819e07a0
[ 888.908034] Hi : 00000018
[ 888.910903] Lo : 00000002
[ 888.913857] epc : 82cce5b0 0x82cce5b0 [br2684@82cce000+0x19f0]
[ 888.919803] ra : 819e07a0 0x819e07a0 [ltq_atm_vr9@819e0000+0x6e00]
[ 888.926227] Status: 1100ff02 KERNEL EXL
[ 888.930145] Cause : 00800008 (ExcCode 02)
[ 888.934147] BadVA : 0000000c
[ 888.937023] PrId : 00019556 (MIPS 34Kc)
[ 888.940933] Modules linked in: ltq_atm_vr9 ath9k ath9k_common ath9k_hw ath pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api ledtrig_usbport drv_mei_cpe xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables nfsv4 nfsv3 pppoatm ppp_generic slhc
nfsd nfs ifb rpcsec_gss_krb5 auth_rpcgss oid_registry tun lockd sunrpc grace autofs4 dns_resolver br2684 atm exportfs drv_ifxos sha1_generic md5 hmac ecb des_generic cts cbc usb_storage uhci_hcd ohci_platform ohci_hcd sd_mod scsi_mod ext4 jbd2 mbcache crc32c_generic dwc2 gpio_button_hotplug
Process sh (pid: 3338, threadinfo=81534000, task=83a88bc0, tls=774b5dc0)
[ 889.090467] Stack : 00000000 805288a0 00000000 80075714 00000011 819e07a0 8383a354 8108fb80
[ 889.098820] 8383a354 00000000 00020000 819e1d30 8052f3f8 00000000 00000001 00407b39
[ 889.107178] 80524d40 800738a4 805331c0 00000000 819e39d4 819e39d0 8052f3f8 8052f0a0
[ 889.115532] 8057b200 00010000 00000002 00000000 00000100 80033600 774aa000 00000000
[ 889.123888] 00000000 800739d8 81468000 00000007 80524058 00000040 806841e0 00000006
[ 889.132244] ...
[ 889.134680] Call Trace:[ 889.136961] [<80075714>] 0x80075714
[ 889.140450] [<819e07a0>] 0x819e07a0 [ltq_atm_vr9@819e0000+0x6e00]
[ 889.146612] [<819e1d30>] 0x819e1d30 [ltq_atm_vr9@819e0000+0x6e00]
[ 889.152627] [<800738a4>] 0x800738a4
[ 889.156111] [<80033600>] 0x80033600
[ 889.159589] [<800739d8>] 0x800739d8
[ 889.163072] [<80032b74>] 0x80032b74
[ 889.166553] [<80032f54>] 0x80032f54
[ 889.170034] [<80072d8c>] 0x80072d8c
[ 889.173515] [<8000307c>] 0x8000307c
[ 889.176996] [<8000c4ec>] 0x8000c4ec
[ 889.180479] [<8000a9e8>] 0x8000a9e8
[ 889.183950]
[ 889.185425] Code: afbf0014 afb00010 8c9002f8 <8e02000c> 0040f809 00000000 3c028053 8c42f0ac 7c420400
[ 889.195176]
[ 889.196816] ---[ end trace 8e8def78ee4b4969 ]---
[ 889.207641] Kernel panic - not syncing: Fatal exception in interrupt
[ 889.217636] Rebooting in 3 seconds..
ATU-C Vendor ID: FF,B5,47,53,50,4E,00,10
ATU-C System Vendor ID: 00,00,30,30,30,30,00,00
Chipset: Lantiq-VRX200
Firmware Version: 5.8.0.11.1.1
API Version: 4.17.18.6
XTSE Capabilities: 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0
Annex: A
Line Mode: G.992.5 (ADSL2+)
Profile:
Line State: UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 0 / Far: 0
Errored seconds (ES): Near: 2 / Far: 0
Severely Errored Seconds (SES): Near: 0 / Far: 0
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 34 / Far: 34
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: 0 / Far: 0
Pre-emtive CRC errors (CRCP_P): Near: 0 / Far: 0
Power Management Mode: L0 - Synchronized
Latency [Interleave Delay]: 0.25 ms [Fast] 0.25 ms [Fast]
Data Rate: Down: 12.287 Mb/s / Up: 1.023 Mb/s
Line Attenuation (LATN): Down: 18.4 dB / Up: 7.3 dB
Signal Attenuation (SATN): Down: 16.8 dB / Up: 0.0 dB
Noise Margin (SNR): Down: 19.1 dB / Up: 10.3 dB
Aggregate Transmit Power (ACTATP): Down: 18.4 dB / Up: 10.4 dB
Max. Attainable Data Rate (ATTNDR): Down: 20.132 Mb/s / Up: 1.056 Mb/s
Line Uptime Seconds: 1273
Line Uptime: 21m 13s