Skip to contentSkip to conversation

New: WWAN: TX bytes counter shows very huge impossible value

Bug 98781 Stephen Hemminger 3 participants 4 messages May 26, 2015 – Jun 16, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Sat, 23 May 2015 16:54:50 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 98781] New: WWAN: TX bytes counter shows very huge impossible value

https://bugzilla.kernel.org/show_bug.cgi?id=98781

Bug ID: 98781
Summary: WWAN: TX bytes counter shows very huge impossible
value
Product: Networking
Version: 2.5
Kernel Version: 4.0.x
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Since version 4.0.x the TX bytes counter of the WWAN module shows a weird value.

Example:

$ > ifconfig wwan

wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

        inet xxx.xxx.xxx.xxx  netmask 255.255.255.252  broadcast

xxx.xxx.xxx.xxx
inet6 xxxx::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link> ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 19036 bytes 19190321 (18.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15874 bytes 43228847574631 (39.3 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

39.3 TiB - wow, absolutely not true

The WWAN is used as bridge to my internet provider (LTE usb stick)

I use the counter to control the traffic. It's only the TX counter, the RX works ok.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 6 lines · Stephen Hemminger <stephen <at> networkplumber.org> writes:

Begin forwarded message:

Date: Sat, 23 May 2015 16:54:50 +0000
From: "bugzilla-daemon <at> bugzilla.kernel.org" <bugzilla-daemon <at>

bugzilla.kernel.org>

Quoted 1 line

To: "shemminger <at> linux-foundation.org" <shemminger <at>

linux-foundation.org>

Quoted 1 line

Subject: [Bug 98781] New: WWAN: TX bytes counter shows very huge

impossible value

Quoted 37 lines

https://bugzilla.kernel.org/show_bug.cgi?id=98781

Bug ID: 98781
Summary: WWAN: TX bytes counter shows very huge impossible
value
Product: Networking
Version: 2.5
Kernel Version: 4.0.x
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: shemminger <at> linux-foundation.org
Reporter: mm <at> superbash.de
Regression: No

Since version 4.0.x the TX bytes counter of the WWAN module shows a weird value.

Example:

$ > ifconfig wwan

wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

        inet xxx.xxx.xxx.xxx  netmask 255.255.255.252  broadcast

xxx.xxx.xxx.xxx
inet6 xxxx::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link> ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 19036 bytes 19190321 (18.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15874 bytes 43228847574631 (39.3 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Quoted 7 lines

39.3 TiB - wow, absolutely not true

The WWAN is used as bridge to my internet provider (LTE usb stick)

I use the counter to control the traffic. It's only the TX counter, the RX works ok.

I have exactly the same issue, exhibited when upgrading (n-1) kernel on Ubuntu Vivid 15.04 from 3.17.x:

Linux uranis 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

wwan0 Link encap:Ethernet HWaddr 26:03:a9:e3:88:2e
inet addr:41.150.225.132 Bcast:41.150.225.135 Mask:255.255.255.248 inet6 addr: fe80::2403:a9ff:fee3:882e/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3366 errors:0 dropped:0 overruns:0 frame:0 TX packets:3497 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:1459963 (1.4 MB) TX bytes:15019500985395 (15.0 TB)

Kernel internal or module (driver) bug, shows up everywhere including 'system monitor'. This problem has come up a few years back and was solved, but seems to be back again...

Any ideas on fix ?

#2 lore raw
Quoted 72 lines · On Sat, 13 Jun 2015 00:28:58 +0000 (UTC) Kevin <[email protected]> wrote:
Quoted 6 lines · Stephen Hemminger <stephen <at> networkplumber.org> writes:

Begin forwarded message:

Date: Sat, 23 May 2015 16:54:50 +0000
From: "bugzilla-daemon <at> bugzilla.kernel.org" <bugzilla-daemon <at>

bugzilla.kernel.org>

Quoted 1 line

To: "shemminger <at> linux-foundation.org" <shemminger <at>

linux-foundation.org>

Quoted 1 line

Subject: [Bug 98781] New: WWAN: TX bytes counter shows very huge

impossible value

Quoted 37 lines

https://bugzilla.kernel.org/show_bug.cgi?id=98781

Bug ID: 98781
Summary: WWAN: TX bytes counter shows very huge impossible
value
Product: Networking
Version: 2.5
Kernel Version: 4.0.x
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: shemminger <at> linux-foundation.org
Reporter: mm <at> superbash.de
Regression: No

Since version 4.0.x the TX bytes counter of the WWAN module shows a weird value.

Example:

$ > ifconfig wwan

wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

        inet xxx.xxx.xxx.xxx  netmask 255.255.255.252  broadcast

xxx.xxx.xxx.xxx
inet6 xxxx::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link> ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 19036 bytes 19190321 (18.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15874 bytes 43228847574631 (39.3 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Quoted 7 lines

39.3 TiB - wow, absolutely not true

The WWAN is used as bridge to my internet provider (LTE usb stick)

I use the counter to control the traffic. It's only the TX counter, the RX works ok.

I have exactly the same issue, exhibited when upgrading (n-1) kernel on Ubuntu Vivid 15.04 from 3.17.x:

Linux uranis 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

wwan0 Link encap:Ethernet HWaddr 26:03:a9:e3:88:2e
inet addr:41.150.225.132 Bcast:41.150.225.135 Mask:255.255.255.248 inet6 addr: fe80::2403:a9ff:fee3:882e/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3366 errors:0 dropped:0 overruns:0 frame:0 TX packets:3497 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:1459963 (1.4 MB) TX bytes:15019500985395 (15.0 TB)

Quoted 5 lines

Kernel internal or module (driver) bug, shows up everywhere including 'system monitor'. This problem has come up a few years back and was solved, but seems to be back again...

Any ideas on fix ?

What driver is this device?

#3 lore raw
In reply to Kevin

From: Kevin

Quoted 1 line

Sent: 13 June 2015 01:29

...

Quoted 12 lines

Linux uranis 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

wwan0 Link encap:Ethernet HWaddr 26:03:a9:e3:88:2e
inet addr:41.150.225.132 Bcast:41.150.225.135 Mask:255.255.255.248 inet6 addr: fe80::2403:a9ff:fee3:882e/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3366 errors:0 dropped:0 overruns:0 frame:0 TX packets:3497 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:1459963 (1.4 MB) TX bytes:15019500985395 (15.0 TB)

Quoted 5 lines

Kernel internal or module (driver) bug, shows up everywhere including 'system monitor'. This problem has come up a few years back and was solved, but seems to be back again...

Any ideas on fix ?

$ printf '%x\n' 15019500985395
da900055c33
$ echo $((0xda9))
3497
$ echo $((0x55c33))
351283

Looks like a 32-64bit fubar somewhere.

David