Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68233 > unrolled thread

Bug#970722: linux: Igc driver has /proc/net/dev stats issue

Started byHideo Oshima <hidenosuke@hidenosuke.org>
First post2020-09-22 16:00 +0200
Last post2020-11-19 09:20 +0100
Articles 13 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#970722: linux: Igc driver has /proc/net/dev stats issue Hideo Oshima <hidenosuke@hidenosuke.org> - 2020-09-22 16:00 +0200
    Processed: Re: Bug#970722: linux: Igc driver has /proc/net/dev  stats issue "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-01 15:00 +0100
    Bug#970722: linux: Igc driver has /proc/net/dev stats issue Salvatore Bonaccorso <carnil@debian.org> - 2020-11-01 15:00 +0100
      Bug#970722: linux: Igc driver has /proc/net/dev stats issue Hideo Oshima <hidenosuke@hidenosuke.org> - 2020-11-02 14:10 +0100
    Bug#970722: linux: Igc driver has /proc/net/dev stats issue Hideo Oshima <hidenosuke@hidenosuke.org> - 2020-11-11 13:30 +0100
      Bug#970722: linux: Igc driver has /proc/net/dev stats issue Salvatore Bonaccorso <carnil@debian.org> - 2020-11-15 10:00 +0100
        Bug#970722: linux: Igc driver has /proc/net/dev stats issue Hideo Oshima <hidenosuke@hidenosuke.org> - 2020-11-15 14:10 +0100
          Bug#970722: linux: Igc driver has /proc/net/dev stats issue Salvatore Bonaccorso <carnil@debian.org> - 2020-11-15 14:20 +0100
            Bug#970722: linux: Igc driver has /proc/net/dev stats issue Salvatore Bonaccorso <carnil@debian.org> - 2020-11-15 14:50 +0100
              Bug#970722: linux: Igc driver has /proc/net/dev stats issue Hideo Oshima <hidenosuke@hidenosuke.org> - 2020-11-16 13:10 +0100
                Bug#970722: linux: Igc driver has /proc/net/dev stats issue Salvatore Bonaccorso <carnil@debian.org> - 2020-11-16 14:40 +0100
    Processed: Re: Bug#970722: linux: Igc driver has /proc/net/dev  stats issue "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-16 14:40 +0100
    Bug#970722: marked as done (linux: Igc driver has /proc/net/dev  stats issue) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-11-19 09:20 +0100

#68233 — Bug#970722: linux: Igc driver has /proc/net/dev stats issue

FromHideo Oshima <hidenosuke@hidenosuke.org>
Date2020-09-22 16:00 +0200
SubjectBug#970722: linux: Igc driver has /proc/net/dev stats issue
Message-ID<ARQZQ-1Yx-1@gated-at.bofh.it>
Source: linux
Version: 5.8.10-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I use Intel I225-V Ethernet controller with igc driver.
But it has /proc/net/dev stats issue.
For example Receive and Transmit bytes, packetes are all 0.

$cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:   22642     271    0    0    0     0          0         0    22642
271    0    0    0     0       0          0
enp9s0:       0       0    0 9648    0     0          0         0        0
0    0    0    0     0       0          0

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-2-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
大島秀夫(Hideo Oshima)
http://hidenosuke.org/

[toc] | [next] | [standalone]


#68492 — Processed: Re: Bug#970722: linux: Igc driver has /proc/net/dev stats issue

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-11-01 15:00 +0100
SubjectProcessed: Re: Bug#970722: linux: Igc driver has /proc/net/dev stats issue
Message-ID<B6m3L-79w-1@gated-at.bofh.it>
In reply to#68233
Processing control commands:

> tags -1 + moreinfo
Bug #970722 [src:linux] linux: Igc driver has /proc/net/dev stats issue
Added tag(s) moreinfo.

-- 
970722: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970722
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#68493

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-01 15:00 +0100
Message-ID<B6m3L-79w-3@gated-at.bofh.it>
In reply to#68233
Control: tags -1 + moreinfo

Hi,

