Creative Commons 4.0

私にとっては重要なのに、あまり日本語の情報もないようなので、誤訳注意でアナウンスポストを翻訳したものを掲載しておく。
これもCC-BY 3.0 Unportedで公開されているものなので、それに従う。
誤訳を見付けた人は、このブログの記事を修正するのではなく、もっとPageRankの高い所に修正版を転載したら良いと思う。私が修正する時間が取れるとも限らないので。


CCの次世代ライセンス --- ようこそ、4.0!

Diane Peters, 2013年11月25日

私たちは4.0ライセンスを誇らかに紹介します。今世界中で使えるようになりました。4.0ライセンスは、策定に2年以上を要しました。CCによってこれまでに作成された、最もグローバルで、法的にしっかりとしたライセンスです。CCでライセンスされた素材を共有し、再利用することが、より簡単になるように、そして、これまでになく頼りになるように、数多くの改善を組み込みました。

私たちは、2011年のワルシャワでのCCグローバルサミットに始まる改版の過程を始めるにあたって、多義的なゴールを想定していました。新しいライセンスは、これらの全てのゴールを満足し、それ以上になっています。4.0ライセンスは、政府と公共セクターの情報やその他の開示者、特にヨーロッパ連合におけるそれら、によって使われるのに非常に適したものです。これは、ライセンスのスコープをヨーロッパとその他の国々における特徴を持たないデータベースの権利を包含するように拡大したことによるものです。

その他の刺激的な新しい特徴は、可読性と構成の向上、常識的な表示、不注意でライセンスに違反してしまった者の速やかに違反を修正した場合の権利の自動的な再取得です。

これらの最も大きな改正のハイライトは、私たちのウェブサイトで見ることができます。ウェブサイトでは、公開された議論やライセンスの草案の改善の軌跡を4.0 wikiページでたどってみてください。そして、改版の過程でのcentral policy decisionsが守られていることを見てみてください

4.0の改版の過程は、賢く献身的な法と公開ライセンスの専門家と、活発でいろいろ意見を出してくれるオープンコミュニティーの真に共同的な努力によるものです。公開されたライセンス開発作業である4.0ライセンスと、Creative Commons Organizationは、全ての参加者のしっかりとした貢献によりより強固なものとなりました。

4.0ライセンスの公開において、私たちは私たちの協力ネットワークとより大きなコミュニティーとのパートナーシップにおいて、リーガルコードの公式翻訳を課題とすることとなります。私たちの新しいdeedの翻訳も多くが既に完了してはいますが、また途上にあります。

4.0を現実に送り出してくれた全ての人に、お礼と祝福をお送りします。

TOPS-20をNetBSD/amd64 6.99.24上のKLH10 PDP-10エミュレーターで起動し、TCP/IPで通信する

ふと、NetBSD/pdp10 http://www.netbsd.org/ports/pdp10/ のウェブページを観ると、KLH10というPDP-10エミュレーターをターゲットにすると書いてあった。これは、pkgsrcには収録されていない。
NetBSD/pdp10自体は、gcc for PDP-10の開発が止まってしまったので、放棄されているらしいが、KLH10がpkgsrcにないのは残念なので、追加してみたいと思った。
NetBSD/pdp10のウェブページによると、KL10Bというextended addressingをサポートするCPUをエミュレートするのは、KLH10だけである。
KLH10自体は、KL10B以外にKS10等もエミュレートするバイナリーを作ることができるが、今はそれには対応するpackageにはなっていない。

追加するには、当然動作確認が必要なので、TOPS-20を実行してみた。最新のKLH10を探しているうちに、NetBSDでのtap(4)ネットワークサポートのパッチが提供されていることが分かったので、それを適用して、telnetでloginできることも確認した。
TOPS-20はV7.0をインストールする。最新版は、V7.1のはずだが、どの磁気テープか確認できていないので。


pkgsrcにKLH10を追加する方法は書いても仕方ないので、pkgsrc/emulators/klh10を使って、TOPS-20にtelnetでloginするまでの方法を書いておく。

まずは、pkgsrc/emulators/klh10をmake installでインストールする。これは、現在のところ、NetBSD/i386とNetBSD/amd64しか想定しておらず、NetBSD/amd64 6.9924でしか動作確認していない。NetBSD/i386でも動くと思われる。armやalphaでのbuildができるようにするのは、そのうち対応したい。

KLH10の起動方法は普通のエミュレータープログラムとは異なる。/usr/pkg/share/klh10/binディレクトリーにあるバイナリーファイルは全て、kn10-klを実行するディレクトリーに置かれなくてはいけない。PATHが通っているからと言って、ちゃんと探して実行してもらえるようなことはないので、注意が必要である。

