[gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
Hi all,

Maybe someone here has seen this before:

amd64
2.6.26-gentoo
KDE-4.1
nVidia 8600M GT
nvidia-drivers-177.13 (latest unstable)
nvidia OpenGL
xorg-server-1.4.99.906

Yes, it's bleeding-edge :-) This is in an effort to get some 
performance out 
of what should be a very decent video card. It also eats 
babies, or more often 
the window decorations on konsole.

About once a day I find my konsole is no longer decorated, and 
I can't get 
kwin to put them back. I could close and open konsole but 
that's a hassle and 
involves re-doing the umpteen sessions I always have open. I 
tried kwin --
replace but that crashes KDE and/or X (not sure which)

Is there an easy way to get kwin-4.1 to redecorate a single 
open window?

-- 
alan dot mckinnon at gmail dot com  




[gentoo-user] Re: kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Nikos Chantziaras

Alan McKinnon wrote:

Hi all,
Yes, it's bleeding-edge :-) This is in an effort to get some 
performance out 
of what should be a very decent video card. It also eats 
babies, or more often 
the window decorations on konsole.


I've had a similar issue (similar in that it was not exclusive to 
konsole) and tracked it down to having the KDE_IS_PRELINKED env var set 
while KDE was actually *not* prelinked.  So check if that's the case on 
your system.


PS:
Give Yakuake a try; it doesn't even need a decorator.  I only recently 
discovered it and after using it for a few minutes I even went as far as 
trying to unmerge Konsole ;)





Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Dirk Uys
On Fri, Aug 15, 2008 at 8:45 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 Hi all,

 Maybe someone here has seen this before:

 amd64
 2.6.26-gentoo
 KDE-4.1
 nVidia 8600M GT
 nvidia-drivers-177.13 (latest unstable)
 nvidia OpenGL
 xorg-server-1.4.99.906

 Yes, it's bleeding-edge :-) This is in an effort to get some
 performance out
 of what should be a very decent video card. It also eats
 babies, or more often
 the window decorations on konsole.

 About once a day I find my konsole is no longer decorated, and
 I can't get
 kwin to put them back. I could close and open konsole but
 that's a hassle and
 involves re-doing the umpteen sessions I always have open. I
 tried kwin --
 replace but that crashes KDE and/or X (not sure which)

 Is there an easy way to get kwin-4.1 to redecorate a single
 open window?

 --
 alan dot mckinnon at gmail dot com


I don't know about the bug, but screen can safe you the hassle of
having to open all your sessions again?



Re: [gentoo-user] Re: kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 09:10:40 Nikos Chantziaras wrote:
 Alan McKinnon wrote:
  Hi all,
  Yes, it's bleeding-edge :-) This is in an effort to get some
  performance out
  of what should be a very decent video card. It also eats
  babies, or more often
  the window decorations on konsole.

 I've had a similar issue (similar in that it was not exclusive to
 konsole) and tracked it down to having the KDE_IS_PRELINKED env var set
 while KDE was actually *not* prelinked.  So check if that's the case on
 your system.

Not the case here. Not even I would dare try prelink KDE4 just yet :-)

 PS:
 Give Yakuake a try; it doesn't even need a decorator.  I only recently
 discovered it and after using it for a few minutes I even went as far as
 trying to unmerge Konsole ;)

I know about Yakuake, exceptionally nice console. I used it for a while, but 
found it interferes with my custom toolbar that drops down from the top edge. 
Maybe I should just try it again, I see there's a version 4 in the overlay 
these days

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 09:12:06 Dirk Uys wrote:

 I don't know about the bug, but screen can safe you the hassle of
 having to open all your sessions again?

