Many thanks for all the hints and knowledge you are sharing. That's exactly why I love open source projects. =0)
@janh : I guess the ubus call dsl metrics
should be called when I try to connect. I will try to find some time when I can take down internet here at home for a while.
# ubus call dsl metrics
{
"api_version": "4.23.1",
"firmware_version": "8.13.0.9.0.1",
"chipset": "Lantiq-VRX500",
"driver_version": "1.11.1",
"state": "Not initialized",
"state_num": 0,
"up": false,
"atu_c": {
},
"power_state": "L3 - No power",
"power_state_num": 3,
"upstream": {
},
"downstream": {
},
"olr": {
"downstream": {
"bitswap": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sra": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sos": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
}
},
"upstream": {
"bitswap": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sra": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sos": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
}
}
},
"errors": {
"near": {
},
"far": {
"rx_corrupted": 0,
"rx_uncorrected_protected": 0,
"rx_retransmitted": 0,
"rx_corrected": 0,
"tx_retransmitted": 0
}
}
}
Here is the relevant part from dmesg
.
[ 13.135030] IFXOS, Version 1.7.1 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 13.137246] vrx518: Intel(R) SmartPHY DSL(VRX518) PCIe EP/ACA Driver - version 2.1.0-k
[ 13.141231] vrx518: Copyright (c) 2016 Intel Corporation.
[ 13.149083] vrx518 0000:01:00.0: enabling device (0140 -> 0142)
[ 13.158245] NET: Registered PF_ATMPVC protocol family
[ 13.160091] NET: Registered PF_ATMSVC protocol family
[ 13.169279] vrx518_tc:pcie_ep_probe: Total 1 VRX518 EP detected
[ 13.182420] vrx518 0000:01:00.0: dc_ep_clk_on failed
[ 13.197205] MD5 checksum pass!!!
[ 13.197254] Firmware pointer id(0):size(10636), fw addr(26ccefc3), off(100)
[ 13.199517] Firmware pointer id(1):size(19548), fw addr(c5255120), off(10736)
[ 13.206250] Firmware pointer id(2):size(11504), fw addr(ddc90ae8), off(30284)
[ 13.213537] Firmware pointer id(3):size(23076), fw addr(3f7138fe), off(41788)
[ 13.220610] VRX518 PPE Firmware header info
[ 13.227736] PTM Version: 3.5.75
[ 13.231727] PTM Feature: A0000000
[ 13.235187] ATM Version: 3.6.5
[ 13.238398] ATM Feature: B0000000
[ 13.241449] Compability ID: 00000004
[ 13.244911] Size: 00000010
[ 13.248641] FW built Date: 3-25-2021
[ 13.251259] Number of firmware: 4
[ 13.255066] Firmware[0]: ID[0] size[2659] at[0x26ccefc3]
[ 13.258369] Firmware[1]: ID[1] size[4887] at[0xc5255120]
[ 13.263851] Firmware[2]: ID[2] size[2876] at[0xddc90ae8]
[ 13.269306] Firmware[3]: ID[3] size[5769] at[0x3f7138fe]
[ 13.274878] vrx518_tc:tc_drv_init: Intel(R) SmartPHY DSL(VRX518) PCIe TC Driver - version 1.5.12.4
[ 13.280249] vrx518_tc:tc_drv_init: Copyright (c) 2018 Intel Corporation.
[ 13.297145] Lantiq (VRX) DSL CPE MEI driver, version 1.11.1, (c) 2007-2016 Lantiq Deutschland GmbH
[ 13.297396] Found 1 PCI VRX devices,
[ 13.315153]
[ 13.315153]
[ 13.315153] Lantiq CPE API Driver version: DSL CPE API V4.23.1
[ 13.315215]
[ 13.315215]
[ 13.315215] Lantiq CPE API Driver - autoloading layout...
[ 13.323076]
[ 13.323076]
[ 13.323076] Lantiq CPE API Device layout: 1 devices, 1 lines, 1 channels
[ 13.331106]
[ 13.331106] Predefined debug level: 3
[ 13.340834]
[ 13.340834] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[ 13.340834]
[ 13.346318]
[ 13.346318] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[ 13.346318]
[ 13.362138] GACT probability on
[ 13.365718] Mirror/redirect action on
[ 13.376353] u32 classifier
[ 13.376395] input device check on
[ 13.377965] Actions configured
[ 13.398112] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[ 13.398163] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[ 13.437915] xt_time: kernel timezone is -0000
[ 13.527907] PPP generic driver version 2.4.2
I will also try another firmware file as suggested by @pythonic.
Using a different firmware also did not bring up the DSL line.
# ubus call dsl metrics | head -n 20
{
"api_version": "4.23.1",
"firmware_version": "8.13.0.12.1.2",
"chipset": "Lantiq-VRX500",
"driver_version": "1.11.1",
"state": "Handshake",
"state_num": 4,
"up": false,
"uptime": 0,
"atu_c": {
},
"power_state": "L3 - No power",
"power_state_num": 3,
"upstream": {
},
"downstream": {
},
The state went from Handshake
to Exception
to Idle request
...
Will also try to get VDSL configuration from the ISP.