Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833617 - sys-process/iotop: CONFIG_TASK_DELAY_ACCT error in \u201ciotop\u201d kernel >= 5.14
Summary: sys-process/iotop: CONFIG_TASK_DELAY_ACCT error in \u201ciotop\u201d kernel >...
Status: RESOLVED DUPLICATE of bug 815151
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-02-18 16:47 UTC by Samuel Bernardo
Modified: 2023-01-21 07:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2022-02-18 16:47:41 UTC
Since kernel 5.14:
https://github.com/Tomas-M/iotop/issues/21

The ebuild should mention in pkg_postinst[1]:

To enable the SWAPIN/IO columns Edit /etc/default/grub, adding \u201cdelayacct\u201d as an option to the GRUB_CMDLINE_LINUX_DEFAULT entry. If you hadn\u2019t already modified that line, it would go from
GRUB_CMDLINE_LINUX_DEFAULT=""
to
GRUB_CMDLINE_LINUX_DEFAULT="delayacct"


commit 9c49d594a5ddea14dcb30f0f2b7dc67018767295
Author: Paul Wise <pabs3@bonedaddy.net>
Date:   Tue Feb 1 11:31:15 2022 +0800

    Automatically hide the SWAPIN/IO columns when they are unavailable

    Now that the Linux kernel can enable or disable data collection for them at
    runtime, showing the columns when collection is disabled is even less useful,
    since the previous data could still be present in the Linux kernel buffers.

    Preserve the behaviour of the batch mode though, so that programs parsing
    its output aren't broken by the changes to the Linux kernel, but they may
    still be broken when the output changes from ?unavailable? to real data.

    Since the current sorting keys code makes it hard to dynamically choose which
    columns are shown or hidden, when the two columns are hidden, just skip over
    displaying them or using them as sorting keys.

    Rewrite the data display code to be more flexible wrt column choice though.

    Suggested-by: Boian Bonev <bbonev@ipacct.com>


[1] http://blog.brocktice.com/2012/05/23/delayacct-and-iotop-in-ubuntu-10-04-lucid-lynx/
Comment 1 Samuel Bernardo 2022-02-18 16:48:02 UTC
I'm going to create a PR.
Comment 2 Joe Kappus 2023-01-21 07:25:49 UTC
Upstream never does releases anymore but later revisions have ways to address this problem. I'm going to work in the original bug on it.

*** This bug has been marked as a duplicate of bug 815151 ***