View previous topic :: View next topic |
Author |
Message |
cybernet- n00b
Joined: 05 Dec 2006 Posts: 2
|
Posted: Tue Dec 05, 2006 3:21 am Post subject: Problem with SMP on 220R [SOLVED] |
|
|
Hi,
I have a sun ultraspac II 2x 450mhz
I'm using kernel 2.6.17-r8 and I've compiled the kernel with SMP support but it doesn't seem to detect the 2nd CPU.
no error compiling kernel, no error booting
uname -a
Linux 2.6.17-gentoo-r8 #3 SMP Sun Dec 3 23:29:00 EST 2006 sparc64 sun4u GNU/Linux
cat /proc/cpuinfo
cpu : TI UltraSparc II (BlackBird)
fpu : UltraSparc II integrated FPU
prom : OBP 3.23.1 1999/07/16 12:08
type : sun4u
ncpus probed : 2
ncpus active : 1
D$ parity tl1 : 0
I$ parity tl1 : 0
Cpu0Bogo : 900.44
Cpu0ClkTck : 000000001ad2e172
MMU Type : Spitfire
State:
CPU0: online
dmesg | grep -i cpu
[ 14.283685] CPU[0]: Caches D[sz(16384):line_sz(32)] I[sz(16384):line_sz(32)] E[sz(4194304):line_sz(64)]
[ 14.286336] Brought up 1 CPUs
no errors in dmesg
anyone can help?
thanks
Last edited by cybernet- on Wed Dec 06, 2006 2:12 am; edited 1 time in total |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Dec 05, 2006 11:18 am Post subject: |
|
|
You probably enabled support for just 2 CPUs in the kernel right?
Leave it at the default of 32, it's usually easier and works.
In the case of the 220R if i remember right you'll have to enable support for at least 4 since the chipset for said machine is a 4-cpu one and they're mapped on different busses (when it's really used for 4 CPUs two live on one bus and the other two on another, but for the 220 it's one on each thus the internal numbering skips one and with just support for 2 processors it'll just probe for the first bus). _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
cybernet- n00b
Joined: 05 Dec 2006 Posts: 2
|
Posted: Wed Dec 06, 2006 2:12 am Post subject: |
|
|
recompile with 4 cpu support... and it worked
thanks !
cat /proc/cpuinfo
cpu : TI UltraSparc II (BlackBird)
fpu : UltraSparc II integrated FPU
prom : OBP 3.23.1 1999/07/16 12:08
type : sun4u
ncpus probed : 2
ncpus active : 2
D$ parity tl1 : 0
I$ parity tl1 : 0
Cpu0Bogo : 900.45
Cpu0ClkTck : 000000001ad2d07a
Cpu2Bogo : 900.09
Cpu2ClkTck : 000000001ad2d07a
MMU Type : Spitfire
State:
CPU0: online
CPU2: online |
|
Back to top |
|
|
|