Re: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread anubis

> Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
The second cpu is going as stated above as opposed to the first cpu #0



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


Re: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Micheal Patterson

(B- Original Message - 
(BFrom: "horio shoichi" <[EMAIL PROTECTED]>
(BTo: "Vahric MUHTARYAN" <[EMAIL PROTECTED]>
(BCc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
(BSent: Thursday, December 25, 2003 7:32 PM
(BSubject: Re: FreeBSD 4.9 Can't find second CPU ...
(B
(B
(B> On Thu, 25 Dec 2003 18:54:26 +0200
(B> "Vahric MUHTARYAN" <[EMAIL PROTECTED]> wrote:
(B> > Hi ,
(B> >
(B> > I checked LINT it said that I have to disabke I386 AND I486 from
(B> > kernel .. I marked those values from GENERIC and LINT too and recompile
(Bit .
(B> >
(B> > But I can't see any changes 
(B> >
(B> > Then I checked my messages file 
(B> >
(B> >
(B> > Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor
(Bmotherboard:
(B> > 2 CPUs
(B> > Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
(B> > 0x00040011, at 0xfee0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
(B> > 0x00040011, at 0xfee0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
(B> > 0x000f0011, at 0xfec0
(B> > Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
(B> > 0x000f0011, at 0xfec01000
(B> >
(B> > Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
(B> >
(B> > And this is my sysctl out 
(B> >
(B> > freebsdcgp# sysctl hw.ncpu
(B> > hw.ncpu: 2
(B> >
(B> >
(B> > But when I run top utulity there is only one CPU there ..
(B> >
(B> > Now I will try cvsup RELENG_4 ... Maybe I can handle it ...
(B> > Does anybody have advise ?!
(B> >
(B> > Vahri__...
(B> >
(B
(BTop on a Dual CPU system looks like this:
(B
(Blast pid: 97678;  load averages:  0.00,  0.07,  0.06up
(B13+13:04:44  21:40:15
(B62 processes:  1 running, 61 sleeping
(BCPU states:  0.2% user,  0.0% nice,  0.4% system,  0.4% interrupt, 99.0%
(Bidle
(BMem: 126M Active, 528M Inact, 138M Wired, 46M Cache, 112M Buf, 165M Free
(BSwap: 2048M Total, 140K Used, 2048M Free
(B
(BPID  USERNAME  PRI NICE  SIZERES STATE  C   TIME   WCPUCPU
(BCOMMAND
(B2594 mailman  2   0  7032K  5680K poll   1   3:20  0.00%  0.00%
(Bpython
(B2590 mailman  2   0  7044K  5684K poll   0   3:13  0.00%  0.00%
(Bpython
(B
(BThere will be a 0 or 1 in the C column. That indicates the CPU the process
(Bis on. The "CPU states" is a combination of both cpu's if I recall
(Bcorrectly. Also, if you watch your STATE column while running Top, you can
(Bsee after some time that Top is handed back and forth between the CPU's.  In
(Bthe above list, I have one mailman process running on cpu0 and one on cpu1.
(B
(B--
(B
(BMicheal Patterson
(BNetwork Administration
(BTSG Incorporated
(B405-917-0600
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread horio shoichi
On Thu, 25 Dec 2003 18:54:26 +0200
(B"Vahric MUHTARYAN" <[EMAIL PROTECTED]> wrote:
(B> Hi , 
(B> 
(B>   I checked LINT it said that I have to disabke I386 AND I486 from
(B> kernel .. I marked those values from GENERIC and LINT too and recompile it .
(B> 
(B> But I can't see any changes  
(B> 
(B> Then I checked my messages file  
(B> 
(B> 
(B> Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor motherboard:
(B> 2 CPUs
(B> Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
(B> 0x00040011, at 0xfee0
(B> Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
(B> 0x00040011, at 0xfee0
(B> Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
(B> 0x000f0011, at 0xfec0
(B> Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
(B> 0x000f0011, at 0xfec01000
(B> 
(B> Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
(B> 
(B> And this is my sysctl out  
(B> 
(B> freebsdcgp# sysctl hw.ncpu
(B> hw.ncpu: 2
(B> 
(B> 
(B> But when I run top utulity there is only one CPU there .. 
(B> 
(B> Now I will try cvsup RELENG_4 ... Maybe I can handle it ... 
(B> Does anybody have advise ?! 
(B> 
(B> Vahri__... 
(B> 
(B> 
(B> 
(B> -Original Message-
(B> From: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
(B> Sent: Thursday, December 25, 2003 5:28 PM
(B> To: Vahric MUHTARYAN; [EMAIL PROTECTED]
(B> Subject: RE: FreeBSD 4.9 Can't find second CPU ...
(B> 
(B> Answer to your ? 1.  98% of FBSD users do not have 2 cpu
(B> motherboards so default GENERIC kernel is configured for them and
(B> not for you.
(B> 
(B> Answer to your ? 2.  Read through the LINT kernel source to see if
(B> you missed some other kernel option needed to enable the kind of  2
(B> cpu motherboard you have.
(B> 
(B> 
(B> 
(B> -Original Message-----
(B> From: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED] Behalf Of Vahric
(B> MUHTARYAN
(B> Sent: Thursday, December 25, 2003 10:18 AM
(B> To: [EMAIL PROTECTED]
(B> Subject: FreeBSD 4.9 Can't find second CPU ...
(B> 
(B> Hi Everybody ,
(B> 
(B> I have two question about SMP .
(B> 
(B> First Why FreeBSD is installing OS with single Cpu default
(B> ?!! Why
(B> it can't enable SMP support at installation time ?!
(B> 
(B> Second when I compile kernel with SMP Support FreeBSD 4.9
(B> can find
(B> second CPU ?! What do I have to check why it can't find it ?!
(B> 
(B> I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
(B> with
(B> DUAL INTEL 1.0B too
(B> 
(B> 
(B> Vahric
(B> 
(B> 
(B> 
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to
(B> "[EMAIL PROTECTED]"
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B> 
(BYou seem to have missed the remaining, Mandatory, lines in LINT...
(B
(B# SMP OPTIONS:
(B#
(B# SMP enables building of a Symmetric MultiProcessor Kernel.
(B# APIC_IO enables the use of the IO APIC for Symmetric I/O.
(B#
(B# Notes:
(B# 
(B#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
(B#
(B#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
(B# 
(B#  Check the 'Rogue SMP hardware' section to see if additional options
(B#   are required by your hardware.
(B# 
(B
(B# Mandatory:
(Boptions SMP # Symmetric MultiProcessor Kernel
(Boptions APIC_IO # Symmetric (APIC) I/O
(B
(B
(B
(BThere are other such as ACPI if you want to try.
(B
(B
(B
(Bhorio shoichi
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Vahric MUHTARYAN
Hi , 

I checked LINT it said that I have to disabke I386 AND I486 from
kernel .. I marked those values from GENERIC and LINT too and recompile it .

But I can't see any changes  

Then I checked my messages file  


Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor motherboard:
2 CPUs
Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
0x00040011, at 0xfee0
Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
0x00040011, at 0xfee0
Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
0x000f0011, at 0xfec0
Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
0x000f0011, at 0xfec01000

Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!

And this is my sysctl out  

freebsdcgp# sysctl hw.ncpu
hw.ncpu: 2


But when I run top utulity there is only one CPU there .. 

Now I will try cvsup RELENG_4 ... Maybe I can handle it ... 
Does anybody have advise ?! 

VahriƧ ... 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fbsd_user
Sent: Thursday, December 25, 2003 5:28 PM
To: Vahric MUHTARYAN; [EMAIL PROTECTED]
Subject: RE: FreeBSD 4.9 Can't find second CPU ...

Answer to your ? 1.  98% of FBSD users do not have 2 cpu
motherboards so default GENERIC kernel is configured for them and
not for you.

Answer to your ? 2.  Read through the LINT kernel source to see if
you missed some other kernel option needed to enable the kind of  2
cpu motherboard you have.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vahric
MUHTARYAN
Sent: Thursday, December 25, 2003 10:18 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.9 Can't find second CPU ...

Hi Everybody ,

I have two question about SMP .

First Why FreeBSD is installing OS with single Cpu default
?!! Why
it can't enable SMP support at installation time ?!

Second when I compile kernel with SMP Support FreeBSD 4.9
can find
second CPU ?! What do I have to check why it can't find it ?!

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
with
DUAL INTEL 1.0B too


Vahric




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

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

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


RE: FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread fbsd_user
Answer to your ? 1.  98% of FBSD users do not have 2 cpu
motherboards so default GENERIC kernel is configured for them and
not for you.

Answer to your ? 2.  Read through the LINT kernel source to see if
you missed some other kernel option needed to enable the kind of  2
cpu motherboard you have.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vahric
MUHTARYAN
Sent: Thursday, December 25, 2003 10:18 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.9 Can't find second CPU ...

Hi Everybody ,

I have two question about SMP .

First Why FreeBSD is installing OS with single Cpu default
?!! Why
it can't enable SMP support at installation time ?!

Second when I compile kernel with SMP Support FreeBSD 4.9
can find
second CPU ?! What do I have to check why it can't find it ?!

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it
with
DUAL INTEL 1.0B too


Vahric




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

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


FreeBSD 4.9 Can't find second CPU ...

2003-12-25 Thread Vahric MUHTARYAN
Hi Everybody , 

I have two question about SMP . 

First Why FreeBSD is installing OS with single Cpu default ?!! Why
it can't enable SMP support at installation time ?! 

Second when I compile kernel with SMP Support FreeBSD 4.9 can find
second CPU ?! What do I have to check why it can't find it ?! 

I'm using DUAL PIII 933 CPU and INTEL Server BOARD  I tested it with
DUAL INTEL 1.0B too 


Vahric  




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