no disk activity is detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfce4-diskperf-plugin (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I added the 'Disk Performance Monitor' item (version 2.0-0ubuntu4) to my panel but it never shows any activity, just empty bars.
I used the default value of /dev/hda for the device, which is the disk containing my root partition (/dev/hda6).
Hovering over the empty bars doesn't pop-up any information either. If I hover over the other similar graphs from other panel items I see information. For example, hovering over the 'Network Monitor' shows me 'Average of last 4 measures'.
I ran an 'strace' on the process, and then made some disk access. When I make the access, I see an error in the strace - an EAGAIN (Resource temporarily unavailable) error:
poll([{fd=3, events=POLLIN}], 1, 499) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN}], 1, 500) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN}], 1, 499) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN}], 1, 500) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 499) = 1
ioctl(3, FIONREAD, [32]) = 0
read(3, "n\2f\306\
gettimeofday(
write(3, "\225\4\
read(3, 0xbfe0117c, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\2g\
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN}], 1, 472) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 500) = 1
ioctl(3, FIONREAD, [32]) = 0
read(3, "n\2g\306B\
gettimeofday(
write(3, "\225\4\
read(3, "\1\2h\
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
poll([{fd=3, events=POLLIN}], 1, 32) = 0
gettimeofday(
ioctl(3, FIONREAD, [0]) = 0
gettimeofday(
right, the diskperf plugin is bugged. I think I'll remove it from the default install unless there's a fix in the next couple of days.