Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 12:07:18 +0100
From:      Joerg Pernfuss <elessar@bsdforen.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Processor problem
Message-ID:  <20051128120718.2bbe7ffd@loki>
In-Reply-To: <1133171032.78010.6.camel@localhost.localdomain>
References:  <20051128053521.78709.qmail@web51308.mail.yahoo.com> <1133171032.78010.6.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Nov 2005 01:43:52 -0800
Remington <mrl0lz@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.     |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051128120718.2bbe7ffd>