Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-12-08 Thread George Tellalov
Package: kdelibs-bin
Version: 4:3.4.2-4
Followup-For: Bug #33


I have noticed the same problem - flashing of the hdd led (approx. 3
times/sec). I traced it down to kded. I used strace on kded and found
the reason to be the following:
strace -f -e trace=open,close,read,write kded
[cut]
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
[pid 29040] open(/dev/dvd, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 16
[pid 29040] close(16)   = 0
Process 29040 detached
Process 29027 detached

You get the idea. It's trying to open the dvd device all the time. If I
comment the /dev/dvd line in the fstab it starts without a problem. Here
is my fstab line:
/dev/dvd/cdrom  autouser,noauto,ro,utf8

I think the bug should be reassigned to kdelibs-bin as kded is there.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=bg_BG, LC_CTYPE=bg_BG (charmap=CP1251)

Versions of packages kdelibs-bin depends on:
ii  kdelibs4c24:3.4.2-4  core libraries for all KDE applica
ii  libart-2.0-2  2.3.17-1   Library of functions for 2D graphi
ii  libaudio2 1.7-3  The Network Audio System (NAS). (s
ii  libbz2-1.01.0.2-11   high-quality block-sorting file co
ii  libc6 2.3.5-8GNU C Library: Shared libraries an
ii  libcupsys21.1.23-12  Common UNIX Printing System(tm) - 
ii  libfontconfig12.3.2-1generic font configuration library
ii  libfreetype6  2.1.7-2.4  FreeType 2 font engine, shared lib
ii  libgcc1   1:4.0.2-2  GCC support library
ii  libice6   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libidn11  0.5.18-1   GNU libidn library, implementation
ii  libjpeg62 6b-10  The Independent JPEG Group's JPEG 
ii  libpng12-01.2.8rel-5 PNG library - runtime
ii  libqt3-mt 3:3.3.5-1  Qt GUI Library (Threaded runtime v
ii  libsm66.8.2.dfsg.1-7 X Window System Session Management
ii  libstdc++64.0.2-2The GNU Standard C++ Library v3
ii  libx11-6  6.8.2.dfsg.1-7 X Window System protocol client li
ii  libxcursor1   1.1.3-1X cursor management library
ii  libxext6  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxft2   2.1.7-1FreeType-based font drawing librar
ii  libxi66.8.2.dfsg.1-7 X Window System Input extension li
ii  libxinerama1  6.8.2.dfsg.1-7 X Window System multi-head display
ii  libxml2   2.6.22-2   GNOME XML library
ii  libxrandr26.8.2.dfsg.1-7 X Window System Resize, Rotate and
ii  libxrender1   1:0.9.0-2  X Rendering Extension client libra
ii  libxslt1.11.1.15-1   XSLT processing library - runtime 
ii  libxt66.8.2.dfsg.1-7 X Toolkit Intrinsics
ii  menu-xdg  0.2.1  freedesktop.org menu compliant win
ii  netpbm2:10.0-10  Graphics conversion tools
ii  perl  5.8.7-7Larry Wall's Practical Extraction 
ii  python2.3.5-3An interactive high-level object-o
ii  xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii  zlib1g1:1.2.3-8  compression library - runtime

Versions of packages kdelibs-bin recommends:
ii  perl-suid 5.8.7-7Runs setuid Perl scripts

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332222: SV: Re: Bug#332222: SV: Re: Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-07 Thread Anders Bergstrÿfffff6m

No such problem so it is maybe a 3.4 issue.

--- Christopher Martin
[EMAIL PROTECTED] skrev:
 OK, could you rebuild your kdelibs 3.5 beta with
 --enable-dnotify, and then 
 tell me if it starts to have the same problem as
 3.4.2, with or without the 
 mediamanager? Keep fam (the daemon, not the library,
 which is always 
 needed) and gamin uninstalled.
 
 Thanks,
 Christopher Martin
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332222: SV: Re: Bug#332222: SV: Re: Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-07 Thread Christopher Martin
On October 7, 2005 08:59, Anders Bergstrÿf6m wrote:
 No such problem so it is maybe a 3.4 issue.

 --- Christopher Martin

 [EMAIL PROTECTED] skrev:
  OK, could you rebuild your kdelibs 3.5 beta with
  --enable-dnotify, and then tell me if it starts to have the same problem
  as 3.4.2, with or without the mediamanager? Keep fam (the daemon, not
  the library, which is always needed) and gamin uninstalled.

Glad to hear it. Let us know if the KDE 3.5.0 release does not solve the 
issue, when packages are uploaded a few months from now.

Thanks,
Christopher Martin



Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Anders Bergström
Package: kdelibs4c2
Version: 4:3.4.2-4
Severity: normal

My harddrive constantly flashes after starting KDE. I suspect KDirWatch is 
polling. This does not happen with my self-compiled 3.5 beta. I've tried both 
gamin and libfam but it has not helped.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-abk7
Locale: LANG=sv_SE, LC_CTYPE=sv_SE (charmap=ISO-8859-1)

Versions of packages kdelibs4c2 depends on:
ii  kdelibs-bin   4:3.4.2-4  core binaries for all KDE applicat
ii  kdelibs-data  4:3.4.2-4  core shared data for all KDE appli
ii  libart-2.0-2  2.3.17-1   Library of functions for 2D graphi
ii  libarts1c21.4.2-4aRts sound system core components
ii  libasound21.0.9-3ALSA library
ii  libaspell15   0.60.3-5   GNU Aspell spell-checker runtime l
ii  libbz2-1.01.0.2-10   high-quality block-sorting file co
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libcomerr21.38-2 common error description library
ii  libcupsys21.1.23-12  Common UNIX Printing System(tm) - 
ii  libgamin0 [libfam0]   0.1.5-2Client library for the gamin file 
ii  libgcc1   1:4.0.2-2  GCC support library
ii  libice6   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libidn11  0.5.18-1   GNU libidn library, implementation
ii  libjasper-1.701-1 1.701.0-2  The JasPer JPEG-2000 runtime libra
ii  libjpeg62 6b-10  The Independent JPEG Group's JPEG 
ii  libkrb53  1.3.6-5MIT Kerberos runtime libraries
ii  libopenexr2c2 1.2.2-4runtime files for the OpenEXR imag
ii  libpcre3  6.3-1  Perl 5 Compatible Regular Expressi
ii  libpng12-01.2.8rel-4 PNG library - runtime
ii  libqt3-mt 3:3.3.5-1  Qt GUI Library (Threaded runtime v
ii  libsm66.8.2.dfsg.1-7 X Window System Session Management
ii  libstdc++64.0.2-2The GNU Standard C++ Library v3
ii  libtiff4  3.7.3-1Tag Image File Format (TIFF) libra
ii  libx11-6  6.8.2.dfsg.1-7 X Window System protocol client li
ii  libxext6  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxml2   2.6.22-1   GNOME XML library
ii  libxrender1   1:0.9.0-2  X Rendering Extension client libra
ii  libxslt1.11.1.15-1   XSLT processing library - runtime 
ii  xbase-clients 6.8.2.dfsg.1-7 miscellaneous X clients
ii  xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii  zlib1g1:1.2.3-4  compression library - runtime

kdelibs4c2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Josh Metzler
On Wednesday 05 October 2005 03:11 am, Anders Bergström wrote:
 Package: kdelibs4c2
 Version: 4:3.4.2-4
 Severity: normal

 My harddrive constantly flashes after starting KDE. I suspect KDirWatch is
 polling. This does not happen with my self-compiled 3.5 beta. I've tried
 both gamin and libfam but it has not helped.

I want to confirm that I also have noticed my harddrive activity light 
constantly flashing since upgrading to kde 3.4.  It did not do so with kde 
3.3.2.

Josh



Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Christopher Martin
On October 5, 2005 08:19, Josh Metzler wrote:
 On Wednesday 05 October 2005 03:11 am, Anders Bergström wrote:
  Package: kdelibs4c2
  Version: 4:3.4.2-4
  Severity: normal
 
  My harddrive constantly flashes after starting KDE. I suspect KDirWatch
  is polling. This does not happen with my self-compiled 3.5 beta. I've
  tried both gamin and libfam but it has not helped.

 I want to confirm that I also have noticed my harddrive activity light
 constantly flashing since upgrading to kde 3.4.  It did not do so with
 kde 3.3.2.

I can't confirm this on my system, oddly enough. In theory, KDE should use 
famd/gamin if installed, and if not dnotify, and if that isn't available 
polling. What does removing both the gamin and fam (not libfam) packages, 
then restarting, accomplish? I don't suppose trying the latest 2.6.12 
kernel would make a difference? Also worth trying would be stopping the 
KDED Media Manager, in the Control Centre's Service Manager (though it is 
for removable media...).

Cheers,
Christopher Martin


pgpkzNNCgFAMd.pgp
Description: PGP signature


Bug#332222: SV: Re: Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Anders Bergstrÿfffff6m

--- Christopher Martin
[EMAIL PROTECTED] skrev:

 On October 5, 2005 08:19, Josh Metzler wrote:
  On Wednesday 05 October 2005 03:11 am, Anders
 Bergström wrote:
   Package: kdelibs4c2
   Version: 4:3.4.2-4
   Severity: normal
  
   My harddrive constantly flashes after starting
 KDE. I suspect KDirWatch
   is polling. This does not happen with my
 self-compiled 3.5 beta. I've
   tried both gamin and libfam but it has not
 helped.
 
  I want to confirm that I also have noticed my
 harddrive activity light
  constantly flashing since upgrading to kde 3.4. 
 It did not do so with
  kde 3.3.2.
 
 I can't confirm this on my system, oddly enough. In
 theory, KDE should use 
 famd/gamin if installed, and if not dnotify, and if
 that isn't available 
 polling. What does removing both the gamin and fam
 (not libfam) packages, 
 then restarting, accomplish? I don't suppose trying
 the latest 2.6.12 
 kernel would make a difference? Also worth trying
 would be stopping the 
 KDED Media Manager, in the Control Centre's Service
 Manager (though it is 
 for removable media...).
 
 Cheers,
 Christopher Martin
 

The flashing of the harddrive went away when I
disabled the mediamanager. So that seems to be the
problem. 

When I only have libfam0 installed my selfcompiled 3.5
says its polling and with fam installed it uses fam.
What happens in the 3.4.2 installation I don't know
since there is no debug output.

Anders


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332222: SV: Re: Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Christopher Martin
On October 5, 2005 13:46, Anders Bergstrÿf6m wrote:
 The flashing of the harddrive went away when I disabled the mediamanager.
 So that seems to be the problem.

 When I only have libfam0 installed my selfcompiled 3.5 says its polling
 and with fam installed it uses fam. What happens in the 3.4.2 installation
 I don't know since there is no debug output.

OK, could you rebuild your kdelibs 3.5 beta with --enable-dnotify, and then 
tell me if it starts to have the same problem as 3.4.2, with or without the 
mediamanager? Keep fam (the daemon, not the library, which is always 
needed) and gamin uninstalled.

Thanks,
Christopher Martin



Bug#332222: kdelibs4c2: kde constantly polls my harddrive

2005-10-05 Thread Josh Metzler
On Wednesday 05 October 2005 09:06 am, Christopher Martin wrote:
 On October 5, 2005 08:19, Josh Metzler wrote:
  On Wednesday 05 October 2005 03:11 am, Anders Bergström wrote:
   Package: kdelibs4c2
   Version: 4:3.4.2-4
   Severity: normal
  
   My harddrive constantly flashes after starting KDE. I suspect
   KDirWatch is polling. This does not happen with my self-compiled 3.5
   beta. I've tried both gamin and libfam but it has not helped.
 
  I want to confirm that I also have noticed my harddrive activity light
  constantly flashing since upgrading to kde 3.4.  It did not do so with
  kde 3.3.2.

 I can't confirm this on my system, oddly enough. In theory, KDE should
 use famd/gamin if installed, and if not dnotify, and if that isn't
 available polling. What does removing both the gamin and fam (not libfam)
 packages, then restarting, accomplish? I don't suppose trying the latest
 2.6.12 kernel would make a difference? Also worth trying would be
 stopping the KDED Media Manager, in the Control Centre's Service Manager
 (though it is for removable media...).

Thanks, stopping the KDED Media Manager fixed it, and as I rarely use 
removable media anyway, this is fine for me.

I don't have fam or gamin installed (just libfam0).  And, my kernel is a 
debian 2.6.9.  If I upgrade my kernel again someday, I'll try turning the 
Media Manager back on and see if it still polls the disk.

Josh