Modify

Opened 3 years ago

Last modified 3 years ago

#17780 new defect

Lantiq arx 168 - Netgear dgn3500 dsl_cpe_control missing ModemHWE.bin

Reported by: Tleilax Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:

Description

When opening dsl_cpe_control it complains about missing modemHWE.bin

root@OpenWrt:~# dsl_cpe_control 
DSL_CPE: Device /dev/dsl_cpe_api opened successfully
DSL_CPE: Could not unmask event(18) for device 0 (0)!
DSL_CPE:  open /opt/ifx/firmware/ModemHWE.bin failed.

pointing the program to one of the two .bin files included in /lib/firmware gives the following results

root@OpenWrt:/lib/firmware# dsl_cpe_control -f adsl.bin 
DSL_CPE: Device /dev/dsl_cpe_api opened successfully

DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: ERROR - FW download failed on the 5 retry!
root@OpenWrt:/lib/firmware# dsl_cpe_control -f ltq-dsl-fw-a-ar9.bin
DSL_CPE: Device /dev/dsl_cpe_api opened successfully

trying to change the snr target as specified here https://forum.openwrt.org/viewtopic.php?pid=222065 does not produce the intended results (snr stays the same).

Loading first adsl.bin and then ltq-dsl-fw-a-ar9.bin is critical, loading the second file first produces an event 18 error.

Attachments (0)

Change History (4)

comment:1 in reply to: ↑ description Changed 3 years ago by anonymous

more output:
locs 0 -20
nReturn=-11
DSL_CPE#>locs 0 -20sEventType=DSL_EVENT_S_FE_INVENTORY_AVAILABLE G994VendorID=(B5,00,49,46,54,4E,82,B3) SystemVendorID=(00,00,00,00,00,00,00,00) VersionNumber=(00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00) SerialNumber=(00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00) SelfTestResult=0 XTSECapabilities=(00,00,00,00,00,01,00,00)

locs 0 -20Long Form: LineOptionsConfigSet
Short Form: locs

Input Parameter

  • DSL_LineOptionsSelector_t nConfigSelector (dec)

DSL_OPT_NOISE_MARGIN_DELTA_DS = 0
DSL_ERASURE_DECODING_TYPE_DS = 1
DSL_TRUST_ME_BIT = 2
DSL_INBAND_SPECTRAL_SHAPING_US = 3

  • DSL_int32_t nConfigValue (dec)

Output Parameter

  • DSL_Error_t nReturn

DSL_CPE#>locs 0 -30
nReturn=-11
DSL_CPE#>locs 0 -30nReturn=-11
DSL_CPE#>
DSL_CPE#>locs 0 20
nReturn=-11

comment:2 follow-up: Changed 3 years ago by anonymous

I don't understand this bug report. Can the original reporter (Tleilax?) please give me the output from "ls -al /lib/firmware/"? Thank you.

comment:3 in reply to: ↑ 2 Changed 3 years ago by anonymous

Replying to anonymous:

I don't understand this bug report. Can the original reporter (Tleilax?) please give me the output from "ls -al /lib/firmware/"? Thank you.

This is the result:

root@OpenWrt:/# ls -al /lib/firmware/
drwxr-xr-x    1 root     root             0 Oct  1 15:41 .
drwxr-xr-x    1 root     root             0 Jan 16 14:12 ..
lrwxrwxrwx    1 root     root            35 Oct  2 09:15 adsl.bin -> /lib/firmware//ltq-dsl-fw-a-ar9.bin
drwxr-xr-x    2 root     root             0 Oct  1 15:41 lantiq
-r--r--r--    1 root     root        328920 Sep 30  2009 ltq-dsl-fw-a-ar9.bin

Also the lantiq folder is empty.

comment:4 Changed 3 years ago by olewales

You must provide only one firmware file to load. In your case it makes no difference whitch one is it as adsl.bin is symlink to ltq-dsl-fw-a-ar9.bin. If you don't specify a FW file dsl_cpe_control utility tries to load from path hardcoded in the binary (/opt/ifx/firmware/ModemHWE.bin).

Furthermore, while using dsl_cpe_control for experimenting/debugging is convenient only one instance of it can be run (starting dsl_cpe_control while DSL connection is active will stop it) so snr adjustment should be implemented by interacting with pipes exposed in /tmp/pipe (see at /lib/functions/lantiq_dsl.sh for reference) or possibly via autoboot start script passed via /etc/init.d/dsl_control

Close/invalid if you ask me.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.