Screen is indeed god's gift to sysadmins, it's almost as useful as bash :-)
I do use it a lot, and for more and better reasons than just recovering from 
terminal crashes, but I'd still have the hassle of ssh'ing into all those 
machines all over again.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Dirk Uys
On Fri, Aug 15, 2008 at 9:22 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Friday 15 August 2008 09:12:06 Dirk Uys wrote:

 I don't know about the bug, but screen can safe you the hassle of
 having to open all your sessions again?

 Screen is indeed god's gift to sysadmins, it's almost as useful as bash :-)
 I do use it a lot, and for more and better reasons than just recovering from
 terminal crashes, but I'd still have the hassle of ssh'ing into all those
 machines all over again.


But you can open a screen session on your client pc in konsole and ssh
from different screen sessions? Screen - ssh - screen ? Dunno? This
is just me waffling a bit, the desire to speak up and having something
to say is not always the same thing I guess?

Regards
Dirk



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 09:29:42 Dirk Uys wrote:
 On Fri, Aug 15, 2008 at 9:22 AM, Alan McKinnon [EMAIL PROTECTED] 
wrote:
  On Friday 15 August 2008 09:12:06 Dirk Uys wrote:
  I don't know about the bug, but screen can safe you the hassle of
  having to open all your sessions again?
 
  Screen is indeed god's gift to sysadmins, it's almost as useful as bash
  :-) I do use it a lot, and for more and better reasons than just
  recovering from terminal crashes, but I'd still have the hassle of
  ssh'ing into all those machines all over again.

 But you can open a screen session on your client pc in konsole and ssh
 from different screen sessions? Screen - ssh - screen ? Dunno? This
 is just me waffling a bit, the desire to speak up and having something
 to say is not always the same thing I guess?

I could do that, but there's a security implication involved. Those sessions 
are root sessions on some very important machines and I want a little more 
security between @ARB_BAD_GUY and those hosts than just Unix file permissions 
on my notebook :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Freitag, 15. August 2008, Alan McKinnon wrote:
 Hi all,

 Maybe someone here has seen this before:

 amd64
 2.6.26-gentoo
 KDE-4.1
 nVidia 8600M GT
 nvidia-drivers-177.13 (latest unstable)
 nvidia OpenGL
 xorg-server-1.4.99.906

any reason why you use an unreleased X? There are no new features or 
improvements. And KDE works fine with 1.4 release.



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 10:26:39 Volker Armin Hemmann wrote:
 On Freitag, 15. August 2008, Alan McKinnon wrote:
  Hi all,
 
  Maybe someone here has seen this before:
 
  amd64
  2.6.26-gentoo
  KDE-4.1
  nVidia 8600M GT
  nvidia-drivers-177.13 (latest unstable)
  nvidia OpenGL
  xorg-server-1.4.99.906

 any reason why you use an unreleased X? There are no new features or
 improvements. And KDE works fine with 1.4 release.

Obviously you are not one of the unfortunate misfits who was stupid enough to 
buy a new notebook with a nVidia 8 or 9 series card :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Freitag, 15. August 2008, Alan McKinnon wrote:
 On Friday 15 August 2008 10:26:39 Volker Armin Hemmann wrote:
  On Freitag, 15. August 2008, Alan McKinnon wrote:
   Hi all,
  
   Maybe someone here has seen this before:
  
   amd64
   2.6.26-gentoo
   KDE-4.1
   nVidia 8600M GT
   nvidia-drivers-177.13 (latest unstable)
   nvidia OpenGL
   xorg-server-1.4.99.906
 
  any reason why you use an unreleased X? There are no new features or
  improvements. And KDE works fine with 1.4 release.

 Obviously you are not one of the unfortunate misfits who was stupid enough
 to buy a new notebook with a nVidia 8 or 9 series card :-)

no, but I owned a 8600GT which works fine with current stable X and 
stable/unstable nvidia drivers.

Why should a prerelease X be needed at all?




Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread b.n.

Alan McKinnon ha scritto:

On Friday 15 August 2008 10:26:39 Volker Armin Hemmann wrote:

On Freitag, 15. August 2008, Alan McKinnon wrote:

Hi all,

