Bug 8015 - disk_io_counters() fails on Linux kernel 4.19 and 5.10
Summary: disk_io_counters() fails on Linux kernel 4.19 and 5.10
Status: CONFIRMED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 14:08 UTC by wangkaiqiang
Modified: 2024-01-23 17:45 UTC (History)
0 users

See Also:


Attachments
Execution Results on kernel 5.10 (57.65 KB, image/png)
2024-01-23 14:08 UTC, wangkaiqiang
Details
kernel repair results base kernel 5.10 (29.78 KB, image/png)
2024-01-23 17:35 UTC, wangkaiqiang
Details
Execution Results on kernel 4.19 (29.78 KB, image/png)
2024-01-23 17:37 UTC, wangkaiqiang
Details
kernel repair results base on kernel 4.19 (57.16 KB, image/png)
2024-01-23 17:38 UTC, wangkaiqiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wangkaiqiang inspur_group 2024-01-23 14:08:35 UTC
Created attachment 972 [details]
Execution Results on kernel 5.10

Description of problem:
When running on 4.19.91 and 5.10-134 calling disk_io_counters() raises ValueError:

Version-Release number of selected component (if applicable):

python3-5.4.3-11

How reproducible:


Steps to Reproduce:
1.python3
2.import psutil
3.psutil.disk_io_counters()

Actual results:
raise ValueError

Expected results:
no error

Additional info:
Comment 1 wangkaiqiang inspur_group 2024-01-23 17:35:37 UTC
Created attachment 976 [details]
kernel repair results base kernel 5.10
Comment 3 wangkaiqiang inspur_group 2024-01-23 17:37:16 UTC
Created attachment 977 [details]
Execution Results on kernel 4.19
Comment 4 wangkaiqiang inspur_group 2024-01-23 17:38:09 UTC
Created attachment 978 [details]
kernel repair results base on kernel 4.19