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

  • 04/25(木) Interface
  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 05/18() 木之本会議
  • 05/19() CQ Ham Radio
  • 05/19() 別冊 CQ
  • 05/25() Interface
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2024年04月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2016年11月02日(水) 旧暦 [n年日記] [更新:"2016/11/02 14:16:47"]

#1 [network] how to know the bind version

dig +noall +ans @localhost chaos txt version.bind


2011年11月02日(水) 旧暦 [n年日記] [更新:"2011/11/03 00:32:47"]

#1 [NetBSD][pkgsrc] chroot 環境を用意して pbulk

                                        mkdir /export/CHROOT;
modena@makoto 16:11:46/111102(/export)% foreach i  (/usr/INSTALL/*)                                       
(cd /export/CHROOT; sudo pax -r -z -f $i)
end
sudo chroot /export/CHROOT;
cd /dev ; ./MAKEDEV all
実は pax は使ったことがなかったが、最近良く見るので、 慣れることにした。
tar   pax
x     -r
c     -w
t     無指定
という関係らしい -r -w (copy) というのもあるが上には書いていない bootstrap
modena# cd /usr/pkgsrc/bootstrap ;
    ./bootstrap --prefix=/usr/pkg_bulk --pkgdbdir=/usr/pkg_bulk/.pkgdb 
pkg_info
modena# env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} pkg_info
bootstrap-mk-files-20090807nb2 *.mk files for the bootstrap bmake utility
bmake-20110606      Portable (autoconf) version of NetBSD 'make' utility
pkg_install-20110805 Package management and administration tools for pkgsrc
cd /usr/pkgsrc/pkgtools/pbulk ; 
env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bmake package-install 
何だか digest がうまく入らない気がする
pkg_create: can't stat 
  `/usr/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg_bulk/diff: config.h: No such file or directory'
pkg_create: lstat failed for file diff: config.h: 
   No such file or directory: No such file or directory
*** Error code 2
/etc/mk.conf が悪さをしているかな、と隠してからもう一度試したがまだ変。
   95  rm -rf /usr/pkgsrc/sysutils/checkperms/work
   96  rm -rf /usr/pkgsrc/pkgtools/digest/work
   97  rm -rf /usr/pkg_bulk
  100  rm -rf /usr/pkgsrc/pkgtools/pbulk/work
  101  cd /usr/pkgsrc/bootstrap
  103  rm -rf work
  104  ./bootstrap --prefix=/usr/pkg_bulk --pkgdbdir=/usr/pkg_bulk/.pkgdb 
  105  cd /usr/pkgsrc/pkgtools/pbulk
  106  env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bmake package
modena# 
cd /usr/pkgsrc/pkgtools/digest;

env LOCALBASE=/usr/pkg_bulk \
    PKG_DBDIR=/usr/pkg_bulk/.pkgdb  \
    PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} \
    bmake clean

env LOCALBASE=/usr/pkg_bulk \
    PKG_DBDIR=/usr/pkg_bulk/.pkgdb  \
    PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} \
    bmake package
したら、(digest の package が) 完了した
自分がいつも使っているものをずらっと並べておいて bulkbuild
Unresolvable dependencies found, exiting:
converters/nkf
converters/ack
textproc/p5-mecab
wip/ghostscript
fonts/adobe-cidfonts
fonts/ghostscript-cidfonts
modena@root 14:36:04/111102(~)% 
これの原因が分った気がする。
-DEPENDS+=      nkf:../../converters/nkf
-DEPENDS+=      ack:../../converters/ack
+DEPENDS+=      nkf-[0-9]*:../../converters/nkf
+DEPENDS+=      ack-[0-9]*:../../converters/ack
この変更をしたら、減った。(personal-pkgsrc/namazu-mef) 今は
textproc/p5-mecab
fonts/ghostscript-fonts
fonts/adobe-cidfonts
fonts/ghostscript-cidfonts
になっている。


2008年11月02日() 旧暦 [n年日記] [更新:"2008/11/02 16:41:16"]

#1 [NetBSD] raidctl 入 sysinst はどこに ?

以前に sysinst (netbsd-GENERIC_MD や netbsd_MD.bin 等) に raidctl が入ったものを作った記憶があるが、どこにあるか分らない。 主として探しているのは NetBSD/sandpoint 4.0 のもの。

何故それが必要になったかと言うと起動 disk について raidctl の操作を する場面が出て来たから。

tera5# raidctl -s raid0
Components:
           /dev/wd0a: failed
           /dev/wd1a: optimal
           /dev/wd2a: optimal
           /dev/wd3a: optimal
となっている。そこで、例えば
tera5# raidctl -P raid0
nope.
raidctl: unable to open device file: raid0
tera5# 
2008/04/23 の日記 には次のように書いてある。
僕が用意している netbsd-KUROBOX_MD.bin には raidctl が入っている
(これには入っていない気がする) 変だなぁ。 これは (同じ大きさだが) 入っていた。 Linux で起動し、
cd /boot
wget http://www.ki.nu/~makoto/kuro-box/USB-Memory-Tera-4.0/netbsd-KUROBOX_MD.bin
で /boot に置いてから、次のように入力すると MD_kernel が起動する
root@TS-TGL2CA:/boot# insmod nbloader_v3.o kernel=/boot/netbsd-KUROBOX_MD.bin
やりたかった操作はこれかな:
# raidctl -R /dev/wd0a raid0
raid0: initiating in-place reconstruction on column 0
#
...
...
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
# 
始めから、これが入っていて、有効になっている USB メモリを作って おけばいいのかな。


2007年11月02日(金) 旧暦 [n年日記] [更新:"2007/11/02 09:36:54"]

#1 [Emacs][GNU] gdb

最近の Emacs から gdb を起動すると、とても便利で、 毎日使うという訳でもないけれど、これがなくては生きては行けない道具の一つになっている。 しかし今日は次のように言われて、うまく行かない。これは何かな ?
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
OS を再起動したら、症状はなくなった。


2006年11月02日(木) 旧暦 [n年日記] [更新:"2006/11/05 17:23:08"]

#2 [TeX] usepackage{ascmac}

grep environment /usr/pkg/share/texmf-local/ptex/platex/base/tascmac.sty
% 1998/02/27 (KN): set \tbaselineshift in minipage environment.
%% boxnote environment
%% screen environment
%% itembox environment
%% shadebox environment
ascmac.sty

#1 [Namazu][pkgsrc][NetBSD] (Namazu) po/ja.po を変更 → po/ja.gmo 更新無

po/ja.po を変更しても、po/ja.gmo が更新されない
-r--r--r--  1 root    wheel  20787 Nov  2 12:19 /usr/pkg/share/locale/ja/LC_MESSAGES/namazu.mo
-rw-r--r--  1 makoto  wheel  20787 Oct 21 06:37 work.mini/namazu-2.0.17RC2/po/ja.gmo
-rw-r--r--  1 makoto  wheel  25583 Nov  2 12:13 work.mini/namazu-2.0.17RC2/po/ja.po
msgfmt -o ja.gmo ja.po
が抜けているから .. . 直した

Out of memory!:

再び
159507/1171407 - /amd/u/home/makoto/Mail/inbox-o/8123 [message/rfc822]
Out of memory!
swap は 2G あるはずなのだけれど。 この次に処理する(はずの)メールは 8M bytes の大きさがある .. swap を 4G に しておいたら、通過している。現在は
165739/1171948 - /amd/u/home/makoto/Mail/iogi17/staff/45 [message/rfc822]
となっていて:
load averages:  2.92,  2.01,  1.87                                 01:02:20
115 processes: 1 runnable, 113 sleeping, 1 on processor
CPU states: 98.5% user,  0.0% nice,  1.5% system,  0.0% interrupt,  0.0% idle
Memory: 288M Act, 144M Inact, 7716K Wired, 15M Exec, 217M File, 800K Free
Swap: 4048M Total, 1008M Used, 3040M Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
 5333 makoto    64    0   968M  202M RUN      411:20 99.02% 99.02% perl
  414 root       2    0   628K 3492K select    46:21  0.00%  0.00% <amd>
(top を写す時には要注意、はるか右の端に時刻が表示されている)


2005年11月02日(水) 旧暦 [n年日記] [更新:"2005/11/03 01:34:46"]

#1 [NetBSD][macppc][powerpc] クロック周波数の表示

powerc/cpu_subr.c の中を見ていたら cpu clock を測っているらしい部分があるので、 かなりいい加減に tsubai BSD に 加えて見た。 そうしたら、一例だけだけれど
cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary) 240.00 MHz
cpu0: HID0 8090c0ac<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,ABE,BHT>
cpu0: 512KB, 2:1, PB2 SRAM backside L2 cache
うまく行っているようだ。


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

#1 [Mac] AirMac base station の問題



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

#1 [NetBSD] 1.6J ./build.sh

最近どうも release(7) が出来ないので、 (多分)出来ると分っている 20021028 から作って見た。 その上で、 Bob Nester の sysinst の変更 (ただし、このメールの内容は patch にはなっていないので、 直接お願いして uuencode で送ってもらったもの ) を加えて、cdrom を
cd distrib/cdrom 
make RELEASE=macppc
で作って見たが、sysinst がどう違うのか良く分らなかった。 直接質問するか、変更点を source で読むか。
MacOS 9.2 の ドライブ設定を使って 32M(HFS) 200(/) 1000(swap) 1000(/usr) 残(/export) に分けておいて、(それ以上のことは何もしないで)
1. Install NetBSD
2. Upgrade NetBSD
3. Re-install NetBSD
3. をすると、(良く知らない)というようなことを言うので、 1. をやって見たら、
ttyp0:root@quick  20:25:09/021102(/home/makoto)# pdisk /dev/wd1c
Edit /dev/wd1c -
Command (? for help): P

Partition map (with 512 byte blocks) on '/dev/wd1c'
 #:                type name       length   base       ( size )
 1: Apple_partition_map Apple           2 @ 1         
 2:       NetBSD/macppc*NetBSD 2147483647 @ 4          (1024.0G)

Device block size=512, Number of Blocks=78165360 (37.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1:  23 @ 64, type=0x1
2:  36 @ 118, type=0xffff
3:  21 @ 192, type=0x701
4:  34 @ 246, type=0xf8ff

Command (? for help): 
何だか少し違う気がする。
ttyp0:root@quick  20:44:38/021102(/home/makoto)# disklabel wd1
# /dev/rwd1c:
....
8 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:     66528         0     4.2BSD   1024  8192    90   # (Cyl.    0 - 65)
 b:   8390592     66528       swap                      # (Cyl.   66 - 8389)
 c:  78165360         0     unused      0     0         # (Cyl.    0 - 77544)
 g:  69708240   8457120     4.2BSD   1024  8192    86   # (Cyl. 8390 - 77544)
ttyp0:root@quick  20:44:45/021102(/home/makoto)# 
そうでもないか。HFS がここには見えていないな。 mac68k の方法と同じはずだから、そちらから探すか。

fwnode at fwohci0 not configured:

Firewire の外付はまだ見えないのかな
fwohci0 at pci2 dev 14 function 0: Lucent Technologies FW322/323 IEEE 1394 OHCI Controller (rev. 0x00)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.0, 00:03:93:ff:fe:3e:ii:xx, 400Mb/s, 2048 max_rec, 8 iso_ctx
fw0 at fwohci0: 00:03:93:ff:fe:3e:ii:xx:yy:zz:00:00:00:00:00:00
fwnode at fwohci0 not configured
iPod をつなぐと、止る ? 見えている という人もいる ?


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

#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 というらしいが、それがどこにあるのか分らない。

#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
したら大丈夫だった。



最近の日記
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)
以上、9 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)