Maybe someone here has seen this before:

amd64
2.6.26-gentoo
KDE-4.1
nVidia 8600M GT
nvidia-drivers-177.13 (latest unstable)
nvidia OpenGL
xorg-server-1.4.99.906

any reason why you use an unreleased X? There are no new features or
improvements. And KDE works fine with 1.4 release.


Obviously you are not one of the unfortunate misfits who was stupid enough to 
buy a new notebook with a nVidia 8 or 9 series card :-)




This is the second thread in a few days that reports problems with 
nVidia cards.


Owning a 3rd generation Macbook Pro (nVidia Geforce 8600M GT) with 
Gentoo on, I'm a bit worried. I never noticed significant problems on 
that machine, but I would like to be aware of what's going on.


Is there some link explaining what problems there are with such nVidia 
cards?


m.



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 11:51:14 Volker Armin Hemmann wrote:
 On Freitag, 15. August 2008, Alan McKinnon wrote:
  On Friday 15 August 2008 10:26:39 Volker Armin Hemmann wrote:

   any reason why you use an unreleased X? There are no new features or
   improvements. And KDE works fine with 1.4 release.
 
  Obviously you are not one of the unfortunate misfits who was stupid
  enough to buy a new notebook with a nVidia 8 or 9 series card :-)

 no, but I owned a 8600GT which works fine with current stable X and
 stable/unstable nvidia drivers.

 Why should a prerelease X be needed at all?

The 8600GT most certainly does not work fine on anything using 2D. Especially 
not KDE-4. 

12 seconds to render a translucent menu is unacceptable, so I use the a beta X 
to get improved EXA. It is better than latest release, but the gui system as a 
whole is now less stable.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 12:49:26 b.n. wrote:
 Alan McKinnon ha scritto:

 This is the second thread in a few days that reports problems with
 nVidia cards.

 Owning a 3rd generation Macbook Pro (nVidia Geforce 8600M GT) with
 Gentoo on, I'm a bit worried. I never noticed significant problems on
 that machine, but I would like to be aware of what's going on.

 Is there some link explaining what problems there are with such nVidia
 cards?

 m.

Here you go, all 26 pages of it:

http://www.nvnews.net/vbulletin/showthread.php?t=115916

Then there's also the issue of the GPU silicon failing in shocking numbers. 
More details on The Register and Slashdot. Apparently ALL 8 and 9 series GPUs 
are affected and it's hitting ALL vendors. It's related to the manufacture of 
those chips and they are failing in alarming numbers under thermal load.

It's sad actually. This has a very high potential to sink nVidia completely.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Freitag, 15. August 2008, Alan McKinnon wrote:
 On Friday 15 August 2008 11:51:14 Volker Armin Hemmann wrote:
  On Freitag, 15. August 2008, Alan McKinnon wrote:
   On Friday 15 August 2008 10:26:39 Volker Armin Hemmann wrote:
any reason why you use an unreleased X? There are no new features or
improvements. And KDE works fine with 1.4 release.
  
   Obviously you are not one of the unfortunate misfits who was stupid
   enough to buy a new notebook with a nVidia 8 or 9 series card :-)
 
  no, but I owned a 8600GT which works fine with current stable X and
  stable/unstable nvidia drivers.
 
  Why should a prerelease X be needed at all?

 The 8600GT most certainly does not work fine on anything using 2D.
 Especially not KDE-4.

 12 seconds to render a translucent menu is unacceptable, so I use the a
 beta X to get improved EXA. It is better than latest release, but the gui
 system as a whole is now less stable.

and because of that I sold the 8600GT and bought a HD3870.

BUT: nvidia does almost everything in its driver - it replaces most of X 
functions. So you don't win anything by using an unstable X.





Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread b.n.

Alan McKinnon ha scritto:

On Friday 15 August 2008 12:49:26 b.n. wrote:

Alan McKinnon ha scritto:



This is the second thread in a few days that reports problems with
nVidia cards.

