Re: cdc_mbim with Huawei E3372, nothing works

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

 



Sami Farin <hvtaifwkbgefbaei@xxxxxxxxx> writes:

> 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

Argh.  I thought this was fixed now.  We do mix a lot of signed and
unsigned integers of different sizes while calculating the tx_bytes
delta.  I guess that goes wrong somewhere. Will try to clean up.


Bjørn
--
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