On Tue, Sep 22, 2020 at 09:57:50PM +0900, Hideo Oshima wrote:
> Source: linux
> Version: 5.8.10-1
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> 
> I use Intel I225-V Ethernet controller with igc driver.
> But it has /proc/net/dev stats issue.
> For example Receive and Transmit bytes, packetes are all 0.
> 
> $cat /proc/net/dev
> Inter-|   Receive                                                |  Transmit
>  face |bytes    packets errs drop fifo frame compressed multicast|bytes
> packets errs drop fifo colls carrier compressed
>     lo:   22642     271    0    0    0     0          0         0    22642
> 271    0    0    0     0       0          0
> enp9s0:       0       0    0 9648    0     0          0         0        0
> 0    0    0    0     0       0          0
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>    * What was the outcome of this action?
>    * What outcome did you expect instead?

There were some refactorings in upstream up to v5.9.1 in the igc
driver. Can you check, does the issue still persist in 5.9.1-1  as
currently in unstable?

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#68497

FromHideo Oshima <hidenosuke@hidenosuke.org>
Date2020-11-02 14:10 +0100
Message-ID<B6HKW-4vd-11@gated-at.bofh.it>
In reply to#68493
On Sun, 1 Nov 2020 14:54:50 +0100
Salvatore Bonaccorso <carnil@debian.org> wrote:

Thank you for your reply.

> Control: tags -1 + moreinfo
> 
> Hi,
> 
> On Tue, Sep 22, 2020 at 09:57:50PM +0900, Hideo Oshima wrote:
> > Source: linux
> > Version: 5.8.10-1
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > *** Reporter, please consider answering these questions, where appropriate ***
> > 
> >    * What led up to the situation?
> > 
> > I use Intel I225-V Ethernet controller with igc driver.
> > But it has /proc/net/dev stats issue.
> > For example Receive and Transmit bytes, packetes are all 0.
> > 
> > $cat /proc/net/dev
> > Inter-|   Receive                                                |  Transmit
> >  face |bytes    packets errs drop fifo frame compressed multicast|bytes
> > packets errs drop fifo colls carrier compressed
> >     lo:   22642     271    0    0    0     0          0         0    22642
> > 271    0    0    0     0       0          0
> > enp9s0:       0       0    0 9648    0     0          0         0        0
> > 0    0    0    0     0       0          0
> > 
> >    * What exactly did you do (or not do) that was effective (or
> >      ineffective)?
> >    * What was the outcome of this action?
> >    * What outcome did you expect instead?
> 
> There were some refactorings in upstream up to v5.9.1 in the igc
> driver. Can you check, does the issue still persist in 5.9.1-1  as
> currently in unstable?

I tried Linux 5.9.1-1 in unstable.
Receive and Transmit bytes, packetes are not 0,
but they don't appear to be increasing enough.

$ date
2020年 11月  2日 月曜日 21:17:22 JST

$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:    4107      51    0    0    0     0          0         0     4107      51    0    0    0     0       0          0
enp6s0:       0       0    0 2082    0     0          0         0        0       0    0    0    0     0       0          0

$ date
2020年 11月  2日 月曜日 21:17:41 JST

$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:    4107      51    0    0    0     0          0         0     4107      51    0    0    0     0       0          0
enp6s0:       0       0    0 2090    0     0          0         0        0       0    0    0    0     0       0          0

Regards,
Hideo
-- 
大島秀夫(Hideo Oshima)
http://hidenosuke.org/

[toc] | [prev] | [next] | [standalone]


#68543

FromHideo Oshima <hidenosuke@hidenosuke.org>
Date2020-11-11 13:30 +0100
Message-ID<B9Xq9-3c1-1@gated-at.bofh.it>
In reply to#68233
I found the bug in Kernel.org Bugzilla.
https://bugzilla.kernel.org/show_bug.cgi?id=208431

-- 
大島秀夫(Hideo Oshima)
http://hidenosuke.org/

[toc] | [prev] | [next] | [standalone]


#68564

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-15 10:00 +0100
Message-ID<Bbm38-4sy-9@gated-at.bofh.it>
In reply to#68543
Hi

On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> I found the bug in Kernel.org Bugzilla.
> https://bugzilla.kernel.org/show_bug.cgi?id=208431

Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
wrong statistics") fixing this issue?

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#68565

FromHideo Oshima <hidenosuke@hidenosuke.org>
Date2020-11-15 14:10 +0100
Message-ID<BbpX3-70b-3@gated-at.bofh.it>
In reply to#68564
On Sun, 15 Nov 2020 09:48:22 +0100
Salvatore Bonaccorso <carnil@debian.org> wrote:

> Hi
> 
> On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> > I found the bug in Kernel.org Bugzilla.
> > https://bugzilla.kernel.org/show_bug.cgi?id=208431
> 
> Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
> wrong statistics") fixing this issue?

Sorry.
I don't know how to apply the patch.

-- 
大島秀夫(Hideo Oshima)
http://hidenosuke.org/

[toc] | [prev] | [next] | [standalone]


#68566

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-15 14:20 +0100
Message-ID<Bbq6J-73t-3@gated-at.bofh.it>
In reply to#68565
Hi,

On Sun, Nov 15, 2020 at 09:59:17PM +0900, Hideo Oshima wrote:
> On Sun, 15 Nov 2020 09:48:22 +0100
> Salvatore Bonaccorso <carnil@debian.org> wrote:
> 
> > Hi
> > 
> > On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> > > I found the bug in Kernel.org Bugzilla.
> > > https://bugzilla.kernel.org/show_bug.cgi?id=208431
> > 
> > Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
> > wrong statistics") fixing this issue?
> 
> Sorry.
> I don't know how to apply the patch.

Have a look at
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2
witht the attached patch.

Does this helps? Otherwise I can look if I can provide you a temporary
build with the patch.

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#68567

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-15 14:50 +0100
Message-ID<BbqzL-7cT-3@gated-at.bofh.it>
In reply to#68566
Hi Hideo,

On Sun, Nov 15, 2020 at 02:10:44PM +0100, Salvatore Bonaccorso wrote:
> Hi,
> 
> On Sun, Nov 15, 2020 at 09:59:17PM +0900, Hideo Oshima wrote:
> > On Sun, 15 Nov 2020 09:48:22 +0100
> > Salvatore Bonaccorso <carnil@debian.org> wrote:
> > 
> > > Hi
> > > 
> > > On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> > > > I found the bug in Kernel.org Bugzilla.
> > > > https://bugzilla.kernel.org/show_bug.cgi?id=208431
> > > 
> > > Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
> > > wrong statistics") fixing this issue?
> > 
> > Sorry.
> > I don't know how to apply the patch.
> 
> Have a look at
> https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2
> witht the attached patch.
> 
> Does this helps? Otherwise I can look if I can provide you a temporary
> build with the patch.

https://people.debian.org/~carnil/tmp/linux/fix-igc-driver-stats/

contains temporary (and unsigned!) binary builds. If you can trust
them then, they would contain the mentioned patch applied.

They furthermore are as well alrady based on 5.9.8 upstream instead of
5.9.6 as this is pending for the next unstable upload.

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#68575

FromHideo Oshima <hidenosuke@hidenosuke.org>
Date2020-11-16 13:10 +0100
Message-ID<BbLux-39u-5@gated-at.bofh.it>
In reply to#68567
Hi Salvatore,

On Sun, 15 Nov 2020 14:40:26 +0100
Salvatore Bonaccorso <carnil@debian.org> wrote:

> Hi Hideo,
> 
> On Sun, Nov 15, 2020 at 02:10:44PM +0100, Salvatore Bonaccorso wrote:
> > Hi,
> > 
> > On Sun, Nov 15, 2020 at 09:59:17PM +0900, Hideo Oshima wrote:
> > > On Sun, 15 Nov 2020 09:48:22 +0100
> > > Salvatore Bonaccorso <carnil@debian.org> wrote:
> > > 
> > > > Hi
> > > > 
> > > > On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> > > > > I found the bug in Kernel.org Bugzilla.
> > > > > https://bugzilla.kernel.org/show_bug.cgi?id=208431
> > > > 
> > > > Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
> > > > wrong statistics") fixing this issue?
> > > 
> > > Sorry.
> > > I don't know how to apply the patch.
> > 
> > Have a look at
> > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2
> > witht the attached patch.
> > 
> > Does this helps? Otherwise I can look if I can provide you a temporary
> > build with the patch.
> 
> https://people.debian.org/~carnil/tmp/linux/fix-igc-driver-stats/
> 
> contains temporary (and unsigned!) binary builds. If you can trust
> them then, they would contain the mentioned patch applied.
> 
> They furthermore are as well alrady based on 5.9.8 upstream instead of
> 5.9.6 as this is pending for the next unstable upload.

I tried your build and the issue seems to be solved.
Thanks very much for your work!

-- 
大島秀夫(Hideo Oshima)
http://hidenosuke.org/

[toc] | [prev] | [next] | [standalone]


#68576

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-11-16 14:40 +0100
Message-ID<BbMTD-3RS-3@gated-at.bofh.it>
In reply to#68575
Control: tags -1 + confirmed pending

Hey!

On Mon, Nov 16, 2020 at 09:06:37PM +0900, Hideo Oshima wrote:
> Hi Salvatore,
> 
> On Sun, 15 Nov 2020 14:40:26 +0100
> Salvatore Bonaccorso <carnil@debian.org> wrote:
> 
> > Hi Hideo,
> > 
> > On Sun, Nov 15, 2020 at 02:10:44PM +0100, Salvatore Bonaccorso wrote:
> > > Hi,
> > > 
> > > On Sun, Nov 15, 2020 at 09:59:17PM +0900, Hideo Oshima wrote:
> > > > On Sun, 15 Nov 2020 09:48:22 +0100
> > > > Salvatore Bonaccorso <carnil@debian.org> wrote:
> > > > 
> > > > > Hi
> > > > > 
> > > > > On Wed, Nov 11, 2020 at 09:22:02PM +0900, Hideo Oshima wrote:
> > > > > > I found the bug in Kernel.org Bugzilla.
> > > > > > https://bugzilla.kernel.org/show_bug.cgi?id=208431
> > > > > 
> > > > > Can you check, is cherry-picking 6b7ed22ae4c9 ("igc: Fix returning
> > > > > wrong statistics") fixing this issue?
> > > > 
> > > > Sorry.
> > > > I don't know how to apply the patch.
> > > 
> > > Have a look at
> > > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2
> > > witht the attached patch.
> > > 
> > > Does this helps? Otherwise I can look if I can provide you a temporary
> > > build with the patch.
> > 
> > https://people.debian.org/~carnil/tmp/linux/fix-igc-driver-stats/
> > 
> > contains temporary (and unsigned!) binary builds. If you can trust
> > them then, they would contain the mentioned patch applied.
> > 
> > They furthermore are as well alrady based on 5.9.8 upstream instead of
> > 5.9.6 as this is pending for the next unstable upload.
> 
> I tried your build and the issue seems to be solved.
> Thanks very much for your work!

Thanks for confirming! Then I will merge the branch in for the next
unstable upload.

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#68577 — Processed: Re: Bug#970722: linux: Igc driver has /proc/net/dev stats issue

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-11-16 14:40 +0100
SubjectProcessed: Re: Bug#970722: linux: Igc driver has /proc/net/dev stats issue
Message-ID<BbMTE-3RS-15@gated-at.bofh.it>
In reply to#68233
Processing control commands:

> tags -1 + confirmed pending
Bug #970722 [src:linux] linux: Igc driver has /proc/net/dev stats issue
Added tag(s) confirmed and pending.

-- 
970722: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970722
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#68605 — Bug#970722: marked as done (linux: Igc driver has /proc/net/dev stats issue)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-11-19 09:20 +0100
SubjectBug#970722: marked as done (linux: Igc driver has /proc/net/dev stats issue)
Message-ID<BcNkC-7DW-13@gated-at.bofh.it>
In reply to#68233

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 19 Nov 2020 08:10:11 +0000
with message-id <E1kff19-000Art-8K@fasolo.debian.org>
and subject line Bug#970722: fixed in linux 5.9.9-1
has caused the Debian Bug report #970722,
regarding linux: Igc driver has /proc/net/dev stats issue
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
970722: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970722
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web