Owning a 3rd generation Macbook Pro (nVidia Geforce 8600M GT) with
Gentoo on, I'm a bit worried. I never noticed significant problems on
that machine, but I would like to be aware of what's going on.

Is there some link explaining what problems there are with such nVidia
cards?

m.


Here you go, all 26 pages of it:

http://www.nvnews.net/vbulletin/showthread.php?t=115916

Then there's also the issue of the GPU silicon failing in shocking numbers. 
More details on The Register and Slashdot. Apparently ALL 8 and 9 series GPUs 
are affected and it's hitting ALL vendors. It's related to the manufacture of 
those chips and they are failing in alarming numbers under thermal load.


It's sad actually. This has a very high potential to sink nVidia completely.


Oh s**t. Thank you. Go figure I bought that MBP last year also because 
of its nVidia card...


:(

m.





Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Freitag, 15. August 2008, Alan McKinnon wrote:
 On Friday 15 August 2008 12:49:26 b.n. wrote:
  Alan McKinnon ha scritto:
 
  This is the second thread in a few days that reports problems with
  nVidia cards.
 
  Owning a 3rd generation Macbook Pro (nVidia Geforce 8600M GT) with
  Gentoo on, I'm a bit worried. I never noticed significant problems on
  that machine, but I would like to be aware of what's going on.
 
  Is there some link explaining what problems there are with such nVidia
  cards?
 
  m.

 Here you go, all 26 pages of it:

 http://www.nvnews.net/vbulletin/showthread.php?t=115916

 Then there's also the issue of the GPU silicon failing in shocking numbers.
 More details on The Register and Slashdot. Apparently ALL 8 and 9 series
 GPUs are affected and it's hitting ALL vendors. It's related to the
 manufacture of those chips and they are failing in alarming numbers under
 thermal load.

 It's sad actually. This has a very high potential to sink nVidia
 completely.

the inquirer has a long article series about the failing gpu problem.

In short: all 8XXX chips are bad. Because of the thermal environment laptops 
are on a different place of the bell curve than desktops. Laptops with nvidia 
graphic are failing left and right. Whole series of HP, Dell, Asus, laptops 
are walking ghosts. Desktops might be in the mess soon too.

http://www.theinquirer.net/gb/inquirer/news/2008/08/13/nvidia-posts-121-
million-loss

http://www.theinquirer.net/gb/inquirer/news/2008/08/12/nvidia-g92s-g94-
reportedly

http://www.theinquirer.net/gb/inquirer/news/2008/07/31/hp-pays-half-nvidia-
problems

http://www.theinquirer.net/gb/inquirer/news/2008/07/07/nvidia-meltdown-blame-
game

http://www.theinquirer.net/gb/inquirer/news/2008/07/09/nvidia-g84-g86-bad

http://www.theinquirer.net/gb/inquirer/news/2008/07/27/dell-models-defective-
nvidia

that their drivers for the 8XXX and 9XXX series suck (on win and lin) is only 
one of their problems.





Re: [gentoo-user] Cleaning out my world file

2008-08-15 Thread Dale

Dale wrote:

Hi,

I was wondering if their is a easy way to clean out the cruft in my 
world file?  Is their a script?  I tried saving a cope then running 
regenworld but that didn't do much.  Maybe it is old and out of date?


The reason why I want to do this?  Well, sometimes I forget to use the 
-1 option when working on getting a dependency to install.  It adds up 
after a while.


Ideas?

Dale

:-)  :-)




Somewhat still on the same subject since I am still cleaning.  Anyway to 
clean out unneeded files in /etc?  I'm thinking about files that may be 
there but the programs are no longer installed.  I read the man page for 
dep but didn't see anything.  Dang thing does a lot tho.


Thanks

Dale

:-)  :-)



