From owner-FreeBSD-users-jp@jp.FreeBSD.org Tue Mar 18 19:56:07 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h2IAu7o61186;
	Tue, 18 Mar 2003 19:56:07 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from booze.occ.co.jp (ns.occ.co.jp [210.230.242.40])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h2IAu7761181
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 18 Mar 2003 19:56:07 +0900 (JST)
	(envelope-from nishi@occ.co.jp)
Received: from knife.occ.co.jp ([210.230.242.51] helo=knife)
	by booze.occ.co.jp with smtp id 18vElK-000Id7-00
	for FreeBSD-users-jp@jp.freebsd.org; Tue, 18 Mar 2003 19:56:06 +0900
Received: from dingo.occ.jp ([210.230.242.112])
	by booze.occ.co.jp with esmtp id 18vElK-000Id5-00
	for FreeBSD-users-jp@jp.FreeBSD.org; Tue, 18 Mar 2003 19:56:06 +0900
From: Tatsuhiro Nishi <nishi@occ.co.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
Message-Id: <20030318182017.DDFD.NISHI@occ.co.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.05.10
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 18 Mar 2003 19:56:06 +0900
X-Sequence: FreeBSD-users-jp 73791
Subject: [FreeBSD-users-jp 73791] SMP on 4.8-RC
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: nishi@occ.co.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030304

$B@>$H?=$7$^$9!#(B

