Processor problem

Joerg Pernfuss elessar at bsdforen.de
Mon Nov 28 11:07:49 GMT 2005


On Mon, 28 Nov 2005 01:43:52 -0800
Remington <mrl0lz at gmail.com> wrote:

> On Sun, 2005-11-27 at 21:35 -0800, drew hill wrote:
> >       When the machine boots the BIOS "sees" two processors running
> > at 1.0GHz and 1G of ram. When I start freeBSD and run KDE through
> > the "root" acct and go to view the processors it says I only have
> > 1. This is another strange thing. I was running SuSE beforeand it
> > was aware of the two processors, but referred to them as "processor
> > 0" and "processor 1". In the processor field in KDE it's calling
> > the one processor it seeing "processor 1". So does it know about
> > the other processor and just not display the information about it
> > or is it only aware of 1 of the 2 processors??? Please let me know
> > what you think. Andrew.
> >
> Is BSD aware of the multiprocessors? Did you recompile the kernel with
> SMP. If you did I wouldnt worry about what KDE says you have, as long
> as the kernel knows what you have.....

If you have a SMP kernel loaded, here are some indicators:
dmesg will show you just below your memory/apic info
	FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
	 cpu0 (BSP): APIC ID:  0
	 cpu1 (AP): APIC ID:  1
and 
	SMP: AP CPU #1 Launched!
just before init takes over.
Also mptable(1) will give you actual output.

If FreeBSD does not recognize your SMP configuration, enter your BIOS
and search for an option that sounds like 'MP-Table', 'MP-OS',
'MP-Spec'... depends on your BIOS vendor. Possible values should at
least bei 1.1 and 1.4. I've seen OS/2 and Unix too.
Try them until you find a setting that reports a valid mptable to
FreeBSD. There you go.

If your SuSe version expects a different MP-specification than
FreeBSD, it is normal that while SuSe 'sees' both cpus, FreeBSD does
not.

	Joerg

-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | c7e4 d91d 64e2 6321 9988 |
| \ / campaign against |    0xb248b614 | f27a 4e5b 06ce b248 b614 |
|  X    HTML in email  |       .the next sentence is a lie.       |
| / \     and news     |     .the previous sentence was true.     |


More information about the freebsd-questions mailing list