Re: [gentoo-user] Cleaning out my world file

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 14:36:58 Dale wrote:

 Somewhat still on the same subject since I am still cleaning.  Anyway to
 clean out unneeded files in /etc?  I'm thinking about files that may be
 there but the programs are no longer installed.  I read the man page for
 dep but didn't see anything.  Dang thing does a lot tho.

You could use the very long way round, something based on this:

find /etc/ -type f -exec equery belongs {} \;

then leave it alone for an hour or three


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 14:19:14 b.n. wrote:
 Oh s**t. Thank you. Go figure I bought that MBP last year also because
 of its nVidia card...

I feel your pain, I'm in exactly the same position. I specifically bought this 
laptop because of the nVidia card and my bad experiences with ATI binary 
drivers in the past. Guess I should have done a little more up-to-date 
research...

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Alan McKinnon
On Friday 15 August 2008 14:14:16 Volker Armin Hemmann wrote:
 that their drivers for the 8XXX and 9XXX series suck (on win and lin) is
 only one of their problems.

I wasn't aware that there was a problem with the windows drivers.

I thought the suckiness on linux came mostly from the X architecture together 
with nVidia's approach of window rendering done inhardware and redirected 
resizes done in software - the opposite approach to most other driver authors. 
Turns out that composite resizing is done a whole lot more often than was 
beleived. Plus, the X architecture is not conducive to the hardware 
calculations always being done in hardware, resulting in frequent fallbacks to 
software methods, which slows down the content rendering - the very thing that 
was supposed to be blazingly fast.

Oddly enough, 3D is very very snappy. It's the 2D stuff that cripples the 
performance, and on a desktop, 2D is exactly what you want.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Cleaning out my world file

2008-08-15 Thread Dale

Alan McKinnon wrote:

On Friday 15 August 2008 14:36:58 Dale wrote:

  

Somewhat still on the same subject since I am still cleaning.  Anyway to
clean out unneeded files in /etc?  I'm thinking about files that may be
there but the programs are no longer installed.  I read the man page for
dep but didn't see anything.  Dang thing does a lot tho.



You could use the very long way round, something based on this:

find /etc/ -type f -exec equery belongs {} \;

then leave it alone for an hour or three

  


H, I had to stop that after a few minutes.  It sort of took away 
from my folding.  Pushed my CPU to about 80% or so. 

There has to be a tool for this too.  Gentoo has about everything else.  
:/ 


Dale

:-)  :-) 



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Freitag, 15. August 2008, Alan McKinnon wrote:

 Oddly enough, 3D is very very snappy. It's the 2D stuff that cripples the
 performance, and on a desktop, 2D is exactly what you want.

AFAIK the problem is that the 8XXX series doesn't really have 2d hardware 
anymore - everything is done in the 3d part - and the drivers to support that 
are harder to write than anticipated.





[gentoo-user] 20 Minutos para talvez mudar uma vida

2008-08-15 Thread Marco Antônio da Veiga
http://video.google.com/videoplay?docid=-3412294239230716755hl=en


Re: [gentoo-user] Cleaning out my world file

2008-08-15 Thread Albert Hopkins
On Fri, 2008-08-15 at 08:38 -0500, Dale wrote:
 Alan McKinnon wrote:
  On Friday 15 August 2008 14:36:58 Dale wrote:
 

  Somewhat still on the same subject since I am still cleaning.  Anyway to
  clean out unneeded files in /etc?  I'm thinking about files that may be
  there but the programs are no longer installed.  I read the man page for
  dep but didn't see anything.  Dang thing does a lot tho.
  
 
  You could use the very long way round, something based on this:
 
  find /etc/ -type f -exec equery belongs {} \;
 
  then leave it alone for an hour or three
 

 
 H, I had to stop that after a few minutes.  It sort of took away 
 from my folding.  Pushed my CPU to about 80% or so. 
 
 There has to be a tool for this too.  Gentoo has about everything else.  

I do a similar thing every month as a cron job.  It' runs at night so I
just get an email the next day.

--
#!/bin/bash

