View previous topic :: View next topic |
Author |
Message |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Sun Sep 07, 2003 4:27 pm Post subject: a dead cpu [SOLVED] |
|
|
Hi all.
Today is a bad day for me.
I've dicovered that on my dual celeron mobo one cpu is not working at all.
I've tryed to switch the cpu's and both seem to work well.
Also /proc/cpuinfo tells me everything cpu 0 & 1 but I don't know how to make it work.
Can you help me. Please.
One thing I've noticed (when I was tryng to recompile the kernel) is the following.
Code: | tv linux # make -j3 mrproper
rm -f arch/i386/vmlinux.lds
make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r6/arch/i386/boot'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
rm -f tools/build |
At the moment I'm using gcc-3.2.3-r1 and make-3.80.
If you need something els to know in order to help me, just ask.
Thanks.
Leo
Last edited by leon_73 on Wed Sep 10, 2003 8:09 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BradN Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_observer.gif)
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Mon Sep 08, 2003 1:22 am Post subject: |
|
|
How exactly do you know that both aren't being used? if /proc/cpuinfo shows both and you enabled SMP in the kernel, it should be using both. There might be a problem with make not wanting to use -j3 but I think that's a problem with make not with your CPU support. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Mon Sep 08, 2003 8:15 am Post subject: |
|
|
BradN wrote: | How exactly do you know that both aren't being used? if /proc/cpuinfo shows both and you enabled SMP in the kernel, it should be using both. There might be a problem with make not wanting to use -j3 but I think that's a problem with make not with your CPU support. |
I see that only one is used, in a M$ way . I use ksim app, and it shows that only cpu 0 is working...
The stange thing is that if I use a Knoppix, just to test, everything seems to work ok...
any other idea?
Leo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Minos Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7127211443f2efb2808fa0.png)
Joined: 09 May 2003 Posts: 177
|
Posted: Mon Sep 08, 2003 5:09 pm Post subject: |
|
|
I don't think mrproper supports parallelization, as it doesn't compile anything. Better to just do "make mrproper".
To test a real parallel make, use "make -j3 bzImage" instead. Another tip: Don't "make -j3 modules modules_install". It tries to install modules before they're built ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BradN Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_observer.gif)
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Mon Sep 08, 2003 8:06 pm Post subject: |
|
|
That explains make not liking -j3 there. Now as for why one cpu would never be utilized, I have no idea.
You might try using a different kernel source tree... ac-sources or vanilla-sources, etc.
Maybe for a second opinion on whether both CPU's are being used, you could try running top. I don't remember exactly how it displays multiple CPU's, but it should be easy to see if both are being used (if the usage can swing between 0% idle and ~100% under heavy load then it should be good). If it shows stats per cpu, even better. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Wed Sep 10, 2003 8:08 pm Post subject: |
|
|
Hi all.
I've discovered my problem.
The prg not the CPU
I've tried to use ksysguard and everything is ok. But if I use ksim the activity of the second cpU is not showed
Anyway thaks to all
Leo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|