TOPS-20をKL10Bで動かすための環境は、/usr/pkg/share/klh10/klt20にインストールされる。
$ mkdir pdp10
$ cp -r /usr/pkg/share/klh10/klt20 ~/pdp10
$ cd klt20
$ cp /usr/pkg/share/klh10/bin/* .

として、KLH10を実行できる環境を整える。


次に、TOPS-20の磁気テープイメージをダウンロードする。
http://pdp-10.trailing-edge.com/tapes/ にあるものを使う。
TOPS-20本体については、bitsavers等にあるものでも良いが、TCP/IPに関しては、minotorプログラムが含まれていない磁気テープイメージもあるので、違うイメージを使う時には注意が必要である。

$ cd ~/pdp10/klh20

# TOPS-20 V7.0本体
$ ftp http://pdp-10.trailing-edge.com/tapes/bb-h137f-bm.tap.bz2

# TCP/IP拡張
$ ftp http://pdp-10.trailing-edge.com/tapes/bb-ev83b-bm_longer.tap.bz2

$ bunzip bb-h137f-bm.tap.bz2
$ bunzip bb-ev83b-bm_longer.tap.bz2


次は、KLH10を起動させて、TOPS-20をインストールする。
基本的には、/usr/pkg/share/klh10/klt20.txt にある通りに進める。
磁気テープイメージによって、若干違いがあるかもしれない。

以下に、インストール時のログを示す。
$ ./kn10-kl inst-klt20.ini
KLH10 V2.0H (MyKL) built Oct 18 2013 00:36:03
    Copyright � 2002 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.

Compiled for NETBSD on I386 with word model USEHWD
Emulated config:
         CPU: KL10-extend   SYS: T20   Pager: KL  APRID: 3600
         Memory: 8192 pages of 512 words  (SHARED)
         Time interval: INTRP   Base: OSGET
         Interval default: 60Hz
         Internal clock: OSINT
         Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
         Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages shared memory, clearing...done]

KLH10# ; Sample KLH10.INI for initial installation
KLH10#
KLH10# ; Define basic device config - one DTE, one disk, one tape.
KLH10# ; Use two RH20s because TOPS-10 doesn't like mixing disk and tape on
KLH10# ; the same controller (TOPS-20 is fine).
KLH10#
KLH10# devdef dte0 200   dte    master
KLH10# devdef rh0  540   rh20
KLH10# devdef rh1  544   rh20
KLH10# devdef dsk0 rh0.0 rp     type=rp06 format=dbd9
KLH10# devdef mta0 rh1.0 tm03   type=tu45
KLH10#
KLH10# ; Need KLNI to avoid LAPRBF BUGCHKs - use valid address if known
KLH10# ;
KLH10# devdef ni0 564 ni20 ipaddr=10.0.0.51
KLH10#
KLH10# ; Mount installation tape (no ucode or boot to skip)
KLH10# devmount mta0 bb-h137f-bm.tap
Mount requested: "bb-h137f-bm.tap"
[mta0: Tape online]
KLH10#
KLH10# ; Load tape bootstrap directly
KLH10# load mtboot.sav
Using word format "c36"...
Loaded "mtboot.sav":
Format: DEC-CSAV
Data: 4067, Symwds: 0, Low: 040000, High: 054641, Startaddress: 040000
Entvec: JRST (120 ST: 0, 124 RE: 0, 137 VR: 0,,0)
KLH10#
KLH10# ; Now ready to GO
KLH10# [EOF on inst-klt20.ini]
KLH10# go
Starting KN10 at loc 040000...

BOOT V11.0(315)

MTBOOT>/l

[BOOT: Loading] [OK]

MTBOOT>/g143



[FOR ADDITIONAL INFORMATION TYPE "?" TO ANY OF THE FOLLOWING QUESTIONS.]

DO YOU WANT TO REPLACE THE FILE SYSTEM ON THE SYSTEM STRUCTURE? Y

DO YOU WANT TO DEFINE THE SYSTEM STRUCTURE? Y

HOW MANY PACKS ARE IN THIS STRUCTURE: 1

ON WHICH "CHANNEL,CONTROLLER,UNIT" IS LOGICAL PACK # 0 MOUNTED? 0,-1,0

DO YOU WANT THE DEFAULT SWAPPING SPACE? Y

DO YOU WANT THE DEFAULT SIZE FRONT END FILE SYSTEM? Y

DO YOU WANT THE DEFAULT SIZE BOOTSTRAP AREA? Y

DO YOU WANT TO ENABLE PASSWORD ENCRYPTION FOR THE SYSTEM STRUCTURE? Y

WHAT IS THE NAME OF THIS STRUCTURE? PS

[STRUCTURE "PS" SUCCESSFULLY DEFINED]

[PS MOUNTED]
?PS UNIT 0 HAS NO BAT BLOCKS.
DO YOU WANT TO WRITE A SET OF PROTOTYPE BAT BLOCKS? Y

%%NO SETSPD.

System restarting, wait...
DATE AND TIME IS: FRIDAY, 18-OCTOBER-2013 11:03PM
WHY RELOAD? NEW
PROBLEM WITH ACCOUNTS-TABLE.BIN
CANNOT FIND ERROR MESSAGE FILE - ACCOUNT VALIDATION IS DISABLED

RUNNING DDMP


NO SYSJOB

********************
*BUGCHK "KNICFF" AT 18-OCT-2013 23:03:38
*PHYKNI - CANNOT RELOAD THE KLNI
*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 600104
********************
NO EXEC
MX>GET FILE MTA0:
  ?
MX>GET FILE MTA0:
MX>START

 TOPS-20 Command processor 7(4143)
@TER NO RAI
@ena
$run mta0:
DLUSER>load mta0:

DONE.
DLUSER>exit
$run mta0:
DUMPER>tape mta0:
DUMPER>restore <*>*.*.* (TO) *.*.*
Saveset "SYSTEM Files for TOPS-20 V7.0" 22-Jun-88 2035
 Loading files into PS:
 End of Saveset.


 Total files restored:      26
 Total pages restored:    1765
DUMPER>restore <*>*.*.* (TO) *.*.*
Saveset "SUBSYS Files for TOPS-20 V7.0" 22-Jun-88 2037
 Loading files into PS:
 End of Saveset.


 Total files restored:     176
 Total pages restored:    4535
DUMPER>restore <*>*.*.* (TO) *.*.*
Saveset "GALAXY SUBSYS Files for TOPS-20 V7.0"  22-Jun-88 2043
 Loading files into PS:
 End of Saveset.


 Total files restored:      25
 Total pages restored:     586
DUMPER>restore <*>*.*.* (TO) <*>*.*.*
Saveset "UETP Files for TOPS-20 V7.0"   22-Jun-88 2044
 Loading files into PS:
 End of Tape.


 Total files restored:      55
 Total pages restored:     482
DUMPER>exit
$conn 
$vdir

   PS:
 2060-MONBIG.EXE.1;P777752 597 305664(36) 26-May-88 17:05:33 BROOKS
 2060-MONMAX.EXE.1;P777752 597 305664(36) 26-May-88 17:28:27 BROOKS
 7-PTYCON.ATO.1;P777752     1 823(7)      2-Jun-88 22:29:16 BROOKS
 7-SETSPD.EXE.1;P777752    14 7168(36)   28-May-88 02:21:05 BROOKS
 7-SYSJOB.EXE.1;P777752     7 3584(36)   28-May-88 03:11:07 BROOKS
   .RUN.1;P777752           1 158(7)      2-Jun-88 21:41:35 BROOKS
 BOOT.EXB.1;P777752        12 11658(18)  27-May-88 21:36:22 BROOKS
 BUGS.MAC.1;P777752       155 395399(7)  23-May-88 18:14:48 BROOKS
 BUGSTRINGS.TXT.1;P777752  22 54680(7)   26-May-88 17:28:13 BROOKS
 CHECKD.EXE.1;P777752      22 11264(36)  27-May-88 21:42:19 BROOKS
 ERRMES.BIN.1;P777752      24 12013(36)  28-May-88 01:48:31 BROOKS
 EXEC.EXE.1;P777752       125 64000(36)  27-May-88 11:40:08 BROOKS
 FEDDT.EXE.1;P777752        9 4608(36)   14-Feb-79 20:37:17 BROOKS
 IPALOD.EXE.1;P777752      28 14336(36)  28-May-88 00:53:56 BROOKS
 KNILDR.EXE.1;P777752      26 13312(36)  28-May-88 00:58:59 BROOKS
 MTBOOT.EXB.1;P777752      11 10247(18)  27-May-88 21:37:31 BROOKS
 PROGRAM-NAME-CACHE.TXT.1;P777752   1 78(7)  9-Mar-81 15:24:00 BROOKS
 RP2DBT.EXB.1;P777752      18 17687(18)  27-May-88 21:38:15 BROOKS
 RP2MBT.EXB.1;P777752      16 16276(18)  27-May-88 21:39:26 BROOKS
 RSX20F.MAP.1;P777752      29 74007(7)   22-Mar-88 14:17:44 BROOKS
 SYSJOB.HLP.1;P777752       3 5679(7)    29-Mar-82 15:47:02 BROOKS
 SYSTEM.CMD.1;P777752       1 598(7)     24-Feb-84 20:01:23 BROOKS
 TGHA.EXE.1;P777752        29 14848(36)  28-May-88 03:20:32 BROOKS
   .HLP.1;P777752           1 214(7)     11-Nov-86 20:49:44 BROOKS
 TOPS20.BWR.1;P777752       3 1425(36)    1-Jun-88 18:17:20 BROOKS
   .DOC.1;P777752          13 6432(36)   21-Jun-88 15:25:11 LOMARTIRE

 Total of 1765 pages in 26 files
$renAME (EXISTING FILE) 2060-monbig.EXE.* (TO BE) monitr.exe
 2060-MONBIG.EXE.1 => MONITR.EXE.1 [OK]
$^Ecease now
 TOPS20 Will be shut down IMMEDIATELY
[Confirm]

[Timesharing is over]
$
        OPERATOR - Wait for the message "Shutdown complete" before
        entering commands to PARSER.

Shutdown complete
[HALTED: FE interrupt]
KLH10> q
Are you sure you want to quit? [Confirm]
Shutting down...Bye!


ここで注意すべきは終了方法である。
^Ecease nowの^Eは、Ctrl-e を入力すると言うことである。
また、その後、shutdown completeと出たら、Ctrl-\を押すと、KLH10の管理コンソールに移行できるので、そこでqを入力して終了する。

次に、一度TOPS-20にログインしてシャットダウンするまでを示す。
起動できるか確認すると言うことである。
一般ユーザーで起動させるので、tap(4)を使おうとして失敗するメッセージが表示されるが、今は気にしないで良い。
$ ./kn10-kl klt20.ini
KLH10 V2.0H (MyKL) built Oct 18 2013 00:36:03
    Copyright � 2002 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.

Compiled for NETBSD on I386 with word model USEHWD
Emulated config:
         CPU: KL10-extend   SYS: T20   Pager: KL  APRID: 3600
         Memory: 8192 pages of 512 words  (SHARED)
         Time interval: INTRP   Base: OSGET
         Interval default: 60Hz
         Internal clock: OSINT
         Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
         Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages shared memory, clearing...done]

KLH10# ; Sample KLH10.INI for initial installation
KLH10#
KLH10# ; Define basic device config - one DTE, one disk, one tape.
KLH10# ; Use two RH20s because TOPS-10 doesn't like mixing disk and tape on
KLH10# ; the same controller (TOPS-20 is fine).
KLH10#
KLH10# devdef dte0 200   dte    master
KLH10# devdef rh0  540   rh20
KLH10# devdef rh1  544   rh20
KLH10# devdef dsk0 rh0.0 rp     type=rp06 format=dbd9
KLH10# devdef mta0 rh1.0 tm03   type=tu45
KLH10#
KLH10# ; Need KLNI to avoid LAPRBF BUGCHKs - use valid address if known
KLH10# ;
KLH10# ; devdef ni0 564 ni20 ipaddr=10.0.0.51
KLH10# ; The (NetBSD/FreeBSD) version with tap(4) and bridge(4) creates the named
KLH10# ; tap device dynamically and bridges it to the default interface.
KLH10# ; If you want it differently (for instance routed instead of bridged),
KLH10# ; you can create the tap yourself and it will be used as it is.
KLH10# devdef ni0 564 ni20 ipaddr=10.0.0.51 ifc=tap0 dedic=true
KLH10#
KLH10# ; Load disk bootstrap directly
KLH10# load boot.sav
Using word format "c36"...
Loaded "boot.sav":
Format: DEC-CSAV
Data: 4630, Symwds: 0, Low: 040000, High: 054641, Startaddress: 040000
Entvec: JRST (120 ST: 0, 124 RE: 0, 137 VR: 0,,0)
KLH10#
KLH10# ; Now ready to GO
KLH10# [EOF on klt20.ini]
KLH10# go
Starting KN10 at loc 040000...

BOOT V11.0(315)

BOOT>

[BOOT: Loading] [OK]


[PS MOUNTED]

System restarting, wait...
DATE AND TIME IS: FRIDAY, 18-OCTOBER-2013 11:11PM
WHY RELOAD? NEW
PROBLEM WITH ACCOUNTS-TABLE.BIN
CANNOT GET A JFN FOR ACCOUNTS-TABLE.BIN - ACCOUNT VALIDATION IS
DISABLED
RUN CHECKD? N

RUNNING DDMP


SYSJOB 7(78) STARTED AT 18-OCT-2013 2311
RUN SYS:INFO
RUN SYS:MAPPER
JOB 0 /LOG OPERATOR XX OPERATOR
ENA
^ESET LOGIN PSEUDO
^ESET LOGIN CONSOLE
^ESET OPERATOR
PTYCON
GET SYSTEM:7-PTYCON.ATO
/

[dpni20: Warning - cannot set high priority - Permission denied]

[dpni20: Fatal error: Must be superuser!]
[KNILDR: LOADING MICROCODE VERSION 1(172) INTO ETHERNET CHANNEL 0]

18-OCT-2013 23:11:15 - TGHA 4.2(31
SJ  0: @LOG OPERATOR OPERATOR
SJ  0:  JOB 1 ON TTY172 18-OCT-2013 23:11:15, LAST LOGIN NEVER
SJ  0: @ENA
) IN OPERATION

********************
*BUGCHK "KNIINF" AT 18-OCT-2013 23:
SJ  0: $^ESET LOGIN PSEUDO
SJ  0: $^ESET LOGIN CONSOLE
11:10
*PHYKNI - KLNI INITIAL
SJ  0: $^ESET OPERATOR
SJ  0: $PTYCON
IZATION TIMED OUT
*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 400007000036
********************

********************
*BUGCHK "KNIRLF" AT 18-OCT-2013 23:11:15
*PHYKNI - KLNI RELOAD FAILED
*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 10
********************
SJ  0: PTYCON> GET SYSTEM:7-PTYCON.ATO
SJ  0: PTYCON> SILENCE
SJ  0: PTYCON> W ALL
SJ  0: GAL(0)     2          OPERATOR   EXEC       TI         0:0:0
SJ  0: BAT(1)     3          OPERATOR   BATCON     RN         0:0:0
SJ  0: NEB(2)     4          OPERATOR   NEBULA     RN         0:0:0
SJ  0: OPR(3)     5          OPERATOR   OPR        TI         0:0:0
SJ  0: MAILS(4)   6          OPERATOR   MX         RN         0:0:0
SJ  0: PTYCON> CONN OPR
SJ  0: [CONNECTED TO SUBJOB OPR(3)]
SJ  0:
SJ  0: 23:11:25          -- DEVICE STATUS FILE INITIALIZATION ERROR --
SJ  0:                 CHANGED CPU
SJ  0:                 SYSTEM:DEVICE-STATUS.BIN FILE WILL BE RESET
SJ  0:
SJ  0: 23:11:25          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 PREVIOUSLY MOUNTED STRUCTURE PS: DETECTED
SJ  0:
SJ  0: 23:11:25          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 STRUCTURE STATE FOR STRUCTURE PS IS INCORRECT
SJ  0:                   EXCLUSIVE/SHARED ATTRIBUTE SET INCORRECTLY
SJ  0:                 STATUS OF STRUCTURE PS: IS SET:
SJ  0:                 DOMESTIC, UNREGULATED, SHARED, AVAILABLE, DUMPABL
E
SJ  0:

 TOPS-20 Big System, TOPS-20 Monitor 7(21017)
@TER NO RAI
@log operator
 Job 7 on TTY145 18-Oct-2013 23:12:06, Last Login 18-Oct-2013 23:11:21
@ena
SJ  0: OPR>
SJ  0: **** MAILS(4) 23:12:21 ****
SJ  0:
SJ  0:  [SCHEDULER]:        Waiting for UPS:
SJ  0: **** OPR(3) 23:12:21 ****
vdir 

   PS:
 2060-MONMAX.EXE.1;P777752 597 305664(36) 26-May-88 17:28:27 BROOKS
 7-PTYCON.ATO.1;P777752     1 823(7)      2-Jun-88 22:29:16 BROOKS
 7-SETSPD.EXE.1;P777752    14 7168(36)   28-May-88 02:21:05 BROOKS
 7-SYSJOB.EXE.1;P777752     7 3584(36)   28-May-88 03:11:07 BROOKS
   .RUN.1;P777752           1 158(7)      2-Jun-88 21:41:35 BROOKS
 BOOT.EXB.1;P777752        12 11658(18)  27-May-88 21:36:22 BROOKS
 BUGS.MAC.1;P777752       155 395399(7)  23-May-88 18:14:48 BROOKS
 BUGSTRINGS.TXT.1;P777752  22 54680(7)   26-May-88 17:28:13 BROOKS
 CHECKD.EXE.1;P777752      22 11264(36)  27-May-88 21:42:19 BROOKS
 DEVICE-STATUS.BIN.1;P777752   0 0(0)    18-Oct-2013 23:11:25 OPERATOR
 ERRMES.BIN.1;P777752      24 12013(36)  28-May-88 01:48:31 BROOKS
 EXEC.EXE.1;P777752       125 64000(36)  27-May-88 11:40:08 BROOKS
 FEDDT.EXE.1;P777752        9 4608(36)   14-Feb-79 20:37:17 BROOKS
 IPALOD.EXE.1;P777752      28 14336(36)  28-May-88 00:53:56 BROOKS
 KNILDR.EXE.1;P777752      26 13312(36)  28-May-88 00:58:59 BROOKS
 MONITR.EXE.1;P777752     597 305664(36) 26-May-88 17:05:33 OPERATOR
 MTBOOT.EXB.1;P777752      11 10247(18)  27-May-88 21:37:31 BROOKS
 PROGRAM-NAME-CACHE.TXT.1;P777752   1 78(7)  9-Mar-81 15:24:00 BROOKS
 RP2DBT.EXB.1;P777752      18 17687(18)  27-May-88 21:38:15 BROOKS
 RP2MBT.EXB.1;P777752      16 16276(18)  27-May-88 21:39:26 BROOKS
 RSX20F.MAP.1;P777752      29 74007(7)   22-Mar-88 14:17:44 BROOKS
 SYSJOB.HLP.1;P777752       3 5679(7)    29-Mar-82 15:47:02 BROOKS
 SYSTEM.CMD.1;P777752       1 598(7)     24-Feb-84 20:01:23 BROOKS
 TGHA.DAT.1;P777752        16 8192(36)   18-Oct-2013 23:11:15 OPERATOR
   .EXE.1;P777752          29 14848(36)  28-May-88 03:20:32 BROOKS
   .HLP.1;P777752           1 214(7)     11-Nov-86 20:49:44 BROOKS
   .TRA.1;P777752           1 237(7)     18-Oct-2013 23:11:15 OPERATOR
 TOPS20.BWR.1;P777752       3 1425(36)    1-Jun-88 18:17:20 BROOKS
   .DOC.1;P777752          13 6432(36)   21-Jun-88 15:25:11 LOMARTIRE

 Total of 1782 pages in 29 files
$^Ecease now
 TOPS20 Will be shut down IMMEDIATELY
[Confirm]

[Timesharing is over]
$
        OPERATOR - Wait for the message "Shutdown complete" before
        entering commands to PARSER.
SJ  0: Killed Job 1, User OPERATOR, Account OPERATOR, TTY 172,
SJ  0:   at 18-Oct-2013 23:12:37,  Used 0:00:00 in 0:01:21

Shutdown complete
[HALTED: FE interrupt]
KLH10> q
Are you sure you want to quit? [Confirm]
Shutting down...Bye!


ここで注意すべきは、ログインの方法である。
log operatorと書かれている箇所がloginをしている箇所である。
パスワードが必要で、初期値はDEC-20である。
入力方法は、log operator DEC-20エンターキーである。log operatorの後のDEC-20の部分は続けて入力するが表示されない。Unix like OSでの感覚でlog operatorの後にエンターキーを押さないように気をつけなくてはいけない。


次に、TCP/IPをインストールし、初期設定をする方法を示す。
$ ./kn10-kl klt20.ini
KLH10 V2.0H (MyKL) built Oct 18 2013 00:36:03
    Copyright � 2002 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.

Compiled for NETBSD on I386 with word model USEHWD
Emulated config:
         CPU: KL10-extend   SYS: T20   Pager: KL  APRID: 3600
         Memory: 8192 pages of 512 words  (SHARED)
         Time interval: INTRP   Base: OSGET
         Interval default: 60Hz
         Internal clock: OSINT
         Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
         Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages shared memory, clearing...done]

KLH10# ; Sample KLH10.INI for initial installation
KLH10#
KLH10# ; Define basic device config - one DTE, one disk, one tape.
KLH10# ; Use two RH20s because TOPS-10 doesn't like mixing disk and tape on
KLH10# ; the same controller (TOPS-20 is fine).
KLH10#
KLH10# devdef dte0 200   dte    master
KLH10# devdef rh0  540   rh20
KLH10# devdef rh1  544   rh20
KLH10# devdef dsk0 rh0.0 rp     type=rp06 format=dbd9
KLH10# devdef mta0 rh1.0 tm03   type=tu45
KLH10#
KLH10# ; Need KLNI to avoid LAPRBF BUGCHKs - use valid address if known
KLH10# ;
KLH10# ; devdef ni0 564 ni20 ipaddr=10.0.0.51
KLH10# ; The (NetBSD/FreeBSD) version with tap(4) and bridge(4) creates the named
KLH10# ; tap device dynamically and bridges it to the default interface.
KLH10# ; If you want it differently (for instance routed instead of bridged),
KLH10# ; you can create the tap yourself and it will be used as it is.
KLH10# devdef ni0 564 ni20 ipaddr=10.0.0.51 ifc=tap0 dedic=true
KLH10#
KLH10# ; Load disk bootstrap directly
KLH10# load boot.sav
Using word format "c36"...
Loaded "boot.sav":
Format: DEC-CSAV
Data: 4630, Symwds: 0, Low: 040000, High: 054641, Startaddress: 040000
Entvec: JRST (120 ST: 0, 124 RE: 0, 137 VR: 0,,0)
KLH10#
KLH10# ; Now ready to GO
KLH10# [EOF on klt20.ini]
KLH10# devmount mta0 bb-ev83b-bm_longer.tap
Mount requested: "bb-ev83b-bm_longer.tap"
[mta0: Tape online]
KLH10# go
Starting KN10 at loc 040000...

BOOT V11.0(315)

BOOT>

[BOOT: Loading] [OK]


[PS MOUNTED]

System restarting, wait...
DATE AND TIME IS: FRIDAY, 18-OCTOBER-2013 11:22PM
WHY RELOAD? NEW
PROBLEM WITH ACCOUNTS-TABLE.BIN
CANNOT GET A JFN FOR ACCOUNTS-TABLE.BIN - ACCOUNT VALIDATION IS
DISABLED
RUN CHECKD? N

RUNNING DDMP


SYSJOB 7(78) STARTED AT 18-OCT-2013 2322
RUN SYS:INFO
RUN SYS:MAPPER
JOB 0 /LOG OPERATOR XX OPERATOR
ENA
^ESET LOGIN PSEUDO
^ESET LOGIN CONSOLE
^ESET OPERATOR
PTYCON
GET SYSTEM:7-PTYCON.ATO
/

[dpni20: Warning - cannot set high priority - Permission denied]

[dpni20: Fatal error: Must be superuser!]
[KNILDR: LOADING MICROCODE VERSION 1(172) INTO ETHERNET CHANNEL 0]

18-OCT-2013 23:22:27 - TGHA 4.2(31
SJ  0: @LOG OPERATOR OPERATOR
SJ  0:  JOB 1 ON TTY172 18-OCT-2013 23:22:27, LAST LOGIN 18-OCT-2013 23:
20:19
SJ  0: @ENA
) IN OPERATION

********************
*BUGCHK "K
SJ  0: $^ESET LOGIN PSEUDO
SJ  0: $^ESET LOGIN CONSOLE
NIINF" AT 18-OCT-2013 23:22:22
SJ  0: $^ESET OPERATOR
SJ  0: $PTYCON
*PHYKNI - KLNI INITIALIZATION TIMED OUT
*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 400007000036
********************

********************
*BUGCHK "KNIRLF" AT 18-OCT-2013 23:22:27
SJ  0: PTYCON> GET SYSTEM:7-PTYCON.ATO
SJ  0: PTYCON> SILENCE

*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 10
********************
SJ  0: PTYCON> W ALL
SJ  0: GAL(0)     2          OPERATOR   EXEC       TI         0:0:0
SJ  0: BAT(1)     3          OPERATOR   BATCON     RN         0:0:0
SJ  0: NEB(2)     4          OPERATOR   NEBULA     RN         0:0:0
SJ  0: OPR(3)     5          OPERATOR   OPR        TI         0:0:0
SJ  0: MAILS(4)   6          OPERATOR   MX         RN         0:0:0
SJ  0: PTYCON> CONN OPR
SJ  0: [CONNECTED TO SUBJOB OPR(3)]
SJ  0:
SJ  0: 23:22:36          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 PREVIOUSLY MOUNTED STRUCTURE PS: DETECTED
SJ  0:
SJ  0: 23:22:36          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 STRUCTURE STATE FOR STRUCTURE PS IS INCORRECT
SJ  0:                   EXCLUSIVE/SHARED ATTRIBUTE SET INCORRECTLY
SJ  0:                 STATUS OF STRUCTURE PS: IS SET:
SJ  0:                 DOMESTIC, UNREGULATED, SHARED, AVAILABLE, DUMPABL
E
SJ  0:

 TOPS-20 Big System, TOPS-20 Monitor 7(21017)
@TER NO RAI
@log operator
 Job 7 on TTY145 18-Oct-2013 23:22:49, Last Login 18-Oct-2013 23:22:33
@ena
$BUILD PS:
[Old]
$$WORKING 2700
$$PERMANENT 2700
$$
$BUILD PS:
[Old]
$$WORKING 600
SJ  0: OPR>
SJ  0: **** MAILS(4) 23:23:33 ****
SJ  0:
SJ  0:  [SCHEDULER]:        Waiting for UPS:
SJ  0: **** OPR(3) 23:23:33 ****

$$PERMANENT 600
$$
$dumper
DUMPER>tape mta0:
DUMPER>rewind
DUMPER>SUPERSEDE ALWAYS
DUMPER>RESTORE PS:<*>*.*.* PS:*.*.*
Saveset "Documentation Files for TCP/IP-20 V4.0"        22-Jun-88 2031
 Loading files into PS:
 End of Saveset.


 Total files restored:       6
 Total pages restored:     107
DUMPER>
SJ  0: **** MAILS(4) 23:24:33 ****
SJ  0:
SJ  0:  [SCHEDULER]:        Waiting for UPS:
SJ  0: **** OPR(3) 23:24:33 ****
RESTORE  PS:<*>*.*.*  PS:*.*.*
Saveset "SYSTEM Files for TCP/IP-20 V4.0"       22-Jun-88 2032
 Loading files into PS:
 End of Saveset.


 Total files restored:      10
 Total pages restored:    2071
DUMPER>RESTORE  PS:<*>*.*.*  PS:*.*.*
Saveset "Unsupported SUBSYS Utilities for TCP/IP-20 V4.0"       22-Jun-8
8 2034
 Loading files into PS:
 End of Saveset.


 Total files restored:      10
 Total pages restored:     162
DUMPER>RESTORE PS:<*>*.*.* PS:*.*.*
Saveset "Source Files for TCP/IP-20 V4.0"       22-Jun-88 2035
 Loading files into PS:
 End of Saveset.


 Total files restored:      56
 Total pages restored:    2638
DUMPER>RESTORE PS:<*>*.*.* PS:*.*.*
Saveset "TCP/IP Monitor Source Keys"    22-Jun-88 2038
 Loading files into PS:
 End of Tape.


 Total files restored:      25
 Total pages restored:     541
DUMPER>exit
$unload mta0:
$CONNECT PS:
$CREATE INTERNET.ADDRESS
Input: PS:INTERNET.ADDRESS.1
00100   IPNI#0,192 168 81 3,PACKET-SIZE:1500,DEFAULT,PREFERRED
00200   $
*EU

[PS:INTERNET.ADDRESS.1]
$^Ecease now
 TOPS20 Will be shut down IMMEDIATELY
[Confirm]

[Timesharing is over]
$
        OPERATOR - Wait for the message "Shutdown complete" before
        entering commands to PARSER.
SJ  0: Killed Job 1, User OPERATOR, Account OPERATOR, TTY 172,
SJ  0:   at 18-Oct-2013 23:26:59,  Used 0:00:00 in 0:04:31

Shutdown complete
[HALTED: FE interrupt]
KLH10> q
Are you sure you want to quit? [Confirm]
Shutting down...Bye!

ここで、設定したIPアドレスは、192.168.81.3である。ここは必要なIPアドレスに変更することができる。default gateway等も設定する箇所があるが、localhostからtelnetでloginするには不要なので割愛する。

次に、ネットワークを有効にして起動する方法を示す。
klt20.iniには、すでにtap(4)を有効にする設定が書かれているので、それを以下のように編集する。
$ cat klt20.ini
; Sample KLH10.INI for initial installation

; Define basic device config - one DTE, one disk, one tape.
; Use two RH20s because TOPS-10 doesn't like mixing disk and tape on
; the same controller (TOPS-20 is fine).

devdef dte0 200   dte master
devdef rh0  540   rh20
devdef rh1  544   rh20
devdef dsk0 rh0.0 rp type=rp06 format=dbd9
devdef mta0 rh1.0 tm03 type=tu45

; Need KLNI to avoid LAPRBF BUGCHKs - use valid address if known
;
; devdef ni0 564 ni20 ipaddr=10.0.0.51
; The (NetBSD/FreeBSD) version with tap(4) and bridge(4) creates the named
; tap device dynamically and bridges it to the default interface.
; If you want it differently (for instance routed instead of bridged),
; you can create the tap yourself and it will be used as it is.
devdef ni0 564 ni20 ipaddr=192.168.81.3 ifc=tap0 dedic=true

; Load disk bootstrap directly
load boot.sav

; Now ready to GO

起動させる。今回はrootで起動させる。
$ sudo ./kn10-kl klt20.ini
Password:
KLH10 V2.0H (MyKL) built Oct 18 2013 00:36:03
    Copyright � 2002 Kenneth L. Harrenstien -- All Rights Reserved.
This program comes "AS IS" with ABSOLUTELY NO WARRANTY.

Compiled for NETBSD on I386 with word model USEHWD
Emulated config:
         CPU: KL10-extend   SYS: T20   Pager: KL  APRID: 3600
         Memory: 8192 pages of 512 words  (SHARED)
         Time interval: INTRP   Base: OSGET
         Interval default: 60Hz
         Internal clock: OSINT
         Other: MCA25 JPC DEBUG PCCACHE CTYINT EVHINT
         Devices: DTE RH20 RPXX(DP) TM03(DP) NI20(DP)
[MEM: Allocating 8192 pages shared memory, clearing...done]

KLH10# ; Sample KLH10.INI for initial installation
KLH10#
KLH10# ; Define basic device config - one DTE, one disk, one tape.
KLH10# ; Use two RH20s because TOPS-10 doesn't like mixing disk and tape on
KLH10# ; the same controller (TOPS-20 is fine).
KLH10#
KLH10# devdef dte0 200   dte    master
KLH10# devdef rh0  540   rh20
KLH10# devdef rh1  544   rh20
KLH10# devdef dsk0 rh0.0 rp     type=rp06 format=dbd9
KLH10# devdef mta0 rh1.0 tm03   type=tu45
KLH10#
KLH10# ; Need KLNI to avoid LAPRBF BUGCHKs - use valid address if known
KLH10# ;
KLH10# ; devdef ni0 564 ni20 ipaddr=10.0.0.51
KLH10# ; The (NetBSD/FreeBSD) version with tap(4) and bridge(4) creates the named
KLH10# ; tap device dynamically and bridges it to the default interface.
KLH10# ; If you want it differently (for instance routed instead of bridged),
KLH10# ; you can create the tap yourself and it will be used as it is.
KLH10# devdef ni0 564 ni20 ipaddr=192.168.81.3 ifc=tap0 dedic=true
KLH10#
KLH10# ; Load disk bootstrap directly
KLH10# load boot.sav
Using word format "c36"...
Loaded "boot.sav":
Format: DEC-CSAV
Data: 4630, Symwds: 0, Low: 040000, High: 054641, Startaddress: 040000
Entvec: JRST (120 ST: 0, 124 RE: 0, 137 VR: 0,,0)
KLH10#
KLH10# ; Now ready to GO
KLH10# [EOF on klt20.ini]
KLH10# go
Starting KN10 at loc 040000...

BOOT V11.0(315)

BOOT>AN-MONMAX

[BOOT: Loading] [OK]


[PS MOUNTED]

System restarting, wait...
DATE AND TIME IS: FRIDAY, 18-OCTOBER-2013 11:32PM
WHY RELOAD? NEW
PROBLEM WITH ACCOUNTS-TABLE.BIN
CANNOT GET A JFN FOR ACCOUNTS-TABLE.BIN - ACCOUNT VALIDATION IS
DISABLED
RUN CHECKD? N

RUNNING DDMP


[LOADING INTERNET HOST NAMES] [OK]

SYSJOB 7(78) STARTED AT 18-OCT-2013 2333
RUN SYS:INFO
RUN SYS:MAPPER
JOB 0 /LOG OPERATOR XX OPERATOR
ENA
^ESET LOGIN PSEUDO
^ESET LOGIN CONSOLE
^ESET OPERATOR
PTYCON
GET SYSTEM:7-PTYCON.ATO
/
[dpni20: Created host-side tap "tap0"]
[dpni20: Opened 10-side tap "/dev/tap0"]
[dpni20: Created bridge "bridge0"]
[dpni20: Bridging with default interface "bge0"]
[dpni20: /sbin/brconfig bridge0 add bge0 add tap0 up => 0]
arp: delete: can't locate 192.168.81.3
                                      [KNILDR: LOADING MICROCODE VERSION 1(172) INTO ETHERNET CHANNEL 0]

18-OCT-2013 23:33:09 - TGHA 4.2(31
SJ  0: @LOG OPERATOR OPERATOR
SJ  0:  JOB 1 ON TTY206 18-OCT-2013 23:33:09, LAST LOGIN 18-OCT-2013 23:
22:49
SJ  0: @ENA
) IN OPERATION

[INTERNET NETWORK
************192.168.81.0 ON, OUTPUT ON 18-OCT-2013 23:33:09]

SJ  0: $^ESET LOGIN PSEUDO
SJ  0: $^ESET LOGIN CONSOLE
********
*BUGINF "IPHTNI" AT 18
SJ  0: $^ESET OPERATOR
SJ  0: $PTYCON
-OCT-2013 23:33:04
*ERROR WHILE READING GHT
*JOB:  0, USER: OPERATOR
*ADDITIONAL DATA: 600104
********************
SJ  0: PTYCON> GET SYSTEM:7-PTYCON.ATO
SJ  0: PTYCON> SILENCE
SJ  0: PTYCON> W ALL
SJ  0: GAL(0)     2          OPERATOR   EXEC       TI         0:0:0
SJ  0: BAT(1)     3          OPERATOR   BATCON     RN         0:0:0
SJ  0: NEB(2)     4          OPERATOR   EXEC       TI         0:0:0
SJ  0: OPR(3)     5          OPERATOR   OPR        TI         0:0:0
SJ  0: MAILS(4)   6          OPERATOR   MX         RN         0:0:0
SJ  0: PTYCON> CONN OPR
SJ  0: [CONNECTED TO SUBJOB OPR(3)]
SJ  0:
SJ  0: 23:33:19          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 PREVIOUSLY MOUNTED STRUCTURE PS: DETECTED
SJ  0:
SJ  0: 23:33:19          -- STRUCTURE STATUS CHANGE DETECTED --
SJ  0:                 STRUCTURE STATE FOR STRUCTURE PS IS INCORRECT
SJ  0:                   EXCLUSIVE/SHARED ATTRIBUTE SET INCORRECTLY
SJ  0:                 STATUS OF STRUCTURE PS: IS SET:
SJ  0:                 DOMESTIC, UNREGULATED, SHARED, AVAILABLE, DUMPABL
E
SJ  0:

 TOPS-20AN Maximum System, TOPS-20AN Monitor 7(21017)
@TER NO RAI
@log operator
 Job 7 on TTY205 18-Oct-2013 23:33:32, Last Login 18-Oct-2013 23:33:14
@ena
$
SJ  0: OPR>
SJ  0: **** MAILS(4) 23:34:14 ****
SJ  0:
SJ  0:  [SCHEDULER]:        Waiting for UPS:
SJ  0: **** OPR(3) 23:34:14 ****

tap(4)関連の項目は、自動で設定されるので、ifconfig tap0 create等をしておく必要はない。

この状態で、ホスト側のNetBSDからtelnetでloginできる。
% telnet 192.168.81.3
Trying 192.168.81.3...
Connected to aluminum.elements.tetera.org.
Escape character is '^]'.

 TOPS-20AN Maximum System, TOPS-20AN Monitor 7(21017)
@TER NO RAI
@log operator
 Job 8 on TTY270 18-Oct-2013 23:34:43, Last Login 18-Oct-2013 23:33:56
@ena
$vdir

   PS:
 5221BM.MEM.1;P777700      43 21550(36)  21-Nov-83 20:58:02 BROOKS
 ANUTIL.MAN.1;P777700      48 121334(7)  13-Jun-85 16:25:21 BROOKS
 TCPIP.BWR.1;P777700        3 1075(36)   21-Jun-88 15:22:48 LOMARTIRE
   .DOC.1;P777700           3 1067(36)   31-May-88 18:51:39 BROOKS
 TELNET.DOC.1;P777700       9 22964(7)    5-Mar-84 15:53:22 BROOKS
   .HLP.1;P777700           1 916(7)      5-Mar-84 15:54:07 BROOKS

 Total of 107 pages in 6 files
$logout
Killed Job 8, User OPERATOR, Account , TTY 270,
  at 18-Oct-2013 23:34:58,  Used 0:00:00 in 0:00:14
Connection closed by foreign host.

OpenVMS hobbyist licenseを取得した話

先週末に、OpenVMSを使ってみたいと思っていたのを思い出して、OpenVMSのhobbyist licenseを取得し、simhのVAXエミュレーターで使う、VAX用のインストール用のISOイメージをダウンロードしたので、その手順を書いておく。

どうやら、OpenVMS for VAXは、7.3とか言うバージョンで、AlphaやIntegrity (Itaniumのことだろうか? PA-RISCでは動かないような気がするし)は8.4とか言うバージョンになっているようだ。
今回は、VAX用のバイナリーを取得したが、Aplha用も同時に取得できるはずなので、後で挑戦してみたい。DEC Alphaなマシンのエミュレーターもあるらしいし(simhもEV-56というDEC Alphaなマシンのエミュレーターを持っているらしいが、どうやって使うのかは分かっていない)。

OpenVMS hobbyist licenseの制度は、2012年1月ごろに仕組みが代わったようだ。それまでの制度の情報は全て役立たないようになっているので、気をつけないといけない。

現状のOpenVMS hobbyist license制度をしっかり説明するウェブページは、HPのウェブサイトには存在していないようである。
申し込みフォームを良く読み解いてやらないといけない。

そこで、以下のページが登録フォームなので、開いてみる。
2012年の制度変更で、hp.comではなく、openvms.orgに登録フォームが設置されるようになり、事務作業はHPが直接実施するようになったらしい(しかし、ドメインだけ見ると逆に思えるので注意が必要)。

http://www.openvms.org/pages.php?page=Hobbyist

最初の項目は、Participating Chapterである。
OpenVMS hobbyist licenseを取得するには、HPの認めるユーザーグループのメンバーにならなくてはならない。

ここで、参加しているユーザーグループを選択する。フォーム上方の注意書きには、このページの右側にあるリンクから世界各地のユーザーグループへのリンク集へアクセスできるように書いてあるが、これにだまされてはいけない。確かにリンク集にはアクセスできるが、大半はすでに解散しているようでつながらないし、Participating Chapterでの選択肢とも合致していない。
ここで良く見るべきは、Participating Chapterのプルダウンメニューの内容である。

プルダウンメニューを見ると、DECUS Japanと言うのがあるが、これはDECUS.gr.jpにウェブサイトを持っていたDECUS-jpとも呼ばれていた団体を指すようである。
すでにこのドメインは失効しているし、入会も少なくともウェブや電子メールではできないようなので、入会するユーザーグループの候補には入れられない。

次には、Connectというのに入会するのが良いと思うかもしれない。Connectは、http://www.connect-community.org/ にウェブサイトを持つDECUSの後継団体であり、国際的なHPのユーザーグループである。日本のユーザーグループがない以上、これが適当と思うかもしれない。しかし、このユーザーグループでOpenVMS hobbyist licenseを取得しようとすると、
http://www.connect-community.org/?page=Membership
に書いてあるように年会費を払わないといけない。これが悪いとは全く思わないが、私の場合には、50ドル/年の出費はちょっとできないので、違う選択肢を探すことにした。

今回ここで紹介するのは、唯一地域名の書いていないDECUServeである。これは、telnetでアクセス(ブラウザーからもJava Applet経由でアクセスできるようだが、今、私のNetBSD端末のJava Plugin機能は壊れているので使えない)するサービスを持つユーザーグループである。telnet先のホストは、OpenVMSで動いているらしい。

英語での説明にはなるが、
http://labs.hoffmanlabs.com/node/1416
に詳しく書いてあるので、読むと良いと思う。

登録フォームを埋め始める前に、DECUServeのMembership Numberを取得する。
DESCServeのウェブサイト http://www.decuserve.org/ に行くと、「DECUServe Registration」という箇所に、登録したい場合には、decuserve.orgというホストにtelnetするし、REGISTRATIONというユーザー名でログインすれば良いと書いてある。

$ telnet decuserve.org

を実行して、英語で書かれた説明通りにいろいろ入力していけばユーザー登録は完了する。telnetで個人情報を入力するのに抵抗感は感じるが、仕方ない。
ログは取り忘れたので、ここでは示せない。ユーザー登録すると、登録状況を表示して、conference systemのメニュー画面になったように記憶している。
画面下部に書かれた手順で、conference systemを抜けると、コマンドラインで操作できるようになる。LOGOUTと入力すると、ログアウトできるので、一回ログアウトして、再度telnetでログインすると、確かパスワードを変更するように言われた気がする。変更しておく。

コマンドで操作できるようになったら、HOBBYISTコマンドを発行する。

When requesting Hobbyist licenses please use the following:
Participating Chapter: DECUServe
Membership Number: ######
Last Name: ######

のように表示されるので、メモしておく。

ここまで来れば、後は

http://www.openvms.org/pages.php?page=Hobbyist

の登録フォームを埋めていくだけである。引っ掛かるのは、Stateだけだと思うが、NOと入れておいてもHPの人は何も言わなかったので、ここは適当で良いはずである。

License Typeは、Integrityで使うのでなければ、VAX/Alphaを選ばないとけない。

あとは、Submitボタンを押して待つだけである。

この後は、HPの人が手動で対応してくださるので、変な時間帯だと待たされるかもしれない。私の場合には30分もしないで、PAKsと呼ばれるライセンスファイルを電子メールに添付して送ってもらえた。
しかし、この段階では、インストール用のISOイメージは入手できていない。必要なアーキテクチャを明記して、PAKsを送ってくれたHPの人に請求する必要がある。
返信すると、anonymousでないftpサイトの情報を教えてもらえる。ある程度時間が経つと、パスワードが変更されてしまうようなので、すぐに全てのファイルをダウンロードしておく。VAX用のファイルは、以下のようだった。

% ls -la ~/openvms
total 1272568
drwxr-xr-x    2 ryo_on  users       1024 Sep 21 12:14 ./
drwxr-xr-x  134 ryo_on  users       6656 Sep 29 07:46 ../
-rw-r--r--    1 ryo_on  users     932098 Apr 20 22:33 BASIC_Compiler_39.zip
-rw-r--r--    1 ryo_on  users    1496106 Apr 20 22:33 COBOL_Compiler_57.zip
-rw-r--r--    1 ryo_on  users   10357917 Apr 20 22:33 CXX_Compiler_56c.zip
-rw-r--r--    1 ryo_on  users   15460267 Apr 20 22:33 C_Compiler_64.zip
-rw-r--r--    1 ryo_on  users    1549328 Apr 20 22:33 DCPS_27.zip
-rw-r--r--    1 ryo_on  users   10912832 Apr 20 22:33 DEC-VAXVMS-DECNET_OSI-V0703--1.PCSI-ZIP
-rw-r--r--    1 ryo_on  users   11134525 Apr 20 22:33 DEC-VAXVMS-DWMOTIF-V0102-6-1.PCSI-ZIP
-rw-r--r--    1 ryo_on  users    9178431 Apr 20 22:33 DEC-VAXVMS-TCPIP-V0501-15-1.PCSI-ZIP
-rw-r--r--    1 ryo_on  users   13858278 Apr 20 22:33 DECSET_122a.zip
-rw-r--r--    1 ryo_on  users    7815157 Apr 20 22:33 Datatrieve_72a2.zip
-rw-r--r--    1 ryo_on  users    3345938 Apr 20 22:33 F77_Compiler_66.zip
-rw-r--r--    1 ryo_on  users     804173 Apr 20 22:33 Pascal_Compiler_58.zip
-rw-r--r--    1 ryo_on  users  184212877 Apr 20 22:35 VAXVMS 073 OS ISO.zip
-rw-r--r--    1 ryo_on  users  232929792 Apr 20 22:35 VAXVMS073.ZIP
-rw-r--r--    1 ryo_on  users  146796745 Apr 20 22:35 VMS073LP.ZIP
-rw-r--r--    1 ryo_on  users      99328 Apr 20 22:33 unzip.exe



まだインストールはしていないので、後で試してみる。

NetBSD on 初代HP MicroServer

Debian GNU/Linux armel 7.1でQnap TS-110をNFS serverにしていたのだが、7.0の時はSunOS/SolarisからNFS mountできたのに、7.1にしたらmountできなくなってしまった。
Debianのbug reportをするにも良く分からないし、そもそもNetBSDにしたかったので、NetBSD/evbearm-el 6.99.23を試してみたが、buildが通らなかったり、/sbin/initが異常終了したりと、使えない。evbarmはそもそもbuildが通らなかった。

1週間ばかりいろいろ試みたがだめだったので、とくださんの情報をもとに、Amazon.co.jpでlHP MicroServerとRemote Access Cardを購入した。
来たので、NetBSD/amd64 6.1.1を入れるがディスクアクセスが以上に遅く、pkgsrc.tar.gzを展開するのに1500秒くらいかかってしまう。その間のほとんどはフリーズしている。
BIOSを見直すと、drive write cacheが無効になっていたので、有効にすると、pkgsrc.tar.gzの展開に150秒くらいと、まあ我慢できる性能になった。bufq strategyをうたがっってみたが、それは関係なかったらしい。また、SB700 AHCI Controllerの問題でもなかったらしい。

順調に稼働中。

ディスプレイもキーボードもつながずにインストールできるRemote Access Cardはとても便利だった。やっぱりちゃんとしたサーバーを使うに限る。

Remote Access Cardのウェブインターフェイスは、http://IPADDRESS/ でアクセスしないとログインできない場合がある。http://IPADDRESS/login.html では駄目なようだ。


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

NetBSD 6.1.1 (GENERIC)
total memory = 2047 MB
avail memory = 1972 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP ProLiant MicroServer ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD Turion(tm) II Neo N54L Dual-Core Processor, id 0x100f63
cpu1 at mainbus0 apid 1: AMD Turion(tm) II Neo N54L Dual-Core Processor, id 0x100f63
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <HP ,ProLiant,20110729>, AslId <HP ,00000097>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
BROD (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
OMSC (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
RMEM (PNP0C01) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x9601 (rev. 0x00)
ppb0 at pci0 dev 4 function 0: vendor 0x1022 product 0x9604 (rev. 0x00)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci1 dev 0 function 0: vendor 0x1a03 product 0x1150 (rev. 0x02)
ppb1: PCI Express 1.0 <PCI-E to PCI/PCI-X Bridge>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: vendor 0x1a03 product 0x2000 (rev. 0x10)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
ppb2 at pci0 dev 6 function 0: vendor 0x1022 product 0x9606 (rev. 0x00)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci3 dev 0 function 0: Broadcom BCM5723 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 18
bge0: adjust device control 0x192000 -> 0x195000
bge0: ASIC BCM5784 A1 (0x5784100), Ethernet address c8:cb:b8:c9:67:12
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ahcisata0 at pci0 dev 17 function 0: vendor 0x1002 product 0x4391 (rev. 0x40)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.20, 4 ports, 32 slots, CAP 0xf722ff03<PSC,SSC,PMD,SPM,ISS=0x2=Gen2,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 18
ohci0: OHCI version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 17
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controller, 5 ports each: ohci0
usb1 at ehci0: USB revision 2.0
ohci1 at pci0 dev 19 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 18
ohci1: OHCI version 1.0, legacy support
ohci1: SMM does not respond, resetting
usb2 at ohci1: USB revision 1.0
ehci1 at pci0 dev 19 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci1: interrupting at ioapic0 pin 17
ehci1: dropped intr workaround enabled
ehci1: EHCI version 1.0
ehci1: companion controller, 5 ports each: ohci1
usb3 at ehci1: USB revision 2.0
piixpm0 at pci0 dev 20 function 0: vendor 0x1002 product 0x4385 (rev. 0x42)
piixpm0: polling (SB800)
iic0 at piixpm0: I2C bus
ixpide0 at pci0 dev 20 function 1: ATI Technologies IXP IDE Controller (rev. 0x40)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to compatibility mode
ixpide0: primary channel interrupting at ioapic0 pin 14
atabus4 at ixpide0 channel 0
ixpide0: secondary channel configured to compatibility mode
ixpide0: secondary channel interrupting at ioapic0 pin 15
atabus5 at ixpide0 channel 1
pcib0 at pci0 dev 20 function 3: vendor 0x1002 product 0x439d (rev. 0x40)
ppb3 at pci0 dev 20 function 4: vendor 0x1002 product 0x4384 (rev. 0x40)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
ohci2 at pci0 dev 22 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci2: interrupting at ioapic0 pin 18
ohci2: OHCI version 1.0, legacy support
usb4 at ohci2: USB revision 1.0
ehci2 at pci0 dev 22 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci2: interrupting at ioapic0 pin 17
ehci2: dropped intr workaround enabled
ehci2: EHCI version 1.0
ehci2: companion controller, 4 ports each: ohci2
usb5 at ehci2: USB revision 2.0
pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1200 (rev. 0x00)
pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1201 (rev. 0x00)
pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1202 (rev. 0x00)
pchb4 at pci0 dev 24 function 3: vendor 0x1022 product 0x1203 (rev. 0x00)
amdtemp0 at pchb4: AMD CPU Temperature Sensors (Family10h)
pchb5 at pci0 dev 24 function 4: vendor 0x1022 product 0x1204 (rev. 0x00)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbc: cmd word write error
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat 0 us, pow 0 mW
acpicpu0: P0: FFH, lat 4 us, pow 10575 mW, 2200 MHz
acpicpu0: P1: FFH, lat 4 us, pow 8030 mW, 1900 MHz
acpicpu0: P2: FFH, lat 4 us, pow 5842 mW, 1600 MHz
acpicpu0: P3: FFH, lat 4 us, pow 4085 mW, 1300 MHz
acpicpu0: P4: FFH, lat 4 us, pow 2062 mW, 800 MHz
acpicpu0: T0: I/O, lat 1 us, pow 0 mW, 100 %
acpicpu0: T1: I/O, lat 1 us, pow 0 mW, 88 %
acpicpu0: T2: I/O, lat 1 us, pow 0 mW, 76 %
acpicpu0: T3: I/O, lat 1 us, pow 0 mW, 64 %
acpicpu0: T4: I/O, lat 1 us, pow 0 mW, 52 %
acpicpu0: T5: I/O, lat 1 us, pow 0 mW, 40 %
acpicpu0: T6: I/O, lat 1 us, pow 0 mW, 28 %
acpicpu0: T7: I/O, lat 1 us, pow 0 mW, 16 %
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2196456260 Hz quality 3000
uhub0 at usb0: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 5 ports with 5 removable, self powered
uhub1 at usb1: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 5 ports with 5 removable, self powered
uhub2 at usb2: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
uhub3 at usb3: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered
uhub4 at usb4: vendor 0x1002 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 4 ports with 4 removable, self powered
uhub5 at usb5: vendor 0x1002 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 4 ports with 4 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <VB0250EAVER>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhidev0 at uhub3 port 2 configuration 1 interface 0
uhidev0: Avocent USB Composite Device-0, rev 2.00/0.00, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub3 port 2 configuration 1 interface 1
uhidev1: Avocent USB Composite Device-0, rev 2.00/0.00, addr 2, iclass 3/1
ums0 at uhidev1: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
uhidev2 at uhub3 port 2 configuration 1 interface 2
uhidev2: Avocent USB Composite Device-0, rev 2.00/0.00, addr 2, iclass 3/1
ums1 at uhidev2: 3 buttons and Z dir
wsmouse1 at ums1 mux 0
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
cprng kernel: WARNING pseudorandom rekeying.

Planex MZK-WNHのdmesg

HP MicroServerを買う時に、Planex MZK-WNHというWiFiルーターを付けてくれるという所があって、それを選んで買ってみた。後で調べてみると、投げ売りされているものらしい。

Android phoneのWiFi接続のために使えないかと思っていたのだが、実際に試してみると、DHCPでIPアドレス等を設定できない。MacBook Air mid2012をOS Xで動かして接続しようとしても、電波は検出するが、DHCPがだめだった。
このOS Xの方はまあ使ってないので良いとしても、Android phoneで駄目なのは致命的なので、使えない。
Kindle Fireでも、
http://www.amazon.co.jp/forum/kindle?cdForum=Fx1QMZAIPKWB6YF&cdPage=4&cdThread=TxV961QLAB4FCF
にあるようにつなげないらしいので、相性が悪いのだろう。と言うか、MZK-WNHがおかしいのだろう。

使い道がないかと考えてふと、DD-WRT/OpenWrtのことを思い出して検索したら、

http://ranosgrant.cocolog-nifty.com/blog/2013/03/planex-mzk-wnh-.html

にあるようにイメージを公開してくださっている人がいる。
/proc/cpuinfoの情報を見ると、MIPSらしい。
自分でdmesgを見てみたくて、シリアルコンソールはないかと検索してみた。

http://www.srchack.org/article.php?story=20120902005931516

写真付きで解説してくださっている方がいた。
そこで、自分もやってみた。

U-Boot 1.1.3 (Nov 7 2008 - 13:35:55)

Board: Ralink APSoC DRAM: 16 MB
relocate_code Pointer at: 80fa8000
****************************
Init GPIO Pin****************************
flash_protect ON: from 0xBFC00000 to 0xBFC26213
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBFC30000 to 0xBFC3FFFF
protect on 10
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.1
--------------------------------------------
ASIC 3052_MP1 (MAC to GigaMAC Mode)
DRAM COMPONENT: 256Mbits
DRAM BUS: 16BIT
Total memory: 32 MBytes
Flash: 4 MBytes
Date:Nov 7 2008 Time:13:35:55
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####

SDRAM bus set to 16 bit
SDRAM size =16 Mbytes

Please choose the operation:
0: Load ucos code to SDRAM via TFTP Client.
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP. 0

3: System Boot system code via Flash.
## Booting image at bfc50000 ...
Bad Magic Number,43535953
Image Name: Linux Kernel Image
Created: 2010-03-05 9:20:27 UTC

System Control Status = 0x21000000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2903980 Bytes = 2.8 MB
Load Address: 80000000
Entry Point: 802b6000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 802b6000) ...
## Giving linux memsize in MB, 16

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #3 Fri Mar 5 11:22:34 CST 2010

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 10800060, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13248k/16384k available (2254k kernel code, 3136k reserved, 517k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
***********Init LED Driver*****************
Init GPIO Pin
Init GPIO Direction
Init GPIO Interrupt
***********Init LED Driver Finishing*****************
Ralink_gpio_init_irq
LED & GPIO & LAN Status Driver LED_VERSION
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v1.60 256 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000000c
GDMA1_MAC_ADRL -- : 0x43305277
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.2
ralink flash device: 0x1000000 at 0xbf000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 7 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00030000-0x00040000 : "Config "
mtd: Giving out device 1 to Config
0x00040000-0x00050000 : "Factory"
mtd: Giving out device 2 to Factory
0x00050000-0x00160000 : "Kernel"
mtd: Giving out device 3 to Kernel
0x00160000-0x003e0000 : "RootFS"
mtd: Giving out device 4 to RootFS
0x003e0000-0x00400000 : "Cimage"
mtd: Giving out device 5 to Cimage
0x00050000-0x003e0000 : "Uimage"
mtd: Giving out device 6 to Uimage
block2mtd: version $Revision: 1.1.1.1 $
usbmon: debugfs is not available
u32 classifier
Performance counters on
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Fully Cone
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
ipt_time loading
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed
init started: BusyBox v1.15.2 (2010-02-11 17:55:09 CST)
starting pid 596, tty '': '/etc/rc.sh'
cannot run '/etc/rc.sh': No such file or directory

starting pid 597, tty '': '-/bin/sh'console.
Algorithmics/MIPS FPU Emulator v1.5


BusyBox v1.15.2 (2010-02-11 17:55:09 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Sat Jan 1 00:00:00 UTC 2000
ralink_gpio:ioctl GPIO REG
ralink_gpio:ioctl GPIO REG
insmod: can't insert '/bin/alg/nf_nat_': No such file or directory
killall: pptp.sh: no process killed
killall: pppoe.sh: no process killed
Close Wan(eth2.2) Interface!!
No dnrd daemon found. Exiting.
No dnrd daemon found. Exiting.
cat: can't open '/etc/resolv.conf': No such file or directory

phy_tx_ring = 0x009f0000, tx_ring = 0xa09f0000, size: 16 bytes

phy_rx_ring = 0x009f1000, rx_ring = 0xa09f1000, size: 16 bytes
RT305x_ESW: Link Status Changed
GDMA1_FWD_CFG = 710000
ra2880stop()...Done
Free TX/RX Ring Memory!
GDMA1_MAC_ADRH -- : 0x00000022
GDMA1_MAC_ADRL -- : 0xcf0a72d4

phy_tx_ring = 0x0092a000, tx_ring = 0xa092a000, size: 16 bytes

phy_rx_ring = 0x0092b000, rx_ring = 0xa092b000, size: 16 bytes
GDMA1_FWD_CFG = 710000
eth2.1: Setting MAC address to 00 22 cf 0a 72 d4.
VLAN (eth2.1): Underlying device (eth2) has same MAC, not checking promiscious mode.
eth2.2: Setting MAC address to 00 90 cc e8 16 af.
device eth2 entered promiscuous mode
VLAN (eth2.2): Setting underlying device (eth2) to promiscious mode.
Initialize WLAN interface
****************Use External RADIUS******************
rt2860v2_ap: module license 'unspecified' taints kernel.
2860 version : 1.9.0.0 (Mar 5 2010)


=== pAd = c100f000, size = 485040 ===

<-- RTMPAllocAdapterBlock, Status=0
RX DESC a0bb2000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 00
Main bssid = 00:22:cf:0a:72:d4
The UUID Hex string is:2880288028801880a8800022cf0a72d4
The UUID ASCII string is:28802880-2880-1880-a880-0022cf0a72d4!
<==== RTMPInitialize, Status=0
0x1300 = 00064380
Setup BRIDGE interface
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
bridge br0 doesn't exist; can't delete it
Setup bridge...
device eth2.1 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
route: ioctl 0x890c failed: No such process
device ra0 entered promiscuous mode
route: ioctl 0x890c failed: No such process
br0: port 2(ra0) entering learning state
br0: port 1(eth2.1) entering learning state
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth2.1) entering forwarding state
route: ioctl 0x890c failed: No such process
route: ioctl 0x890c failed: No such process
------> 802.1x--------->Enter
------> 802.1x------>Exit
****************** Router Mode ******************
Static DHCP Leases disable!
route: ioctl 0x890c failed: No such process
Setup WAN interface
Close Wan(eth2.2) Interface!!
ERROR: Couldn't kill dnrd: No such process
No dnrd daemon found. Exiting.
cat: can't open '/etc/resolv.conf': No such file or directory
device eth2 is not a slave of br0
device eth2.1 is already a member of a bridge; can't enslave it to bridge br0.
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
Set: phy[0].reg[0] = b100
Set: phy[1].reg[0] = b100
Set: phy[2].reg[0] = b100
Set: phy[3].reg[0] = b100
Set: phy[4].reg[0] = b100
**********************************************************************
* Running Diagd *
**********************************************************************
**********************************************************************
* Enable WSC_UPnP *
**********************************************************************
killall: snmpd: no process killed
udhcpc (v1.15.2) started
into eth2.2.deconfig
**********************************************************************
* Enable LLTD *
**********************************************************************
killall: lld2d: no process killed
libupnp: using UDP SSDP_PORT = 1900
**********************************************************************
* Enable GPIO Interrupt *
**********************************************************************
killall: watchdog.sh: no process killed
ip_table: set wan_name=eth2.2
killall: radiusd: no process killed
RADIUS server disable !!
device ra1 entered promiscuous mode
br0: port 3(ra1) entering learning state
br0: topology change detected, propagating
br0: port 3(ra1) entering forwarding state
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
interface ra-1 does not exist!
ReInit APMIB
**********************************************************************
* FREE Page,Dentries and Inodes Cache *
**********************************************************************
MemFree: 3980 kB
Cached: 1612 kB
ReInit APMIB

Arch BSDをVirtualBoxにインストールする

bootstrap pkgsrc on Debian GNU/kFreeBSDをしようとしていて、
細かい所で良く分からない部分はあるものの、だいたい使えるように
なって来た。

けれども、Debian GNU/kFreeBSDだけを対象にするのはちょっと
残念かもしれないと思う。他にもGentoo FreeBSDとかArch BSDとか、
FreeBSDを利用するプロジェクトはあるので、それも似た構造であれば
サポートするようにしたい。

Gentoo FreeBSDは、http://wiki.gentoo.org/wiki/Gentoo_FreeBSD に、
SONAMEの違いくらいしか違いがないと書いてある。
つまりFreeBSDのlibcを使っていると言うことのようである。

Arch BSDについては、何も情報がないので、実際に試してみることにした。

私の仮想マシンはメモリーが少ないので、ZFSなんて無理なので、UFSで設定する。
基本的には、Official Arch BSD Install Guide
http://wiki.archbsd.net/index.php/Official_Arch_BSD_Install_Guide
の通りにすれば良いのだが、これがSCSIディスク(da)を前提に書いているのと、
root filesystemの指定が追加で必要だったので、以下に手順をまとめておく。

まずは、ISOイメージをダウンロードする。Arch BSDのオフィシャルサイトには
書いてないようだったが、2013-05-03版が出ているので、以下のURLから
取得する。

ftp://archbsd.net/iso/2013-05-03/ArchBSD-x86_64-03052013.iso

VirtualBoxは、OS:FreeBSD(64bit)、IO APIC有効、ハードウェアクロックをUTCにする
を有効にし、今回はストレージコントローラーは、SATA AHCIにした。
IDEでも以下の記述は当てはまるのではないかと思う。
ネットワークアダプターは、Intel PRO 82540EMにしたが、何でも問題なく
動くだろう。

適当な大きさのHDDファイルを用意して、ISOイメージから起動する。

ユーザー名: root、パスワードなしでログインする。

私は、US配列のキーボードを使うので、kdbmapとかは使わないし、
framebufferも使わないので、vidcontrolも触らない。

ディスクをGPTで設定する。
# gpart create -s gpt ada0

ブートローダーの置き場になると思われる領域を準備する。
これが、/dev/ada0p1になる。
# gpart add -s 64k freebsd-boot ada0

スワップ領域を1GB用意する。
これが、/dev/ada0p2になる。
# gpart add -s 1g -t freebsd-swap ada0

ルートパーティションを用意する。大きさは残り全部。
これが、/dev/ada0p3になる。
# gpart add -t freebsd-ufs ada0

ブートローダーをインストールする。ada0p1にインストールされるようだ(-i 1)。
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

ルートパーティションada0p3をnewfs(フォーマット)する。
# newfs -U -j -L root /dev/ada0p3

スワップを有効にする。
# swapon /dev/ada0p2

ベースシステムをインストールするために、仮に/mntにmountする。
# mount /dev/ada0p3 /mnt

DHCPサーバーにIPアドレスとかを割り当ててもらう。
自宅が手動固定IP制になっていたら、DHCP/DDNS環境を整えると良い。
# dhclient em0

ベースシステムをインストールする。
# pacstrap /mnt base

chrootして、環境を整える。
# chroot /mnt


root filesystemを指定する。ここはOfficial Install Guideにはないが
私には必要だった。
/boot/loader.confに、以下のように書き足す。
# vi /boot/loader.conf
vfs.root.mountfrom="ufs:/dev/ada0p3"

/etc/fstabを以下のように書く。
# vi /etc/fatab
/dev/ada0p2 none swap sw 0 0
/dev/ada0p3 / ufs rw 1 1

タイムゾーンを合わせる。以下は日本の場合。
# ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

ホスト名を設定する。
# vi /etc/conf.d/hostname
hostname="yourhostname"

rootのパスワードを設定する。
# passwd

そのままrebootコマンドでリブートしても良いし、chrootから抜けて、
/mntをumountしてrebootしても良い。

で、結局のところ、Arch BSDはGentoo FreeBSDのようなもので、glibc/eglibcを
使ってはいないようである。

NetBSD ftp (tnftp)でhttp proxyを使う

昼間は、DNSサーバーさえない不思議なネットワークの中に暮らしているのだが、そこでtnftpを使いたくなった時の話。
DNSサーバーはないので、全てをhttp proxyに喰わせてやらないといけない。

$ export http_proxy=http://USERNAME:PASSWORD@10.0.0.1:8080/

としておいて、

$ ftp http://example.com/test.tar.gz

とかすると、無事にfetchできる。この時のために、http://ftp.jp.NetBSD.org/ を用意しておいたようなものだ。

NetBSDで「12ステップで作る組込みOS自作入門」を実践する

しばらく前に、「12ステップで作る組込みOS自作入門」坂井弘亮著(以下、12ステップ本)と、 それに必要な、H8/3069Fネット対応マイコンLANボード (完成品)シリアルストレートケーブルスイッチング電源を買って来た。 ただ、引っ越しし立てなのもあって、触れないでいた。

今週になって、NetBSD/amd64 currentで開発環境を整える気分になったので、 以下のように用意してみた。

pkgsrc/cross/h8300-elf-binutils 12ステップ本の使っている2.19.1を素直にパッケージにしたもの。

pkgsrc/cross/h8300-elf-gcc34 同じく使われている3.4.6をパッケージにしたもの。 12ステップ本ではnewlibは使っていないが、別にbuildしてある分には 困らないようなので、gcc 3.4.6の頃のnewlibである1.14.0と 組み合わせてある。

pkgsrc/misc/kz_h8write h8writeが全く反応しないのに困っていたところ、 とくださんに教えていただいたライター。h8writeと違ってH8/8039にしか 対応していないが、今回の用途では困らない。

使っているNetBSDマシンは、MacBook Air 11-inch (mid 2012)なので、 当然のようにserial portはない。uftdi(4)なケーブルでつないで、 書き込みもシリアルへの出力もできた。

NetBSD/evbarm on Qnap TS-110のNFS rootでのブートメッセージ

NetBSD/evbarm on Qnap TS-110をNFSをroot filesystemにする方法が
分からなかったのだが、root device: とプロンプトが出た時に、
mvgbe0を指定してやれば良いと気づいた。

DHCPサーバーの設定と一緒に一連の流れを掲載しておく。
NetBSDでサポートしてほしくて、send-prもしてある。
http://mail-index.NetBSD.org/netbsd-bugs/2013/03/09/msg032363.html
http://gnats.NetBSD.org/47637


DHCPサーバーのdhcpd.confの抜粋
root-pathを指定してあると、それを使ってくれるのは、NetBSD/hp700や
NetBSD/sparc64のnetbootと一緒だ。
host phosphorus {
hardware ethernet 00:50:43:3c:3b:5d;
fixed-address 192.168.81.125;
ddns-hostname "phosphorus";
filename "F_TS-110_netbsd.ub";
next-server 192.168.81.249;
option root-path "/export/ts110";
}


u-bootから、loginプロンプトまでの一連の流れ
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6281A-BP LE


U-Boot 1.1.4 (Apr 23 2009 - 19:01:28) Marvell version: 3.4.4


U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690DCC


Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz


DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
[16384kB@f8000000] Flash: 16 MB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done


CPU : Marvell Feroceon (Rev 1)


Streaming disabled
Write allocate disabled




USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
QNAP: Recovery Button pressed: 0
Marvell>> dhcp
BOOTP broadcast 1
Bootfile Prefix: F_TS-110
DHCP client bound to address 192.168.81.125
Marvell>> tftp
Using egiga0 device
TFTP from server 192.168.81.249; our IP address is 192.168.81.125
Filename 'F_TS-110_netbsd.ub'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
done
Bytes transferred = 4844992 (49edc0 hex)
Marvell>> bootm
## Booting image at 02000000 ...
   Image Name:   NetBSD/qnapts110 6.99.17
   Created:      2013-03-08  12:15:57 UTC
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    4844928 Bytes =  4.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...


NetBSD/evbarm (qnapts110) booting ...
[ Kernel symbol table missing! ]
Loaded initial symtab at 0xc03d94d0, strtab at 0xc0412b8c, # entries 14617
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.


NetBSD 6.99.17 (QNAPTS110) #9: Fri Mar  8 21:15:55 JST 2013
        root@tellurium.elements.tetera.org:/usr/obj-evbarm/sys/arch/evbarm/compile/QNAPTS110
total memory = 256 MB
avail memory = 245 MB
cprng kernel: WARNING insufficient entropy at creation.
mainbus0 (root)
cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way L1 Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
mvsoc0 at mainbus0: Marvell 88F6281 Rev. A1  Kirkwood
mvsoc0: CPU Clock 800.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq 35: Marvell SoC General Purpose I/O Port Interface
mvsocgpp0: 50 gpio pins
mvsocgpp0: interrupts 96..103, intr 35
mvsocgpp0: interrupts 104..111, intr 36
mvsocgpp0: interrupts 112..119, intr 37
mvsocgpp0: interrupts 120..127, intr 38
mvsocgpp0: interrupts 128..135, intr 39
mvsocgpp0: interrupts 136..143, intr 40
mvsocgpp0: interrupts 144..151, intr 41
mvsocgpp0:   Data Out:                  0x00000000
mvsocgpp0:   Data Out Enable Control:   0x00012000
mvsocgpp0:   Data Blink Enable:         0x00000000
mvsocgpp0:   Data In Polarity:          0x00000000
mvsocgpp0:   Data In:                   0x00010000
mvsocgpp0:   Interrupt Cause:           0x00000000
mvsocgpp0:   Interrupt Mask:            0x00000000
mvsocgpp0:   Interrupt Level Mask:      0x00000000
mvsocgpp0:   High Data Out:             0x0000000c
mvsocgpp0:   High Data Out Enable Ctrl: 0xffffffd3
mvsocgpp0:   High Blink Enable:         0x00000000
mvsocgpp0:   High Data In Polarity:     0x00000000
mvsocgpp0:   High Data In:              0x0000004c
mvsocgpp0:   High Interrupt Cause:      0x00000000
mvsocgpp0:   High Interrupt Mask:       0x00000000
mvsocgpp0:   High Interrupt Level Mask: 0x00000000
gpio0 at mvsocgpp0: 50 pins
mvsocrtc at mvsoc0 unit 0 not configured
com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
com0: console
com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
usb0 at ehci0: USB revision 2.0
gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff: Marvell IDMA Controller/XOR Engine
gtidmac0: XOR Engine 4 channels, intr 5...8
gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
s390rtc0 at iic0 addr 0x30: Seiko Instruments 35390A Real-time Clock
mvcesa0 at mvsoc0 unit 0 offset 0x30000-0x3ffff irq 22: Marvell Cryptographic Engines and Security Accelerator
mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
mvgbe0 at mvgbec0 port 0 irq 11
mvgbe0: Ethernet address 00:50:43:3c:3b:5d
makphy0 at mvgbe0 phy 8: Marvell 88E1116R Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
mvsoc0: mvgbec1 clock disabled
mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9: Marvell PCI Express Interface
pci0 at mvpex0
WARNING: module error: vfs load failed 45 for `pciverbose'
WARNING: module error: vfs load failed 45 for `pciverbose'
vendor 0x11ab product 0x6281 (miscellaneous memory, revision 0x03) at pci0 dev 0 function 0 not configured
mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA Host Controller (SATAHC)
mvsata0: GenIIe, 1hc, 2port/hc
atabus0 at mvsata0 channel 0
atabus1 at mvsata0 channel 1
mvsdio at mvsoc0 unit 0 not configured
uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/77.60, addr 2
uhub1: single transaction translator
cprng sysctl: WARNING insufficient entropy at creation.
boot device: <unknown>
root device:
use one of: mvgbe0 ddb halt reboot
root device: mvgbe0
dump device:
file system (default generic):
root on mvgbe0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.81.249
nfs_boot: my_domain=elements.tetera.org
nfs_boot: my_addr=192.168.81.125
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.81.1
root on 192.168.81.249:/export/ts110
root time: 0x513b353a
root file system type: nfs
warning: no /dev/console
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
Sat Mar  9 13:12:30 UTC 2013
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
random_seed: /var/db/entropy-file: Not present
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
WARNING: module error: vfs load failed 78 for `compat'
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD completion for statically configured addresses...
Starting dhcpcd.
Building databases: dev, utmp, utmpx.
Starting syslogd.
cprng 292411d30: WARNING insufficient entropy at creation.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
/etc/rc.d/swap2 exited with code 1
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
/usr/sbin/postconf: warning: valid_hostname: empty hostname
/usr/sbin/postconf: fatal: unable to use my own hostname
Mar  9 13:12:53  postfix[539]: fatal: unable to use my own hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
    /etc/rc.d/swap2 /etc/rc.d/postfix
See /var/run/rc.log for more information.
Sat Mar  9 13:12:55 UTC 2013


NetBSD/evbarm (Amnesiac) (console)


login:

TS-110でのNetBSDのブートメッセージ

Qnap TS-110のRTCは、I2CにつながったSEIKO S35390aだと
言う話を、
http://karuppuswamy.com/wordpress/2012/04/20/how-to-get-scheduled-power-on-feature-working-in-debian-gnulinux-for-qnap-ts-110-server/
で読んだので、kernel configに、
src/sys/arch/evbarm/conf/OPENBLOCKS_A6にあるのを真似て、

s390rtc* at iic0 addr 0x30

と書いたところ、認識したように見える。
まだuserlandまでたとり着いていないので、ちゃんと動いているかテストはできない。
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6281A-BP LE

U-Boot 1.1.4 (Apr 23 2009 - 19:01:28) Marvell version: 3.4.4

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690DCC

Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
[16384kB@f8000000] Flash: 16 MB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
QNAP: Recovery Button pressed: 0
Marvell>> setenv serverip 192.168.81.249
Marvell>> setenv ipaddr 192.168.81.10
Marvell>> setenv netmask 255.255.255.0
Marvell>> tftp 100000 netbsd.ub
Using egiga0 device
TFTP from server 192.168.81.249; our IP address is 192.168.81.10
Filename 'netbsd.ub'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
done
Bytes transferred = 4844992 (49edc0 hex)
Marvell>> bootm
## Booting image at 00100000 ...
   Image Name:   NetBSD/qnapts110 6.99.17
   Created:      2013-03-08  12:15:57 UTC
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    4844928 Bytes =  4.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

NetBSD/evbarm (qnapts110) booting ...
[ Kernel symbol table missing! ]
Loaded initial symtab at 0xc03d94d0, strtab at 0xc0412b8c, # entries 14617
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.17 (QNAPTS110) #9: Fri Mar  8 21:15:55 JST 2013
        root@tellurium.elements.tetera.org:/usr/obj-evbarm/sys/arch/evbarm/compile/QNAPTS110
total memory = 256 MB
avail memory = 245 MB
cprng kernel: WARNING insufficient entropy at creation.
mainbus0 (root)
cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way L1 Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
mvsoc0 at mainbus0: Marvell 88F6281 Rev. A1  Kirkwood
mvsoc0: CPU Clock 800.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq 35: Marvell SoC General Purpose I/O Port Interface
mvsocgpp0: 50 gpio pins
mvsocgpp0: interrupts 96..103, intr 35
mvsocgpp0: interrupts 104..111, intr 36
mvsocgpp0: interrupts 112..119, intr 37
mvsocgpp0: interrupts 120..127, intr 38
mvsocgpp0: interrupts 128..135, intr 39
mvsocgpp0: interrupts 136..143, intr 40
mvsocgpp0: interrupts 144..151, intr 41
mvsocgpp0:   Data Out:                  0x00000000
mvsocgpp0:   Data Out Enable Control:   0x00012000
mvsocgpp0:   Data Blink Enable:         0x00000000
mvsocgpp0:   Data In Polarity:          0x00000000
mvsocgpp0:   Data In:                   0x00010000
mvsocgpp0:   Interrupt Cause:           0x00000000
mvsocgpp0:   Interrupt Mask:            0x00000000
mvsocgpp0:   Interrupt Level Mask:      0x00000000
mvsocgpp0:   High Data Out:             0x0000000c
mvsocgpp0:   High Data Out Enable Ctrl: 0xffffffd3
mvsocgpp0:   High Blink Enable:         0x00000000
mvsocgpp0:   High Data In Polarity:     0x00000000
mvsocgpp0:   High Data In:              0x0000004c
mvsocgpp0:   High Interrupt Cause:      0x00000000
mvsocgpp0:   High Interrupt Mask:       0x00000000
mvsocgpp0:   High Interrupt Level Mask: 0x00000000
gpio0 at mvsocgpp0: 50 pins
mvsocrtc at mvsoc0 unit 0 not configured
com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
com0: console
com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
usb0 at ehci0: USB revision 2.0
gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff: Marvell IDMA Controller/XOR Engine
gtidmac0: XOR Engine 4 channels, intr 5...8
gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
s390rtc0 at iic0 addr 0x30: Seiko Instruments 35390A Real-time Clock
mvcesa0 at mvsoc0 unit 0 offset 0x30000-0x3ffff irq 22: Marvell Cryptographic Engines and Security Accelerator
mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
mvgbe0 at mvgbec0 port 0 irq 11
mvgbe0: Ethernet address 00:50:43:3c:3b:5d
makphy0 at mvgbe0 phy 8: Marvell 88E1116R Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
mvsoc0: mvgbec1 clock disabled
mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9: Marvell PCI Express Interface
pci0 at mvpex0
WARNING: module error: vfs load failed 45 for `pciverbose'
WARNING: module error: vfs load failed 45 for `pciverbose'
vendor 0x11ab product 0x6281 (miscellaneous memory, revision 0x03) at pci0 dev 0 function 0 not configured
mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA Host Controller (SATAHC)
mvsata0: GenIIe, 1hc, 2port/hc
atabus0 at mvsata0 channel 0
atabus1 at mvsata0 channel 1
mvsdio at mvsoc0 unit 0 not configured
uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/77.60, addr 2
uhub1: single transaction translator
cprng sysctl: WARNING insufficient entropy at creation.
boot device: <unknown>
root device:
# $NetBSD: SHEEVAPLUG,v 1.29 2013/03/02 02:42:12 christos Exp $
#
#  This configuration supports for generically Marvell SheevaPlug
#

include  "arch/evbarm/conf/std.marvell"

options  INCLUDE_CONFIG_FILE # embed config file in kernel binary

# estimated number of users

maxusers 32

# Board Type
makeoptions BOARDTYPE="qnapts110"
options  EVBARM_BOARDTYPE=qnapts110

# CPU options
options  CPU_SHEEVA
#options  MV_L2_CACHE_ENABLE
#options  MV_L2_CACHE_WRITE_THROUGH
options  MV_CACHE_RANGE_OPS
makeoptions CPUFLAGS="-march=armv5te"

# Marvell SoC options
options  KIRKWOOD

# Standard system options

options  MSGBUFSIZE=32768
options  RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
#options  NTP  # NTP phase/frequency locked loop

# File systems

file-system  FFS  # UFS
file-system  EXT2FS  # second extended file system (linux)
#file-system  LFS  # log-structured file system
#file-system  MFS  # memory file system
file-system  NFS  # Network File System client
#file-system  NTFS  # Windows/NT file system (experimental)
#file-system  CD9660  # ISO 9660 + Rock Ridge file system
file-system  MSDOSFS  # MS-DOS file system
file-system  FDESC  # /dev/fd
file-system  KERNFS  # /kern
#file-system  NULLFS  # loopback file system
#file-system  OVERLAY  # overlay file system
file-system  PROCFS  # /proc
file-system PUFFS  # Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system  UMAPFS  # NULLFS + uid and gid remapping
#file-system  UNION  # union file system
#file-system  CODA  # Coda File System; also needs vcoda (below)
#file-system  SMBFS  # experimental - CIFS; also needs nsmb (below)
file-system  PTYFS  # /dev/ptm support
file-system  TMPFS  # Efficient memory file-system
#file-system  UDF  # experimental - OSTA UDF CD/DVD file-system
#file-system  HFS  # experimental - Apple HFS+ (read-only)

# File system options
#options  QUOTA  # legacy UFS quotas
#options  QUOTA2  # new, in-filesystem UFS quotas
#options  FFS_EI  # FFS Endian Independent support
options  WAPBL  # File system journaling support
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options  UFS_DIRHASH # UFS Large Directory Hashing - Experimental
options  NFSSERVER # Network File System server
options  FFS_NO_SNAPSHOT # No FFS snapshot support
#options  EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    # immutable) behave as system flags.

# Networking options

#options  GATEWAY  # packet forwarding
options  INET  # IP + ICMP + TCP + UDP
options  INET6  # IPv6
#options  IPSEC  # IP security
#options  IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options  IPSEC_DEBUG # debug for IP security
#options  MROUTING # IP multicast routing
#options  PIM  # Protocol Independent Multicast
#options  NETATALK # AppleTalk networking protocols
#options  PPP_BSDCOMP # BSD-Compress compression support for PPP
#options  PPP_DEFLATE # Deflate compression support for PPP
#options  PPP_FILTER # Active filter support for PPP (requires bpf)
#options  PFIL_HOOKS # pfil(9) packet filter hooks
#options  IPFILTER_LOG # ipmon(8) log support
#options  IPFILTER_LOOKUP # ippool(8) support
#options  IPFILTER_COMPAT # Compat for IP-Filter
#options  IPFILTER_DEFAULT_BLOCK # block all packets by default
#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG

#options  INET_CSUM_COUNTERS
#options  TCP_CSUM_COUNTERS
#options  UDP_CSUM_COUNTERS
#options  MVGBE_EVENT_COUNTERS

#options  NFS_BOOT_BOOTP
options  NFS_BOOT_DHCP
#options  NFS_BOOT_BOOTPARAM

# Compatibility options

#options  COMPAT_09 # NetBSD 0.9 compatibility.
#options  COMPAT_10 # NetBSD 1.0 compatibility.
#options  COMPAT_11 # NetBSD 1.1 compatibility.
#options  COMPAT_12 # NetBSD 1.2 compatibility.
#options  COMPAT_13 # NetBSD 1.3 compatibility.
#options  COMPAT_14 # NetBSD 1.4 compatibility.
#options  COMPAT_15 # NetBSD 1.5 compatibility.
#options  COMPAT_16 # NetBSD 1.6 compatibility.
#options  COMPAT_20 # NetBSD 2.0 compatibility.
#options  COMPAT_30 # NetBSD 3.0 compatibility.
#options  COMPAT_40 # NetBSD 4.0 compatibility.
options  COMPAT_50 # NetBSD 5.0 compatibility.
options  COMPAT_60 # NetBSD 6.0 compatibility.
#options  COMPAT_43 # 4.3BSD compatibility.
#options  TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.

options  COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
options  COMPAT_LINUX # binary compatibility with Linux
options  COMPAT_BSDPTY # /dev/[pt]ty?? ptys.

# Shared memory options

options  SYSVMSG  # System V-like message queues
options  SYSVSEM  # System V-like semaphores
options  SYSVSHM  # System V-like memory sharing

# Device options

#options  MEMORY_DISK_HOOKS # boottime setup of ramdisk
#options  MEMORY_DISK_IS_ROOT # use memory disk as root
#options  MEMORY_DISK_DYNAMIC
#options  MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
#options  MEMORY_RBFLAGS=RB_AUTOBOOT

options  DKWEDGE_AUTODISCOVER
options  DKWEDGE_METHOD_GPT

# Miscellaneous kernel options

options  KTRACE  # system call tracing, a la ktrace(1)
options  IRQSTATS # manage IRQ statistics
#options  LKM  # loadable kernel modules
#options  KMEMSTATS # kernel memory statistics
options  MIIVERBOSE # Verbose MII autoconfuration messages
#options  PCIVERBOSE # Verbose PCI descriptions
options  USBVERBOSE # verbose USB device autoconfig messages
#options  DDB_KEYCODE=0x40
#options  USERCONF # userconf(4) support
#options  PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options  SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel

# Development and Debugging options

#options  PERFCTRS # performance counters
options  DIAGNOSTIC # internally consistency checks
options  DEBUG
#options  LOCKDEBUG
#options  PMAP_DEBUG # Enable pmap_debug_level code
#options  VERBOSE_INIT_ARM # verbose bootstraping messages
options  DDB  # in-kernel debugger
#options  DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#options  KGDB
#options  DEBUG_KGDB
makeoptions DEBUG="-g" # compile full symbol table
#makeoptions COPTS="-O1"
options  SYMTAB_SPACE=800000
#options  AUDIO_DEBUG=2

config  netbsd  root on ? type ?

# The main bus device
mainbus0 at root

# The boot cpu
cpu0 at mainbus?

# Marvell MV88F6xxx Kirkwood System-on-chip
mvsoc0 at mainbus?

# On-chip PCI Express Interface
mvpex* at mvsoc? offset ? irq ?

# PCI bus support
options  PCI_NETBSD_CONFIGURE
#options  PCI_CONFIG_DUMP  # verbosely dump PCI config space

pci* at mvpex?

pchb* at pci? dev ? function ? # PCI-Host bridges

# On-chip Serial-ATA II Host Controller (SATAHC)
mvsata* at mvsoc? offset ? irq ?

# On-chip Gigabit Ethernet Controller Interface
mvgbec* at mvsoc? offset ?
mvgbe* at mvgbec? port ? irq ?

# MII/PHY support
makphy* at mii? phy ?

# On-chip USB 2.0 Interface
ehci* at mvsoc? offset ? irq ?

# On-chip Cryptographic Engines and Security Accelerator
mvcesa* at mvsoc? offset ? irq ?

# On-chip Two-Wire Serial Interface (TWSI)
gttwsi* at mvsoc? offset ? irq ?
iic* at gttwsi?
s390rtc* at iic0 addr 0x30

# On-chip UART Interface
com* at mvsoc? offset ? irq ?

# On-chip IDMA Controller
gtidmac* at mvsoc? offset ? irq ?

# On-chip General Purpose I/O Port Interface
mvsocgpp* at mvsoc? offset ? irq ?
gpio* at mvsocgpp?

# On-chip Timers
mvsoctmr* at mvsoc? offset ? irq ?

# ATA (IDE) bus support
atabus* at ata?
#options  ATADEBUG

# IDE drives
wd* at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives

# USB bus support
usb* at ehci?

# USB Hubs
uhub* at usb?
uhub* at uhub? port ?

# USB HID device
uhidev* at uhub? port ? configuration ? interface ?

# USB Mice
ums* at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB eGalax touch-panel
uep* at uhub? port ?
wsmouse* at uep? mux 0

# USB Keyboards
ukbd* at uhidev? reportid ?
wskbd* at ukbd? console ? mux 1

# USB TEMPer and TEMPerHUM
uthum* at uhidev? reportid ?

# USB serial adapter
ucycom* at uhidev? reportid ?

# USB Generic HID devices
uhid* at uhidev? reportid ?

# USB LCDs and USB-VGA adaptors
udl* at uhub? port ?  # DisplayLink DL-1x0/1x5
wsdisplay* at udl?

# USB Printer
ulpt* at uhub? port ? configuration ? interface ?

# USB Modem
umodem* at uhub? port ? configuration ?
ucom* at umodem?

# Option N.V. Wireless WAN modems
uhso* at uhub? port ? configuration ?

# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
wd* at umass?
scsibus* at scsi?
sd* at scsibus? target ? lun ? # SCSI disk drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives

# USB audio
uaudio* at uhub? port ? configuration ?

# USB MIDI
umidi* at uhub? port ? configuration ?

# USB IrDA
# USB-IrDA bridge spec
uirda* at uhub? port ? configuration ? interface ?
irframe* at uirda?

stuirda* at uhub? port ? configuration ? interface ?
irframe* at stuirda?

# SigmaTel STIr4200 USB/IrDA Bridge
ustir* at uhub? port ?
irframe* at ustir?

# USB Ethernet adapters
aue* at uhub? port ?  # ADMtek AN986 Pegasus based adapters
axe* at uhub? port ?  # ASIX AX88172 based adapters
cdce* at uhub? port ?  # CDC, Ethernet Networking Control Model
cue* at uhub? port ?  # CATC USB-EL1201A based adapters
kue* at uhub? port ?  # Kawasaki LSI KL5KUSB101B based adapters
udav* at uhub? port ?  # Davicom DM9601 based adapters
url* at uhub? port ?  # Realtek RTL8150L based adapters

# USB 802.11 adapters
atu* at uhub? port ?  # Atmel AT76C50XX based adapters
ural* at uhub? port ?  # Ralink Technology RT2500USB 802.11a/b/g
rum* at uhub? port ?  # Ralink Technology RT2501/RT2601 802.11a/b/g
zyd* at uhub? port ?  # Zydas ZD1211

# Prolific PL2301/PL2302 host-to-host adapter
upl* at uhub? port ?

# Serial adapters
ubsa* at uhub? port ?  # Belkin serial adapter
ucom* at ubsa? portno ?

uchcom* at uhub? port ?  # WinChipHead CH341/CH340 serial adapter
ucom* at uchcom? portno ?

uftdi* at uhub? port ?  # FTDI FT8U100AX serial adapter
ucom* at uftdi? portno ?

uipaq* at uhub? port ?  # iPAQ PDAs
ucom* at uipaq? portno ?

umct* at uhub? port ?  # MCT USB-RS232 serial adapter
ucom* at umct? portno ?

uplcom* at uhub? port ?  # I/O DATA USB-RSAQ2 serial adapter
ucom* at uplcom? portno ?

uslsa* at uhub? port ?  # Silicon Labs USB-RS232 serial adapter
ucom* at uslsa? portno ?

uvscom* at uhub? port ?  # SUNTAC Slipper U VS-10U serial adapter
ucom* at uvscom? portno ?

# RIM BlackBerry
uberry* at uhub? port ?

# Diamond Multimedia Rio 500
urio* at uhub? port ?

# USB Handspring Visor
uvisor* at uhub? port ?
ucom* at uvisor?

# Kyocera AIR-EDGE PHONE
ukyopon* at uhub? port ?
ucom* at ukyopon? portno ?

# USB scanners
uscanner* at uhub? port ?

# USB scanners that use SCSI emulation, e.g., HP5300
usscanner* at uhub? port ?

# Topfield TF5000PVR range of DVB recorders
utoppy* at uhub? port ?

# Y@P firmware loader
uyap* at uhub? port ?

# D-Link DSB-R100 USB radio
udsbr* at uhub? port ?
radio* at udsbr?

# USB Generic driver
ugen* at uhub? port ?

# USB 3G datacards
u3ginit* at uhub? port ?
u3g* at uhub? port ?
ucom* at u3g?

# USB generic serial port (e.g., data over cellular)
ugensa* at uhub? port ?
ucom* at ugensa?

# Bluetooth Controller and Device support

# Bluetooth USB Controllers
ubt* at uhub? port ?
aubtfwl* at uhub? port ?

# Bluetooth Device Hub
bthub* at ubt?

# Bluetooth HID support
bthidev* at bthub?

# Bluetooth Mouse
btms* at bthidev? reportid ?
wsmouse* at btms? mux 0

# Bluetooth Keyboard
btkbd* at bthidev? reportid ?
wskbd* at btkbd? console ? mux 1

# Bluetooth Apple Magic Mouse
btmagic* at bthub?
wsmouse* at btmagic? mux 0

# Bluetooth Audio support
btsco* at bthub?


# Audio support
audio* at audiobus?

# Pseudo-Devices

pseudo-device crypto   # /dev/crypto device
pseudo-device swcrypto  # software crypto implementation

# disk/mass storage pseudo-devices
#pseudo-device bio   # RAID control device driver
#pseudo-device ccd  4 # concatenated/striped disk devices
#pseudo-device cgd  4 # cryptographic disk devices
#pseudo-device raid  8 # RAIDframe disk driver
#options  RAID_AUTOCONFIG  # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options  RF_INCLUDE_EVENODD=1
#options  RF_INCLUDE_RAID5_RS=1
#options  RF_INCLUDE_PARITYLOGGING=1
#options  RF_INCLUDE_CHAINDECLUSTER=1
#options  RF_INCLUDE_INTERDECLUSTER=1
#options  RF_INCLUDE_PARITY_DECLUSTERING=1
#options  RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device fss   # file system snapshot device
pseudo-device putter   # for puffs and pud

#pseudo-device md   # memory disk device (ramdisk)
pseudo-device vnd   # disk-like interface to files
options  VND_COMPRESSION  # compressed vnd(4)

# network pseudo-devices
pseudo-device bpfilter  # Berkeley packet filter
#pseudo-device carp   # Common Address Redundancy Protocol
#pseudo-device ipfilter  # IP filter (firewall) and NAT
pseudo-device loop   # network loopback
#pseudo-device ppp   # Point-to-Point Protocol
#pseudo-device pppoe   # PPP over Ethernet (RFC 2516)
#pseudo-device sl   # Serial Line IP
#pseudo-device strip   # Starmode Radio IP (Metricom)
#pseudo-device irframetty  # IrDA frame line discipline
pseudo-device tap   # virtual Ethernet
#pseudo-device tun   # network tunneling over tty
#pseudo-device gre   # generic L3 over IP tunnel
#pseudo-device gif   # IPv[46] over IPv[46] tunnel (RFC 1933)
#pseudo-device faith   # IPv[46] TCP relay translation i/f
pseudo-device stf   # 6to4 IPv6 over IPv4 encapsulation
#pseudo-device vlan   # IEEE 802.1q encapsulation
#pseudo-device bridge   # simple inter-network bridging
#options BRIDGE_IPF  # bridge uses IP/IPv6 pfil hooks too
#pseudo-device agr   # IEEE 802.3ad link aggregation
#pseudo-device pf   # PF packet filter
#pseudo-device pflog   # PF log if

# miscellaneous pseudo-devices
pseudo-device pty   # pseudo-terminals
#pseudo-device sequencer 1 # MIDI sequencer
#options  RND_COM
pseudo-device clockctl  # user control of clock subsystem
pseudo-device ksyms   # /dev/ksyms
pseudo-device drvctl   # device control

# a pseudo device needed for Coda # also needs CODA (above)
#pseudo-device vcoda  4 # coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
#pseudo-device nsmb   # experimental - SMB requester

# wscons pseudo-devices
#pseudo-device wsmux   # mouse & keyboard multiplexor
#pseudo-device wsfont

# data mover pseudo-devices
pseudo-device swdmover  # software dmover(9) back-end
pseudo-device dmoverio  # /dev/dmover dmover(9) interface

#options  FILEASSOC  # fileassoc(9) - required for Veriexec

# Veriexec
#pseudo-device veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options  VERIFIED_EXEC_FP_RMD160
#options  VERIFIED_EXEC_FP_SHA256
#options  VERIFIED_EXEC_FP_SHA384
#options  VERIFIED_EXEC_FP_SHA512
#options  VERIFIED_EXEC_FP_SHA1
#options  VERIFIED_EXEC_FP_MD5

#options  PAX_MPROTECT=0  # PaX mprotect(2) restrictions
#options  PAX_ASLR=0  # PaX Address Space Layout Randomization

MPEG 2.5

MPEG 2.5と言う表記を見掛けたのだが、どういうものか理解できなかった。 /usr/pkgsrc/audio を以下のように検索すると、 /usr/pkgsrc/audio/libmad/DESCR に、MPEG-2 extension to Lower Sam...