# Print out orphan files in specified directories

find /etc -xdev -type f -print|xargs qfile -o
find /usr -xdev \( -path /usr/src -prune \) -o -type f -not -name
'*.pyc' \
-not -name '*.pyo' -not -name .keep  -print | \
xargs qfile -o
find /lib -xdev \( -path /lib/modules -prune \) -o -type f |xargs qfile
-o






Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Roy Wright
Volker Armin Hemmann wrote:
 On Freitag, 15. August 2008, Alan McKinnon wrote:
 Oddly enough, 3D is very very snappy. It's the 2D stuff that cripples the
 performance, and on a desktop, 2D is exactly what you want.
 
 AFAIK the problem is that the 8XXX series doesn't really have 2d hardware 
 anymore - everything is done in the 3d part - and the drivers to support that 
 are harder to write than anticipated.
 

I'm running two boxes, gentoo (~x86 OC-3GHz Q9300) and a kubuntu (0804
Q6600), each with 8600GTS and KDE 3.5.9.  Desktop performance (3840x1200
and 1920x1200) is fine.  I'm hoping that KDE4.x doesn't hit ~x86 until
the nvidia drivers are fixed, otherwise I'll be in the market for new GPUs.

Also I recently replaced a blown eVGA 7600GT (5 caps popped) in my
LinuxMCE system with a 9800GT.  This system mainly uses libxine for
playing ripped DVDs with upscaling to 1080p.  So far (only viewed 3
movies) performance is looking good.




Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread b.n.

Volker Armin Hemmann ha scritto:
In short: all 8XXX chips are bad. Because of the thermal environment laptops 
are on a different place of the bell curve than desktops. Laptops with nvidia 
graphic are failing left and right. Whole series of HP, Dell, Asus, laptops 
are walking ghosts. Desktops might be in the mess soon too.


Just to know: what to do when your laptop graphic card fries? I don't 
think I can just take it out of a socket and change it.


m.



Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated

2008-08-15 Thread Volker Armin Hemmann
On Samstag, 16. August 2008, b.n. wrote:
 Volker Armin Hemmann ha scritto:
  In short: all 8XXX chips are bad. Because of the thermal environment
  laptops are on a different place of the bell curve than desktops. Laptops
  with nvidia graphic are failing left and right. Whole series of HP, Dell,
  Asus, laptops are walking ghosts. Desktops might be in the mess soon too.

 Just to know: what to do when your laptop graphic card fries? I don't
 think I can just take it out of a socket and change it.

 m.

if you are lucky, Dell or Hp or whoever replaces the Mobo or the whole laptop 
(lucky = in the warranty period) if you are not lucky you are screwed. Maybe 
it is time for a big, fat lawsuit.



[gentoo-user] df and du difference

2008-08-15 Thread platoali
Hi, 

I've a strange problem with  my root partion:

 # du -hxs /
188M/


and 

# du -hx --max-dep=1 /
24M /root
4.0K/cdrom
19M /etc
76K /.nvclock
12K /media
100K/chroot
4.0K/home
4.0K/usr
1.9M/package
5.5M/bin
4.0K/windows2
125M/lib
4.0K/service
4.0K/opt
4.0K/var
4.0K/command
12M /sbin
4.0K/tmp
0   /dev
1.3M/lost+found
0   /proc
4.0K/boot
4.0K/mnt
4.0K/windows
40K /.subversion
0   /sys
4.0K/boot2
188M/


but when I run df:
df -h   
FilesystemSize  Used Avail Use% Mounted on
/dev/sda3 2.0G  640M  1.3G  35% /
.



the difference between du and df is about 640 - 188 = 452 MB. and df is 
showing  that my root is full  2.4 times more than du.

which one is the correct one? I've another server that this difference is 
about 7 GiG and on that server root is 80% full.  The type of partition is 
ext3.

Do others have this kind of inconsistancy on their systems?

Best regards
Platoali