Re: 5.2.1 SMP problems

2004-06-05 Thread Toomas Aas
Hi!

 Installed 5.2.1 on a high load server - albeit not recommended - and 
 it was working perfectly with SMP support. It picked up 4 cpu's and 
 appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
 Anyway, the box was as I said under quite a bit of load, and would die 
 about once a day - just reboot. I looked into it a bit and found 
 whenever I put more load on (e.g. a make install in ports) it would 
 panic - vm_load_page or something like that - sorry about being so 
 vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
 one normal Xeon + HT for the second (no idea how to disable that - but I 
 don't need to)... its been running perfect for 4 days now and I put it 
 under SERIOUS load.. has anyone else had SMP problems on 5.2.1? 

I put 5.2.1-RELEASE on an IBM Netfinity 5000 (dual Pentium III) and I 
had problems, although different from yours. This system has some 
warning LEDs on the motherboard which light up when something is wrong. 
Quite often, when booting, the NMI and PCI1 LEDs would light up, the 
message NMI ISA 34, EISA ff appears among the boot messages and 
system reboots shortly after that. PCI1 LED indicates a problem with 
the first PCI bus, which is where I have IBM ServeRAID controller.

Interesting thing is that sometimes this problem during booting does 
not happen and once the system boots successfully there are never any 
problems.

When I removed the second CPU, the problem disappeared. I am not quite 
convinced yet that the problem is completely gone (haven't rebooted too 
many times) but it certainly has been greatly reduced.

Downgrading the firmware of ServeRAID controller from 6.10 to 5.10 (as 
recommended by another poster on this list) may also have contributed 
to resolving the problem. But the first thing I did was removing the 
2nd CPU and I successfully booted several times between that and 
downgrading the ServeRAID firmware. I *seem* to remember one NMI-boot 
after removing the second CPU, but I'm not quite sure my memory isn't 
failing me - it has been quite a rough ride with this NF5000 during the 
past few days. Anyway, *before* removing the second CPU, the boot 
failure rate was 50%, so I'm sure removing the second CPU did help, 
even if downgrading the ServeRAID firmware may have helped further.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Feeling compressed ARJ you?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 SMP problems

2004-06-04 Thread Dave Raven
Hi all,
   Installed 5.2.1 on a high load server - albeit not recommended - and 
it was working perfectly with SMP support. It picked up 4 cpu's and 
appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
Anyway, the box was as I said under quite a bit of load, and would die 
about once a day - just reboot. I looked into it a bit and found 
whenever I put more load on (e.g. a make install in ports) it would 
panic - vm_load_page or something like that - sorry about being so 
vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
one normal Xeon + HT for the second (no idea how to disable that - but I 
don't need to)... its been running perfect for 4 days now and I put it 
under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
couldn't find anything about it at first glimpse...

Thanks
Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2.1 SMP problems

2004-06-04 Thread Albert Shih
 Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
 Hi all,
Installed 5.2.1 on a high load server - albeit not recommended - and 
 it was working perfectly with SMP support. It picked up 4 cpu's and 
 appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
 Anyway, the box was as I said under quite a bit of load, and would die 
 about once a day - just reboot. I looked into it a bit and found 
 whenever I put more load on (e.g. a make install in ports) it would 
 panic - vm_load_page or something like that - sorry about being so 
 vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
 one normal Xeon + HT for the second (no idea how to disable that - but I 
 don't need to)... its been running perfect for 4 days now and I put it 
 under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
 couldn't find anything about it at first glimpse...
 

Have you shure this problem is with FreeBSD ?

First check your memory with some software like memtest86 (http://www.memtest86.com/)

When I've this kind of problem, always it's because some error in RAM.

Regards



--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Jun 4 13:43:52 CEST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5.2.1 SMP problems

2004-06-04 Thread Dave Raven
Well all the tests I ran (about 2 memory testers and 2 benchmarks) caused
the box to die - even the make installs did half the time. Now that I've
disabled SMP there are no problems, and the same tests are working
perfectly...

The only thing I've changed is the SMP support, and now its been running for
4 days, before it wouldn't run for 12 hours

Thanks
Dave

-Original Message-
From: Albert Shih [mailto:[EMAIL PROTECTED] 
Sent: 04 June 2004 01:47 PM
To: Dave Raven
Cc: [EMAIL PROTECTED]
Subject: Re: 5.2.1 SMP problems


 Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
 Hi all,
Installed 5.2.1 on a high load server - albeit not recommended - and 
 it was working perfectly with SMP support. It picked up 4 cpu's and 
 appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
 Anyway, the box was as I said under quite a bit of load, and would die 
 about once a day - just reboot. I looked into it a bit and found 
 whenever I put more load on (e.g. a make install in ports) it would 
 panic - vm_load_page or something like that - sorry about being so 
 vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
 one normal Xeon + HT for the second (no idea how to disable that - but I 
 don't need to)... its been running perfect for 4 days now and I put it 
 under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
 couldn't find anything about it at first glimpse...
 

Have you shure this problem is with FreeBSD ?

First check your memory with some software like memtest86
(http://www.memtest86.com/)

When I've this kind of problem, always it's because some error in RAM.

Regards



--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Jun 4 13:43:52 CEST 2004

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2.1 SMP problems

2004-06-04 Thread Bill Moran
Dave Raven [EMAIL PROTECTED] wrote:

 Well all the tests I ran (about 2 memory testers and 2 benchmarks) caused
 the box to die - even the make installs did half the time. Now that I've
 disabled SMP there are no problems, and the same tests are working
 perfectly...
 
 The only thing I've changed is the SMP support, and now its been running for
 4 days, before it wouldn't run for 12 hours

You may want to take this problem to hackers@ (with more details about the panic
and the hardware involved - the actual panic message and dmesg output) and see
if anyone is aware of the problem.

Since 5 is in heavy development, it's possible that this problem has already
been dealt with and fixed in 5-CURRENT.  If not, I'm sure the development team
would be interested in your assistance in fixing it.

 
 Thanks
 Dave
 
 -Original Message-
 From: Albert Shih [mailto:[EMAIL PROTECTED] 
 Sent: 04 June 2004 01:47 PM
 To: Dave Raven
 Cc: [EMAIL PROTECTED]
 Subject: Re: 5.2.1 SMP problems
 
 
  Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
  Hi all,
 Installed 5.2.1 on a high load server - albeit not recommended - and 
  it was working perfectly with SMP support. It picked up 4 cpu's and 
  appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
  Anyway, the box was as I said under quite a bit of load, and would die 
  about once a day - just reboot. I looked into it a bit and found 
  whenever I put more load on (e.g. a make install in ports) it would 
  panic - vm_load_page or something like that - sorry about being so 
  vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
  one normal Xeon + HT for the second (no idea how to disable that - but I 
  don't need to)... its been running perfect for 4 days now and I put it 
  under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
  couldn't find anything about it at first glimpse...
  
 
 Have you shure this problem is with FreeBSD ?
 
 First check your memory with some software like memtest86
 (http://www.memtest86.com/)
 
 When I've this kind of problem, always it's because some error in RAM.
 
 Regards
 
 
 
 --
 Albert SHIH
 Universite de Paris 7 (Denis DIDEROT)
 U.F.R. de Mathematiques.
 Heure local/Local time:
 Fri Jun 4 13:43:52 CEST 2004
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP problems - hardware?

2004-04-16 Thread anubis
On Thu, 15 Apr 2004 12:56 pm, [EMAIL PROTECTED] wrote:
 Argh, I almost forgot this part of dmesg:

 SMP: AP CPU #1 Launched!

This is the second cpu firing up
I dont know about the rest.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMP problems - hardware?

2004-04-14 Thread up

I just built a new server with:

Intel SE7501CW2 ServerBoard
2 x Intel Xeon 2.4Ghz 533FSB
2 x 1GB ECC DIMMs
Adaptec 2200s RAID (lev 1)

FreeBSD 4.10-Beta (cvsup from 4.9-Release to Stable produced this)

I built the SMP kernel (I've done this before with older L440GX systems
several times with no problems) and everything boots fine (see dmesg
below), but ubench shows about half what the performance should be and top
only shows 1 CPU running (cpu0).  I'm seriously afraid I might have mucked
up one of the CPUs when I had to remove and reinstall it, but I would
think that I would see some sort of error if that were the case.  In the
BIOS you see the system processor installed, but not the application
processor installed (not sure if that means the 2nd CPU or not), but both
cpu's temperatures are showing up.  Here's the relevant boot info:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 2146959360 (2096640K bytes)
avail memory = 2087825408 (2038892K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
 io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec8
 io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400
Preloaded elf kernel kernel at 0xc0341000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
Using $PIR table, 20 entries at 0xc00fde80
npx0: math processor on motherboard
npx0: INT 16 interface

I have a sinking feeling that I'm going to have to pull the second CPU,
but I figured I'd better check to see if there's anything else I've missed
here first.  Please reply off-list as I am not subscribed.

Thanks!

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   http://3.am
=

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP problems - hardware?

2004-04-14 Thread up

Argh, I almost forgot this part of dmesg:

SMP: AP CPU #1 Launched!

Like I said, OS-wise, everything looks ok...

On Wed, 14 Apr 2004 [EMAIL PROTECTED] wrote:


 I just built a new server with:

 Intel SE7501CW2 ServerBoard
 2 x Intel Xeon 2.4Ghz 533FSB
 2 x 1GB ECC DIMMs
 Adaptec 2200s RAID (lev 1)

 FreeBSD 4.10-Beta (cvsup from 4.9-Release to Stable produced this)

 I built the SMP kernel (I've done this before with older L440GX systems
 several times with no problems) and everything boots fine (see dmesg
 below), but ubench shows about half what the performance should be and top
 only shows 1 CPU running (cpu0).  I'm seriously afraid I might have mucked
 up one of the CPUs when I had to remove and reinstall it, but I would
 think that I would see some sort of error if that were the case.  In the
 BIOS you see the system processor installed, but not the application
 processor installed (not sure if that means the 2nd CPU or not), but both
 cpu's temperatures are showing up.  Here's the relevant boot info:

 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf29  Stepping = 9

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Hyperthreading: 2 logical CPUs
 real memory  = 2146959360 (2096640K bytes)
 avail memory = 2087825408 (2038892K bytes)
 Programming 24 pins in IOAPIC #0
 IOAPIC #0 intpin 2 - irq 0
 Programming 24 pins in IOAPIC #1
 Programming 24 pins in IOAPIC #2
 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
  cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
  cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
  io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
  io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec8
  io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400
 Preloaded elf kernel kernel at 0xc0341000.
 Warning: Pentium 4 CPU: PSE disabled
 Pentium Pro MTRR support enabled
 Using $PIR table, 20 entries at 0xc00fde80
 npx0: math processor on motherboard
 npx0: INT 16 interface

 I have a sinking feeling that I'm going to have to pull the second CPU,
 but I figured I'd better check to see if there's anything else I've missed
 here first.  Please reply off-list as I am not subscribed.

 Thanks!

 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] http://3.am
 =



James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   http://3.am
=

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP problems

2002-10-28 Thread Toomas Aas
 Also, in `top', sometimes under the STATE column it will display
 'CPU0 or CPU1.  

Speaking of top, the 'C' column shows wheter the process is running on 
CPU0 or CPU1

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* The secret of the universe is @*^^^# NO CARRIER


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



SMP problems

2002-10-27 Thread Roelf Schreurs
Hi

I just added an extra CPU to my Dell server.
I made a new kernel, the server recognizes the CPU' but FreeBSD does not.

Steps I took:
Copy GENERIC to GENERIC-SMP
I added the 2 lines to the GENERIC-SMP file:
options SMP
options APIC_IO
Then I did:
make buildkernel KERNCONF=GENERIC-SMP
make installkernel KERNCONF=GENERIC-SMP
And rebooted.

In dmesg I see:
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000

mptable:
MP Config Base Table Entries:
--
Processors: APIC ID Version State   Family  Model   Step Flags
 1   0x11BSP, usable 6   11  1 
0x383fbff
 0   0x11AP, usable  6   11  1 
0x383fbff

uname -a:
FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Oct 26 12:04:37 CEST 
2002 :/usr/obj/usr/src/sys/GENERIC-SMP  i386


But when I do a top, I only see one CPU.
last pid:   725;  load averages:  0.09,  0.04,  0.01 
 up 0+00:15:39  12:40:41
59 processes:  1 running, 58 sleeping
CPU states: 21.4% user,  0.0% nice,  9.8% system,  0.5% interrupt, 68.3% 
idle


Anybody can please help?


Roelf Schreurs
IMC Amsterdam
+31 20 527 5092

Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SMP problems

2002-10-27 Thread Simon Dick
On Sun, Oct 27, 2002 at 11:05:57AM +0100, Roelf Schreurs wrote:
 Hi
 
 I just added an extra CPU to my Dell server.
 I made a new kernel, the server recognizes the CPU' but FreeBSD does not.
 
 Steps I took:
 Copy GENERIC to GENERIC-SMP
 I added the 2 lines to the GENERIC-SMP file:
 options SMP
 options APIC_IO
 Then I did:
 make buildkernel KERNCONF=GENERIC-SMP
 make installkernel KERNCONF=GENERIC-SMP
 And rebooted.
 
 In dmesg I see:
 FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
  io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec0
  io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
 
 mptable:
 MP Config Base Table Entries:
 -- 
 Processors: APIC ID Version State   Family  Model   Step Flags
  1   0x11BSP, usable 6   11  1 
 0x383fbff
  0   0x11AP, usable  6   11  1 
 0x383fbff
 
 uname -a:
 FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Oct 26 12:04:37 CEST 
 2002 :/usr/obj/usr/src/sys/GENERIC-SMP  i386
 
 
 But when I do a top, I only see one CPU.
 last pid:   725;  load averages:  0.09,  0.04,  0.01 
  up 0+00:15:39  12:40:41
 59 processes:  1 running, 58 sleeping
 CPU states: 21.4% user,  0.0% nice,  9.8% system,  0.5% interrupt, 68.3% 
 idle
 
 
 Anybody can please help?

Looks as though it's working fine to me

-- 
Simon Dick  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SMP problems

2002-10-27 Thread Roelf Schreurs
Top only shows 1 CPU and not 2.


Simon Dick wrote:

On Sun, Oct 27, 2002 at 11:05:57AM +0100, Roelf Schreurs wrote:


Hi

I just added an extra CPU to my Dell server.
I made a new kernel, the server recognizes the CPU' but FreeBSD does not.

Steps I took:
Copy GENERIC to GENERIC-SMP
I added the 2 lines to the GENERIC-SMP file:
options SMP
options APIC_IO
Then I did:
make buildkernel KERNCONF=GENERIC-SMP
make installkernel KERNCONF=GENERIC-SMP
And rebooted.

In dmesg I see:
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec0
io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000

mptable:
MP Config Base Table Entries:
--
Processors: APIC ID Version State   Family  Model   Step Flags
1   0x11BSP, usable 6   11  1 
0x383fbff
0   0x11AP, usable  6   11  1 
0x383fbff

uname -a:
FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Oct 26 12:04:37 CEST 
2002 :/usr/obj/usr/src/sys/GENERIC-SMP  i386


But when I do a top, I only see one CPU.
last pid:   725;  load averages:  0.09,  0.04,  0.01 
up 0+00:15:39  12:40:41
59 processes:  1 running, 58 sleeping
CPU states: 21.4% user,  0.0% nice,  9.8% system,  0.5% interrupt, 68.3% 
idle


Anybody can please help?


Looks as though it's working fine to me



--
Roelf Schreurs
IMC Amsterdam
+31 20 527 5092

Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SMP problems

2002-10-27 Thread Chip Norkus
On Sun Oct 27, 2002; 11:51AM +0100 Roelf Schreurs propagated the following:
 Top only shows 1 CPU and not 2.
 

Yes.  The 'CPU' line is a combination of the activity measured on both
CPUs.  You should pay more attention to the stuff in your dmesg (namely
this stuff quoted here:)

 FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0

On my SMP machine I have exactly the same behavior.  Don't get too worried
about it. :)

-wd
-- 
chip norkus; unix geek and programmer;  [EMAIL PROTECTED]
question = (to) ? be : !be; --Shakespeare http://telekinesis.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SMP problems

2002-10-27 Thread Nathan Kinkade
On Sun, Oct 27, 2002 at 11:51:39AM +0100, Roelf Schreurs wrote:
 Simon Dick wrote:
 On Sun, Oct 27, 2002 at 11:05:57AM +0100, Roelf Schreurs wrote:
 
 Hi
 
 I just added an extra CPU to my Dell server.
 I made a new kernel, the server recognizes the CPU' but FreeBSD does not.
 
 Steps I took:
 Copy GENERIC to GENERIC-SMP
 I added the 2 lines to the GENERIC-SMP file:
 options SMP
 options APIC_IO
 Then I did:
 make buildkernel KERNCONF=GENERIC-SMP
 make installkernel KERNCONF=GENERIC-SMP
 And rebooted.
 
 In dmesg I see:
 FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
 
 mptable:
 MP Config Base Table Entries:
 -- 
 Processors: APIC ID Version State   Family  Model   Step Flags
 1   0x11BSP, usable 6   11  1 
 0x383fbff
 0   0x11AP, usable  6   11  1 
 0x383fbff
 
 uname -a:
 FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Oct 26 12:04:37 CEST 
 2002 :/usr/obj/usr/src/sys/GENERIC-SMP  i386
 
 
 But when I do a top, I only see one CPU.
 last pid:   725;  load averages:  0.09,  0.04,  0.01 
 up 0+00:15:39  12:40:41
 59 processes:  1 running, 58 sleeping
 CPU states: 21.4% user,  0.0% nice,  9.8% system,  0.5% interrupt, 68.3% 
 idle
 
 
 Looks as though it's working fine to me
 
 
 
 Top only shows 1 CPU and not 2.


Also look for the line in dmesg which states:
SMP: AP CPU #1 Launched!
which is another good indication that smp is working.
Also, in `top', sometimes under the STATE column it will display
'CPU0 or CPU1.  Although, I'm not exactly sure what this means in the
STATE context, but it is another indication that the system is aware
of two processors.

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SMP problems

2002-10-27 Thread Jerry McAllister
 
 On Sun Oct 27, 2002; 11:51AM +0100 Roelf Schreurs propagated the following:
  Top only shows 1 CPU and not 2.
  
 
 Yes.  The 'CPU' line is a combination of the activity measured on both
 CPUs.  You should pay more attention to the stuff in your dmesg (namely
 this stuff quoted here:)
 
  FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 
 On my SMP machine I have exactly the same behavior.  Don't get too worried
 about it. :)

I think you are right (eg don't be worried), although I believe some 
vendors have modified their proprietary versions of *NIX and TOP so 
theirs show numbers of CPUs in a special way.   I have seen them, but 
don't remember clearly.
Anyway, maybe he was influenced by something like these.

jerry

 
 -wd
 -- 
 chip norkus; unix geek and programmer;  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message