[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NFS on tty00 & gcc -v



深海@やっと hpcmips いぢる暇ができた、です。

# ぎゃあ、 Win98 吹っ飛んだ... telnet 端末が落ちてしまったので、 MGL2 の
# make 結果がわからない... make log をファイルに書いとくべきだったか...

だいぶまえの話で、すでに興味ないかもしれませんが、

Koji Suzuki さんは書きました:

>これって やろうと思ったこともないのですが、gcc -v でどれぐらいの時間が
>かかるのでしょうか? 

やっとためしてみました。結果から先いきますと、

mount_nfs 母艦:(X 以外の binary sets 展開したとこ)/usr /usr

と豪快にやってから、

e-65# time gcc -v
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
0.0u 0.0s 0:10.53 1.2% 0+0k 0+0io 26pf+0w
e-65# time gcc -v
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
0.0u 0.0s 0:00.20 55.0% 0+0k 0+0io 0pf+0w
e-65# time gcc -v
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
0.0u 0.0s 0:00.18 61.1% 0+0k 0+0io 0pf+0w

だそうです。 vi (新規ファイル) とかやっても、かなり楽しめます...

いま同じ環境で、

e-65# pwd
/usr/src (NFS 上...)

e-65# ls -l
total 295
-rw-r--r--  1 root  wheel  223265 May 14 22:51 mgl2-alpha-018.tar.gz
-rw-r--r--  1 root  wheel    6968 May 14 22:51 mgl2-alpha-018p1.patch.gz
-rw-r--r--  1 root  wheel    2682 May 14 22:51 mgl2-alpha-018p2.patch.gz
-rw-r--r--  1 root  wheel   11339 May 14 22:51 mgl2-alpha-018p3.patch.gz
-rw-r--r--  1 root  wheel    6306 May 14 22:51 mgl2-alpha-018p4.patch.gz
-rw-r--r--  1 root  wheel    9991 May 14 22:51 mgl2-alpha-018p5.patch.gz
-rw-r--r--  1 root  wheel   23832 May 14 22:51 mgl2-alpha-018p6.patch.gz
e-65# time tar -zxf mgl2-alpha-018.tar.gz
1.1u 0.3s 4:58.35 0.4% 0+0k 0+402io 90pf+0w
e-65# cd mgl2-alpha-018
e-65# date && zcat ../*patch.gz |patch -p1 && date
Sun May 14 23:52:55 JST 2000
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ru mgl2-alpha-018/Build.doc mgl2/Build.doc
|--- mgl2-alpha-018/Build.doc   Fri Mar  3 01:07:43 2000
|+++ mgl2/Build.doc     Wed Mar  8 15:46:25 2000
--------------------------
Patching file Build.doc using Plan A...
Hunk #1 succeeded at 123.
Hunk #2 succeeded at 201.

などというとこをしております。いつおわることやら。
# ふむ、 time gmake 開始っと
# やってたんだけど、 telnet 端末が吹っ飛んで結果紛失気味...

以下、設定やら記録やら、覚え書き。かなり忘れ書き (?) 風味ですが。
# というか、いろいろ穴だらけなので、つっこまないでください...

--
NetBSD/hpcmips 2000/03/15 static link 版の {base, etc, kern}.tgz を母艦
で展開。 cd ./dev && ./MAKEDEV all する。マルチユーザモードで起動するよ
うに、

./etc/fstab
./etc/myname
./etc/localtime
./etc/rc.conf

あたりをちゃんとしておく。さらに

./etc/group
./etc/master.passwd
./etc/passwd
./etc/pwd.db
./etc/spwd.db

あたりで telnet と su が出来るユーザを作っておいたりする。

./etc/ppp/peers/mother

を作っておいて、 rc.conf で起動時に呼ばれるようにしておく。
以上を CF に書き写す。あとは母艦側は pppd call e-65 で待ちモード。

CASSIOPEIA は WinCE 上で一度 tty00 を動かしておいてから
NetBSD/hpcmips を起動する。以下必要そうな記録。

母艦:

May 14 21:34:03 dns1 pppd[14942]: Using interface ppp0
May 14 21:34:03 dns1 pppd[14942]: Connect: ppp0 <--> /dev/tty00
May 14 21:34:06 dns1 pppd[14942]: Modem hangup
May 14 21:34:06 dns1 pppd[14942]: Connection terminated.
May 14 21:35:26 dns1 pppd[14942]: Using interface ppp0
May 14 21:35:26 dns1 pppd[14942]: Connect: ppp0 <--> /dev/tty00
May 14 21:35:29 dns1 pppd[14942]: found interface de0 for proxy arp
May 14 21:35:29 dns1 pppd[14942]: local  IP address 211.6.137.210
May 14 21:35:29 dns1 pppd[14942]: remote IP address 211.6.137.216

dns1# cat /etc/ppp/peers/e-65
/dev/tty00
115200
crtscts
passive
211.6.137.210:211.6.137.216
debug
netmask 255.255.255.255
noauth
persist
proxyarp

dns1# ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 211.6.137.210 --> 211.6.137.216 netmask 0xffffffff



CASSIPEIA E-65:

e-65# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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.4U (GENERIC) #53: Wed Mar 15 06:34:52 JST 2000
    shin@rei:/u/home/shin/current/src/sys/arch/hpcmips/compile/GENERIC
CASIO Cassiopeia E55 (NEC VR4111 rev1.0 69.391MHz)
total memory = 16384 KB
avail memory = 12976 KB
using 230 buffers containing 920 KB of memory
/u/home/shin/current/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not imple
mented.
mainbus0 (root)
cpu0 at mainbus0: NEC VR4100 CPU Rev. 5.2 with software emulated floating point
Rev. 0.0
cpu0: L1 cache: 16KB/16B Instruction, 8KB/16B Data, direct mapped
cpu0: No L2 cache
cpu0: install VR specific idle routine
bivideo0 at mainbus0: pseudo video controller, console
hpcfb0 at bivideo0: rasops 240x320 pixels, 4 colors, 30x32 chars
wsdisplay0 at hpcfb0: console (std, vt100 emulation)
vrip0 at mainbus0
vrcmu0 at vrip0 addr 0xb000060-0xb00007f
vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8
WIN setting:                                IIIoooooooIiIiIiIIIIIIIIIIIIIiiI
I/O setting:                                iiioooooooiiiiiiiiiiiiiiiiiiiiii
       data:,,,,,,,,,,,,,,,,,,,,;;;;,;;,,;;;|||.|.|||||.|..|.|||||||||....||
button0 at vrgiu0 port=6 id=1 active=low sense=edge
button1 at vrgiu0 port=7 id=2 active=low sense=edge
button2 at vrgiu0 port=8 id=9 active=low sense=edge
button3 at vrgiu0 port=9 id=10 active=low sense=edge
button4 at vrgiu0 port=10 id=11 active=low sense=edge
button5 at vrgiu0 port=11 id=12 active=low sense=edge
button6 at vrgiu0 port=12 id=4 active=low sense=edge
button7 at vrgiu0 port=13 id=3 active=low sense=edge
vrbcu0 at vrip0 addr 0xb000000-0xb00001f
vrbcu: cpu 69.391MHz, bus 23.130MHz, ram 23.130MHz
com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2
vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7
wskbd0 at vrkiu0 (mux 1 ignored for console): console keyboard, using wsdisplay0
vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1
vrpmu: Battery low during activation
vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
vrpiu0 at vrip0 addr 0xb000120-0xb0002bf intr 5
wsmouse0 at vrpiu0 mux 0
vrisab4 at vrgiu0:ISA port 0x1400c000-0x18000000 mem 0x10000000-0x20000000
isa4 at vrisab4
wdc0 at isa4 port 0x170-0x177 irq 33554435
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-64>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 62720 KB, 490 cyl, 8 head, 32 sec, 512 bytes/sect x 125440 sectors
btnmgr0 at mainbus0
wskbd1 at btnmgr0 mux 1
/u/home/shin/current/src/sys/arch/hpcmips/vr/vr.c(294): vr_bus_reset() not imple
mented.
boot device: wd0
root on wd0a dumps on wd0b
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!
root file system type: ffs
ppp0: no ifid available for IPv6 link-local address
ppp0: using random value as EUI64: 7e:5e:ea:14:79:16:d1:b9

May 14 20:40:13 e-65 pppd[224]: pppd 2.3.9 started by root, uid 0
May 14 20:40:13 e-65 pppd[224]: Using interface ppp0
May 14 20:40:13 e-65 pppd[224]: Connect: ppp0 <--> /dev/tty00
May 14 20:40:16 e-65 /netbsd: ppp0: no ifid available for IPv6 link-local address
May 14 20:40:16 e-65 /netbsd: ppp0: using random value as EUI64: 7e:5e:ea:14:79:16:d1:b9
May 14 20:40:16 e-65 pppd[224]: local  IP address 211.6.137.216
May 14 20:40:16 e-65 pppd[224]: remote IP address 211.6.137.210

e-65# cat /etc/ppp/peers/mother
/dev/tty00
115200
crtscts
defaultroute
211.6.137.216:211.6.137.210
debug
netmask 255.255.255.255
noauth
persist

e-65# ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 211.6.137.216 --> 211.6.137.210 netmask 0xffffffff
        inet6 fe80::7c5e:ea14:7916:d1b9%ppp0 -> :: prefixlen 64 scopeid 0x2

--
ふかうみ なおき
naoki@fukaumi.org