hns - 日記自動生成システム - Version 2.19.9

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

2001年11月10日() 旧暦 [n年日記]

#1 [機械] 4M -> 16M 記憶交換

(Fast Page 16MBytes 72pin SIMM wit Parity)
(68030) processor (revision D) with 16384K/2048K bytes of memory.

時計が狂っていたようなので直す:

is2-kome#clock set 00:05:00 10 Nov ?
  <1993-2035>  Year

is2-kome#clock set 00:05:00 10 Nov 2001
is2-kome#show clock
00:05:03.631 UTC Sat Nov 10 2001
is2-kome#
2036 年までしか使えないのかな。

今までお隣さんから見えなかったような気が..:

210.145.40.0 の経路情報が正しく設定されていなかった気がする
次の表示で言えば S の行がなかった。
     210.145.40.0 is variably subnetted, 2 subnets, 2 masks
C 210.145.40.112 255.255.255.240 is directly connected, Ethernet0
S 210.145.40.0 255.255.255.0 is directly connected, Serial0
S*   0.0.0.0 0.0.0.0 is directly connected, Serial0

#2 [tcode] tc-2.2pre1.tar.gz

を使って見る
makoto@u ■20:28:08/011110(~...lisp/tc-2.2pre1)> \
? ./configure --with-lispdir=/usr/local/share/emacs/site-lisp/tc-2.2pre1
....
Sucessfully configured Emacs/tc2
Emacs/tc2 will be compiled with: /usr/pkg/bin/emacs
Lisp files will be installed into: /usr/local/share/emacs/site-lisp/tc-2.2pre1
 
To finish building Emacs/tc2 type 'make' now.
To install Emacs/tc2 type 'make install'.
makoto@u ■20:28:42/011110(~...lisp/tc-2.2pre1)> 

#3 作業

1495 4153 61309 total (5.7%)


2001年11月09日(金) 旧暦 [n年日記]

#1 [NetBSD] pkgsrc/private/emacs

で make install すると、
Installing utilities run internally by Emacs.

/export/pkgsrc/private/emacs/work/emacs-21.1/mkinstalldirs
/usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd 

if [ `(cd /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd && /bin/pwd)`
  != `/bin/pwd` ]; then 
  for file in profile digest-doc sorted-doc movemail
    cvtmail fakemail yow emacsserver hexl; 
      do install -c -s -o root -g wheel -m 555 $file
      /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd/$file ; done ; 
fi

if [ `(cd /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd && /bin/pwd)` 
 != 
`(cd /export/pkgsrc/private/emacs/work/emacs-21.1/lib-src && /bin/pwd)` ];
  then 
    for file in rcs2log vcdiff; 
     do install -c -s -o root -g wheel -m 555 
      /export/pkgsrc/private/emacs/work/emacs-21.1/lib-src/$file
      /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd/$file; 
     done ; 
fi

strip: /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd/rcs2log: File
format not recognized

install: stripping
/usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd/rcs2log: No such file
or directory

*** Error code 1
となってしまう問題(を解決したい)
  • 文字形式を strip しようとしているのが悪い
  • emacs-21.1/lib-src/Makefile に次の部分がある
    144    @echo "Installing utilities run internally by Emacs."
    ...   
    147   if [ `(cd ${archlibdir} && /bin/pwd)` 
                != `(cd ${srcdir} && /bin/pwd)` ]; 
            then         
             for file in ${SCRIPTS}; 
               do   $(INSTALL_PROGRAM) 
                    ${srcdir}/$$file ${archlibdir}/$$file;
               done ;        
          fi
    148 install: ${archlibdir}
    
  • 手でやって見てもおかしい
    makoto@u  9:21:45/011109(...emacs-21.1/lib-src)# 
    install -c -s -o root -g wheel -m 555 \
    /export/pkgsrc/private/emacs/work/emacs-21.1/lib-src/rcs2log \
    /usr/pkg/libexec/emacs/21.1/powerpc-apple-netbsd/rcs2log
    
  • -s が余計。
  • Makefile.in は変更ないので、Makefile.in -> Makefile の所でおかしい (./configure ?)
  • lib-src/Makefile.c の中に
    INSTALL = /usr/bin/install -c -o root -g wheel
    INSTALL_PROGRAM = install -c -s -o root -g wheel -m 555
    INSTALL_DATA = install -c -o root -g wheel -m 444
    
    という字がある。INSTALL_SCRIPT という分類が必要なはずなのだけれど
  • mk/bsd.pkg.mk の中に
    INSTALL_PROGRAM?= \
            ${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} \
            -g ${BINGRP} -m ${BINMODE}
    
    というような字があって、これが上書きしている

patch も作って、何とかなりそうだが:

PLIST がないと言っているので作ろうと思ったが、 何回も作っていると
share/emacs/21.1/etc/DOC-21.1.1
share/emacs/21.1/etc/DOC-21.1.2
share/emacs/21.1/etc/DOC-21.1.3
がたまってしまっている。一行目だけでいいかな ? PLIST に * は書けるか ? だめ
pkg_create: can't stat `/usr/pkg/share/emacs/21.1/etc/DOC-21.1.*'
editor/emacs/pkg/PLIST を見たら、
share/emacs/${PKGVERSION}/etc/DOC-${PKGVERSION}.1
と書いてある
DESCR も要るそうで
drochner この人がやるのかな

第一回目のものを作って初めから試している:

20011109-emacs-tar.gz 多分 uninstall はうまく行かないだろうと思う。
make ..

/usr/pkg/share/emacs/site-lisp/flim-1.14.2/md5 hides
  /usr/pkg/share/emacs/site-lisp/w3-200107/md5
/usr/pkg/share/emacs/site-lisp/flim-1.14.2/smtpmail hides
       /usr/pkg/share/emacs/21.1/lisp/mail/smtpmail
/usr/pkg/share/emacs/site-lisp/wl-cvs-20011015/utf7 hides
           /usr/pkg/share/emacs/21.1/lisp/gnus/utf7
make install
===>  emacs-21.1 is already installed - perhaps an older version?
それはそうだ、さっき入れたばっかり
env FORCE_PKG_REGISTER=yes sudo make install
入ったが、PLIST に余分が入っている。要修正
pkg_create: Overwriting /usr/pkg/share/doc/w3m/doc/README.cygwin - pkg
  w3m-0.2.1.0.19nb2 bogus/conflicting?

かなりいい加減なものたが、出来た(と思う):

20011109-emacs-tar.gz 他の機械で全部入れて見ようと
===> Validating dependencies for base-200110
===> The Xpm library is included in your X11 distribution.
Emacs に xpm が入っているのが気に入らないらしい
emacs/Makefile:DEPENDS+=        xpm>=3.4k:../../graphics/xpm
これを消しておく。 XF-401 の場合、こうなるのかも知れない。

#2 [外出] 秋葉原 → 渋谷

      本千葉 15:05
15:08 千葉   15:22
15:50 錦糸町 15:55
      秋葉原 16:30
      新宿 
17:00 渋谷   
      渋谷
21:15 品川   21:26
22:14 千葉   22:21 +4
22:28 本千葉 

買物 PS/2 -> USB 変換:

PS/2 -> USB 変換
プラットホームにて 8,800 円(高いけれど)
とりあえず、とても調子がいい

Fast Page 16MBytes 72pin SIMM wit Parity:

若松通商にて 2,000 円。「中古ですが」「はいもちろんいいです」
千葉   DOS/V paradice   72pin ? とっくの昔から置いていません
千葉   パソコン工房     上と同じ
千葉   メディア・バレー 16M x 2 (FMV etc 用) 14,400 円
秋葉原 湘南             32M ならあるのですけれど
秋葉原 若松通商         EDO/Fast Page どちらですか 
                        2000 円です。

N 響:



2001年11月08日(木) 旧暦 [n年日記]

#1 [英語] I doubt it's wrong.

「それが間違っているというのは疑しい」= 「合っていると思う」 で良かったかな。 port-macppc から Chuck:
I don't know what document that reference about "As shown in Section 7.6.3.2.2" comes from, is that document wrong or did you just mis-read it, matt?
matt:
I doubt it's wrong. Hmmm. that sequence is only value for the REF bit, not the CHG bit. I think I need to think about this more.
Chuck:
could you build a profiling kernel and collect some kernel profile data of one of these ftp sessions?
Allen:
That looks to be from the 6xx Programming Environments Manual (PEM), pdf page 333 / 7-65 / section "7.6.3.2.2 Clearing the Referenced (R) Bit":
Chuck:
yea, that looks like it. the manual appears to be wrong.

the old pmap looks more like the "general case" section right before that. we should note that the section 7.6.3.2.2 code is only for clearing the referenced bit, not the modified bit "because the R bit need not be maintained exactly." if we want to optimize pmap_clear_reference() to use this faster algorithm, it can't share code with pmap_clear_modify().

「profiling kernel を作ってちょっと調べて見て」ってどうやるのかな。 2001/06/17 にもらった個人メールから にやりかたはあります。けど結果がわかりにくいです。

#2 [NetBSD] pkgsrc

/pkgsrc というのを作って、 /export/pkgsrc の下に union mount しておけば、中身を他の機械と共有したり rsync したりするのに便利かなと思って、
  • 126M Byte の区画を作って見た。 (特に端数は意味がない)
  • /etc/fstab に -b option で書く方法が分らなかったので、 /etc/rc.local に次のように書いておいた。
    mount_union -b /pkgsrc /export/pkgsrc 
    
  • ところが、inode が足りないと言って全部入らなかった。
  • (ので) newfs -m 2 -i 1024 /dev/wd0f で作り直し
  • いまは、こんな感じ。
    makoto@harry  16:21:22/011108(/)# df -k
    Filesystem            1K-blocks     Used     Avail Capacity  Mounted on
    /dev/wd0e               3961864   521136   3361490    13%    /export
    /dev/wd0f                114415    71098     41028    63%    /pkgsrc
    <below>:/pkgsrc         4032962   592234   3361490    14%    /export/pkgsrc
    
    この harry は TiBook,
  • X401-2001-04-17 を作って見たが、:

    (--) PCI: (0:16:0) ATI unknown chipset (0x4c59) 
        rev 0, Mem @ 0xb8000000/27, 0xb0000000/16, I/O @ 0x0400/8
    
    と言われているが ATI Radeon Mobility LY (AGP) というものらしい

関係ないけれど powerpc--netbsd となるのはさびしいので:

send-pr して見た。(/usr/pkgsrc/mk/bsd.prefs.mk の修正)

sudo-1.6.3p7:

Some files you might need to customize include the following:
        /etc/sudoers

#3 [機械] Fast Page 16MBytes 72pin SIMM wit Parity

はなかったときのう書いたけれど、 メディア・バレーに行ったら 16 x 2 = 32M を 14,400 円 で売っていた。しかし二つは必要ないのだなぁ。


2001年11月07日(水) 旧暦 [n年日記]

#1 [NetBSD] (pkgsrc) mail/imap-2001.RELEASE-CANDIDATE.1/

===> Please note the following:

===========================================================================
$NetBSD: MESSAGE,v 1.7 2001/01/29 11:34:31 wiz Exp $

Add the following to /etc/services (if not already there):

 imap           143/tcp         # Internet Message Access Protocol
 imap           143/udp
 imaps          993/tcp         # imap4 protocol over TLS/SSL
 imaps          993/udp         # imap4 protocol over TLS/SSL
 pop3s          995/tcp         # pop3 protocol over TLS/SSL (was spop3)
 pop3s          995/udp         # pop3 protocol over TLS/SSL (was spop3)