HP(COMPAQ) $B$N(B ProLiantML350 (2CPU)$B$K(BFreeBSD4.8-RC $B$r%$%s%9%H!<%k(B
$B$7!"(BSMP$B%*%W%7%g%s$rM-8z$K$7$F%+!<%M%k$r:F9=C[$7$^$7$?!#(B

$BF0:n<+BN$KLdBj$O$J$$$N$G$9$,(B($B:#$N$H$3$m(B)$B!"(Bdmesg $BEy$r8+$k$H(B
$BJ*M}E*$K$O(BCPU$B$O#2$DEk:\$7$F$$$k$N$G$9$,!"5/F0;~$K(B

SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!

$B$HI=<($5$l(B($B2<$K(Bdmesg$B$rE:IU$7$^$9(B)$B!"(BCPU$B$,#4$DG'<1$5$l$F$$$k$h$&$K8+$($k(B
$B$N$G$9$,!"$3$l$,@5$7$$$N$+!"$3$l$G1?MQ$7$F$h$$$b$N$+$I$&$+G:$s$G$$$^$9!#(B
$B%"%I%P%$%9D:$1$J$$$G$7$g$&$+!)(B
$B$^$?!"#2$D$N(BCPU$B$GF0:n$7$F$$$k;v$r3NG'$G$-$k%3%^%s%IEy$r$4B8CN$N$G$7$?(B
$B$i$465<x2<$5$$!#(B

$B0J2<$K%O!<%I%&%'%"9=@.$H$d$C$?;v!"(Bdmesg$BEy$rE:IU$7$^$9!#(B



## $B%O!<%I%&%'%"9=@.(B ##
http://www1.jpn.hp.com/products/servers/ml350g3_sh.html
MODEL  hp ProLiant ML350 G3 
CPU    IntelXeon 2.4GHz x 2
MEM    768 M Bytes
CD-ROM IDE 48 $BG\B.(B
NIC    $B%*%s%\!<%I(B NC7760 PCI Gigabit Server Adapter 
SCSI   $B%*%s%\!<%I(B(Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter) 
RAID   Smart $B%"%l%$(B532 $B%3%s%H%m!<%i(B 
       36.4G HDD x 3 (RAID 5 $B9=@.(B)


## $B$d$C$?;v(B

o ftp.jp.freebsd.org $B$+$i(B 4.8-RC2-i386-install.iso $B$r(BDL$B$7!"(BCD$B2=!#(B
o $B>e5-(BCD$B$G%V!<%H$7!"%$%s%9%H!<%k!#(B
o pkg_add cvsup-16.1g.tgz $B$7!"%=!<%9$r%"%C%W%G!<%H!#(B
o make buildworld$B!"(B make installworld$B!"(B mergemaster $B$r<B9T!#(B
o SMP $BMQ$N%+!<%M%k%3%s%U%#%0%U%!%$%k$rJT=8!#(B
$B!!(B($B0J2<(BSMP$B4XO"$N$_H4?h!">e(B2$B9T$r%3%a%s%H%"%&%H!"(B3$B9TL\$r(BLINT$B$+$iDI2C(B)
$B!!!!(Boptions         SMP                     
$B!!!!(Boptions         APIC_IO                
$B!!!!(Boptions         HTT
$B!!!!"($3$N#39TL\$rDI2C$7$J$$$H0J2<$G:F5/F0$7$?;~$K%O%s%0%"%C%W$7$?(B
$B!!!!!!0Y!"I,?\!)(B
o SMP$BMQ$N%+!<%M%k$r(Bmake & install
o $B:F5/F0(B
o sysctl machdep.smp_active=2 $B$r<B9T(B($BI,MW$+$I$&$+ITL@(B)
o dmesg,sysctl$BEy$r:N<h(B($B0J2<(B)


## dmesg
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RC #0: Tue Mar 18 16:09:53 JST 2003
    nishi@hostname.occ.co.jp:/usr/src/sys/compile/MYKERNEL-SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PB
E>
  Hyperthreading: 2 logical CPUs
real memory  = 805281792 (786408K bytes)
avail memory = 779948032 (761668K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Changing APIC ID for IO APIC #1 from 0 to 3 on chip
Changing APIC ID for IO APIC #2 from 0 to 4 on chip
Changing APIC ID for IO APIC #3 from 0 to 5 on chip
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
Programming 16 pins in IOAPIC #2
Programming 16 pins in IOAPIC #3
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee00000
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
 io2 (APIC): apic id:  4, version: 0x000f0011, at 0xfec02000
 io3 (APIC): apic id:  5, version: 0x000f0011, at 0xfec03000
Preloaded elf kernel "kernel" at 0xc0309000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
ahc0: <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter> port 0x2400-0x24ff mem 0xf7df0000-0xf7df0fff irq 3 at device 2.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec (Compaq OEM) 3960D Ultra160 SCSI adapter> port 0x2800-0x28ff mem 0xf7de0000-0xf7de0fff irq 3 at device 2.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pci0: <ATI Mach64-GR graphics accelerator> at 3.0
bge0: <Broadcom BCM5702X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xf5fe0000-0xf5feffff irq 5 at device 4.0 on pci0
bge0: Ethernet address: 00:0b:cd:4d:d8:fd
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
pci0: <unknown card> (vendor=0x0e11, dev=0xa0f0) at 5.0 irq 10
isab0: <PCI to ISA bridge (vendor=1166 device=0201)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 ATA100 controller> port 0x2000-0x200f,0-0x3,0-0x7,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <OHCI USB controller> at 15.2 irq 11
pcib1: <Host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
pcib2: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
ciss0: <Compaq Smart Array 532> port 0x3000-0x30ff mem 0xf7ef0000-0xf7ef3fff,0xf7fc0000-0xf7ffffff irq 15 at device 1.0 on pci2
ciss0: using 256 of 1024 available commands
ciss0:   1 logical drive configured
ciss0:   firmware 2.20
ciss0:   2 SCSI channels
ciss0:   signature 'CISS'
ciss0:   valence 1
ciss0:   supported I/O methods 0xe<simple,performant,MEMQ>
ciss0:   active I/O method 0x3<simple>
ciss0:   4G page base 0x00000000
ciss0:   interrupt coalesce delay 1000us
ciss0:   interrupt coalesce count 16
ciss0:   max outstanding commands 1024
ciss0:   bus types 0x2<ultra3>
ciss0:   server name ''
ciss0:   heartbeat 0x10000045
ciss0: 1 logical drive
ciss0: logical drive 1: RAID 5, 69120MB online
pcib3: <Host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pcib4: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci4: <PCI bus> on pcib4
pcib5: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci5: <PCI bus> on pcib5
eisa0: <EISA bus> on motherboard
mainboard0: <CPQ0729 (System Board)> on eisa0 slot 0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xee000-0xeffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
sa0 at ahc1 bus 0 target 6 lun 0
sa0: <COMPAQ SDX-400C 3.0D> Removable Sequential Access SCSI-2 device
sa0: 40.000MB/s transfers (20.000MHz, offset 7, 16bit)
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 69455MB (142245120 512 byte sectors: 255H 32S/T 17432C)
Mounting root from ufs:/dev/da0s1a


## sysctl -a$B!!(B($B$N0lItJ,(B)
hw.ncpu: 4
machdep.cpu_idle_hlt: 0
machdep.smp_active: 2
machdep.smp_cpus: 4


# $B%+!<%M%k%3%s%U%#%0%U%!%$%k(B (MYKERNEL-SMP) $B$N%"%s%3%a%s%H$JItJ,(B
machine         i386
cpu             I686_CPU
ident           MYKERNEL-SMP
maxusers        0
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big directories
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
options         HTT                     # HyperThreading Technology
device          isa
device          eisa
device          pci
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          ahc             # AHA2940 and onboard AIC7xxx devices
                                # Allow ncr to attach legacy NCR devices when
                                # both sym and ncr are configured
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          ciss            # Compaq SmartRAID 5* series
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12
device          vga0    at isa?
pseudo-device   splash
device          sc0     at isa? flags 0x100
device          npx0    at nexus? port IO_NPX irq 13
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          ppi             # Parallel port interface device
device          vpo             # Requires scbus and da
device          miibus          # MII bus support
device          bge             # Broadcom BCM570x (``Tigon III'')
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   bpf             #Berkeley packet filter


-- 
Nishi

