Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77356 - GNOME Network Monitor Applet steals major CPU time
Summary: GNOME Network Monitor Applet steals major CPU time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 02:13 UTC by Waldo
Modified: 2005-03-05 20:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waldo 2005-01-10 02:13:22 UTC
Here's an annoying bug--

Just emerged gnome to 2.8

When I added the "Network Monitor" applet to the panel at the top of my screen and configured it to use "eth0" (my ethernet port to the internet), I noticed the screen STUTTERING about every second or so.  Meaning it would freeze a moment then continue.  This was most obvious by running a screensaver and watching it stop momentarily.

FWIW, I also heard a sound from my computer, as if it were grinding the HD or doing SOMETHING anyway...  It took me a while to figure out the problem,but the second I removed the applet, it was gone.  WHen I added it back in, the problem returned.

I am using normal gnome 2.8 (just build), except for an "~amd64" masked Metacity, which I emerged to fix bug # 77323 .  Hope this is reproducible on other AMD machines.

emerge info--

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 avi berkdb bitmap-fonts cddb cdr crypt cups divx4linux dvd dvdr esd f77 faad fam ffmpeg flac fortran gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 java jp2 jpeg libgda libsndfile libwww lzw lzw-tiff mad matroska mozilla mp3 mpeg multilib mysql ncurses nls nvidia oggvorbis openal opengl oscar oss pam perl php png python quicktime readline sdl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb userlocales wxwindows xml2 xpm xrandr xv xvid yahoo zlib"
Comment 1 foser (RETIRED) gentoo-dev 2005-01-10 05:40:04 UTC
looks arch specific
Comment 2 Waldo 2005-02-04 19:57:23 UTC
Update:  It's more than arch specific, it's machine-specific.  The problem was apparently related to a misconfiguration of the sn95g5 XPC Shuttle's onboard gigabit ethernet.  My mobo is v1.3 FWIW.  I resolved the problem by patching the sk98lin module as described in these blog entries.

http://www.lxtreme.nl/index.pl/blog/1101900807
http://www.lxtreme.nl/index.pl/blog/1103976861
http://www.lxtreme.nl/index.pl/blog/1105288158

The patch itself is here at:

http://www.lxtreme.nl/pub/skvpd_fn95_090105.patch.gz

It patched fine against the 2.6.10 kernel.  This also fixed a bunch of eth0 errors that were appearing in the logs.

Also, to anyone else having this problem-- see discussion at:

http://www.linuxquestions.org/questions/showthread.php?s=&postid=1448954#post1448954
and
http://forums.sudhian.com/messageview.aspx?catid=43&threadid=71841&highlight_key=y&keyword1=sk98lin

I'm going to leave this as NEW because (1) I'd like some confirmation from someone else having the problem, (2) it's not really fixed in the distribution, I had to manually patch it, and (3) there may be a better solution.

W
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-03-02 13:15:56 UTC
thanks for your provided solution, i'll hand it over to our kernel guys.

@kernel: will you apply the patch? i don't have a network card i could test it on, it WORKSFORME here :)
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-02 15:25:02 UTC
No. The patches to add support for these adapters to the sk98lin driver were deemed too messy and rejected. 2.6.11 includes a newer driver, "skge", which solves this properly. Please use that driver and let us know how you get on.
Comment 5 Waldo 2005-03-02 21:13:06 UTC
Okay.. Right now I'm upgrading to the 2005.0 profile.  Assuming that goes well I'll update the kernel and try out this new and exciting skge driver.  I'll report back here.

W
Comment 6 Waldo 2005-03-03 02:15:09 UTC
Looks like the skge driver comes with the -mm patches, not the regular ole gentoo-dev-sources, which is what I'm using now.  Unless someone knows of a super-easy way to emerge just those driver sources, I'm going to wait a bit-- at least til tomorrow.  FWIW, the old patch works just as well in 2.6.11.  Using the 2005.0 profile too, which I just upgraded to today!

W
Comment 7 Waldo 2005-03-04 14:16:01 UTC
I know this is kinda turning into a monologue here, but I wanted to thank whomever put together 2.6.11-r1 out.  skge was included, albiet "EXPERIMENTAL".  I installed it, recompiled, rebooted and it seems to be running fine.  (not running it as a module, threw it in the actual kernel)

See?  From dmesg:

skge eth0: enabling interface
skge eth0: Link is up at 10 Mbps, half duplex, flow control none

Seems to be working fine.  No error messages as before.  No skipping.  I ran gkrellm2, which was causing it to majorly freak-out earlier w/o the patch, and what do you know.  It works.  So as long as people using this motherboard know to use "skge" and not "sk98lin", this bug is as good as closed!  Any problems, I'll re-open, but thanks again to everyone!

W
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2005-03-04 14:32:12 UTC
Yep, thanks for pointing out that skge didn't come included with 2.6.11 - looks like it hasn't been sent to Linus just yet. You and a few other people requested it, plus it will be useful for hardware support on the 2005.0 LiveCD's, so its now included :)
Comment 9 Waldo 2005-03-05 20:38:09 UTC
Well thanks for adding it and solving my network monitoring woes!

W