TLV value runs over buffer
Dan Williams
dcbw at redhat.com
Mon Jan 11 07:55:53 PST 2016
On Mon, 2016-01-11 at 06:32 +0000, Hans en Dory wrote:
> Hi everyone,
>
> I am still struggling with this problem. I attached a piece of my log
> file again. This time, the connection was broke after the message.
> That means, the connection with my provider was still OK but no data
> was coming through. No DNS lookup took place, nothing happens until I
> unplug the dongle and make a new connection.
Any chance you could grab latest libqmi, build that, and test out again
to get the problem? I pushed a commit last week that will now print
out the full buffer, so that we can see what is actually getting
received by libqmi. Alternatively, you could just apply the patch to
your existing libqmi version locally and rebuild.
http://cgit.freedesktop.org/libqmi/commit/?id=43b95747226e34b2b5e66cb60061ed39035d421d
Dan
> Hans & Dory
> http://www.instagram.com/koroheadquarters
>
> --------------------------------------------
> On Tue, 5/1/16, Bjørn Mork <bjorn at mork.no> wrote:
>
> Subject: Re: TLV value runs over buffer
> To: "Dan Williams" <dcbw at redhat.com>
> Cc: modemmanager-devel at lists.freedesktop.org, "Hans en Dory" <
> hansendory at yahoo.com>
> Received: Tuesday, 5 January, 2016, 5:57 AM
>
> Dan Williams <dcbw at redhat.com>
> writes:
> > On Wed, 2015-12-30 at 18:37
> +0000, Hans en Dory wrote:
> >> Hi
> everyone,
> >>
> >>
> For connecting to the internet I use a Huawei broad band
> dongle.
> >> Unfortunately, every now
> and then, sometimes every 5 minutes, and
> >> another time every half our, the
> connection stops, just out of the
> >>
> blue. /var/log/syslog shows the following message everytime
> the
> >> connection stops:
> >>
> >>
> [/dev/cdc-wdm0] Invalid QMI message received: 'TLV value
> runs over
> >> buffer (0x16a0c10 +
> 24074 > 0x16a0c5d)'
> >
> > If there's any chance you can get the
> QMI message traces from that
> >
> problematic TLV, that would be great. For ModemManager you
> can set
> > 'mmcl
> --set-logging=DEBUG' and wait for the logging from
> around the
> > time you see the message.
>
> Yes, that would be great. I
> have my suspicions though: Huawei are fond
> of AT commands, and they tend to have a few
> unsolicted commands starting
> with ^. 24074
> happens to be 0x0a5e in little endian, or LF + ^ if
> decoded as ASCII. Just a hunch...
>
>
> Bjørn
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
More information about the ModemManager-devel
mailing list