Messages in cipher reflected in the looking glass
[ Yasuhiro Fujitsuki's Weblog ]
http://blogs.sun.com/thaniwa/date/20081225 2008年 12月 25日 木曜日

(JA) FreeBSD 7.1 RC1 on Sun Fire X4150

Sun Fire X4150 で FreeBSD 7.1 RC1 のインストールを行ってみたので、 そのログです。
(JA) FreeBSD 7.0 on Sun Fire X4150 : http://blogs.sun.com/thaniwa/entry/ja_freebsd_on_x4150
の環境と今回の環境は異なっており、今回のテストでは SG-PCIESAS-R-INT-Z : Sun StorageTek 8-port Internal SAS RAID Host Bus Adapter を利用しています。

dmesg の出力です。
FreeBSD 7.0 では em2, em3 (Gigabit Ethernetの3番目と4番目) の初期化に 失敗していましたが、FreeBSD 7.1RC1 では初期化出来てます。
RAIDカードも aac0: Sun STK RAID INT, aac driver 2.0.0-1 というように認識されてます。

Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RC1 #0: Sun Dec  7 00:38:13 UTC 2008
    root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz (1869.37-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  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,PBE>
  Features2=0x4e3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 4
usable memory = 2133708800 (2034 MB)
avail memory  = 2058915840 (1963 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 2.0 on pci2
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0x9c00-0x9c1f mem 
0xfc6e0000-0xfc6fffff irq 18 at device 0.0 on pci4
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:1b:24:df:ea:7c
em1: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0x9800-0x981f mem 
0xfc6c0000-0xfc6dffff irq 19 at device 0.1 on pci4
em1: Using MSI interrupt
em1: [FILTER]
em1: Ethernet address: 00:1b:24:df:ea:7d
pcib5: <PCI-PCI bridge> at device 0.3 on pci1
pci5: <PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci7: <ACPI PCI bus> on pcib7
aac0: <SG-XPCIESAS-R-IN> mem 0xfca00000-0xfcbfffff irq 17 at device 0.0 on pci7
aac0: Enabling 64-bit address support
aac0: Enable Raw I/O
aac0: Enable 64-bit array
aac0: New comm. interface enabled
aac0: [ITHREAD]
aac0: Sun STK RAID INT, aac driver 2.0.0-1
aacp0: <SCSI Passthrough Bus> on aac0
aacp1: <SCSI Passthrough Bus> on aac0
aacp2: <SCSI Passthrough Bus> on aac0
pcib8: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci9: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci10: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci11: <ACPI PCI bus> on pcib11
em2: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xac00-0xac1f mem 
0xfcde0000-0xfcdfffff,0xfcdc0000-0xfcddffff irq 16 at device 0.0 on pci11
em2: Using MSI interrupt
em2: [FILTER]
em2: Ethernet address: 00:1b:24:df:ea:7e
em3: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xa800-0xa81f mem 
0xfcd80000-0xfcd9ffff,0xfcd60000-0xfcd7ffff irq 17 at device 0.1 on pci11
em3: Using MSI interrupt
em3: [FILTER]
em3: Ethernet address: 00:1b:24:df:ea:7f
...(略)...
aacd0: <Volume> on aac0
aacd0: 139900MB (286515200 sectors)
aacd1: <Volume> on aac0
aacd1: 69900MB (143155200 sectors)
aacd2: <Volume> on aac0
aacd2: 69900MB (143155200 sectors)
aacd3: <Volume> on aac0
aacd3: 139900MB (286515200 sectors)
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <TSSTcorp CD/DVDW TS-T632A SR03> Removable CD-ROM SCSI-0 device 
cd0: 40.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open
Trying to mount root from ufs:/dev/aacd0s1a
em0: link state changed to UP

下記は ifconfig の出力です。 FreeBSD 7.0 とは異なり、ちゃんと 4つの Gigabit Ethernet インタフェースが 見えてます。(MACアドレスとIPアドレスは一部伏せています)

em0: flags=8843 metric 0 mtu 1500
        options=19b
        ether xx:xx:xx:xx:xx:7c
        inet xx.xx.xx.92 netmask 0xffffff00 broadcast xx.xx.xx.255
        media: Ethernet autoselect (1000baseTX )
        status: active
em1: flags=8802 metric 0 mtu 1500
        options=19b
        ether xx:xx:xx:xx:xx:7d
        media: Ethernet autoselect
        status: no carrier
em2: flags=8802 metric 0 mtu 1500
        options=19b
        ether xx:xx:xx:xx:xx:7e
        media: Ethernet autoselect
        status: no carrier
em3: flags=8802 metric 0 mtu 1500
        options=19b
        ether xx:xx:xx:xx:xx:7f
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049 metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 


fdisk, df -k の出力です。

#fdisk
******* Working on device /dev/aacd0 *******
parameters extracted from in-core disklabel are:
cylinders=17834 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=17834 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 286503147 (139894 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

# df -k
Filesystem    1024-blocks    Used     Avail Capacity  Mounted on
/dev/aacd0s1a      507630  220732    246288    47%    /
devfs                   1       1         0   100%    /dev
/dev/aacd0s1e      507630      12    467008     0%    /tmp
/dev/aacd0s1f   130665840 1721364 118491210     1%    /usr
/dev/aacd0s1d     3026574   10360   2774090     0%    /var


下記は eLOM 上で X-Window を表示させたところです。 (startxを利用)
FreeBSD 7.0 ではデフォルト(/etc/X11/xorg.confを作成していない状態)では マウスが利用できなかったのですが、 今回はデフォルトでもマウスが認識されました。
また、Gentoo Linuxの時と同様に、UXGA/1600x1200が解像度として選択されました。



下記は /var/log/Xorg.0.log の抜粋です。 デフォルトでは eLOM は英語キーボードとして認識されるので、 日本語で利用したい場合は、Xorg -configure で /etc/X11/xorg.conf を作成し、 編集する等を行う必要があります。

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.1-RELEASE amd64 
Current Operating System: FreeBSD x4150-web 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 
 7 00:38:13 UTC 2008     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENE
RIC amd64
Build Date: 30 October 2008  02:59:59PM

...(略)...

(**) Option "CoreKeyboard"
(**) : always reports core events
(**) Option "Protocol" "standard"
(**) : Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) : XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) : XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) : XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) : CustomKeycodes disabled
(II) evaluating device ()
(II) XINPUT: Adding extended input device "" (type: KEYBOARD)
(II) evaluating device ()
(II) XINPUT: Adding extended input device "" (type: MOUSE)
(II) : SetupAuto: hw.iftype is 4, hw.model is 0
(II) : SetupAuto: protocol is SysMouse
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
(==) VESA(0): Write-combining range (0x0,0x1000) was already clear
FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; f
ixing.

