|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||||
2004年10月18日(月) [n年日記]更新: "2004/10/18 21:30:48"#1 [2.0H][PM4400] PM4400 で NetBSD
PowerMac 4400 に 2.0H を入れて見た。
@ 構成:
@ cdrom で起動:> boot ata/atapi-disk@0:0installboot は、まだ手動。 mount /dev/wd0a /mnt mount /dev/wd0d /mnt/usr cd /mnt/usr/mdec ./installboot -v /mnt/boot bootxx /dev/rwd0a @ CDROM/disk の線を交換してから:> setenv real-base F00000 > reset-all ... > boot ata/ata-disk@0:0 NetBSD 2.0H (GENERIC) #2: Sun Oct 17 20:49:11 JST 2004 root@st4200:/export/20040925/checkout/src/sys/arch/macppc/compile/GENERIC total memory = 144 MB avail memory = 132 MB bootpath: /bandit@F2000000/ohare@10/ata@20000/ata-disk@0 mainbus0 (root) cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary) cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT> cpu0: L2 cache not enabled bandit0 at mainbus0 @ /etc/ttys に ttyZ0 を追加:console "/usr/libexec/getty std.38400" vt100 off secure ttyE0 "/usr/libexec/getty std.9600" vt100 on secure #ty00 "/usr/libexec/getty std.38400" vt100 on secure ttyZ0 "/usr/libexec/getty std.38400" vt100 on secure tty01 "/usr/libexec/getty std.9600" unknown off secureこれで root で入れるようになる @ 別の AGP/400 に ftp して見る:ftp> get /netbsd /dev/null 4455628 bytes received in 00:00 (6.15 MB/s) ftp> put /netbsd /dev/null 4718746 bytes sent in 00:01 (3.04 MB/s) ftp> @ カーネルを作り直す:
CDROM には src も入っているので、それを使って kernel を作り直す。
include "arch/macppc/conf/GENERIC" options ZS_CONSOLE_ABORT options INSECURE options L2CR_CONFIG="(L2SIZ_1M|L2CLK_20|L2RAM_PB2)" ld -N -Ttext 100000 -e __start -S -o netbsd ${SYSTEM_OBJ} vers.o text data bss dec hex filename 4159316 79436 322524 4561276 45997c netbsd 3070.887u 405.064s 57:15.53 101.1% 0+0k 22+2261io 127pf+24w ttyp0:makoto@pm44 19:04:25/041018(...compile/INSECURE-ZS-L2PB2-1M)> NetBSD 2.0H (INSECURE-ZS-L2PB2-1M) #0: Mon Oct 18 19:04:12 JST 2004 makoto@pm44:/usr/src/sys/arch/macppc/compile/INSECURE-ZS-L2PB2-1M total memory = 144 MB avail memory = 132 MB bootpath: /bandit@F2000000/ohare@10/ata@20000/ata-disk@0 mainbus0 (root) cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary) cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT> cpu0: 512KB backside L2 cache bandit0 at mainbus0 @ これでもう一度作り直し:ld -N -Ttext 100000 -e __start -S -o netbsd ${SYSTEM_OBJ} vers.o text data bss dec hex filename 4159316 79436 322524 4561276 45997c netbsd 1808.059u 214.478s 33:29.82 100.6% 0+0k 177+2151io 2404pf+0w ttyp0:makoto@pm44 19:45:01/041018(...compile/INSECURE-ZS-L2PB2-1M)>キャッシュを生かしたことで、約二倍の速度になっている。 |
最近の日記 | ||