Messages in cipher reflected in the looking glass

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.

投稿されたコメント:

コメント
コメントは無効になっています。