http://blogs.sun.com/thaniwa/date/20081218 2008年 12月 18日 木曜日

(JA) Gentoo Linux 2008.0-r1 on Sun Fire X4150

Sun Fire X4150 に Gentoo Linux 2008.0-r1 をインストールしてみましたので、 そのログを載せておきます。
Gentoo Linux は容量の小さなインストール用CDとLiveCD の2種類のイメージが配布されています。
ここでは、LiveCDを起動し、LiveCDに付属するインストーラで Gentoo Linux をインストールしています。
下図はインストールの様子です。 Gentoo のインストーラは RedHat/Ubuntu系と結構違います。



dmesg の出力です。 先頭がちょっとあやしいのですが、今回のテストで得られた出力そのままです。

sion 2.6.24-gentoo-r7 (root@poseidon) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2))
#1 SMP Thu Jul 3 18:36:20 UTC 2008
Command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ffb0000 (usable)
 BIOS-e820: 000000007ffbe000 - 000000007ffc0000 type 9
 BIOS-e820: 000000007ffc0000 - 000000007ffce000 (ACPI data)
 BIOS-e820: 000000007ffce000 - 0000000080000000 (ACPI NVS)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 159) 0 entries of 256 used
Entering add_active_range(0, 256, 524208) 1 entries of 256 used
end_pfn_map = 1048576
DMI present.
ACPI: RSDP 000FA5E0, 0024 (r2 ACPIAM)
ACPI: XSDT 7FFC0100, 008C (r1 A M I  OEMXSDT   5000813 MSFT       97)
ACPI: FACP 7FFC0290, 00F4 (r3 A M I  OEMFACP   5000813 MSFT       97)
ACPI: DSDT 7FFC04F0, 46FE (r1  1ADQW 1ADQW025       25 INTL 20051117)
ACPI: FACS 7FFCE000, 0040
...(省略)...
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
Processor #3
...(省略)...
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sd
a3
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
hpet clockevent registered
TSC calibrated against HPET
time.c: Detected 1861.915 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
Memory: 2035088k/2096832k available (3707k kernel code, 60720k reserved, 1125k d
ata, 256k init)
Calibrating delay using timer specific routine.. 3726.22 BogoMIPS (lpj=18631130)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
Using local APIC timer interrupts.
APIC timer calibration result 16624250
Detected 16.624 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 3723.87 BogoMIPS (lpj=18619388)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
SMP alternatives: switching to SMP code
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 3723.90 BogoMIPS (lpj=18619510)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
CPU2: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#2]: passed.
SMP alternatives: switching to SMP code
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 3723.89 BogoMIPS (lpj=18619483)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
CPU3: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           E5320  @ 1.86GHz stepping 0b
checking TSC synchronization [CPU#0 -> CPU#3]: passed.
Brought up 4 CPUs
...(省略)...
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:04:00.0 to 64
e1000: 0000:04:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x4) xx:xx:xx:xx:xx:7c
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI Interrupt 0000:04:00.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:04:00.1 to 64
e1000: 0000:04:00.1: e1000_probe: (PCI Express:2.5Gb/s:Width x4) xx:xx:xx:xx:xx:7d
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:0b:00.0 to 64
e1000: 0000:0b:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x4) xx:xx:xx:xx:xx:7e
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI Interrupt 0000:0b:00.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:0b:00.1 to 64
e1000: 0000:0b:00.1: e1000_probe: (PCI Express:2.5Gb/s:Width x4) xx:xx:xx:xx:xx:7f
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
... (省略) ...

