18.06.0 RC2 - ADSL dropping after about 12h to 48h

ok, i will keep monitoring

No Internet

[116902.491621] IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready

# date -u ; /etc/init.d/dsl_control status
Sat Jul 21 20:23:56 UTC 2018
ATU-C Vendor ID:                          Infineon 113.185
ATU-C System Vendor ID:                   00,00,00,00,00,00,00,00
Chipset:                                  Ifx-AR9
Firmware Version:                         4.4.4.0.0.1
API Version:                              3.24.4.4
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: 337519 / Far: 0
Errored seconds (ES):                     Near: 304 / Far: 61
Severely Errored Seconds (SES):           Near: 27 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 2
Unavailable Seconds (UAS):                Near: 46 / Far: 46
Header Error Code Errors (HEC):           Near: 11257 / Far: 71
Non Pre-emtive CRC errors (CRC_P):        Near:  / Far: 
Pre-emtive CRC errors (CRCP_P):           Near:  / Far: 
Power Management Mode:                    L0 - Synchronized
Latency [Interleave Delay]:               7.0 ms [Interleave]   1.25 ms [Interleave]
Data Rate:                                Down: 18.702 Mb/s / Up: 1.020 Mb/s
Line Attenuation (LATN):                  Down: 16.8 dB / Up: 8.8 dB
Signal Attenuation (SATN):                Down: 16.0 dB / Up: 9.2 dB
Noise Margin (SNR):                       Down: 5.7 dB / Up: 11.4 dB
Aggregate Transmit Power (ACTATP):        Down: 16.3 dB / Up: 11.3 dB
Max. Attainable Data Rate (ATTNDR):       Down: 18.504 Mb/s / Up: 1.184 Mb/s
Line Uptime Seconds:                      113903
Line Uptime:                              1d 7h 38m 23s

unplug ADSL LINE

[117062.038511] leave showtime

# date -u ; /etc/init.d/dsl_control status
Sat Jul 21 20:28:26 UTC 2018
ATU-C Vendor ID:                          
ATU-C System Vendor ID:                   
Chipset:                                  Ifx-AR9
Firmware Version:                         4.4.4.0.0.1
API Version:                              3.24.4.4
XTSE Capabilities:                        , , , , , , , 
Annex:                                    
Line Mode:                                
Profile:                                  
Line State:                               DOWN [0x200: silent]
Forward Error Correction Seconds (FECS):  Near: 378147 / Far: 0
Errored seconds (ES):                     Near: 307 / Far: 61
Severely Errored Seconds (SES):           Near: 30 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 3 / Far: 2
Unavailable Seconds (UAS):                Near: 77 / Far: 75
Header Error Code Errors (HEC):           Near: 11424 / Far: 71
Non Pre-emtive CRC errors (CRC_P):        Near:  / Far: 
Pre-emtive CRC errors (CRCP_P):           Near:  / Far: 
Power Management Mode:                    L3 - No power
Latency [Interleave Delay]:               0.0 ms [Fast]   0.0 ms [Fast]
Data Rate:                                Down: 0 b/s / Up: 0 b/s
Line Attenuation (LATN):                  Down: 0.0 dB / Up: 0.0 dB
Signal Attenuation (SATN):                Down: 0.0 dB / Up: 0.0 dB
Noise Margin (SNR):                       Down: 0.0 dB / Up: 0.0 dB
Aggregate Transmit Power (ACTATP):        Down: 0.0 dB / Up: 0.0 dB
Max. Attainable Data Rate (ATTNDR):       Down: 0 b/s / Up: 0 b/s
Line Uptime Seconds:                      114164
Line Uptime:                              1d 7h 42m 44s

Reconnect ADSL LINE after 15 minutes

# date -u ; /etc/init.d/dsl_control status
Sat Jul 21 20:45:28 UTC 2018
ATU-C Vendor ID:                          
ATU-C System Vendor ID:                   
Chipset:                                  Ifx-AR9
Firmware Version:                         4.4.4.0.0.1
API Version:                              3.24.4.4
XTSE Capabilities:                        , , , , , , , 
Annex:                                    
Line Mode:                                
Profile:                                  
Line State:                               DOWN [0x380: full_init]
Forward Error Correction Seconds (FECS):  Near: 378147 / Far: 0
Errored seconds (ES):                     Near: 307 / Far: 61
Severely Errored Seconds (SES):           Near: 30 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 3 / Far: 2
Unavailable Seconds (UAS):                Near: 1100 / Far: 1098
Header Error Code Errors (HEC):           Near: 11424 / Far: 71
Non Pre-emtive CRC errors (CRC_P):        Near:  / Far: 
Pre-emtive CRC errors (CRCP_P):           Near:  / Far: 
Power Management Mode:                    L3 - No power
Latency [Interleave Delay]:               0.0 ms [Fast]   0.0 ms [Fast]
Data Rate:                                Down: 0 b/s / Up: 0 b/s
Line Attenuation (LATN):                  Down: 0.0 dB / Up: 0.0 dB
Signal Attenuation (SATN):                Down: 0.0 dB / Up: 0.0 dB
Noise Margin (SNR):                       Down: 0.0 dB / Up: 0.0 dB
Aggregate Transmit Power (ACTATP):        Down: 0.0 dB / Up: 0.0 dB
Max. Attainable Data Rate (ATTNDR):       Down: 0 b/s / Up: 0 b/s
Line Uptime Seconds:                      115154
Line Uptime:                              1d 7h 59m 14s
[118127.854170] [DSL_BSP_Showtime 914]: Datarate US intl = 1020958, fast = 0
[118127.859599] enter showtime, cell rate: 0 - 2407, 1 - 2407, xdata addr: 0x82e00000
[118143.762184] IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready
# date -u ; /etc/init.d/dsl_control status
Sat Jul 21 20:46:38 UTC 2018
ATU-C Vendor ID:                          Infineon 113.185
ATU-C System Vendor ID:                   00,00,00,00,00,00,00,00
Chipset:                                  Ifx-AR9
Firmware Version:                         4.4.4.0.0.1
API Version:                              3.24.4.4
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: 406 / Far: 0
Errored seconds (ES):                     Near: 307 / Far: 61
Severely Errored Seconds (SES):           Near: 30 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 3 / Far: 2
Unavailable Seconds (UAS):                Near: 1111 / Far: 1111
Header Error Code Errors (HEC):           Near: 11424 / Far: 71
Non Pre-emtive CRC errors (CRC_P):        Near:  / Far: 
Pre-emtive CRC errors (CRCP_P):           Near:  / Far: 
Power Management Mode:                    L0 - Synchronized
Latency [Interleave Delay]:               7.0 ms [Interleave]   1.25 ms [Interleave]
Data Rate:                                Down: 18.670 Mb/s / Up: 1.020 Mb/s
Line Attenuation (LATN):                  Down: 16.8 dB / Up: 8.8 dB
Signal Attenuation (SATN):                Down: 16.0 dB / Up: 9.2 dB
Noise Margin (SNR):                       Down: 6.0 dB / Up: 13.0 dB
Aggregate Transmit Power (ACTATP):        Down: 16.3 dB / Up: 11.5 dB
Max. Attainable Data Rate (ATTNDR):       Down: 18.692 Mb/s / Up: 1.228 Mb/s
Line Uptime Seconds:                      59
Line Uptime:                              59s

[118143.762184] IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready

# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
ping: sendto: Network unreachable

REBOOT

