Re: Only one core of an amd X2 4600 is in use

2007-06-27 Thread Stuart Henderson
On 2007/06/26 21:42, John Nietzsche wrote:
 I believed when openbsd kernel took control, it did not matter the bios 
 stuff.

that's not correct, the kernel has to pull information from the BIOS
about multiprocessor setup, interrupt routing, etc.

there are different ways of getting this - MP tables and ACPI.
some BIOS have bogus information in one or other of these. sometimes
this gets fixed in newer BIOS revisions.

not directly for the multiprocessor side of things, but this paper
has some information about MP/ACPI and might be interesting to people
who want to learn about interrupts on x86:

PCI Interrupts for x86 Machines under FreeBSD
http://people.freebsd.org/~jhb/papers/bsdcan/2007/article/article.html

(much of it applies to any OS).



Re: Only one core of an amd X2 4600 is in use

2007-06-27 Thread Nick Price
On 6/27/07, Stuart Henderson [EMAIL PROTECTED] wrote:

 On 2007/06/26 21:42, John Nietzsche wrote:
  I believed when openbsd kernel took control, it did not matter the bios
  stuff.

 that's not correct, the kernel has to pull information from the BIOS
 about multiprocessor setup, interrupt routing, etc.

 there are different ways of getting this - MP tables and ACPI.
 some BIOS have bogus information in one or other of these. sometimes
 this gets fixed in newer BIOS revisions.

 not directly for the multiprocessor side of things, but this paper
 has some information about MP/ACPI and might be interesting to people
 who want to learn about interrupts on x86:

 PCI Interrupts for x86 Machines under FreeBSD
 http://people.freebsd.org/~jhb/papers/bsdcan/2007/article/article.html

 (much of it applies to any OS).

 Definately update your BIOS to the latest version.  I remember when the X2
series came out there were some very weird issues with certain motherboards
such as only one core even showing up or being utilized, even if the board
claimed to recognize two cores properly.



Re: Only one core of an amd X2 4600 is in use

2007-06-26 Thread Jeroen Massar
Stephan Andreas wrote:
 See my dmesg.txt
 Multicoreprocessor support is enabled in BIOS and I boot the bsd.mp.
 I have upgraded my system from 4.1 to a current snapshot of OpenBSD 4.1,
but
 the problem is the same.

[..]
 acpi at mainbus0 not configured

Is ACPI disabled on your box? - check your BIOS that it is on.

 cpu0 at mainbus0: (uniprocessor)

It only sees one CPU, most likely due to missing ACPI.

[..]
 WARNING: NVRAM century is 32 but RTC year is 2007

Clearly something is wrong with the config of the BIOS. try resetting it
or turning some knobs.

Greets,
 Jeroen

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Only one core of an amd X2 4600 is in use

2007-06-26 Thread John Nietzsche

I believed when openbsd kernel took control, it did not matter the bios stuff.

On 6/26/07, Jeroen Massar [EMAIL PROTECTED] wrote:

Stephan Andreas wrote:
 See my dmesg.txt
 Multicoreprocessor support is enabled in BIOS and I boot the bsd.mp.
 I have upgraded my system from 4.1 to a current snapshot of OpenBSD 4.1,
but
 the problem is the same.

[..]
 acpi at mainbus0 not configured

Is ACPI disabled on your box? - check your BIOS that it is on.

 cpu0 at mainbus0: (uniprocessor)

It only sees one CPU, most likely due to missing ACPI.

[..]
 WARNING: NVRAM century is 32 but RTC year is 2007

Clearly something is wrong with the config of the BIOS. try resetting it
or turning some knobs.

Greets,
 Jeroen

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]