Re: cdc_mbim with Huawei E3372, nothing works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 23, 2015 at 11:59:14 +0100, Bjørn Mork wrote:
> Aleksander Morgado <aleksander@xxxxxxxxxxxxx> writes:
> 
> > On Tue, Feb 17, 2015 at 4:32 PM, Sami Farin <hvtaifwkbgefbaei@xxxxxxxxx> wrote:
> >> ifconfig
> >> wwp3s0u1c2: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500
> >>         inet 46.132.188.224  netmask 255.255.255.192  broadcast 46.132.188.255
> >>         inet6 fe80::  prefixlen 64  scopeid 0x20<link>
> >>         ether 32:35:3a:64:2e:25  txqueuelen 1000  (Ethernet)
> >>         RX packets 0  bytes 0 (0.0 B)
> >>         RX errors 17764  dropped 0  overruns 0  frame 0
> >>         TX packets 6714  bytes 18446744073709268911 (1638.3 PiB)
> >>         TX errors 1427  dropped 0 overruns 0  carrier 0  collisions 0
> >>
> >
> > That's a ton of RX errors in there, and an... unusual number of TX
> > bytes as well.
> >
> > Bjørn, any idea?
> 
> Not really...
> 
> The TX bytes definitely looks we managed to end up with a negative
> count: 18446744073709268911 = 2^64 - 282705
> 
> Which I guess means that my new attempt to "correct" the tx_bytes
> counter in cdc_ncm_fill_tx_frame() must have gone bananas.  Hmm, looks
> like that will happen if we fail to submit the urb for some reason.  We
...

Now with kernel 4.0.0+ModemManager 1.4.8:

wwp5s0u1c2: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 46.132.185.141  netmask 255.255.255.252  broadcast 46.132.185.143
        ether 4a:2a:90:69:e7:ad  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 13  dropped 0  overruns 0  frame 0
        TX packets 239  bytes 588410534190 (548.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wwp5s0u1c2: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 46.132.185.141  netmask 255.255.255.252  broadcast 46.132.185.143
        ether 4a:2a:90:69:e7:ad  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 14  dropped 0  overruns 0  frame 0
        TX packets 240  bytes 592705501549 (552.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

so it's messing up passing of errors, 592705501549-588410534190=4294967359
2^32-4294967359=-63

-- 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux