Jason Graham
2018-08-19 04:34:07 UTC
Hi,
iotop is broken with the latest Slackware kernel. I've included the
maintainer here, but also posting the note and a patch for the iotop
SlackBuild to the list for further review.
A few comments regarding the issue and patch: Recent kernels, including
Slackware's 4.4.144 kernel, have introduced at least one blank line in
/proc/<pid>/status which breaks the parse_proc_pid_status() function in
iotop/data.py. The added patch fix-proc-status-read.patch updates this
function to skip empty lines.
Additional reports of this issue can be found here:Â
   [1] https://bugzilla.redhat.com/show_bug.cgi?id=1584612Â
   [2]
https://unix.stackexchange.com/questions/446624/error-with-command-iotop-on-centosÂ
   [3] https://bugs.launchpad.net/pkg-website/+bug/1773383
The fix is based on the report in [2].
Best,
Jason
--
iotop is broken with the latest Slackware kernel. I've included the
maintainer here, but also posting the note and a patch for the iotop
SlackBuild to the list for further review.
A few comments regarding the issue and patch: Recent kernels, including
Slackware's 4.4.144 kernel, have introduced at least one blank line in
/proc/<pid>/status which breaks the parse_proc_pid_status() function in
iotop/data.py. The added patch fix-proc-status-read.patch updates this
function to skip empty lines.
Additional reports of this issue can be found here:Â
   [1] https://bugzilla.redhat.com/show_bug.cgi?id=1584612Â
   [2]
https://unix.stackexchange.com/questions/446624/error-with-command-iotop-on-centosÂ
   [3] https://bugs.launchpad.net/pkg-website/+bug/1773383
The fix is based on the report in [2].
Best,
Jason
--