Hajime Akashi's Weblog
なんとなく core dump
アーカイブ
« 8月 2006 »
  
1
2
4
5
6
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
今日
XML
Search

リンク

The requested Bookmark Folder does not exist: Blogroll

 
The requested Bookmark Folder does not exist: Links
 

Today's Page Hits: 70

    
« 前の日(Aug月 1日, 2006年) | 日付別メイン | 次の日(Aug月 3日, 2006年) »
20060803 2006年 8月 03日 木曜日
Solaris on Mac mini その後・・・
こんにちは、あかぴんです。

今日は、認識されなかったネットワークに挑戦してみました。

ネットワークは、Marvell Yukon であるということを教えてもらったので、

Marvell Yukon Solaris 7, 8, 9 & 10 Driver

http://www.marvell.com/drivers/driverDisplay.do?dId=133&pId=22

をダウンロード後、USB メモリで持ってきて、pkgadd で突っ込んでみました。

インストール後、いろいろ面倒なので、 touch /reconfigure; reboot しましたが、
認識されてません。まぁ、ここはしょうがないので確認です。

まず、/etc/driver_aliases をみてみると

yukonx "pci11ab,4320"
yukonx "pci11ab,4340"
yukonx "pci11ab,4341"
yukonx "pci11ab,4342"
yukonx "pci11ab,4343"
yukonx "pci11ab,4344"
yukonx "pci11ab,4345"
yukonx "pci11ab,4346"
yukonx "pci11ab,4347"
yukonx "pci11ab,4350"
yukonx "pci11ab,4351"
yukonx "pci11ab,4360"
yukonx "pci11ab,4361"
yukonx "pci11ab,4362"

となっています。

一方、prtconf -vD でデバイス確認してみると、搭載されているチップは
pci11ab,5321 のようで、これが /etc/driver_aliases に登録されていない
のが原因のようです。

# prtconf -vD | grep pci11ab
            pci11ab,5321
                        value='pciex11ab,4362.11ab.5321.22' + 'pciex11ab,4362.11
ab.5321' + 'pciex11ab,4362.22' + 'pciex11ab,4362' + 'pciexclass,020000' + 'pciex
class,0200' + 'pci11ab,4362.11ab.5321.22' + 'pci11ab,4362.11ab.5321' + 'pci11ab,
5321' + 'pci11ab,4362.22' + 'pci11ab,4362' + 'pciclass,020000' + 'pciclass,0200'

add_drv で試してもよいのですが、面倒なので /etc/driver_aliases の最後に
yukonx "pci11ab,5321" を追加後、徐に touch /reconfigure; reboot。

今度は ifconfig yukonx0 plumb; ifconfig yukonx0 auto-dhcp で IP を取得
することが出来ました。

Aug  3 08:50:01 mini yukonx: [ID 364738 kern.notice]
Aug  3 08:50:01 mini yukonx: Marvell Yukon Ethernet Controller v8.10.4.3    Wed
Mar 30 13:06:08 CEST 2005
Aug  3 08:50:01 mini unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared b
y drivers with different interrupt levels.
Aug  3 08:50:01 mini This may result in reduced system performance.
Aug  3 08:50:01 mini pcie_pci: [ID 586369 kern.info] PCIE-device: pci11ab,5321@0
, yukonx0
Aug  3 08:50:01 mini genunix: [ID 936769 kern.info] yukonx0 is /pci@0,0/pci8086,
27d0@1c/pci11ab,5321@0
Aug  3 08:50:01 mini yukonx: [ID 801593 kern.notice] yukonx0: Marvell Yukon 88E8
053 Gigabit Ethernet Controller
Aug  3 08:50:01 mini yukonx: [ID 200860 kern.notice] PreferredPort: A
Aug  3 08:50:01 mini yukonx: [ID 834597 kern.notice] Dual Net Support: No
Aug  3 08:50:01 mini yukonx: [ID 389192 kern.notice] RLMT Mode: CLS
Aug  3 08:50:01 mini yukonx: [ID 573059 kern.notice] Jumbo Frame Support: Off
Aug  3 08:50:01 mini yukonx: [ID 772773 kern.notice] Copy Threshold: 1500
Aug  3 08:50:01 mini yukonx: [ID 477694 kern.notice] VLAN Support: No
Aug  3 08:50:01 mini yukonx: [ID 571159 kern.notice] Interrupt Moderation: On
Aug  3 08:50:01 mini yukonx: [ID 100000 kern.notice]
Aug  3 08:50:03 mini yukonx: [ID 418734 kern.notice] yukonx0: Network connection
 up on port A
Aug  3 08:50:03 mini yukonx: [ID 249518 kern.notice]     Link Speed:      100 Mb
ps
Aug  3 08:50:03 mini yukonx: [ID 966250 kern.notice]     Autonegotiation: Yes
Aug  3 08:50:03 mini yukonx: [ID 676895 kern.notice]     Duplex Mode:     Full
Aug  3 08:50:03 mini yukonx: [ID 825410 kern.notice]     Flow Control:    Symmet
ric

なかなかイイ感じで、これならおうちサーバとして使えそうです。

それでは。

8月 03日 2006年, 10:09:36 午後 JST Permalink 投稿されたコメント [0]

Solaris on Mac mini
こんにちは、あかぴんです。

MacBook で Nevada b44 が動いたという報告があったので、
Mac mini (Early 2006) で試してみました。

インストール先は、たまたま USB 接続していた iPod (40 GB Click Wheel)  が
SCSI デバイスとして認識されたので、こいつにインストールしてみました。

#さようなら、わたしの音楽たち・・・
#ネタのために、消してごめんなさい。

結果は、ネットワークは認識されませんでしたが、インストールは出来ました。
Core も 2 つ認識しています。Bluetooth の Keyboard, Mouse も使えてます。
ただ、残念なことに FW400 で接続されている iSight は認識されてないようで、
緑の LED も点灯してません。。。


# cat release
                            Solaris Nevada snv_44 X86
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 17 July 2006

# psrinfo -v
Status of virtual processor 0 as of: 08/02/2006 10:00:40
  on-line since 08/02/2006 09:54:36.
  The i386 processor operates at 1667 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 08/02/2006 10:00:40
  on-line since 08/02/2006 09:54:44.
  The i386 processor operates at 1667 MHz,
        and has an i387 compatible floating point processor.

# iostat -En
c0t0d0           Soft Errors: 28 Hard Errors: 0 Transport Errors: 0
Vendor: Apple    Product: iPod             Revision: 1.62 Serial No:
Size: 40.00GB <40000536576 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 28 Predictive Failure Analysis: 0
c1t0d0           Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: MATSHITA Product: DVD-R   UJ-846   Revision: FM3J Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0

# df -h .
ファイルシステム     サイズ 使用済み 使用可能 容量      マウント先
/dev/dsk/c0t0d0s0       36G   4.0G    31G    12%    /

画面イメージは特におもしろくありませんが、以下のような感じです。

desktop


参考までにこちらが Explorer の出力結果です。

ちなみに、iPod を取り外して、電源を入れてみると、悲しいアイコンが表示されて
すぐに電源が落ちるようになりました(まぁ当然の挙動)。Mac OS X からはデバイス
としては認識できたので、きっと初期化すれば復活するものと思われます。

今回は、時間がなかったのでインストールしただけで終わりましたが、時間のあるときに
Mac mini のネットワークまわりとか、この iPod を Ultra 20 に接続して Boot させたら
どうなるか等を調べてみたいと思います。

それでは。

8月 03日 2006年, 02:40:25 午前 JST Permalink 投稿されたコメント [1]