View previous topic :: View next topic |
Author |
Message |
endemic n00b
Joined: 06 Oct 2003 Posts: 23 Location: Dayton, OH
|
Posted: Wed Dec 10, 2003 7:16 pm Post subject: SMP on Ultra 60 |
|
|
I have two processors (UltraSPARC-IIi 450MHz) on an Ultra 60. I recently compiled/installed the kernel on a fresh gentoo install with SMP support. My problem is, I am unsure if this is actually operating or not. When I run GKrellM it shows only one processor. Also, when I run 'top' I get this error message:
Code: | # top
top: failed /proc/stat read
|
When running 'dmesg' it appears the kernel notices both processors on boot:
Code: |
Found CPU 0 (node=f006d394,mid=0)
Found CPU 1 (node=f006d700,mid=2)
Found 2 CPU prom device tree node(s).
|
Actually, upon further investigation it is not recognizing both processors. Can anyone help me remedy this?
Code: |
Entering UltraSMPenguin Mode...
Error: only one processor found.
|
|
|
Back to top |
|
|
endemic n00b
Joined: 06 Oct 2003 Posts: 23 Location: Dayton, OH
|
Posted: Wed Dec 10, 2003 8:01 pm Post subject: |
|
|
I have also noticed that you need to enable "Enhanced Real Time Clock Support" or somthing like that. However, in my 2.4.23-sparc-r1 menuconfig I cannot find such an option. It is supposedly under "console drivers" but mine only displays Frame Buffer Support and the PROM option. I guess I am unsure of how to get this going due to the lack of SMP documentation for the SPARC platform. |
|
Back to top |
|
|
suid77 Tux's lil' helper
Joined: 10 Dec 2003 Posts: 81 Location: Seattle
|
Posted: Wed Dec 10, 2003 11:36 pm Post subject: |
|
|
glad to see I'm not the only one!
as far as the "enhanced real time clock" requirement goes, its seems to always be on, even though the option never appears in 'make menuconfig' You can check your config file for "CONFIG_RTC=y" to confirm this.
that being said, the top command works for me, but only displays 1 cpu. (when booting gentoo-smp from the livecd, top shows both cpus, hrm)
cat /proc/cpuinfo displays:
Code: | ...
CPU0: online
CPU2: online
|
which seems odd, I would have expected CPU0 and CPU1, but maybe thats nothing.
dmesg shows about what I would expect:
Code: | Found CPU 0 (node=f006d3a4,mid=0)
Found CPU 1 (node=f006d710,mid=2)
Found 2 CPU prom device tree node(s).
|
I'll post an more info I come across. |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Dec 11, 2003 12:50 am Post subject: |
|
|
This one's easy CONFIG_NR_CPUS needs to be 4 or higher for most 2 CPU boxes. Sun don't always use linear CPU numbers... |
|
Back to top |
|
|
suid77 Tux's lil' helper
Joined: 10 Dec 2003 Posts: 81 Location: Seattle
|
Posted: Thu Dec 11, 2003 2:37 am Post subject: |
|
|
Hrm. Well, yes and no. CONFIG_MR_CPUS is already 32 here.
But as it turns out it was working all along. The live cd was setup with a .toprc set to expand the list of CPUs, and after the install was complete, it went back to the default colapsed view ( Cpu(s) instead of Cpu0, Cpu1, etc )
/me hides in embarrasment
for what its worth, the config file at http://dev.gentoo.org/~ciaranm/configs/kernel/ is almost identical to the one I finally got working, and it definately has smp configured correctly. |
|
Back to top |
|
|
|
|
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
|
|