Re: [gentoo-user] Re: nvidia and i/o problem

2010-11-26 Thread Zhu Sha Zang
Em 25-11-2010 19:14, walt escreveu:
 On 11/25/2010 06:55 AM, Zhu Sha Zang wrote:
  ...
 i try to compile some nice software like chromium, pyside or
 openoffice my
  system freeze. I can't do anything like use keyboard, mouse or
 switch betwenn
  windows. How can i find the motive to this strange (???)

 Does the freeze always happen in the same place while compiling those
 packages?

 If not, I would suspect hardware problems, e.g. overheating due to
 poor ventilation
 of the CPU, or memory chips that are going bad.

 When I have random malfunctions like you describe, I open the computer
 case and spray
 the dust off of everything using compressed air.  If that doesn't fix
 the problem I
 run memtest86 overnight to find failing memory chips.

 One of those two steps usually fixes the problem for me.

 Also, you could rule out bugs in the nvidia driver by trying to
 compile chromium
 or openoffice from a console terminal (i.e. while X is not running).



I run the compilation without X, and try to acces over ssh. I can enter
in machine, but so slowly.

The system become unresponsive. If I stay the compilation process end, i
can use the system again.

Normally, i've compiled this sources into the night, when off from work.

This machine are new and of course i've tested and don't think that a
hardware problem. But i'll check this more deeper.

Att


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: nvidia and i/o problem

2010-11-26 Thread Dale

Zhu Sha Zang wrote:
I run the compilation without X, and try to acces over ssh. I can 
enter in machine, but so slowly.


The system become unresponsive. If I stay the compilation process end, 
i can use the system again.


Normally, i've compiled this sources into the night, when off from work.

This machine are new and of course i've tested and don't think that a 
hardware problem. But i'll check this more deeper.


Att



I forgot to mention this in my other post.  Do you have this in your 
make.conf:


PORTAGE_NICENESS=5
PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}

I think you have to enable ionice in the kernel for it to work.

Hope that helps.

Dale

:-)  :-)


[gentoo-user] Re: nvidia and i/o problem

2010-11-26 Thread walt

On 11/26/2010 09:50 AM, Zhu Sha Zang wrote:


I run the compilation without X, and try to acces over ssh. I can enter in 
machine, but so slowly.

The system become unresponsive. If I stay the compilation process end, i can 
use the system again.


Okay, that's not a 'freeze' (as I normally use that word), the machine is just
too busy to listen to you. (Like a boy who is busy playing a computer game won't
listen to his parents :)

The same thing happens to me whenever I compile firefox, for example, because
memory fills up at one point and the machine starts swapping to disk.  When
the machine starts swapping to disk, I can't use the machine at all for about
five minutes until the swapping finally stops.

You could (for example) run vmstat 1 in a second ssh session on the slow
machine to see if it runs out of memory during compilation.




[gentoo-user] Re: nvidia and i/o problem

2010-11-25 Thread walt

On 11/25/2010 06:55 AM, Zhu Sha Zang wrote:
 ...

i try to compile some nice software like chromium, pyside or openoffice my

 system freeze. I can't do anything like use keyboard, mouse or switch 
betwenn
 windows. How can i find the motive to this strange (???)

Does the freeze always happen in the same place while compiling those packages?

If not, I would suspect hardware problems, e.g. overheating due to poor 
ventilation
of the CPU, or memory chips that are going bad.

When I have random malfunctions like you describe, I open the computer case and 
spray
the dust off of everything using compressed air.  If that doesn't fix the 
problem I
run memtest86 overnight to find failing memory chips.

One of those two steps usually fixes the problem for me.

Also, you could rule out bugs in the nvidia driver by trying to compile chromium
or openoffice from a console terminal (i.e. while X is not running).