2009年 2月 01日 日曜日
|
|
Messages in cipher reflected in the looking glass [ Yasuhiro Fujitsuki's Weblog ] |
Snapshots by E-3 and Summilux 25mm F1.4
普段、こういう写真は blogs.sun.com上にはほとんど載せませんが、たまにはということで。





Posted at 11:48午後 2 01, 2009 by Yasuhiro Fujitsuki in General |
(JA) Use VMWare Image on VirtualBox
VirtualBox には VMWare 用のイメージを読み込む機能が搭載されています。
そのため、雑誌など VMWare Player とともにOSイメージが付属しているものもありますが、
VMWare Player を使わずに VitualBox を利用して起動することができます。
ということで、その機能を試してみました。
VirtualBoxを起動し、仮想メディアマネージャを起動します。
仮想メディアマネージャのウィンドウが表示されるので、
追加をクリックします。
ファイルユーザが表示されるので、VMWareイメージを選択します。
ここでは本に付属していた Debian Gnu Linux イメージを選択しています。
Debian Gnu Linux のイメージが追加されたことがわかります。
VirtualBox のメインウィンドウに戻り、新規ボタンを押し、
新規仮想マシンの作成ダイアログを呼び出します。
メモリサイズなどの設定を行っていくと、仮想ハードディスクの設定になりますので、
そこで、先ほど追加した Debian Gnu Linux のイメージを選択します。
設定終了。
仮想マシンを起動したところ、その1。(GRUB画面)
仮想マシンを起動したところ、その2。(コンソールログイン画面)
Posted at 05:55午後 1 31, 2009 by Yasuhiro Fujitsuki in Linux & Solaris | 投稿されたコメント[2]
(JA) VirtualBox 2.1.2 / Windows 7 Beta 64bit on Windows Vista 32bit
VirtualBox 2.1.2 がリリースされました。
ダウンロードは
http://www.virtualbox.org/wiki/Downloads
から。
http://www.virtualbox.org/wiki/Changelog
によると、2.1.2 で、
「Windows Additions: added support for Windows 7 Beta」
と Windows 7 Beta がサポートされてます。
また、2.1.0 から
「Support for 64-bit guests on 32-bit host operating systems (experimental; see user manual, chapter 1.6, 64-bit guests, page 16) 」
のように 64bitゲストを 32bit OS上で動かすことができます。
ということで、Windows VISTA Ultimate 32bit の上で、Windows 7 Beta 64bit を動かしてみました。
VirtualBoxで「新規仮想マシンの作成」ダイアログを表示させると、
下図のように Windows 7 が選択肢に表示されています。
64bit 版を動かしたいので、ちゃんと 「Windows 7(64bit)」を選択します。
インストーラを起動したところです。
インストール終了後の起動画面。
Windows VISTA システム情報と VirtualBox 上の Windows 7 Beta のシステム情報を
表示させてみました。
速度はそれなり…という感じですが、64bit OSを気軽に試してみることができます。
32bit環境で普段使っているソフトが64bit環境に移行できるか試してみるというのもありかもしれません。
Posted at 11:04午後 1 23, 2009 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) Solaris Express (nevada) b105 : USB ZFS boot
前回に続き、Solaris Express を ZFSブート化した場合の rmformat , df -k , /var/adm/messages の出力です。
ちなみにテスト環境はこんな感じです。一応、メインの被写体はPCではなくUSBメモリです。
余計なものが微妙に写りこんでいますが、詮索しないでください。f(^-^;
(ログの日付でいつ、どこで作業しているかは大体想像できるかと思いますし。)
Solaris をテキストインストーラで起動して、USBにZFS環境を構築しているところです。
X-Windowが表示されているので、別途端末エミュレータを表示させて、
裏で zpool や zfs の出力を見てたり、インストーラの画面を取り込んでいました。
インストール中は /a にマウントされます。rootユーザのホームディレクトリは
/a/root となっているので、この辺にインストール時のログ等を取った場合、
置いておくと良かったりします。
hbash-3.2# rmformat
デバイスを探しています...
1. Logical Node: /dev/rdsk/c0t2d0p0
Physical Node: /pci@0,0/pci1462,6510@1f,2/cdrom@2,0
Connected Device: TEAC DV-W28S-R F.0B
Device Type: DVD Reader/Writer
Bus: <Unknown>
Size: <Unknown>
Label: <Unknown>
Access permissions: <Unknown>
2. Logical Node: /dev/rdsk/c1t0d0p0
Physical Node: /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0
Connected Device: Patriot Memory PMAP
Device Type: Removable
Bus: USB
Size: 30.6 GB
Label: <None>
Access permissions: <Unknown>
bash-3.2# df -k
ファイルシステム kbytes 使用済み 使用可能 容量 マウント先
rpool/ROOT/snv_105 30707712 7499809 20059944 28% /
/devices 0 0 0 0% /devices
/dev 0 0 0 0% /dev
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 3607736 524 3607212 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
27559753 7499809 20059944 28% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 3607292 80 3607212 1% /tmp
swap 3607260 48 3607212 1% /var/run
rpool/export 30707712 19 20059944 1% /export
rpool/export/home 30707712 18 20059944 1% /export/home
rpool 30707712 30 20059944 1% /rpool
# cat /var/adm/messages
Jan 11 14:41:39 unknown npe: [ID 236367 kern.info] PCI Express-device: pci1462,6510@1d,7, ehci1
Jan 11 14:41:39 unknown genunix: [ID 936769 kern.info] ehci1 is /pci@0,0/pci1462,6510@1d,7
Jan 11 14:41:40 unknown usba: [ID 912658 kern.info] USB 2.0 device (usb13fe,1f00) operating at hi speed (USB 2.x) on USB 2.0
root hub: storage@2, scsa2usb0 at bus address
Jan 11 14:41:40 unknown usba: [ID 349649 kern.info] Patriot Memory 078C0EAB038F
Jan 11 14:41:40 unknown genunix: [ID 936769 kern.info] scsa2usb0 is /pci@0,0/pci1462,6510@1d,7/storage@2
Jan 11 14:41:40 unknown genunix: [ID 408114 kern.info] /pci@0,0/pci1462,6510@1d,7/storage@2 (scsa2usb0) online
Jan 11 14:41:40 unknown scsi: [ID 193665 kern.info] sd2 at scsa2usb0: target 0 lun 0
Jan 11 14:41:40 unknown genunix: [ID 936769 kern.info] sd2 is /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0
Jan 11 14:41:40 unknown genunix: [ID 408114 kern.info] /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0 (sd2) online
Jan 11 14:41:44 unknown genunix: [ID 308332 kern.info] root on rpool/ROOT/snv_105 fstype zfs
下記はインストール直後の zpool, zfs の出力。
bash-3.2# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT rpool 29.8G 8.18G 21.6G 27% ONLINE - bash-3.2# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 10.2G 19.1G 30.5K /rpool rpool/ROOT 7.15G 19.1G 18K legacy rpool/ROOT/snv_105 7.15G 19.1G 7.15G / rpool/dump 1.00G 19.1G 1.00G - rpool/export 37K 19.1G 19K /export rpool/export/home 18K 19.1G 18K /export/home rpool/swap 2G 21.1G 24.0M -
ZFSブートを行う場合のテキストインストーラのログを載せておきます。
下記はディスクの選択ですが、デフォルトでは HDD がブートデバイスとしても選択されています。
(「**」がついています)
ここでは、USBメモリ c1t0d0 を選択し、HDD c0t0d0 のチェックをはずしています。
ディスクの選択
On this screen you must select the disks for installing Solaris software.
Start by looking at the Suggested Minimum field; this value is the
approximate space needed to install the software you've selected. For ZFS,
multiple disks will be configured as mirrors, so the disk you choose, or the
slice within the disk must exceed the Suggested Minimum value.
NOTE: ** denotes current boot disk
ディスクデバイス 空き領域
=============================================================================
[ ] ** c0t0d0 37973 MB
[X] c1t0d0 30553 MB (F4 で編集)
Maximum Root Size: 30553 MB
推奨する最小値: 9206 MB
F2_継続 F3_前に戻る F4_編集 F5_終了 F6_ヘルプ
上記のようにするとブートデバイスが選択されていない状態になるので、
ブートデバイスを選択する必要があります。
今回は USB メモリにブート用の Grub もインストールしますので、
F3 キーを入力して選択画面に移動します。
ブートデバイス未選択
デフォルトのブートデバイス (c0t0d0) を選択していません。
前に戻って、デフォルトのブートデバイスを選択しない場合、
システムは以下で選択したオプションに従って、常に別の
デバイスから Solaris をリブートします。
> Solaris インストールプログラムにブートデバイスの構成を
まかせるには、「了解」を選択してください。
> 別のブートデバイスを構成するには、「選択」を選択して
ください。
F2_了解 F3_選択 F5_取消し
USBメモリしか表示されませんので、そのまま進みます。
ブートディスクの選択
この画面では、システムをブートするディスクを選択します。
ブートディスクに x86BOOT パーティションが含まれている場合、
ルート (/) パーティションは、どのディスクに配置してもかまいません。
x86BOOT パーティションを使用する場合、ルート (/) パーティションは
ブートディスク上に配置されます。
元のブートディスク : c0t0d0
ディスク
==============================
[X] c1t0d0
F2_了解 F5_取消し F6_ヘルプ
ZFSのコンフィギュレーションに移るので、必要に応じて変更します。
Configure ZFS Settings
Specify the name of the pool to be created from the disk(s) you have chosen.
Also specify the name of the dataset to be created within the pool that is
to be used as the root directory for the filesystem.
ZFS Pool Name: rpool
ZFS Root Dataset Name: snv_105
ZFS Pool Size (in MB): 30554
Size of Swap Area (in MB): 2048
Size of Dump Area (in MB): 1024
(Pool size must be between 9206 MB and 30554 MB)
[X] Keep / and /var combined
[ ] Put /var on a separate dataset
F2_継続 F3_前に戻る F5_終了 F6_ヘルプ
インストールの最終確認時に表示されるプロファイルです。
プロファイル
以下の情報は Solaris をインストールするために必要なプロファイルです。
前の画面で行なった選択が反映されています。
注: デフォルトのブートデバイスを変更したため、BIOS を変更
する必要があります。
============================================================================
インストールオプション: 初期
ブートデバイス: c1t0d0
Root File System Type: ZFS
クライアントサービス: なし
ロケール: [日本語 EUC (ja)]
[日本語 PC 漢字 (ja_JP.PCK)]
[日本語 UTF-8 (ja_JP.UTF-8)]
システムのロケール: [日本語 UTF-8 (ja_JP.UTF-8)] ( ja_J
ソフトウェア: Solaris 11, 全体ディストリビューションサポ
Pool Name: rpool
Boot Environment Name: snv_105
Pool Size: 30554 MB
Devices in Pool: c1t0d0
F2_インストールを開始 F4_変更 F5_終了 F6_ヘルプ
上記で F2 キーを押して、インストールを開始する場合、 下記のような警告が出てきます。 これはブートデバイスの変更に伴うことなので、 F2 キーを押してそのままインストールを行います。
警告
次のディスク構成状態が検出されました。確実にインストールを
行うためには、エラーを修正する必要があります。警告について
は無視できます (インストールが 失敗することはありません)。
警告: デフォルトのブートデバイスの変更
システムが、指定したブートデバイスから常に Solaris
をリブートするようにしたい場合には、Solaris
ソフトウェアをインストールしたあとで、システムの BIOS
デフォルトブートデバイスを変更する必要があります。
F2_了解 F5_取消し
これでインストールが開始されます。
あとは下記のような感じで出力され、インストールが行われます。
Patriot Memory Patriot USB Xporter XT Boost 32GB を使っていますが、
Entire(全体ディストリビューション)インストールで、ここから2時間ほど時間がかかります。
Solaris をインストールするためにシステムを準備しています
ディスク (c1t0d0) を構成中です
- fdisk パーティションテーブルを作成中です
- Solaris ディスクラベル (VTOC) を作成中です
- Creating pool rpool
- Creating swap zvol for pool rpool
- Creating dump zvol for pool rpool
Solaris 11 ソフトウェアのインストールが完了しました
システムファイルをカスタマイズ中です
- マウントポイントテーブル (/etc/vfstab)
- 選択されていないディスクのマウントポイント (/var/sadm/system/data/vfstab.unselected)
- ネットワークホストアドレス (/etc/hosts)
- 環境変数 (/etc/default/init)
デバイスをクリーンアップ中です
システムデバイスをカスタマイズ中です
- 物理デバイス (/devices)
- 論理デバイス (/dev)
ブート情報をインストール中です
bootadm: biosdev command failed for disk: /dev/dsk/c1t0d0s0.
bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: /dev/dsk/c1t0d0s0
bootadm: get_grubroot(): cannot get (hd?,?,?) for menu. menu not on bootdisk: /dev/rdsk/c1t0d0s0
- ブートブロック (c1t0d0) をインストール中です
- ブートブロック (/dev/rdsk/c1t0d0s0) をインストール中です
上記のインストール方法では、Grub は USBメモリにインストールされます。
この方法では、HDD側には Grub がインストールされませんので、
Linux 等がすでにインストールされていても影響を与えません。
また、USBメモリを挿せば Solaris 、はずせば Windows/Linux 等が起動できるようになります。
最近、USBメモリは 8GB で 2000-3000円台で買えますし、
16GBも 4000円前後で買えます。
OpenSolarisの推奨は9GBとなっているのですが、
8GBであれば普通に使えますし、IPS等のアップデート等のテストなら
16GBあれば足りるのではないかと。
Solaris Express でも 16GB 以上あれば十分全体ディストリビューションで
インストールできますので、
HDDにはSolarisをインストールせずに USBメモリで済ませてしまうということもできそうです。
(PCがUSBメモリからのブートに対応していることが前提ですが)
Posted at 10:11午前 1 18, 2009 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) Solaris Express (nevada) b105 : USB UFS boot
OpenSolaris 2008.11がリリースされてからまだそれほど時間は経っていませんが、
私の興味は既に 2009.04 に移っています。
というか、興味があったのは2008.11では出来なかった USBメモリからのZFSブートなんですが。
OpenSolaris 2008.11では
devid がらみなど、いくつか原因があり、USBメモリ上に rpool がある場合、
認識できなかったのですが、下記 URL のように話題になっていました。
この辺に関係ありそうなものは b104 あたりでフィックスが行われたようです。
http://defect.opensolaris.org/bz/show_bug.cgi?id=4755
また、Grubにも同様の問題があり、これに関するフィックスが b105 で行われました。
http://bugs.opensolaris.org/view_bug.do?bug_id=6770866
ということで、OpenSolaris 2009.04 b105 以降のイメージが出れば、
USBメモリで ZFS ブートができるようになるのですが、
OpenSolaris b105 の ISO イメージがリリースされていないので、
Solaris Express でも同様のことが行えるだろうということでテストしてみました。
GUIインストーラでは UFS インストールになり、ZFSではインストールできませんので、
ZFSでインストールしたい場合はコンソールインストーラでインストールする必要があります。
USBメモリの書き込みパフォーマンスに依存する部分がありますが、
MLCタイプの大容量USBメモリはそれほど速くないので、
UFS でのインストールはあまりお勧めできません。
UFS の場合、Entire(全体ディストリビューション)インストールで
6時間くらいインストール作業やってました…(汗。
ZFS の場合は 2時間程度でインストールが終わりますので、ZFS環境でのインストールをお勧めします。
下記は、UFS でインストールした場合の結果です。
1つめの rmformat コマンドで、Patriot Memory (32GBのUSBメモリ)が
/dev/rdesk/c1t0d0p0 であることがわかります。
2つめの df -k で、インストールしているスライス情報がわかりますが、
同様のデバイスを利用しているのがわかるかと。
3つめは /var/adm/messages の中身の USBメモリの部分を抜粋したものです。
UFSと書いてあります。
bash-3.2# rmformat
デバイスを探しています...
1. Logical Node: /dev/rdsk/c0t2d0p0
Physical Node: /pci@0,0/pci1462,6510@1f,2/cdrom@2,0
Connected Device: TEAC DV-W28S-R F.0B
Device Type: DVD Reader/Writer
Bus: <Unknown>
Size: <Unknown>
Label: <Unknown>
Access permissions: <Unknown>
2. Logical Node: /dev/rdsk/c1t0d0p0
Physical Node: /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0
Connected Device: Patriot Memory PMAP
Device Type: Removable
Bus: USB
Size: 30.6 GB
Label: <None>
Access permissions: <Unknown>
bash-3.2# df -k
ファイルシステム kbytes 使用済み 使用可能 容量 マウント先
/dev/dsk/c1t0d0s0 29776000 7229823 22248417 25% /
/devices 0 0 0 0% /devices
/dev 0 0 0 0% /dev
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 3787780 652 3787128 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
29776000 7229823 22248417 25% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 3787212 84 3787128 1% /tmp
swap 3787176 48 3787128 1% /var/run
bash-3.2# cat /var/adm/messages
Jan 10 20:23:00 unknown usba: [ID 349649 kern.info] Patriot Memory 078C0EAB038F
Jan 10 20:23:00 unknown genunix: [ID 936769 kern.info] scsa2usb0 is /pci@0,0/pci1462,6510@1d,7/storage@2
Jan 10 20:23:00 unknown genunix: [ID 408114 kern.info] /pci@0,0/pci1462,6510@1d,7/storage@2 (scsa2usb0) online
Jan 10 20:23:00 unknown scsi: [ID 193665 kern.info] sd2 at scsa2usb0: target 0 lun 0
Jan 10 20:23:00 unknown genunix: [ID 936769 kern.info] sd2 is /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0
Jan 10 20:23:00 unknown genunix: [ID 408114 kern.info] /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0 (sd2) online
Jan 10 20:23:00 unknown genunix: [ID 308332 kern.info] root on /pci@0,0/pci1462,6510@1d,7/storage@2/disk@0,0:a fstype ufs
zfs に関しては次回の更新で。
Posted at 10:12午後 1 11, 2009 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) Solaris Express nevada b105
2009年最初の更新版となる Solaris Express (nevada) 105 がリリースされました。
ダウンロードは下記から。
http://www.opensolaris.org/os/downloads/
OpenSolaris の b105 ももうすぐでしょうか。
Posted at 11:29午前 1 10, 2009 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) Long Password on Solaris 10
パスワードの最大文字数に関してメモ代わりにまとめておきます。
Solaris 10 ではデフォルトでは8文字までになっています。
これは、crypt_unix という旧来のアルゴリズムがデフォルトになっているためです。
9文字以上のパスワードを利用するためにはこのアルゴリズムを変更する必要があります。
変更するファイルは
/etc/security/policy.conf
になります。
下記はその1部を抜粋したものになります。
この CRYPT_DEFAULT を 1 や 2a などに変更することで、
デフォルトのアルゴリズムが変更されます。
Solaris 10でデフォルトで用意されているのはCRYPT_ALGORITHMS_ALLOWで定義されている
1,2a,md5 で、
1はMD5, 2a は Blowfish になります。
# CRYPT_ALGORITHMS_ALLOW=1,2a,md5 # CRYPT_DEFAULT=__unix__
当然ですが、この設定を変更後、passwd コマンド等でパスワードを変更しなければ意味はありません。^-^;
Sun Java Directory Server を利用している場合も
userPassword フィールドに crypt で格納している場合、
同様の設定で対応できます。
Posted at 05:17午後 1 07, 2009 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) A Happy New Year 2009
新年あけましておめでとうございます。
今年もぼちぼち更新していきたいと思いますので、
よろしくお願いいたします。
新年用に何か用意しようかと思いつつ、そんな時間もなく…(汗。
Posted at 12:00午前 1 01, 2009 by Yasuhiro Fujitsuki in General |
(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=8843metric 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.
Posted at 05:18午後 12 25, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |
(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 の編集等を行い、解像度を変更する必要があります。
Posted at 08:20午後 12 18, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |
(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:~#
Posted at 10:19午前 12 15, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |
(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 を別途作成する必要があります。
Posted at 06:18午後 12 11, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |
(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 まで追加されているようです。
Posted at 01:42午後 12 06, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |
(JA) JavaFX 1.0
JavaFX 1.0 がリリースされました。
これに伴い、JavaFX.com もデザインが一新されています。
http://javafx.com/
NetBeans 6.5 の JavaFX プラグインもダウンロードできるようになっています。
Posted at 12:00午前 12 05, 2008 by Yasuhiro Fujitsuki in Java |
(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)
Posted at 05:53午後 12 04, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |