Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a dead cpu [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Sun Sep 07, 2003 4:27 pm    Post subject: a dead cpu [SOLVED] Reply with quote

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
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Sep 08, 2003 1:22 am    Post subject: Reply with quote

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
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Mon Sep 08, 2003 8:15 am    Post subject: Reply with quote

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 8O . 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
View user's profile Send private message
Minos
Apprentice
Apprentice


Joined: 09 May 2003
Posts: 177

PostPosted: Mon Sep 08, 2003 5:09 pm    Post subject: Reply with quote

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 :oops:
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Sep 08, 2003 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Wed Sep 10, 2003 8:08 pm    Post subject: Reply with quote

Hi all.

I've discovered my problem.
The prg not the CPU :oops: :oops: :oops: :oops: :oops: :oops:
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum