Netgear DGN3500 DSL modem resets after line synchronization (OpenWrt 18.06.1)

Hello!

I have upgraded from LEDE 17.01.2 to OpenWrt 18.06.1 and erased all settings in the process.

When reconfiguring the device, I found that the DSL line is reset every time after the line is synchronized. In it's short synchronized state, the DSL status shows the expected values for my connection, not indicating any error. However it keeps resetting the line (or modem?) in an endless loop.
The log shows the following error every time it resets:

[ 696.142108] [DSL_BSP_Showtime 914]: Datarate US intl = 0, fast = 640000
[ 696.147340] [DSL_BSP_Showtime 934]: no hookup from ATM driver to set cell rate

The settings of the wan interface have no influence on this (the same thing happens when it's disabled and I have set it to not come up at boot for debugging).

My initial search only led me to the OpenWrt git:
https://github.com/openwrt/openwrt/blob/34e22653ac18b6ac7fd368ca47625f665808067f/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c
The function that outputs this message starts at line 909.

Any help is appreciated!

Things I have tried in the meantime:

Reset to default settings (which I also did when upgrading): same problem
Downgrade to 18.06.0: same problem

I have downgraded to LEDE 17.01.6 now and manually reconfigured my router using the very same settings I used in OpenWrt 18.06. DSL works flawless in LEDE.

There always were two different images for the DGN3500 one ending with "NA" and one with "WW". I always used the "WW" one.
Since OpenWrt 18.06 the one ending with "WW" is replaced with one having no ending at all. I assume both fulfill the same purpose, or am I wrong here?
https://downloads.openwrt.org/releases/17.01.6/targets/lantiq/xway/
https://downloads.openwrt.org/releases/18.06.1/targets/lantiq/xway/

I want to stress again, that the DSL line does not stay synchronized regardless of the configuration changes I make to the default or if the wan interface is stopped or started.
So overall I suspect it might be a bug/regression in 18.06.0.

Hello
I also have a Netgear DGN3500 A ("A" is PSTN, not ISDN), with LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-18.147.69097-36945b5).
WW is World-Wide and NA is North-America, I suppose because the networks work differently at each area. I have installed the WW (I am not in North America) and I would install the no-ending version when I upgrade to 18.06.
But @51cent makes me wonder if there is a bug in the 18.06 image for Netgear DGN3500. @51cent, are you sure you installed the correct image for your area? Did you confirmed that all WAN-related settings are OK? E.g. (screenshot from 17.01.4).
Screenshot_2018-09-16_14-33-52
I want to upgrade to 18.06 but I will wait for a while.

Hi I have been running 18.06.1 on DGN3500 since it was released, no major issues. minor issue with wan-pppoe dropping out occasionally which requires a reboot.

Summary
root@DGN3500:~#
[details="Summary"]
This text will be hidden
[/details]
 uptime
 22:10:51 up  3:20,  load average: 0.23, 0.21, 0.19
root@DGN3500:~# /etc/init.d/dsl_control status
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: 56789 / Far: 0
Errored seconds (ES):                     Near: 53 / Far: 0
Severely Errored Seconds (SES):           Near: 0 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 0
Unavailable Seconds (UAS):                Near: 52 / Far: 52
Header Error Code Errors (HEC):           Near: 1234 / Far: 0
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.859 Mb/s / Up: 1.020 Mb/s
Line Attenuation (LATN):                  Down: 16.9 dB / Up: 8.9 dB
Signal Attenuation (SATN):                Down: 16.1 dB / Up: 9.2 dB
Noise Margin (SNR):                       Down: 6.2 dB / Up: 12.3 dB
Aggregate Transmit Power (ACTATP):        Down: 16.2 dB / Up: 11.2 dB
Max. Attainable Data Rate (ATTNDR):       Down: 18.932 Mb/s / Up: 1.200 Mb/s
Line Uptime Seconds:                      11591
Line Uptime:                              3h 13m 11s
root@DGN3500:~# cat /etc/os-release 
NAME="OpenWrt"
VERSION="18.06.1"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 18.06.1"
VERSION_ID="18.06.1"
HOME_URL="http://openwrt.org/"
BUG_URL="http://bugs.openwrt.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r7258-5eb055306f"
LEDE_BOARD="lantiq/xway"
LEDE_ARCH="mips_24kc"
LEDE_TAINTS=""
LEDE_DEVICE_MANUFACTURER="OpenWrt"
LEDE_DEVICE_MANUFACTURER_URL="http://openwrt.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="OpenWrt 18.06.1 r7258-5eb055306f"

Hi @mbo2o, did you upgrade (if not a fresh install) keeping previous settings?

I did a sysupgrade ( did not keep settings)

Hi!

Nice to see some activity on the topic :grinning:.

Yes, I did install the non-ending version (which I assume is the World-Wide one).
I have double checked the WAN settings. I also did a fresh configuration on LEDE 17.01.6 installation, which works just fine.

Even when disabling the WAN interface and deleting the ATM bridge, the modem still keeps on re-synchronizing.

@51cent
I found an issue with my NetGear DGN3500, but I don't know if it is relative with your re-synchronizing problem. It is about how I reboot the device. Perhaps the ON/OFF button has been worn out, causing a bad start to the devise.

  1. Using ON/OFF button: Netgear DGN3500 endless rebooting (or re-synchronizing, I did not tried to find).

  2. Power-plug (12volt) connected to the device, ON/OFF button set to ON, then plugging the power-supply to AC (wall-plug): Again endless rebooting.

  3. Power-supply connected to AC (wall-plug), ON/OFF button set to ON, then plugging the power-plug (12volt): SUCCESS! Netgear DGN3500 starts normally!

If I had found it earlier, I would not have factory-reset some times. Again, I don't know if my experience helps you.