Add the following to /etc/inetd.conf:

 imap   stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 imaps  stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 pop2   stream  tcp     nowait  root    /usr/pkg/libexec/ipop2d   ipop2d
 pop3   stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d
 pop3s  stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d

To put the changes into effect, make inetd reload its configuration:
On NetBSD 1.5 or later:
        /etc/rc.d/inetd reload
on earlier NetBSD releases:
        kill -HUP `cat /var/run/inetd.pid`

===========================================================================

#2 [機械] Flash 交換

いろいろあったのだけれど、flash (4M) を交換した。 9:50 -, 10:06 - 11:35 と(回線が) 停止していた。 作業は
Console ... クロス線 ... DTE(macppc 用)... printer port 
とつないでおいて その機械に rsh して screen して cu -l /dev/tty01 -s 9600 としてつないだ。~. とすると rsh の元まで抜けてしまう。screen -r で回復出来るが、その間の cu の操作行には戻れない気がする。
ついでに DRAM (主記憶を大きくしようと思って)

Fast Page 16MBytes 72pin SIMM wit Parity:

は普通に PC 用に売っている SIMM でいいらしいので、 探しに行ったが、DOS/V Paradise, パソコン工房のどちらにも 「もう」置いていなかった。

#3 [Macintosh] TiBook/550

間借りモードで作業
  1. 鍵盤 (KeyBoard) を外しても AirMac を付けるところがない
  2. AirMac を付ける方法のため説明書を見る。Macintosh でまず説明書を見るというのは初めて。
  3. AirMac を付けるのにトルクスドライバが必要。T-8 という大きさ のもの。たまたま持っていたからいいようなものの。
  4. 一応 MacOS 9.2.1 が動いて AirMac も動作するのを確認したら
  5. 9.2.1 (とは書いてないのだけれど)の CDROM で起動して
  6. 中身を全て初期化
    /        100M
    swap     400M
    /usr     500M
    /export 4G
    /pkgsrc  126M (mirror only)
    MacOS  13950M
    
  7. 9.2.1 を入れる (インターネットは入れない)
  8. OS X の CDROM を入れて boot cd:,\\:tbxi で起動して OS X を入れる
  9. 9.2.1 の CDROM を入れて boot cd:,\\:tbxi で起動して 起動ディスクを MacOS 9 に変更 (これで買った時のままのはず)
  10. MacOS 9 は設定アシスタントの途中で Command -q すれば設定無 でそのまま使える。 Netscape 4.72, Eudora-4.3.2, Acrobat Reader 5, Real Player 8, MacLHA を入れておく
  11. OS X の方はそうは行かない(と思う)
  12. NetBSD の部
    1. MacOS 9 で起動して、NetBSD の CDROM を入れて ofwboot.xcf,netbsd.GENERIC_MD.gz を写しておく
    2. NetBSD の CDROM (20011014) を入れて
      boot cd:,ofwboot.xcf
      
    3. disklabel wd0 で確めて Re-Install が出来るようにする。
      • newfs /dev/wd0a /dev/wd0e /dev/wd0f
      • mount /dev/wd0a /mnt
      • mkdir /mnt/etc
      • cat > /mnt/etc/fstab
        /dev/wd0a       /       ffs     rw 1 1
        /dev/wd0b       none    swap    sw 0 0
        /dev/wd0g       /usr    ffs     rw 1 2
        #
        /dev/wd0f       /pkgsrc ffs     rw 1 3
        /dev/wd0e       /export ffs     rw 1 4
        
        ^D
      • mkdir /export /pkgsrc /usr
      • umount /mnt
    4. ./sysinst .... Re-install
    5. 再起動失敗 (hns: この字がないと 5 が表示されない)
       boot hd:,ofwboot.xcf hd:10/netbsd 
      
      などとすると、そういうのはないと言って Boot: と聞いて来るが、それに答えて起動すると、 後で文字が入力出来ない。
    6. boot hd:,ofwboot.xcf hd:9/netbsd で起動
    7. mount -a して ed で rc_configured=YES に直して再起動
    8. dhclient wi0 したら Internet につながった
    9. startx したら raster が正しく出ない (raster は出ているが画面がうまく作られていない)

