また鼻の調子が悪くなったようだ。
Wed May 21 00:36:30 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030520/i386 -D /export/d/20030520/i386 -O /export/o/20030520/i386 -a i386 -m i386 release make release started at: Wed May 21 00:36:57 UTC 2003 make release finished at: Wed May 21 08:35:35 UTC 2003 ===> Successful make release ===> build.sh started: Wed May 21 00:36:31 UTC 2003 ===> build.sh ended: Wed May 21 08:35:35 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030520/i386 -D /export/d/20030520/i386 -O /export/o/20030520/i386 -a i386 -m i386 release build.sh started: Wed May 21 00:36:31 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030520/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030520/i386 RELEASEDIR path: /export/r/20030520/i386 Created /export/o/20030520/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030520/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030520/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Wed May 21 00:36:31 UTC 2003 build.sh ended: Wed May 21 08:35:35 UTC 2003 ===> . Wed May 21 08:35:35 UTC 2003
どうも睡眠時間が少ない。昼寝が足りていないようだ。
つどい用の環境をFIXさせるべく作業。
20030503-UTC + macppc-030503.tar.gz + mpc860-030503.tar.gz + XCAST6 patch (from fun) なkernelを作ってみる。
x6bone.nagoyaなCGIを使わせてもらってテストした。feel6のフィルタでまたはまったけどping6xが飛んで良かった良かった。
LED driverも組み込んでLEDを制御できたので、ひとまず環境としては何とかなりそうだなぁ。
あとは、何を考えようか...
そうか、パネルでした。
完走。
うーん。なんか、逆にどこか変なんじゃないかという気になってきた。
cvsyncのlogもちゃんとできてるっぽいので大丈夫とは思うんだけど。
Thu May 22 00:33:19 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030521/i386 -D /export/d/20030521/i386 -O /export/o/20030521/i386 -a i386 -m i386 release make release started at: Thu May 22 00:33:44 UTC 2003 make release finished at: Thu May 22 08:03:55 UTC 2003 ===> Successful make release ===> build.sh started: Thu May 22 00:33:19 UTC 2003 ===> build.sh ended: Thu May 22 08:03:55 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030521/i386 -D /export/d/20030521/i386 -O /export/o/20030521/i386 -a i386 -m i386 release build.sh started: Thu May 22 00:33:19 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030521/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030521/i386 RELEASEDIR path: /export/r/20030521/i386 Created /export/o/20030521/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030521/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030521/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Thu May 22 00:33:19 UTC 2003 build.sh ended: Thu May 22 08:03:55 UTC 2003 ===> . Thu May 22 08:03:55 UTC 2003
予想どおり発熱。昼間に39度以上になったので急いで医者に行って、すこし収まったものの夜は40度をこえる熱が出た。
40度をこえるとさすがに身体全体が熱くなる。
checkflistでコケ。ついに完走ならず、といったところか。
Fri May 23 00:33:08 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030522/i386 -D /export/d/20030522/i386 -O /export/o/20030522/i386 -a i386 -m i386 release DESTDIR=/export/d/20030522/i386 MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/export/o/20030522/i386/tools/tools.NetBSD-1.6R-i386/bin/nbcksum MAKE=/export/o/20030522/i386/to ols/tools.NetBSD-1.6R-i386/bin/nbmake MTREE=/export/o/20030522/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmtree PAX=/export/o/20030522/i386/tools/tools.NetBSD-1.6R-i386/b in/nbpax sh /export/s/20030522/src/distrib/sets/checkflist 2209c2209 < ./usr/lib/libcurses.so.5.7 --- > ./usr/lib/libcurses.so.5.8 checkflist: flist inconsistencies found checkflist: key to output: < file is in flist but missing from DESTDIR (file wasn't installed ?) > file is in DESTDIR but missing from flist (file is obsolete or flist is out of date ?) *** Error code 1 Stop. nbmake: stopped in /export/s/20030522/src/distrib/sets *** Error code 1
あさまで格闘したおかげで熱は36度台までさがった。
あとは昼と夜に再度発熱しないよう安静にして体力の復活につとめると。
とかいっていたら、やはり夜から発熱。39度台に。昼間に睡眠をとっていたからか昨日よりは見た目の元気さが違う。
ということでOpenBlockSS (OpenBlockS200) のバイナリ環境をそのままOpenBlockS266に適用してみる。
tftpでkernelをロードする機能はボード上のDip SWをいじることによって有効化する。
で、Ether0からやってみる。
405GPr 1.2 ROM Monitor (5/25/02) --------------------- System Info ---------------------- Processor = 405GPr (New mode), PVR: 50910951 CPU speed = 266 MHz PLB speed = 133 MHz OPB speed = 66 MHz EBC speed = 66 MHz PCI Bus speed = 33 MHz (Async) VCO speed = 800 MHz Feedback Clock = CPU Amount of SDRAM = 64 MBytes Internal PCI arbiter enabled -------------------------------------------------------- --- Device Configuration --- Power-On Test Devices: 000 Enabled System Memory [RAM] 002 Enabled Ethernet [ENET] 003 Enabled PCI Ethernet [PCIENET] ---------------------------- Boot Sources: 001 Enabled System FLASH [FLASH] 002 Enabled Ethernet [ENET] LOCAL: 0.0.0.0 REMOTE: 255.255.255.255 MAC: 000A8501858E 004 Enabled Serial Port 1 [S1] Baud = 9600 ---------------------------- Debugger: Disabled ---------------------------- -- FLASH BOOT Update -- Sending bootp request ... Loading file "/netbsd.img" ... Sending tftp boot request ... ENET: hold frame collision, outbound frame. ENET: hold frame collision, outbound frame. ENET: hold frame collision, outbound frame. ENET: hold frame collision, outbound frame. TFTP boot failed. Booting from [FLASH] System FLASH ...
ということで"ENET: hold frame collision, outbound frame."というメッセージを出して死んでしまう (その後、内蔵のLinux kernelをロードする)。
内蔵Ether (EMAC) が駄目なのかともう片方のEther1からやってみると、
405GPr 1.2 ROM Monitor (5/25/02) --------------------- System Info ---------------------- Processor = 405GPr (New mode), PVR: 50910951 CPU speed = 266 MHz PLB speed = 133 MHz OPB speed = 66 MHz EBC speed = 66 MHz PCI Bus speed = 33 MHz (Async) VCO speed = 800 MHz Feedback Clock = CPU Amount of SDRAM = 64 MBytes Internal PCI arbiter enabled -------------------------------------------------------- --- Device Configuration --- Power-On Test Devices: 000 Enabled System Memory [RAM] 002 Enabled Ethernet [ENET] 003 Enabled PCI Ethernet [PCIENET] ---------------------------- Boot Sources: 001 Enabled System FLASH [FLASH] 002 Enabled Ethernet [ENET] LOCAL: 0.0.0.0 REMOTE: 255.255.255.255 MAC: 000A8501858E 004 Enabled Serial Port 1 [S1] Baud = 9600 ---------------------------- Debugger: Disabled ---------------------------- -- FLASH BOOT Update -- Sending bootp request ... ENET: send frame error 4. ENET: send frame error 4. ENET: send frame error 4. ENET: send frame error 4. ENET: send frame error 4. BOOTP failed.s sent = 5 Network boot failed. Booting from [FLASH] System FLASH ...
とまぁ、そもそもEther0からしかできないようなメッセージが出ると。
念のため、環境が腐っていることも考慮してOpenBlockS200でブートさせるときっちりブートしてくれる。
+3c00000, 00045000-03c00000 -> 002f0000-03c00000 = 3910000 Loading pages Done Board config data: usr_config_ver = 123 rom_sw_ver = 01234567890123456789012345678 mem_size = 62914560 mac_address_local = 00:80:6d:51:02:cd mac_address_pci = 00:80:6d:51:02:ce processor_speed = 200000000 plb_speed = 33000000 pci_speed = 33000000 [ using 160356 bytes of netbsd ELF symbol table ] Done with initppc() Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002 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 1.6B (OPENBLOCKSS) #0: Sat Jun 22 01:16:50 JST 2002 masuda@netbsd.cjaa.tv:/export/NetBSD-develop/src/obj/sys/arch/openblocksS/compile/WALNUT Walnut PowerPC 405GP Evaluation Board total memory = 61440 KB avail memory = 54768 KB using 198 buffers containing 3168 KB of memory mainbus0 (root) cpu0 at mainbus0: 200MHz 405GP (Revision 1.69) Instruction cache size 8192 line size 32 Data cache size 8192 line size 32 PVR: owner 401 core family 1 cache 0 version 5 asic 5 Enabling ecc handler com0 at mainbus0 addr 0xef600300 irq 0: ns16550a, working fifo com0: console com1 at mainbus0 addr 0xef600400 irq 1: ns16550a, working fifo emac0 at mainbus0 addr 0xef600800 irq 9: 405GP EMAC emac0: interrupting at irqs 9 .. 15 emac0: Ethernet address 00:80:6d:51:02:cd tqphy0 at emac0 phy 1: 78Q2120 10/100 media interface, rev. 11 tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gpio at mainbus0 addr 0xef600700 not configured iic_mainbus_probe iic0 at mainbus0 addr 0xef600500 irq 2iic0 at mainbus0 at addr ef600500 irq 2 wdog at mainbus0 not configured pchb0 at mainbus0 addr 0xeec00000 pchb0: vendor 0x1014 product 0x0156 (rev. 0x01) pci_conf_interrupt(pin = 0, dev = 7) pci0 at pchb0 pci0: i/o space, memory space enabled vendor 0x1014 product 0x0156 (host bridge, revision 0x01) at pci0 dev 0 function 0 not configured rtk0 at pci0 dev 7 function 0: RealTek 8139 10/100BaseTX pci_intr_map(pin = 1, dev = 7) rtk0: interrupting at irq 28 rtk0: Ethernet address 00:80:6d:51:0e:7e ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface ukphy0: OUI 0x000000, model 0x0000, rev. 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto biomask 1c00 netmask 1c08 ttymask 1c08 emac_wol_intr: arg = 0x8006c000 emac_txde_intr: arg = 0x8006c000 emac_wol_intr: arg = 0x8006c000 emac_txde_intr: arg = 0x8006c000 Setting PIT to 200000000/100 = 2000000 a 100 mdattach 1, 16 md0: internal 512 KB image area boot device:root on emac0 nfs_boot: trying DHCP/BOOTP nfs_boot: BOOTP next-server: 192.168.100.39 nfs_boot: my_name=.obss.home.tokuda.net nfs_boot: my_addr=192.168.100.70 nfs_boot: my_mask=255.255.255.0 root on cube.home.tokuda.net:/usr/obss/rootfs root time: 0x3ece7191 inittodr() inittodr: 00:00:00.2000 09/04/2002 init: copying out path `/sbin/init' 11 Thu Jan 1 00:01:08 UTC 1970 Starting file system checks: mount: /: unknown special file or file system. Setting tty flags. Setting sysctl variables: Starting network. Hostname: obss.home.tokuda.net IPv6 mode: host Configuring network interfaces: emac0. Adding interface aliases: Building databases... Starting syslogd. Checking for core dump... savecore: no core dump (no dumpdev) Mounting all filesystems... Clearing /tmp. Checking quotas: done. Setting securelevel: kern.securelevel: 0 -> 1 /etc/rc: WARNING: No swap space configured! Starting virecover. starting local daemons:. Updating motd. Starting inetd. Starting cron. Thu Jan 1 00:01:23 UTC 1970 NetBSD/openblocksS (obss.home.tokuda.net) (console) login: root Last login: Thu Jan 1 00:49:05 1970 on console Jan 1 00:02:30 obss login: ROOT LOGIN (root) ON console Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. Jan 1 00:02:30 obss login: ROOT LOGIN (root) ON console NetBSD 1.6B (OPENBLOCKSS) #0: Sat Jun 22 01:16:50 JST 2002 Welcome to NetBSD! Terminal type is vt100. We recommend creating a non-root account and using su(1) for root access. obss#
Acrobat5を入れてみる。
日本語のフォントは別途ダウンロードする必要があって、FreeBSDだとportsがあるので今まで気にしていなかったけどNetBSDの場合どうやるんだろって感じ。
で、フォントをダウンロードして展開するとshell scriptがあるのでそれを実行してインタラクティブに質問に答えればインストールでけた。
完走〜
Sat May 24 00:34:27 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030523/i386 -D /export/d/20030523/i386 -O /export/o/20030523/i386 -a i386 -m i386 release make release started at: Sat May 24 00:34:53 UTC 2003 make release finished at: Sat May 24 08:49:53 UTC 2003 ===> Successful make release ===> build.sh started: Sat May 24 00:34:28 UTC 2003 ===> build.sh ended: Sat May 24 08:49:53 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030523/i386 -D /export/d/20030523/i386 -O /export/o/20030523/i386 -a i386 -m i386 release build.sh started: Sat May 24 00:34:28 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030523/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030523/i386 RELEASEDIR path: /export/r/20030523/i386 Created /export/o/20030523/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030523/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030523/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Sat May 24 00:34:28 UTC 2003 build.sh ended: Sat May 24 08:49:53 UTC 2003 ===> . Sat May 24 08:49:53 UTC 2003
一日中のおるすばん。
平熱に戻ったが、夜は心配だ。
しばらく安静にする計画を立てる。
つどいに無理矢理参加させるかどうか思案中。
NetBSD 1.6Bっつーのもねぇ。
昨日のlogを日記に書いて、有識者にレビューしてもらったところ「EMACがらみが変でNetBSD以前では?」との指摘を受ける。
とりあえず、tcpdumpだろうか。いきあたりばったりにevbppcのwalnutなkernelで試してみるか...
うーん。evbppcでも同じだな。やっぱりネットワークがらみか。tcpdumpはオプションありすぎでくじけたのでetherealいれてパケットのぞいてみる。
No. Time Source Destination Protocol Info 1 0.000000 0.0.0.0 255.255.255.255 BOOTP Boot Request from 00:0a:85:01:85:8e 2 0.018048 192.168.100.39 192.168.100.70 BOOTP Boot Reply 3 0.082956 Plat'C2_01:85:8e Broadcast ARP Who has 192.168.100.39? Tell 0.0.0.0 4 8.057503 Plat'C2_01:85:8e Broadcast ARP Who has 192.168.100.39? Tell 0.0.0.0 5 10.057535 Plat'C2_01:85:8e Broadcast ARP Who has 192.168.100.39? Tell 0.0.0.0 6 12.057574 Plat'C2_01:85:8e Broadcast ARP Who has 192.168.100.39? Tell 0.0.0.0 7 14.057610 Plat'C2_01:85:8e Broadcast ARP Who has 192.168.100.39? Tell 0.0.0.0
つうか、このARPっておかしいんじゃないの?
んじゃぁOBS200はどうなのと調べてみると。
No. Time Source Destination Protocol Info 1 0.000000 Sumitomo_65:57:f0 Broadcast ARP Who has 192.168.100.2? Tell 192.168.100.1 2 0.978259 0.0.0.0 255.255.255.255 BOOTP Boot Request from 00:80:6d:51:0e:7d 3 0.999112 192.168.100.39 192.168.100.70 BOOTP Boot Reply 4 1.270758 Century_51:0e:7d Broadcast ARP Who has 192.168.100.39? Tell 192.168.100.70 5 1.270786 Shuttle_ac:df:46 Century_51:0e:7d ARP 192.168.100.39 is at 00:30:1b:ac:df:46 6 1.395722 192.168.100.70 192.168.100.39 TFTP Read Request, File: /netbsd.img, Transfer type: octet
ほう、ARPにちゃんと自分のIPアドレスを入れている。これが原因なんだろか。bootptabの設定間違い? でもなぁ...
まぁいいや。問題を切りわけないと進まないのでひとまずWindowsに走るか。
てなわけで、Windows用のbootpdとtftpdをインストールして、OpenBlockSのマニュアルどおりの手順でnetbsdを送り込む。おぉ、送り込めるじゃないか。やっぱしbootpdの設定だったか。
と、シリアルのメッセージを見るとFLASHに書き込まれてしまった様子。おいおい、ブートするんじゃないのかよ。OBS200と挙動が違うし。
まぁいいや、せっかく書き込んだんだからFLASHからブートさせてみよっと。
「しーん。」うーん、やっぱだめか。
このままではなにもできないし、くやしいけどLinuxに戻そうか。ということでzImage.initrdを送り込む。と、あれ? なんか変なメッセージがえんえんと表示されてますよ。
ふー。深呼吸して再度電源投入。だ、だめじゃん。やばい。壊したか...
とりあえず、最新のzImageだからおかしいのかも、と思い込むことにして、古いzImage.initrdを入れることに。
おぉ、だいじょうぶじゃん。ふぅ、とりあえず修理に出さなくても良さそうだ。っつーか、これで思う存分いじれるぞ。
しかしまぁ、bootp+tftpなブートはどうやるんじゃろ? ブート時のメッセージにFLASH, ETHER, Serialの三つがブート対象として表示されているんだけど、その順番をどう変えれば良いのかがわからん。
cvsync-0.21.1に入れ換え〜
完走〜 (最近こればっかし)
Sun May 25 00:35:33 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030524/i386 -D /export/d/20030524/i386 -O /export/o/20030524/i386 -a i386 -m i386 release make release started at: Sun May 25 00:35:59 UTC 2003 make release finished at: Sun May 25 08:21:27 UTC 2003 ===> Successful make release ===> build.sh started: Sun May 25 00:35:33 UTC 2003 ===> build.sh ended: Sun May 25 08:21:27 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030524/i386 -D /export/d/20030524/i386 -O /export/o/20030524/i386 -a i386 -m i386 release build.sh started: Sun May 25 00:35:33 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030524/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030524/i386 RELEASEDIR path: /export/r/20030524/i386 Created /export/o/20030524/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030524/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030524/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Sun May 25 00:35:33 UTC 2003 build.sh ended: Sun May 25 08:21:27 UTC 2003 ===> . Sun May 25 08:21:27 UTC 2003
微熱が残った。
なんかmasuda版は動くらしい。精進が足りませんでしたか。
完走〜
Mon May 26 00:35:32 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030525/i386 -D /export/d/20030525/i386 -O /export/o/20030525/i386 -a i386 -m i386 release make release started at: Mon May 26 00:35:58 UTC 2003 make release finished at: Mon May 26 08:27:22 UTC 2003 ===> Successful make release ===> build.sh started: Mon May 26 00:35:33 UTC 2003 ===> build.sh ended: Mon May 26 08:27:22 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030525/i386 -D /export/d/20030525/i386 -O /export/o/20030525/i386 -a i386 -m i386 release build.sh started: Mon May 26 00:35:33 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030525/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030525/i386 RELEASEDIR path: /export/r/20030525/i386 Created /export/o/20030525/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030525/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030525/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Mon May 26 00:35:33 UTC 2003 build.sh ended: Mon May 26 08:27:22 UTC 2003 ===> . Mon May 26 08:27:22 UTC 2003
だいぶ復活。鼻もよくなったようだし。
ついに作る決心をする。
自分用patchをあててbuild.sh。速攻停止。
ん? build.shでarchチェックするようになったのか。mpc860は知らんなどとけしからん奴だ。macppcの後ろにmpc860を滑り込ませてbuild開始。
でも、もう遅いので寝ます。
ひ〜さびさに、こけました〜。なんか安心 (?)。
Tue May 27 00:36:46 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030526/i386 -D /export/d/20030526/i386 -O /export/o/20030526/i386 -a i386 -m i386 release STRIP=/export/o/20030526/i386/tools/tools.NetBSD-1.6R-i386/bin/i386--netbsdelf-strip /export/o/20030526/i386/tools/tools.NetBSD-1.6R-i386/bin/nbinstall -N /export/s/20030526/src/etc -c -r -o root -g wheel -m 444 magic.mime.mgc /export/d/20030526/i386/usr/share/misc/magic.mime.mgc nbinstall: magic.mime.mgc: stat: No such file or directory *** Error code 1 Stop. nbmake: stopped in /export/s/20030526/src/usr.bin/file *** Error code 1
きょうまで休み。
とにかく、だいぶ良くなった。
build.sh releaseは朝こけていたけど、ちょこっと直して完走。
Webにはあげておいた。
LEDパッチとXCAST6パッチをあてて、1.6Tでの出展を狙うのであった。が、1.6TでXCAST6のパッチがあたるとかあたらないとか情報が錯綜している感じ。
完走〜
Wed May 28 00:37:23 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030527/i386 -D /export/d/20030527/i386 -O /export/o/20030527/i386 -a i386 -m i386 release make release started at: Wed May 28 00:37:48 UTC 2003 make release finished at: Wed May 28 08:43:54 UTC 2003 ===> Successful make release ===> build.sh started: Wed May 28 00:37:23 UTC 2003 ===> build.sh ended: Wed May 28 08:43:54 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030527/i386 -D /export/d/20030527/i386 -O /export/o/20030527/i386 -a i386 -m i386 release build.sh started: Wed May 28 00:37:23 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030527/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030527/i386 RELEASEDIR path: /export/r/20030527/i386 Created /export/o/20030527/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030527/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030527/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Wed May 28 00:37:23 UTC 2003 build.sh ended: Wed May 28 08:43:54 UTC 2003 ===> . Wed May 28 08:43:54 UTC 2003
帰って速攻寝たらしい。
20030517-UTCなソースでXCAST6対応kernelを作ろうと試みる。
funパッチをあてると最後の最後でこけてしまう。
/usr/obj/mpc860/20030528/tools/tools.NetBSD-1.6P-i386/bin/powerpc--netbsd-ld -N -Ttext 80010000 -e __start -S -o netbsd ${SYSTEM_OBJ} vers.o if_xcst.o: In function `xcst_process_hopopts': if_xcst.o(.text+0x6f4): undefined reference to `IP6_EXTHDR_CHECK' if_xcst.o(.text+0x6f4): relocation truncated to fit: R_PPC_REL24 IP6_EXTHDR_CHECK if_xcst.o(.text+0x720): undefined reference to `IP6_EXTHDR_CHECK' if_xcst.o(.text+0x720): relocation truncated to fit: R_PPC_REL24 IP6_EXTHDR_CHECK route6.o: In function `route6_input': route6.o(.text+0x1ac): undefined reference to `IP6_EXTHDR_CHECK' route6.o(.text+0x1ac): relocation truncated to fit: R_PPC_REL24 IP6_EXTHDR_CHECK xcast6.o: In function `xcast6_setup_rthdr': xcast6.o(.text+0x15b8): undefined reference to `IP6_EXTHDR_CHECK' xcast6.o(.text+0x15b8): relocation truncated to fit: R_PPC_REL24 IP6_EXTHDR_CHECK xcast6.o: In function `xcast6_x2u_forward': xcast6.o(.text+0x17cc): undefined reference to `IP6_EXTHDR_CHECK' xcast6.o(.text+0x17cc): relocation truncated to fit: R_PPC_REL24 IP6_EXTHDR_CHECK *** Error code 1 Stop. nbmake: stopped in /usr/20030517/src/sys/arch/mpc860/compile/MPC860.XCAST6
完走。
Thu May 29 00:37:51 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030528/i386 -D /export/d/20030528/i386 -O /export/o/20030528/i386 -a i386 -m i386 release make release started at: Thu May 29 00:38:16 UTC 2003 make release finished at: Thu May 29 08:42:25 UTC 2003 ===> Successful make release ===> build.sh started: Thu May 29 00:37:52 UTC 2003 ===> build.sh ended: Thu May 29 08:42:25 UTC 2003 ===> Summary of results: build.sh command: ./build.sh -R /export/r/20030528/i386 -D /export/d/20030528/i386 -O /export/o/20030528/i386 -a i386 -m i386 release build.sh started: Thu May 29 00:37:52 UTC 2003 Bootstrapping nbmake MACHINE: i386 MACHINE_ARCH: i386 TOOLDIR path: /export/o/20030528/i386/tools/tools.NetBSD-1.6R-i386 DESTDIR path: /export/d/20030528/i386 RELEASEDIR path: /export/r/20030528/i386 Created /export/o/20030528/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake makewrapper: /export/o/20030528/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Updated /export/o/20030528/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmake-i386 Successful make release build.sh started: Thu May 29 00:37:52 UTC 2003 build.sh ended: Thu May 29 08:42:25 UTC 2003 ===> . Thu May 29 08:42:25 UTC 2003
たまには息抜きということで箱根の温泉にでかける。
天気も良く、夏のような暑さだった。
都内の道は多少混んでいたが、ほとんど渋滞もなくスイスイと到着。ただし、宿がなかなか見つからずにちょっと迷う。
時間が余ったので強羅公園にいく。16:30に着いたら17:00までとのこと。気にせず入ってしばらくうろうろ。どっちみち30分も歩いていれば飽きるしな。
フラフラと宿に戻って風呂にはいってすぐに食事。食事はなかなか。鉄板焼きはおいしかった。ただし、いろいろバタバタして落ち着いて食べられなかったなぁ。そういう日が来るのはいつになるのだろ。
もういちど風呂に入ってビールなど飲む。ほろ酔いにとどめて明日に備える。
DDIポケットは圏外なのでAir-H"を持っていったが空振り。まぁ、だからといってPC触らないわけじゃないのでいいか。
そうそう、今日は歩いたよ。今までになくスイスイと。もうすぐ走り回るんだろうか。
H嶋さんのパッチを試す。kernelは作れたので明日にでも試すことにしよう。
patch -Rは便利だなや。
XCAST6関係ではkernel, libxcast, ping6x, traceroute6x, tcpdumpを作るんだけど、結構手間なのでそれなりに自動化したいなぁと思っていたのでshell scriptをチョロチョロと作る。
それらをまとめてくれるkitを作ったのでこれからは結構楽になりそうだ。
などということを箱根でトイレの前の電気を使って一人淋しく作っていたのであった。
checkflistでこけた。
Fri May 30 00:37:14 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030529/i386 -D /export/d/20030529/i386 -O /export/o/20030529/i386 -a i386 -m i386 release DESTDIR=/export/d/20030529/i386 MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/export/o/20030529/i386/tools/tools.NetBSD-1.6R-i386/bin/nbcksum MAKE=/export/o/20030529/i386/too ls/tools.NetBSD-1.6R-i386/bin/nbmake MTREE=/export/o/20030529/i386/tools/tools.NetBSD-1.6R-i386/bin/nbmtree PAX=/export/o/20030529/i386/tools/tools.NetBSD-1.6R-i386/bin /nbpax sh /export/s/20030529/src/distrib/sets/checkflist 11813a11814 > ./usr/share/man/man3/readdir.3 checkflist: flist inconsistencies found checkflist: key to output: < file is in flist but missing from DESTDIR (file wasn't installed ?) > file is in DESTDIR but missing from flist (file is obsolete or flist is out of date ?) *** Error code 1 Stop. nbmake: stopped in /export/s/20030529/src/distrib/sets *** Error code 1 Stop. nbmake: stopped in /export/s/20030529/src/distrib/sets *** Error code 1
箱根二日目。
なんだか朝から雨が振りまくっているんですが。
朝はバイキング形式。内容は普通かな。味はまぁまぁ。
ザーザー雨が降っているが、時間切れということで出発。雨でも楽しめそうな観光スポットをさがしてガラスの森に行ってみる。ほう、1,300円ですか。うーむ、強気の値段設定だな。
雨に濡れない場所として選択したはずが、見事に期待を裏切る展開に。なんというか広い庭のあちらこちらに建物があって、そこでガラスを観賞するシステム。つまり傘が手放せないわけで、なんのためにここに来たんだろーと思いながらびしょ濡れになって、尻尾を巻いて家路につくことにしましたとさ。
で、これがまたすごい雨で高速道路もかなり大変な状態でした。神経をすり減らしながら何とか帰宅。温泉でとった疲れもチャラですな。
昨日作ったkernelを試してみる。
おぉ、ping6xとtraceroute6xが動いとるよ。
20030517-UTCでNetBSD 1.6Tです。
MIDNIGHTなメーリングリストに報告しておいた。
kernelファイルをFTPでASCIIモードで転送するという初歩的なミスで前回は失敗していたんだけれど、正しいファイルをファームウェアに書き込んでやるとブートした!
リクエストにお答えしてブート時のメッセージを張り付けておこう。
405GPr 1.2 ROM Monitor (5/25/02) --------------------- System Info ---------------------- Processor = 405GPr (New mode), PVR: 50910951 CPU speed = 266 MHz PLB speed = 133 MHz OPB speed = 66 MHz EBC speed = 66 MHz PCI Bus speed = 33 MHz (Async) VCO speed = 800 MHz Feedback Clock = CPU Amount of SDRAM = 64 MBytes Internal PCI arbiter enabled -------------------------------------------------------- --- Device Configuration --- Power-On Test Devices: 000 Enabled System Memory [RAM] 002 Enabled Ethernet [ENET] 003 Enabled PCI Ethernet [PCIENET] ---------------------------- Boot Sources: 001 Enabled System FLASH [FLASH] 002 Enabled Ethernet [ENET] LOCAL: 0.0.0.0 REMOTE: 255.255.255.255 MAC: 000A8501858E 004 Enabled Serial Port 1 [S1] Baud = 9600 ---------------------------- Debugger: Disabled ---------------------------- -- Automatic Boot -- Booting from [FLASH] System FLASH ... +3c00000, 00045000-03c00000 -> 002f0000-03c00000 = 3910000 Loading pages Done Board config data: usr_config_ver = 123 rom_sw_ver = 01234567890123456789012345678 mem_size = 62914560 mac_address_local = 00:80:6d:51:02:cd mac_address_pci = 00:80:6d:51:02:ce processor_speed = 200000000 plb_speed = 33000000 pci_speed = 33000000 [ using 160356 bytes of netbsd ELF symbol table ] Done with initppc() Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002 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 1.6B (OPENBLOCKSS) #0: Sat Jun 22 01:16:50 JST 2002 masuda@netbsd.cjaa.tv:/export/NetBSD-develop/src/obj/sys/arch/openblocksS/compile/WALNUT Walnut PowerPC 405GP Evaluation Board total memory = 61440 KB avail memory = 54768 KB using 198 buffers containing 3168 KB of memory mainbus0 (root) cpu0 at mainbus0: 200MHz Version 0x5091 (Revision 9.81) Instruction cache size 0 line size 4 Data cache size 0 line size 4 PVR: owner 509 core family 1 cache 2 version 5 asic 11 Enabling ecc handler com0 at mainbus0 addr 0xef600300 irq 0: ns16550a, working fifo com0: console com1 at mainbus0 addr 0xef600400 irq 1: ns16550a, working fifo emac0 at mainbus0 addr 0xef600800 irq 9: 405GP EMAC emac0: interrupting at irqs 9 .. 15 emac0: Ethernet address 00:80:6d:51:02:cd gpio at mainbus0 addr 0xef600700 not configured iic_mainbus_probe iic0 at mainbus0 addr 0xef600500 irq 2iic0 at mainbus0 at addr ef600500 irq 2 wdog at mainbus0 not configured pchb0 at mainbus0 addr 0xeec00000 pchb0: vendor 0x1014 product 0x0156 (rev. 0x21) pci_conf_interrupt(pin = 0, dev = 3) pci_conf_interrupt(pin = 0, dev = 4) pci0 at pchb0 pci0: i/o space, memory space enabled vendor 0x1014 product 0x0156 (host bridge, revision 0x21) at pci0 dev 0 function 0 not configured vendor 0x1103 product 0x0007 (RAID mass storage, revision 0x02) at pci0 dev 3 function 0 not configured vendor 0x1282 product 0x9102 (ethernet network, revision 0x40) at pci0 dev 4 function 0 not configured biomask 1c00 netmask 1c00 ttymask 1c00 Setting PIT to 200000000/100 = 2000000 a 100 mdattach 1, 16 md0: internal 512 KB image area boot device:root on emac0 nfs_boot: trying DHCP/BOOTP
それで、NFSブートするはずなんだけどうまくいかない。MACアドレスがー、というのはあいかわらず。
止まりましたね。
Sat May 31 00:37:57 UTC 2003 ===> build.sh command: ./build.sh -R /export/r/20030530/i386 -D /export/d/20030530/i386 -O /export/o/20030530/i386 -a i386 -m i386 release echo "set solib-absolute-prefix /export/d/20030530/i386" > .gdbinit /export/o/20030530/i386/tools/tools.NetBSD-1.6R-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno- uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -nostdinc -isystem /export/d/20030530/i386/usr/include -c /export/s/20030530/src/regress/lib/libc/int_fmtio/fmt io_check.c cc1: warnings being treated as errors /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c: In function `main': /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:95: warning: long int format, __intptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:110: warning: long int format, __intptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:125: warning: long unsigned int format, __uintptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:140: warning: long unsigned int format, __uintptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:155: warning: long unsigned int format, __uintptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:170: warning: long unsigned int format, __uintptr_t arg (arg 4) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:186: warning: long int format, __intptr_t arg (arg 3) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:201: warning: long int format, __intptr_t arg (arg 3) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:216: warning: long unsigned int format, __uintptr_t arg (arg 3) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:231: warning: long unsigned int format, __uintptr_t arg (arg 3) /export/s/20030530/src/regress/lib/libc/int_fmtio/fmtio_check.c:246: warning: long unsigned int format, __uintptr_t arg (arg 3) *** Error code 1 Stop. nbmake: stopped in /export/s/20030530/src/regress/lib/libc/int_fmtio *** Error code 1
メールはこちらへ...[BSD小僧 (tokuda @(at) tokuda .(dot) net)]
この日記は、GNSを使用して作成されています。