[kevin@draco ~]$ iotop Traceback (most recent call last): File "/usr/bin/iotop", line 16, in ? main() File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 565, in main main_loop() File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 555, in <lambda> main_loop = lambda: run_iotop(options) File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 470, in run_iotop return curses.wrapper(run_iotop_window, options) File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/lib/python2.4/site-packages/iotop/ui.py", line 462, in run_iotop_window process_list = ProcessList(taskstats_connection, options) File "/usr/lib/python2.4/site-packages/iotop/data.py", line 369, in __init__ self.update_process_counts() File "/usr/lib/python2.4/site-packages/iotop/data.py", line 425, in update_process_counts stats = self.taskstats_connection.get_single_task_stats(thread) File "/usr/lib/python2.4/site-packages/iotop/data.py", line 156, in get_single_task_stats reply = self.connection.recv() File "/usr/lib/python2.4/site-packages/iotop/netlink.py", line 229, in recv raise err OSError: Netlink error: Invalid argument (22) [kevin@draco ~]$ uname -r 2.6.18-194.17.1.el5
(In reply to comment #0) > [kevin@draco ~]$ uname -r > 2.6.18-194.17.1.el5 and that's the problem, it should not allowed iotop installation because of unmet requires: # rpm -qR iotop ... kernel >= 2.6.18-199 ... I'll try to find out why this require does not work
I've been told that "requires" on kernel release number does not work because of kernel packaging and it can be workarounded for arch packages only. So I've patched iotop to fix this, because even when required kernel would be installed there's no guarantee (on rpm level) that required kernel is also running. now it reports error instead of traceback: # iotop iotop requires kernel-2.6.18-199.el5 or later, but kernel-2.6.18-194.11.3.el5 is running
iotop-0.4.1-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/iotop-0.4.1-2.el5
Out of curiosity, where does one obtain a 2.6.18-199 kernel? Is there going to be a public update of it sometime? Currently this won't work on any centos machine at least.
iotop-0.4.1-2.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update iotop'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/iotop-0.4.1-2.el5
(In reply to comment #4) > Out of curiosity, where does one obtain a 2.6.18-199 kernel? > Is there going to be a public update of it sometime? > > Currently this won't work on any centos machine at least. Some testing kernels can be found here: http://people.redhat.com/jwilson/el5/ Usual statement: these are unofficial *testing* *unsupported* kernels I've tested with old (produces new error message) and -225.el5 (works)
iotop-0.4.1-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.