通常日記 | 分類別 ABC 順 | 北目式分類 | macppc/ | port-macppc 全文検索 | NetBSD (old) | NetBSD 解説 | PHP+Postgresql | PowerMac7220/4400 雑記帳 | 4400/200

NetBSD/macppc StarMax 専用

macppc の中でも Tanzania 板を使っているものは少し特殊なので、 それに限った記録はこちらに書きます。
(Motorola StarMax, PowerMac 4400 など)
hns - 日記自動生成システム - Version 2.19.9

先月 2000年08月 来月
1 2 3 4 05
06 7 8 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2000年08月11日(金) [n年日記]

#1 [boot.fs] port-macppc にあった話で IDE に boot.fs を書くと boot 出来るか

という話で、 CDROM がつながっている 2nd IDE から CDROM を外して、 代りに 350M の IDE をつないで boot.fs を dd してから、 僕はどうやって、2nd IDE から boot するか分らなかったので 1st/2nd を入換えて、
0 > boot ata/ata-disk@0:0
としたら、sysinst が無事起動した。このように便利なことがあるとは 気が付かなかった。

#2 [IDE] master/slave

StarMax の場合、 IDE は二つついているが、それぞれに master しか つなげない。両方とも master にしておけば、
dev /
ls 
....
FF838028:     /ata@20000
FF839620:       /ata-disk@0,0
FF83A790:     /ata@21000
FF83BD90:       /ata-disk@0,0
..
となる。 boot /bandit/ohare/ata@21000/ata-disk@0,0 で行けそうだが、だめ。

2000年08月12日() [n年日記]

#1 [Perl] 5.6.0

何とはなく Perl-5.6.0 を組立てて見る。 ftp://ftp.win.ne.jp に行って、site index perl-5.6.0 で見つけたものを 持って来て, StarMax 4000/160, QUANTUM FIREBALLlct10 15, で、
./Configure -des -U d_setlocale
time make
432.585u 99.081s 11:43.84 75.5% 0+0k 17359+8152io 771pf+0w
make test

op/64bitint..........skipping test on this platform
op/lfs...............skipping test on this platform
pragma/locale........skipping test on this platform
pragma/warnings......PROG:    (別掲)

lib/gdbm.............skipping test on this platform
lib/odbm.............skipping test on this platform
lib/thr5005..........skipping test on this platform
Failed 1 test script out of 230, 99.57% okay.
u=2.25  s=4.41  cu=83.05  cs=67.81  scripts=230  tests=11704
*** Error code 1
pragma/warnings......PROG: 
# pp_hot.c [pp_print]
use warnings 'io' ;
print STDIN "anc";
print <STDOUT>;
print <STDERR>;
open(FOO, ">&STDOUT") and print <FOO>;
print getc(STDERR);
print getc(FOO);
####################################################################
# The next test is known to fail on some systems (Linux+old glibc, #
# old *BSDs, and NeXT, among others.                               #
# We skip it for now (on the grounds that it is "just" a warning). #
####################################################################
#read(FOO,$_,1);
no warnings 'io' ;
print STDIN "anc";
EXPECTED:
Filehandle main::STDIN opened only for input at - line 3.
Filehandle main::STDOUT opened only for output at - line 4.
Filehandle main::STDERR opened only for output at - line 5.
Filehandle main::FOO opened only for output at - line 6.
Filehandle main::STDERR opened only for output at - line 7.
Filehandle main::FOO opened only for output at - line 8.
GOT:
Filehandle main::STDIN opened only for input at - line 3.
Filehandle main::STDOUT opened only for output at - line 4.
Filehandle main::STDERR opened only for output at - line 5.
Filehandle main::STDERR opened only for output at - line 7.
FAILED at test 257
make install

#2 [bind] 9.0.0rc2

bind 情報 を更新して 9.0.0rc2 をもらって来て、./configure すると、
checking which NetBSD thread library to use... mit-pthreads/unproven-pthreads
configure: error: no thread library found.

Please install the devel/unproven-pthreads package and rerun configure.

2000年08月13日() [n年日記]

#1 [kernel] and make build

4000/160 で kernel を作って見る (GENERIC)
いまのように 1.5 の Release を準備している時 (Release cycle と言うらしい) には NetBSD-current/tar_files/src/ に置いてあるのは、変化が少なく、次の Release 用の譜で、 本当に -current の追いかけをする場合には anoncvs から持って来る必要がある。
(という netbsd mailing list の話)。でも次のは tar_files の方。
-rw-r--r--  1 makoto  users  17762874 Aug  3 20:52 NetBSD/NetBSD-current/tar_files/src/sys.tar.gz
1372.135u 272.230s 28:31.19 96.0%       0+0k 9342+6870io 1493pf+0w
ちらっと次のようなものが見えたけれど。
vclean: lock not drained: tag 0 type VCHR, usecount 0, writecount 0, refcount 0, flags (VXLOCK|VALIASED)
/usr/src で make build
cleandir ===> lib/libcrypto
"Makefile", line 29: Could not find ../../crypto/Makefile.openssl
Fatal errors encountered -- cannot continue
というのは 08/03 版の不幸らしい。一部 8/12 日版にする。
lint -chapbxzF  -i blocksort.c
lint: cannot exec gcc: No such file or directory
*** Error code 1
夜遅くに、諦めて、機械を止めたが、もう一度メールに書くのに記録を撮ろうと 思って、再起動したら、ここを通過してしまった。不思議。それ以前に全て 8/12 日版にしてい るが、それは関係ないはず。
cc  -static -o cat cat.o 
cat.o: In function `main':
cat.o(.text+0x68): undefined reference to `__setlocale_mb_len_max_32'
collect2: ld returned 1 exit status
*** Error code 1

#2 [lha]

ftp://ftp.win.ne.jp/ . . ./mar/lha-114c.tgz をもらって来て、
make
header.o(.text+0x2f8): undefined reference to `ftime'

となるので、次のように変更する。-lcompat とすると、あるらしいが、
--- Makefile-ooo	Fri Mar  1 17:59:19 1996
+++ Makefile	Sun Aug 13 09:09:32 2000
@@ -18,13 +18,13 @@
 SWITCHES	= -DNEED_INCREMENTAL_INDICATOR \
  -DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\""
 #MACHINE     = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC
-MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DFTIME
+MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC 
 #OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer -mv8
 #OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer
 OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer
 
 BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
+MANDIR = /usr/share/man
 MANSECT = n
 
 INSTALL = install

mkdir /usr/share/man/mann しておいて make install
しかし man の日本語が読めない。catman の方を使う ?


最近の日記
以上、3 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/03/03)