principally this affects gnome system monitor applet (gnome-base/gnome-applets): the system i use is working on mirrored disks (/dev/md*); the system monitor applet displays no disk activity even when local filesystems are heavy loaded. activity on removable media (usb/firewire drives) is displayed correctly. it also works properly on filesystems built on normal drives the behavior is similar on both gnome-base/libgtop-2.24-4 and gnome-base/libgtop-2.26.1 Reproducible: Always Steps to Reproduce: 1. create aggregated device, build filesystem (the fs type does not matter) and mount it 2. build test case similar to code located in gnome-applets-2.24.../multiload/linux-proc.c: /* gcc -o test -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 \ -I/usr/lib/glib-2.0/include -l gtop-2.0 test.c */ #include <glibtop.h> #include <glibtop/mountlist.h> #include <glibtop/fsusage.h> #include <stdio.h> int main() { int i; glibtop_mountlist mountlist; glibtop_mountentry *mountentries; glibtop_fsusage fsusage; // mountentries=glibtop_get_mountlist(&mountlist,FALSE); for(i=0;i<mountlist.number;i++) { glibtop_get_fsusage(&fsusage,mountentries[i].mountdir); printf("dev: %s read/written: %i/%i\n", mountentries[i].devname, (int)fsusage.read, (int)fsusage.write); } } Actual Results: the test code would show zero counters for filesystems mounted on aggregate device independently on actual filesystem activity obvious workaround is downgrade to gnome-base/libgtop-2.22.3
emerge --info ?
~> emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.0 Timestamp of tree: Sat, 01 Aug 2009 04:20:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -msse4.1 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -msse4.1 -fomit-frame-pointer -pipe" DISTDIR="/raid/0/6/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles" LANG="en_US.UTF8" LC_ALL="en_US.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa berkdb bzip2 cli cracklib crypt cups dri emacs gdbm gnome gpm gtk hal iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd truetype type1 unicode x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Could you report this upstream and paste the URL here ? It looks like this is not gentoo specific.
definitely this is not gentoo specific. just investigated a bit gnome bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=160441 seems they forgot to include fsusage patch in 2.24 and 2.26. libgtop-2.22 includes it
Thanks for looking it up
This will need to be handled by upstream directly, once a fix is accepted, we will apply it downstream if possible