#4 [NetBSD] pkgsrc で自分の機械の環境を作る話をChiBUG で話したら

/usr/pkgsrc/meta-pkg が良く似ているという話になった。 確かに考え方は似ている。
「僕の言う下敷」が不要なだけ優れている。


2001年11月06日(火) 旧暦 [n年日記]

#1 [井荻中] 同期会の Web を作っていた


#2 [機械] Router を Network boot にしようとしたが出来ず

config と system image の区別も付かない。
Netboot するにはどうも余分に主記憶が要るようだ。 Buffer Overflow 3,428,864/3,428,524 とか出ている。
読もうとしているのは 3,497,716 だからほんの少し足りない だけのはずだけれど。

#3 [機械] ヨドバシカメラから電話があって注文の品が届いたとのこと

(自分用ではないのだけれど)


2001年11月05日(月) 旧暦 [n年日記]

#1 [NetBSD] kernel options

1.25G の主記憶があるけれど、それを生かしたい。多分次の 変数を調整すればいいと思うけれど、本当のところを教えて下さい。
NMBCLUSTERS
NKMEMPAGES
BUFCACHE
NBUF
BUFPAGES
という質問が出ている。興味深い (だけで答は知らない)。

#2 [NetBSD] snapshot/20011014 CDROM は OF1/2 で起動せず

0 > boot ata/atapi-disk@0:0 netbsd.gz 
DEFAULT CATCH!, code=FFF00700 at   %SRR0: 00600004   %SRR1: 00083070
 ok
20010620 という手元にあるものだと起動するので、 上の入力字は合っていると思う。 Kenji さんの日記 に書いてある modprobe って何だろう Linux にある何からしいまでしか分らない modutils/module probe らしい。

#3 [機械] 勝手に再起動

is2-kome uptime is 1 day, 18 hours, 44 minutes
System restarted 
by bus error at PC 0x3122516, address 0x5E0073BB

手持の SIMM を入れて見る:

with 2048K/2048K bytes of memory 購入状態
with 1024K/1024K bytes of memory 
with 4096K/2048K bytes of memory
とりあえず、最後のものにしておく 買っても $50 くらいらしい。
ところがどっこい、これは flash の部分らしい。
4M 純正 $34 
8M      $76
8M 純正 $109
という画面がある。plathome にも電話をして見た。
中の Software 込で新しく買うのと誤解されてしまった。 注文書・見積・振込・発送だそうで、実は僕の必要な Flash だけ部品として売るのはやったことがないとのこと。
念為中身を写しておく
3497716 Nov  5 16:36 igs-i-l.110-7.bin
実はもう一台あるのだけれど、こちらは
is1-kome uptime is 106 weeks, 1 day, 6 hours, 7 minutes
System restarted by power-on at 08:59:55 JST Sat Oct 30 1999
二年も動きっ放し ?
with 3584K/512K bytes of memory


2001年11月04日() 旧暦 [n年日記]

#1 [ChiBUG] 第二回パーティ

10:32 出発
11:25 本八幡
17:55 本八幡
18:45 帰宅
借物の液晶投影 MX-PJ1 が大きかったので、車で運ぶ。行きは時間があったので、普通道で。 帰りは市川 → 幕張を京葉道路で。降りてから検見川付近が混んで いるとのことで旧千葉街道を通って来る。 反対方向は (裏道までも) モーターショー帰りの車で、殆んど動いていないという感じだった。
mira さんから 石川さん | 藤原(後向) | 戸田先生 | 石川さん | 大熊さん | 藤原 iBook/NetBSD/macppc/20011014
同じく資料


2001年11月03日() 旧暦 [n年日記]

#1 [NetBSD] New iBook and IDE driver

新しい(と言っても 2001/08 時点の話) iBook は 1.15 以降 sys/arch/macppc/dev/wdc_obio.c が必要。
ということは 2001/08/02 以降

#2 [Apache] 406 Not Acceptable

Not Acceptable
An appropriate representation of the requested 
        resource /OHP/OHP could not be found on this server.

Available variants:
OHP.cgi , type text/plain, encoding (with
Apache/1.3.20 Server at u.ki.nu Port 80
また出たぁという感じ

Content-Encoding: (with:

って何だろう ?
makoto@harry  16:47:38/011103(...htdocs/OHP)# telnet localhost 80
Trying ::1...
Connected to localhost.
Escape character is '^]'.
GET /OHP/O.cgi HTTP 1.1

HTTP/1.1 200 OK
Date: Sat, 03 Nov 2001 16:48:07 GMT
Server: Apache/1.3.22 (Unix)
Content-Encoding: (with 
Last-Modified: Sat, 03 Nov 2001 16:47:37 GMT
Connection: close
Content-Type: text/html; charset=iso-2022-jp

Hellow<br>
Connection closed by foreign host.

#3 [Namazu] not acceptable

って索いたら「不正な検索式です」になってしまった。 (それはそうだ)
"not acceptable" なら大丈夫


2001年11月02日(金) 旧暦 [n年日記]

#1 [NetBSD] pkgsrc apache6 1.3.22

make install したら 次のようなお知らせが出ている
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files   |
|                                                        |
|   /usr/pkg/etc/httpd/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
|   /usr/pkg/sbin/apachectl start
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
Installing configuration files:
    /usr/pkg/etc/httpd/httpd.conf already exists
    /usr/pkg/etc/httpd/magic already exists
    /usr/pkg/etc/httpd/mime.types already exists
=============================================================
Some files you might need to customize include the following:

        /usr/pkg/etc/httpd/httpd.conf
=============================================================
===> Registering installation for apache6-1.3.22
#if [ -f /usr/pkg/etc/rc.d/apache ]; then
#        /usr/pkg/etc/rc.d/apache start
#fi
というのが入っていたので、# を取って見たが、
$apache is not set properly.
と言われる
setenv apache YES
したら大丈夫だった。

#2 [NetBSD] pkgsrc/graphics/gimp (1.2.2)

===> Registering installation for gimp-1.2.2
gimp-1.2.2 requires installed package ORBit-0.5.4
gimp-1.2.2 requires installed package esound-0.2.23
gimp-1.2.2 requires installed package gettext-lib-0.10.35nb1
gimp-1.2.2 requires installed package gindent-2.2.5
gimp-1.2.2 requires installed package glib-1.2.10
gimp-1.2.2 requires installed package gnome-libs-1.4.1.2
gimp-1.2.2 requires installed package gtk+-1.2.10
gimp-1.2.2 requires installed package imlib-1.9.11
gimp-1.2.2 requires installed package jpeg-6b
gimp-1.2.2 requires installed package libaudiofile-0.2.1
gimp-1.2.2 requires installed package libungif-4.1.0
gimp-1.2.2 requires installed package mpeg-1.3.1
gimp-1.2.2 requires installed package netpbm-9.7
gimp-1.2.2 requires installed package png-1.0.12
gimp-1.2.2 requires installed package pth-1.4.0
gimp-1.2.2 requires installed package tiff-3.5.5
gimp-1.2.2 requires installed package xpm-3.4k
makoto@u 14:53:32/011102(...graphics/gimp)> 
自分のやりたいことは Neon というらしいが、それがどこにあるのか分らない。


2001年11月01日(木) 旧暦 [n年日記]

#1 [外出] 水天宮 ISID, IT Innovators Forum

 8:42 本千葉
      茅場町
 9:35 人形町

      人形町
      茅場町
17:54 千葉
16:57 本千葉
昼は玉ひでで 600 円の(元祖)親子



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、10 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)