sillicon graphics octane2を触ってみたよ(OpenBSD起動編その2)

途中でコケてたのは、comドライバに渡すbaseアドレスがコンフィグファイル上で未指定だったから。
これでデバイスの初期化はできたぞい。

書き忘れてたが、カーネルは当然currentだ。cvs upで更新して最新のものを使ってる。
奇特にも、Octane対応を進めてる人が居るらしい。
OpenBSD/sgiは何気にN64フル対応されてて侮れない。
NetBSD, FreeBSDは64bit化を真面目にやる気がないのと比べると素晴らしい。
が、BSD三兄弟の中でも特にマイナーだよね。このOS。

ちなみに、unconfiguredな"SGI Rad1"はオーディオデバイスらしいよ。

Diagnostics failed.
[Press any key to continue.]

System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type "exit" to return to the menu.
>> bootp()192.168.3.1:bsd
Setting $netaddr to 192.168.3.2 (from server )
Obtaining bsd from server
5868832+476536 entry: 0xa800000020020000
ARCS64 Firmware Version 64.0
Found SGI-IP30, setting up.
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.5-current (OCTANE_RAMDISK) #8: Wed Apr 15 17:07:40 JST 2009
    asada@puffy.s.axe-inc.co.jp:/home/asada/current/src/sys/arch/sgi/compile/OCTANE_RAMDISK
real mem = 536870912 (512MB)
rsvd mem = 1064960 (1MB)
avail mem = 502714368 (479MB)
mainbus0 at root
cpu0 at mainbus0: MIPS R12000 CPU rev 3.5 400 MHz with R10000 FPU rev 0.0
cpu0: cache L1-I 32KB D 32KB 2 way, L2 2048KB 2 way
cpu0: Setsize 16384:16384
cpu0: Alias mask 0x3000
cpu0: Config Register 6c12afa3
cpu0: Cache type 202
cpu0: Status Register 140450a0
clock0 at mainbus0: ticker on int5 using count register
xbow0 at mainbus0: XBow revision 5
xheart0 at xbow0 widget 8: Heart revision 6
onewire0 at xheart0
owserial0 at onewire0 family 0x0b sn 0000004d74fa
owserial0: "PM20400MHZ" serial 030-1476-001
"Odyssey" revision 2 at xbow0 widget 11 not configured
xbridge0 at xbow0 widget 15: Bridge revision 4
pci0 at xbridge0 bus 0
isp0 at pci0 dev 0 function 0 "QLogic ISP1020" rev 0x05isp0: QLogic ISP Driver, NetBSD (pci) Platform Version 2.1 Core Version 2.7
: irq 0
isp0: Ultra Mode Capable
isp0: Board Type 1040B, Chip Revision 0x5, resident F/W Revision 2.55.0
isp0: Last F/W revision was 2.55.0
isp0: 390 max I/O commands supported
isp0: invalid NVRAM header
isp0: 0 0 0
isp0: Generated CHAN 0 FTHRSH 0 IID 7 RESETD 5 RETRYC 0 RETRYD 0 ASD 0x9
isp0: Generated RAAN 0x0 DLAN 0x0 DDMAB 0x1 CDMAB 0x0 SELTIME 250 MQD 256
isp0: Generated CHAN 0 TGT 0 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 1 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 2 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 3 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 4 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 5 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 6 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 7 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 8 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 9 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 10 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 11 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 12 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 13 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 14 FLAGS 0xfd00 0x8/0xc
isp0: Generated CHAN 0 TGT 15 FLAGS 0xfd00 0x8/0xc
isp0: Initiator ID is 7 on Channel 0
isp0: Initial Settings bus0 tgt0 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt1 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt2 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt3 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt4 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt5 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt6 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt7 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt8 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt9 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt10 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt11 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt12 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt13 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt14 flags 0xc500 off 0x0 per 0x0
isp0: Initial Settings bus0 tgt15 flags 0xc500 off 0x0 per 0x0
isp0: driver initiated bus reset of bus 0
scsibus0 at isp0: 16 targets, initiator 7
sd0 at scsibus0 targ 1 lun 0: <QUANTUM, ATLAS_V__9_SCA, 0238> SCSI3 0/direct fixed
sd0: 8682MB, 512 bytes/sec, 17781964 sec total
isp1 at pci0 dev 1 function 0 "QLogic ISP1020" rev 0x05: irq 1
isp1: Ultra Mode Capable
isp1: Board Type 1040B, Chip Revision 0x5, resident F/W Revision 2.55.0
isp1: Last F/W revision was 2.55.0
isp1: 390 max I/O commands supported
isp1: invalid NVRAM header
isp1: 0 0 0
isp1: Generated CHAN 0 FTHRSH 0 IID 7 RESETD 5 RETRYC 0 RETRYD 0 ASD 0x9
isp1: Generated RAAN 0x0 DLAN 0x0 DDMAB 0x1 CDMAB 0x0 SELTIME 250 MQD 256
isp1: Generated CHAN 0 TGT 0 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 1 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 2 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 3 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 4 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 5 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 6 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 7 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 8 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 9 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 10 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 11 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 12 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 13 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 14 FLAGS 0xfd00 0x8/0xc
isp1: Generated CHAN 0 TGT 15 FLAGS 0xfd00 0x8/0xc
isp1: Initiator ID is 7 on Channel 0
isp1: Initial Settings bus0 tgt0 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt1 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt2 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt3 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt4 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt5 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt6 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt7 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt8 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt9 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt10 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt11 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt12 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt13 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt14 flags 0xc500 off 0x0 per 0x0
isp1: Initial Settings bus0 tgt15 flags 0xc500 off 0x0 per 0x0
isp1: driver initiated bus reset of bus 0
scsibus1 at isp1: 16 targets, initiator 7
cd0 at scsibus1 targ 1 lun 0: <PLEXTOR, CD-ROM PX-12TS, 1.02> SCSI2 5/cdrom removable
ioc0 at pci0 dev 2 function 0 "SGI IOC3" rev 0x01: superio irq 4, ethernet irq 2
onewire1 at ioc0
owmac0 at onewire1 family 0x09 sn 000002d29696
owmac0: Ethernet Address 08:00:69:13:67:82
owserial1 at onewire1 family 0x0b sn 0000004d4ee4
owserial1: "FP1" serial 030-0891-003
owserial2 at onewire1 family 0x0b sn 0000004e12fb
owserial2: "PWR.SPPLY.ER" serial 060-0035-002
com1 at ioc0 base 0x00020170: ns16550a, 16 byte fifo
com0 at ioc0 base 0x00020178: ns16550a, 16 byte fifo
com0: console
dsrtc0 at ioc0 base 0x00020168: DS1687
"SGI Rad1" rev 0xc0 at pci0 dev 3 function 0 not configured
Timecounters tick every 10.000 msec
rd0: fixed, 8192 blocks
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
rootdev=0x800 rrootdev=0x1600 rawdev=0x1602
panic: root filesystem has size 0
Stopped at      0xa800000020161b6c:     jr      ra
0xa800000020161b70:      nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb>