no disk activity is detected

Bug #45921 reported by Chris Moore
8
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({1148245641, 874622}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245641, 874743}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 500) = 0
gettimeofday({1148245642, 382297}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245642, 383222}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 499) = 0
gettimeofday({1148245642, 886518}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245642, 886645}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 500) = 0
gettimeofday({1148245643, 393380}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245643, 393507}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 499) = 1
ioctl(3, FIONREAD, [32]) = 0
read(3, "n\2f\306\222\20\306X\2\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0"..., 32) = 32
gettimeofday({1148245643, 412437}, NULL) = 0
write(3, "\225\4\2\0\0\1\300\3", 8) = 8
read(3, 0xbfe0117c, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\2g\306\0\0\0\0\4\4\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245643, 421287}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 472) = 0
gettimeofday({1148245643, 898481}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245643, 898769}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 500) = 1
ioctl(3, FIONREAD, [32]) = 0
read(3, "n\2g\306B\24\306X\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3"..., 32) = 32
gettimeofday({1148245644, 363366}, NULL) = 0
write(3, "\225\4\2\0\0\1\300\3", 8) = 8
read(3, "\1\2h\306\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245644, 365945}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 32) = 0
gettimeofday({1148245644, 402784}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1148245644, 402904}, NULL) = 0

Revision history for this message
Jani Monoses (jani) wrote :

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.

Changed in xfce4-diskperf-plugin:
status: Unconfirmed → Confirmed
Revision history for this message
Chris Moore (dooglus) wrote :

You set this as 'minor'? The disk performance monitor no longer monitors disk performance... The whole package just no longer works. How is that minor?

Revision history for this message
Jani Monoses (jani) wrote :

the package itsef is not that useful compared to other components.It is 'relatively minor' if you wish. another way of differentiating between xubuntu bugs would have been leaving all as normal and marking some major and other critical. But I do not think any of them is critical actually.

Revision history for this message
Jani Monoses (jani) wrote :

fix uploaded to edgy

Changed in xfce4-diskperf-plugin:
status: Confirmed → Fix Released
Revision history for this message
Jani Monoses (jani) wrote :

let's see if we can unwatch a remote bug

Changed in xfce:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.