Gentoo のデフォルトのディスクスライス。

# df -k

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            138835788   2485980 129297276   2% /
udev                     10240       208     10032   3% /dev
/dev/sda1               101086     28203     67664  30% /boot
none                   1029224         0   1029224   0% /dev/shm

/etc/fstab

/dev/sda1        /boot   ext2    defaults                1 2
/dev/sda2        none            swap            sw              0 0
/dev/sda3        /       ext3    noatime                 0 1
none        /proc     proc    defaults          0 0
none        /dev/shm  tmpfs   defaults          0 0

(参考)インストール後の標準環境で eLOM の RKVMS 経由で接続した場合、 X-Window のサイズが の画面サイズが UXGA (1600x1200) に設定されるようです。 eLOM下部に解像度が表示されています。
今回の環境は XGA (1024x768) なので、Gentoo の画面が縮小表示されているため、 多少文字等が読みにくい状態になっています。
環境によっては見えにくい場合もあります。 その場合は /etc/X11/xorg.conf の編集等を行い、解像度を変更する必要があります。



http://blogs.sun.com/thaniwa/date/20081215 2008年 12月 15日 月曜日

(JA) sulogin on OpenSolaris

既に色んなところでアナウンスされているかと思いますが、 OpenSolaris 2008.11 がリリースされました。
http://opensolaris.com/ から、取得できます。
http://lifewithsolaris.jp/uploads/iso/opensolaris/2008/11/ のようなミラーサイトでは usb イメージもダウンロード可能になっています。

少しだけ思うところがあって、私の環境はOpenSolaris 101a-rc1bのままで、 OpenSolaris 2008.11 のリリース版にしていなかったりします。
が、そんなことは置いといて、suloginの話。
b99かb100あたりだったかと思うのですが、suの仕様が変更されました。 おそらく 2008.11 でも同様だと思うので、載せておきます。
下記のような感じで su での root 変更ができなくなっています。 一応、pfexecとsuの組み合わせは今のところ有効です。

user@opensolaris:~$ su -
Password: 
su: Sorry
user@opensolaris:~$ pfexec su -
Sun Microsystems Inc.	SunOS 5.11	snv_101a	November 2008
root@opensolaris:~# 

http://blogs.sun.com/thaniwa/date/20081211 2008年 12月 11日 木曜日

(JA) FreeBSD 7.0 on Sun Fire X4150

FreeBSD 7.0 を Sun Fire X4150 で動かしてみました。
そのログです。
HBA には SG-PCIE8SAS-I-Z : 8-port Internal SAS PCI Express LSI3081E Host Bus Adapter を利用しています。

もう1つのアダプタである SG-PCIESAS-R-INT-Z : Sun StorageTek 8-port Internal SAS RAID Host Bus Adapter 環境ではテストしていません。

dmesg の出力です。
FreeBSD では ネットワークインタフェースは em となるようです。 Sun Fire X4150 では 4つの Gigabit Ethernet インタフェースがあり、 全て Intel 製のものですが、FreeBSD は 2つしか初期化できませんでした。

Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008
    root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz (3171.40-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
  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,PBE>
  Features2=0xce3bd on cpu1
cpu2: <ACPI CPU> on acpi0
est2: failed to enable SpeedStep
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3: <ACPI CPU> on acpi0
est3: failed to enable SpeedStep
p4tcc3: <CPU Frequency Thermal Control> on cpu3
cpu4: <ACPI CPU> on acpi0
est4: failed to enable SpeedStep
p4tcc4: <CPU Frequency Thermal Control> on cpu4
cpu5: <ACPI CPU> on acpi0
est5: failed to enable SpeedStep
p4tcc5: <CPU Frequency Thermal Control> on cpu5
cpu6: <ACPI CPU> on acpi0
est6: failed to enable SpeedStep
p4tcc6: <CPU Frequency Thermal Control> on cpu6
cpu7: <ACPI CPU> on acpi0
est7: failed to enable SpeedStep
p4tcc7: <CPU Frequency Thermal Control> on cpu7
...(省略)...
em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x8c00-0x8c1f m
em 0xfc6e0000-0xfc6fffff irq 18 at device 0.0 on pci4
em0: Using MSI interrupt
em0: Ethernet address: 00:1e:68:57:4a:d0
em0: [FILTER]
em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x8800-0x881f m
em 0xfc6c0000-0xfc6dffff irq 19 at device 0.1 on pci4
em1: Using MSI interrupt
em1: Ethernet address: 00:1e:68:57:4a:d1
em1: [FILTER]
...(省略)...
em2: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xac00-0xac1f m
em 0xfcde0000-0xfcdfffff,0xfcdc0000-0xfcddffff irq 16 at device 0.0 on pci11
em2: Using MSI interrupt
em2: Hardware Initialization Failed
em2: Unable to initialize the hardware
device_attach: em2 attach returned 5
em3: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xa800-0xa81f m
em 0xfcd80000-0xfcd9ffff,0xfcd60000-0xfcd7ffff irq 17 at device 0.1 on pci11
em3: Using MSI interrupt
em3: Hardware Initialization Failed
em3: Unable to initialize the hardware
device_attach: em3 attach returned 5
...(省略)...

ifconfig の出力です。上記の dmesg で分かるのですが、 Gigabit Ethernet インタフェースは 2つまでになっています。 (Macアドレス、IPアドレスは一部伏せています。)

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether xx:xx:xx:xx:xx:d0
        inet xx.xx.xx.238 netmask 0xffffff00 broadcast xx.xx.xx.255
        media: Ethernet autoselect
        status: no carrier
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether xx:xx:xx:xx:xx:d1
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 


gnome-system-monitor の システム情報です。



eLOM の RKVMS 経由で X-Window を利用する際の注意。

FreeBSD に X-Window システムを追加した場合、Sun Fire X4150(eLOM) の RKVMS 経由で X-Window を利用することができます。
ただし、インストール直後の状態では、 RKVMS 経由でマウス操作ができない状態になっています。
RKVMS 経由で X-Window を利用する場合、

# X -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf

のように、xorg.conf を別途作成する必要があります。

http://blogs.sun.com/thaniwa/date/20081206 2008年 12月 06日 土曜日

(JA) New Features of OpenSolaris 2008.11

http://www.opensolaris.com/learn/features/whats-new/200811/ に新しい特徴がまとまってます。

デスクトップサイドでは、 Firefox 3, OpenOffice.org 3 など最新版への更新もありますが、 個人的に気になるのは Songbird(iTunesみたいなメディアプレイヤー) と Transmission(Bittorent クライアント) です。

サーバサイドでは OpenStorage 対応でしょうか。
storage-nas, storage-server パッケージクラスタが該当します。

開発者向けでは NetBeans が 6.5 にアップデートされてますが、 さらに Eclipse まで追加されているようです。

http://blogs.sun.com/thaniwa/date/20081205 2008年 12月 05日 金曜日

(JA) JavaFX 1.0

JavaFX 1.0 がリリースされました。
これに伴い、JavaFX.com もデザインが一新されています。
http://javafx.com/

NetBeans 6.5 の JavaFX プラグインもダウンロードできるようになっています。



http://blogs.sun.com/thaniwa/date/20081204 2008年 12月 04日 木曜日

(JA) Debian Linux 4.0r3 on Sun Fire X4150

Debian Linux 4.0r3 on Sun Fire X4140
http://blogs.sun.com/thaniwa/entry/ja_debian_on_x4140

に続いて、Debian Linux 4.0r3 on Sun Fire X4150です。

Sun Fire X4140 のテストと同様に
SG-PCIE8SAS-I-Z 8-port Internal SAS PCI Express LSI3081E Host Bus Adapter
を利用しています。

dmesg の出力です。

Bootdata ok (command line is root=/dev/sda1 ro )
Linux version 2.6.18-6-amd64 (Debian 2.6.18.dfsg.1-22) (dannf@debian.org) (gcc v
ersion 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Jun 16 22:30:01
 UTC 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000dffb0000 (usable)
 BIOS-e820: 00000000dffbe000 - 00000000dffc0000 type 9
 BIOS-e820: 00000000dffc0000 - 00000000dffce000 (ACPI data)
 BIOS-e820: 00000000dffce000 - 00000000e0000000 (ACPI NVS)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000220000000 (usable)
DMI present.
ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fa5e0
ACPI: XSDT (v001 A M I  OEMXSDT  0x05000813 MSFT 0x00000097) @ 0x00000000dffc010
0
ACPI: FADT (v003 A M I  OEMFACP  0x05000813 MSFT 0x00000097) @ 0x00000000dffc029
0


...(略)...
Checking aperture...
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing software IO TLB between 0x1c7c000 - 0x5c7c000
Memory: 8178396k/8912896k available (1928k kernel code, 209504k reserved, 867k d
ata, 176k init)
Calibrating delay using timer specific routine.. 6322.84 BogoMIPS (lpj=12645688)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
using mwait in idle threads.
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
SMP alternatives: switching to UP code
ACPI: Core revision 20060707
Using local APIC timer interrupts.
result 20781276
Detected 20.781 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/8 APIC 0x4
Initializing CPU#1
Calibrating delay using timer specific routine.. 6317.59 BogoMIPS (lpj=12635191)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz stepping 06
SMP alternatives: switching to SMP code
Booting processor 2/8 APIC 0x1
Initializing CPU#2
Calibrating delay using timer specific routine.. 6317.53 BogoMIPS (lpj=12635067)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU2: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz stepping 06

...(省略)...

CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 2
CPU6: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz stepping 06
SMP alternatives: switching to SMP code
Booting processor 7/8 APIC 0x7
Initializing CPU#7
Calibrating delay using timer specific routine.. 6317.65 BogoMIPS (lpj=12635308)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 3
CPU7: Thermal monitoring enabled (TM2)
Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz stepping 06
Brought up 8 CPUs
testing NMI watchdog ... OK.
migration_cost=30,13964
checking if image is initramfs... it is
Freeing initrd memory: 5313k freed
NET: Registered protocol family 16

...(略)...

/proc/cpuinfo です。 1CPU(4コア)分です。これが、8コア分まで続きます。

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz
stepping        : 6
cpu MHz         : 3158.754
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : 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 ht tm syscall nx lm constant_tsc
 pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 6322.84
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz
stepping        : 6
cpu MHz         : 3158.754
cache size      : 6144 KB
physical id     : 1
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : 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 ht tm syscall nx lm constant_tsc
 pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 6317.59
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz
stepping        : 6
cpu MHz         : 3158.754
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : 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 ht tm syscall nx lm constant_tsc
 pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 6317.53
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz
stepping        : 6
cpu MHz         : 3158.754
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : 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 ht tm syscall nx lm constant_tsc
 pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips        : 6317.62
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

ifconfig の出力です。特に何もすることなく、 Gigabit Ethernet 4つ全て認識します。 (IPアドレスおよびMacアドレスは一部伏せ字に変更しています。)

eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:D0  
          inet addr:xx.xx.xx.238  Bcast:xx.xx.xx.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x8c00 Memory:fc6e0000-fc700000 

eth1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:D1  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x8800 Memory:fc6c0000-fc6e0000 

eth2      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:D2  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0xac00 Memory:fcde0000-fce00000 

eth3      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:D3  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0xa800 Memory:fcd80000-fcda0000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2224 (2.1 KiB)  TX bytes:2224 (2.1 KiB)