# date; /etc/init.d/dsl_control status
Sun Jul 22 06:55:41 AEST 2018
ATU-C Vendor ID:                          Infineon 113.185
ATU-C System Vendor ID:                   00,00,00,00,00,00,00,00
Chipset:                                  Ifx-AR9
Firmware Version:                         4.4.4.0.0.1
API Version:                              3.24.4.4
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: 1187 / Far: 0
Errored seconds (ES):                     Near: 0 / Far: 0
Severely Errored Seconds (SES):           Near: 0 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 2
Unavailable Seconds (UAS):                Near: 46 / Far: 46
Header Error Code Errors (HEC):           Near: 0 / Far: 7
Non Pre-emtive CRC errors (CRC_P):        Near:  / Far: 
Pre-emtive CRC errors (CRCP_P):           Near:  / Far: 
Power Management Mode:                    L0 - Synchronized
Latency [Interleave Delay]:               7.0 ms [Interleave]   1.25 ms [Interleave]
Data Rate:                                Down: 18.513 Mb/s / Up: 1.020 Mb/s
Line Attenuation (LATN):                  Down: 16.8 dB / Up: 8.8 dB
Signal Attenuation (SATN):                Down: 16.2 dB / Up: 9.2 dB
Noise Margin (SNR):                       Down: 6.0 dB / Up: 11.4 dB
Aggregate Transmit Power (ACTATP):        Down: 16.4 dB / Up: 11.0 dB
Max. Attainable Data Rate (ATTNDR):       Down: 18.492 Mb/s / Up: 1.204 Mb/s
Line Uptime Seconds:                      75
Line Uptime:                              1m 15s
# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=60 time=13.170 ms
64 bytes from 1.1.1.1: seq=1 ttl=60 time=12.633 ms
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 12.633/12.901/13.170 ms

It appears my only option is to reboot and hope ISP will improve the line quality

Your line may be horrible, but it does not have to do anything with your line quality if you have to reboot OpenWrt for PPPoE to work again.

I'll go ahead and remove "solved" from the topic, because it really isn't.

I went back to 17.x
LEDE_RELEASE="LEDE Reboot 17.01.5 r3919-38e704be71"

Comparing the /etc/config/network form each I noticed small difference that I don't understand.

  1. nas0 vs dsl0.

From 17.01.5

config atm-bridge 'atm'                        
        option encaps 'llc'                    
        option payload 'bridged'               
        option vci '35'                        
        option vpi '8'                         
                                               
config dsl 'dsl'                               
        option firmware '/lib/firmware/adsl.bin'
        option xfer_mode 'atm'                  
        option annex 'a2p'                      
        option line_mode 'adsl'                 
                                                
                                      
config interface 'wan'                
        option ifname 'nas0'          
        option proto 'pppoe'          
        option ipv6 '1'

From 18.06rc2

config atm-bridge 'atm'
        option encaps 'llc'
        option payload 'bridged'
        option vci '35'
        option vpi '8'
        option nameprefix 'dsl'

config dsl 'dsl'
        option firmware '/lib/firmware/adsl.bin'
        option xfer_mode 'atm'
        option annex 'a2p'
        option line_mode 'adsl'


config interface 'wan'
        option proto 'pppoe'
        option ipv6 '0'
        option ifname 'dsl0'

Well, as far as I can tell the interfaces for atm (nasN) and ptm (ptmN) have been renamed to dslN since v17.01. The goal is to have a configuration that will, with minimal edits, allow to switch between atm and ptm. I assume this is assuming that more and more adsl customer lines will be switched to vdsl in the near future.

Best Regards

P.S.: it is a bit sad that the 15 Minutes delay did not fix things, but that sees to indicate even more, that the issue is something local to your router and the dslam is innocent.

1 Like

I was hoping to do more testing on 18.06 but for now I will stay on 17.01.5 as I wasn't experiencing this problem on 17.01.4

Does that imply an offset is required
Refer here: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=dea8979a81d72eac79321f1f3bf72fb5244275b6

Have been on 17.01.5 for a week without observing this issue. Looks like it us only occuringon 18.06RCs

Upgraded to Release 18.06.0, uptime is 48+hours. haven't seen the issue again. Marking as solved.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.