[OpenWrt-Devel] lantiq DSL drivers / firmware info

Sylwester Petela sscapi at gmail.com
Sun May 24 06:30:04 EDT 2015



W dniu 2015-05-23 o 23:22, Aleksander Wałęski pisze:
> Sylwester Petela <sscapi <at> gmail.com> writes:
>
>>
>> W dniu 2015-05-05 o 09:31, Johannes Berg pisze:
>>> On Tue, 2015-05-05 at 09:28 +0200, Sylwester Petela wrote:
>>>
>>>>>> [  458.772000] DSL[00]: WARNING - Data Path counters are not
> supported
>>>>>> for the FE!
>>>>> That seems pretty harmless - the driver code is really really ugly
>>>>> though. Probably should just remove the message.
>>>> Cannot find witch function this message is referring to, need to
>>>> investigate more.
>>> I found it in Martin's drv_dsl_cpe_api_vrx repository.
>>>
>>>>>> vectoring and ReTx works acording to friend but system log shows
> some
>>>>>> errors as well like on my ADSL line but not so many.
>>>>> What firmware/driver combination was this with?
>>>> xcpe_567517_562301.bin: VDSL over ISDN incl. vectoring support for
>>>> VRX200, version: 6.7.5 | ADSL Annex A for VRX200, version: 6.2.3
>>>>
>>>> 4.15.2 -app/control;  1.4.5 -mei
>>> Ok, I'll give that a try as soon as I've removed this from my
> productive
>>> env.
>>>
>>> Or perhaps I'll just put another image on a separate extroot since I
>>> have extroot setup anyway.
>>>
>>>> Yes slow but why ? Because of load or because of hardware, Zyxel on
>>>> stock openwrt driver can achieve 80Mbps without that much load.
>>> Not sure, perhaps the CPU is just slow?
>>>
>>> johannes
>>>
>> Anyone got a clue how to disable warnings ? Tried to disable PM
> counters
>> but without any luck.
>>
>> [   47.436000] DSL[00]: PM NE processing out of Poll Cycle!
>> [   47.636000] DSL[00]: Unsupported message with MsgID=0x0245!
>> [   47.640000] DSL[00]: Unsupported message with MsgID=0x1C44!
>> [   47.644000] DSL[00]: WARNING - Saving PM Channel Counters for FE
> are
>> not supported!
>> [   47.652000] DSL[00]: WARNING - Saving PM Line Performance Counters
>> for FE are not supported!
>> [   70.760000] DSL[00]: MEI_InternalXtmSwhowtimeEntrySignal(nFast=0,
>> nIntl=928000)
>> [   70.768000] enter showtime, cell rate: 0 - 2188, 1 - 2188, xdata
>> addr: 0x86d10000
>> [   70.784000] enter showtime, cell rate: 0 - 2188, 1 - 2188, xdata
>> addr: 0x86d10000
>> [   70.792000] DSL[00]: WARNING - Data Path counters are not supported
>> for the FE!
>> [   71.792000] DSL[00]: WARNING - FE line failures retrieving not
>> supported by the FW in ADSL mode!
>> [   72.436000] pppoe-wan: renamed from ppp0
>> [   72.800000] DSL[00]: WARNING - FE line failures retrieving not
>> supported by the FW in ADSL mode!
>> (...)
>> [  106.792000] DSL[00]: WARNING - Data Path counters are not supported
>> for the FE!
>> [  107.064000] DSL[00]: WARNING - FE line failures retrieving not
>> supported by the FW in ADSL mode!
>> [  108.072000] DSL[00]: WARNING - FE line failures retrieving not
>> supported by the FW in ADSL mode!
>>
>
> Not sure if this helps, but some modules seem to accept debug_level
> parameter at load. In GPL tarbal for W8980 (http://www.tp-
> link.com/resources/gpl/GPL_TD-W8980.tar.gz) i found this line:
> #insmod /lib/modules/drv_dsl_cpe_api.ko debug_level=3
> Also, there are references in code to this:
> https://github.com/xdarklight/lib_ifxos/search?q=debug_level
>
> Also, using binwalk, I was able to extract dsl firmware from latest
> W9980 firmware update (TD-W9980_V1_150507).
>
> filename: xcpe_574306_571801.bin
> version: 5.7.4.3.0.6-5.7.1.8.0.1
> sha1sum: f8a13f16f5ead64bb0d2d551fbef8f1a838322f7
> filesize: 923152
> Firmware1:
>          PLATFORM: 5
>          PLATFORM_STR: VRX200
>          APPLICATION_TYPE: 6
>          APPLICATION_TYPE_STR: VDSL over IDSN
>          VERSION_STR: 7.4.3
>          RELEASE_STATUS: 0
>          RELEASE_STATUS_STR: Release
> Firmware2:
>          PLATFORM: 5
>          PLATFORM_STR: VRX200
>          APPLICATION_TYPE: 1
>          APPLICATION_TYPE_STR: ADSL Annex A
>          VERSION_STR: 7.1.8
>          RELEASE_STATUS: 0
>          RELEASE_STATUS_STR: Release
>
> Might be useful as it seems to be newest version reported so far.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Was quite obvious but I've missed it, default debug level have been 
changed since 4.11.4 so adding/changing:

     --enable-error_print \
     --disable-warning_print \
     --enable-debug-prints=no \

gets rid of all warnings except of errors so on ADSL even with ReTx 
enabled console is silent and CPU usage dropped down to earlier level, I 
cannot test VDSL so if anyone can check it and post some results. 
Working with newest binary xcpe_574306_571801 from TP-LINK.

Newest trunk with patches from xdarklight, packages from DrayTek.

Full log: http://pastebin.com/KtwqydD8
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list