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

  • 04/19(金) CQ Ham Radio
  • 04/20() 木之本会議
  • 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
  • 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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2015年07月21日(火) 旧暦 [n年日記] [更新:"2015/07/21 13:25:04"]

#1 [kern] gdb -write /netbsd

2015/02/14
h81@makoto 21:03:26/150721(..git-work/check-update)% sudo gdb -write /netbsd
Password:
GNU gdb (GDB) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /netbsd...done.
(gdb) set maxproc=2088
(gdb) q
これで良かったどうか不明なのだけれど
h81@makoto 22:20:37/150721(..git-work/check-update)% sudo gdb -write /netbsd
GNU gdb (GDB) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /netbsd...done.
(gdb) print maxproc
$1 = 2088
(gdb) quit
h81@makoto 22:21:41/150721(..git-work/check-update)% 


2014年07月21日(月) 旧暦 [n年日記] [更新:"2014/07/26 00:33:18"]

#1 [NetBSD] Switch Lets Note R4 from 6.99.7 to 6.99.47

6.99.7 を入れて run0 を動かしていた Lets Note R4 を 6.99.47 に入替えた (upgrade)
  • nyftp の から、次の二つだけ持って来て netboot
    ls -l i386-current/
    total 30384
    -rw-r--r--  1 makoto  wheel       80 Jul 20 20:21 URL
    -rw-r--r--  2 makoto  wheel  7729699 Jul 20 18:10 netbsd
    -rw-r--r--  2 makoto  wheel  7729699 Jul 20 18:10 netbsd-INSTALL.gz
    -rw-r--r--  1 makoto  wheel    53444 Jul 20 18:10 pxeboot_ia32.bin
    modena@makoto 22:23:49/140720(~)% cat  URL
    http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201407200700Z/i386/binary/kernel/
    
  • sysinst では upgrade を選ぶ。 Install は Full を選ぶ (この href の先の内容は要更新だけれども)。
  • 無事終了して再起動すると、何と xdm が動いている
  • run0 を差した時に、自動的に設定する手続も(以前のままで)うまく動く。
  • 何か操作をしていたら、間違ったキーの組合せを押してしまったらしく
    login: 
    
    が出てしまう。この辺は、あまり慣れていない訳だが、 を見て、 Control + Alt + (F1 .. F12) で切替えられるらしい。F5 の時に、元に戻った。
  • 今は 以前に作った pkgsrc のものが入っているのだが、作り直す予定。 さて modular にするのでしょうか。
Xorg.0.log
dmesg.boot run0 を差したまま
sudo /etc/powerd/script/lid_switch hoge pressed
をすると、
Jul 20 23:00:31 r4-2 dhclient: Received signal 15, initiating shutdown.
Jul 20 23:00:31 r4-2 dhclient: DHCPRELEASE on run0 to 192.168.60.30 port 67
Jul 20 23:00:33 r4-2 /netbsd: acpi0: entering state S3
Jul 20 23:00:33 r4-2 /netbsd: Devices without power management support: run0
Jul 20 23:00:33 r4-2 /netbsd: acpi0: aborting suspend
となるので、手で抜いてからだと寝てくれる。起きてから run0 を差せば、 (ちょっと時間がかかるが) 自動でつながってくれる

昔の 2010/07/04 を見ると、蓋をしめるだけで寝てくれる、とある。 ふたをしめた時に、

sysctl -w hw.acpi.sleep.stat=3
を実行するようにしたら、起動後、一回だけは、 ふたをとじると寝て、開けると、 起きる。しかし、二度目は 何も反応しない。ただし、その時でも
hw.acpi.sleep.state= 3
とすると寝るので、「ふたをとじる」感知が効いていないだけらしい。
hw.acpi.sleep.vbios = 1
という変数は何に使うのだろうか
man acpi
...
hw.acpi.sleep.vbios
     Defines the handling of the graphics card on i386 and amd64
     architectures.  The supported values are:

       0    No attempt to reset the VGA controller will be made.

       1    Call the VGA BIOS when still in real mode.  This can
            result in direct reboots.  In that case, use `2' or
            vbetool post from the pkgsrc/sysutils/vbetool pack-
            age.

       2    Call the VGA BIOS using the in-kernel x86 emulator.

     If the system has problems in resuming from the S3 state,
     experimenting with different values may provide a solution.
とりあえず、今回は関係なさそう。
もし S3 の状態から再開する時に、何か問題があるなら、この値をいろいろ変えて 見ると、解決方法があるかも知れない、
と書いてある。(とじる方には関係ないが、再開する方には大いに関係がありそうだ)


2010年07月21日(水) 旧暦 [n年日記] [更新:"2010/07/21 12:31:13"]

#1 [Emacs] Recent Wanderlust and Emacs

きょうは不思議なことが多すぎ:

wanderlust の r D (wl-summary-delete-region) の動作:

wanderlust の r D (wl-summary-delete-region) の動作が変なので wl ML に投稿した、これは(一部 ?) 山岡さんが直して下さった

flim-1.14.9nb1 を入替:

上の投稿の後、(山岡さんが直して下さる前に) もしかして semi や flim のバイトコンパイルが以前の emacs によるもののままかも知れないと思って pkgsrc devel/flim や devel/semi を入替ようとした。しかし flim の方で
=> Checking file-check results for flim-1.14.9nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: ...flim/work/.destdir/usr/pkg/share/emacs/site-lisp/flim/md4.elc
ERROR: ...flim/work/.destdir/usr/pkg/share/emacs/site-lisp/flim/ntlm.elc
ERROR: ...flim/work/.destdir/usr/pkg/share/emacs/site-lisp/flim/sasl-ntlm.elc
*** Error code 1
(一部編集しています)のように言われる。
同じ名前のものは gnus から持って来たのか 24.0.50/lisp/net に入っている。 ntlm は:
2007-12-02  Glenn Morris  <rgm@gnu.org>
        * net/sasl-cram.el, net/sasl-digest.el, net/sasl-ntlm.el, net/sasl.el:
        Move here from gnus/.
それで flim は要らないと思って入れなかったのかと思われる。
自分用にはとりあえず 少し変更して
make package && make package-install

Emacs 各版の公開日:

  23.2 2010/05/10
  23.1 2009/07/31

  22.1 2007/06

  21.4 2005/02
  21.3 2003/03
  21.1 2001/10

  20.7 2000/06
  20.3 1998/08
となっているで、上の件は emacs 23 からかな。

wip/wl-current が最新にならない:

それで wip/wl-current で make clean && make package-install しても 動作が変らない(山岡さんの変更が来ていない)気がする。 調べると、cvs で持って来たはずなのに、最新になっていない。
pkgsrc で make した後に、手動で、
   91  (cd work/wanderlust/; cvs update -dPA)
   92  rm work/.build_done
   93  make
のようにすると、最新に更新される

wip/wl-current/PLIST 問題:

それで前項に引続いて
   94  make package
すると、今度は次のようになってしまう
=> Checking file-check results for wl-2.15.9nb20100721
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/im-wl.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/im-wl.elc
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/rfc2368.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/rfc2368.elc
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/ssl.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/ssl.elc
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-addrbook.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-addrbook.elc
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-complete.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-complete.elc
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-mailto.el
ERROR: ...wip/wl-current/work/.destdir/usr/pkg/share/emacs/site-lisp/wl/wl-mailto.elc
*** Error code 1
(横幅をせばめるため編集しています)
少なくとも rfc2368.el は emacs 側に既に入っている
wanderlust/ChangeLog:  * WL-ELS (UTILS-MODULES): If rfc2368 found, not to install it.
とあるので、これは良い。
cat -n  work/wanderlust/WL-MK
    22  (defvar wl-install-utils nil
    23    "If Non-nil, install `wl-utils-modules'.")

cat -n  work/wanderlust/WL-CFG
    11  ;; If you want to install utils, uncomment following line.
    12  ;(setq wl-install-utils t)
これの二つ目は、本来 patch-aa で変更しているはず。なのに手元で変更されていない。 patch の後に cvs update しているからか。wip/wl-current で:
  135  make clean
  136  make patch
  137   (cd work/wanderlust/; cvs update -dPA)
  138  cat patches/patch-aa | (cd work/wanderlust/; patch -s -p0)
       cat patches/patch-ab | (cd work/wanderlust/; patch -s -p0)
  140  make package
  143  sudo pkg_delete -f wl
  144  make package-install
これでやっと入った。


2007年07月21日() 旧暦 [n年日記] [更新:"2007/07/23 01:10:14"]

#1 [無題] ギリシャの壺 (octopus style)

B.C.E 1200 年くらいの ギリシャの壺 ( octopus style ) の研究をして博士号をとった人のお話を聞いて来た。(同い年の日本人)。 B.C というのは Before Christ でさしさわりがあることもあるので、 最近は B.C.E Before Common Era というそうだ。 ミケーネ文明 Mycenaeans civilization の頃の話らしい。 その時代を 20 年あるいは 25 年に区切って、 その年代毎にどの模様が使われた、作られた、という分類をしたという研究だと理解した。


2006年07月21日(金) 旧暦 [n年日記] [更新:"2006/07/22 01:12:15"]

#3 [Emacs] 久振りに emacs-22.0.50 の make

   150  23:47   cd /export/
                cvs -d :pserver:anoncvs@cvs.sv.gnu.org:/sources/emacs co emacs
   154  23:47   mkdir emacs-work
   155  23:47   cd emacs-work/
   156  23:47   ../emacs/configure
   158  23:48   time make bootstrap
Wrote /export/emacs/lisp/cus-load.el
Generating /export/emacs/lisp/cus-load.el...done
1596.902u 151.485s 29:55.75 97.3%       0+0k 553+8203io 154pf+9w
ttyp0:makoto@mini 0:18:45/060722(/export/emacs-work)> 
(相変らず Firewire の上で動いている NetBSD/macppc の上で)
ttyp0:makoto@mini 0:34:00/060722(/export/emacs-work)> env DISPLAY=cvsync:0.0 /usr/local/bin/emacs
Fatal error (11)Segmentation fault (core dumped)
あっれーっという感じで: bt したら、もう一度
ttyp0:makoto@mini 0:36:49/060722(/export/emacs-work)> gdb /usr/local/bin/emacs emacs.core 
...
(gdb) bt
#0  0x41e093e8 in ?? () from /usr/lib/libc.so.12
Segmentation fault (core dumped)
2006/2/13 の日記
やはり --without-xim すると問題ない。

#2 [build.sh][NetBSD][macppc] ./build.sh release を Firewire の上で

ttyp0:makoto@mini 14:58:51/060721(...checkout/src)> time sudo ./build.sh release >& ../log-1
9851.609u 2959.855s 3:32:30.78 100.4%   0+0k 19770+323586io 25200pf+240w
ttyp0:makoto@mini 18:31:28/060721(...checkout/src)> 
いつもだと 3:10 くらいで終わるが、今回は ATA/IDE disk ではまだ測れていないので、 とりあえず比較なし。と思ったら、失敗している
adb_direct.o: In function `adb_reinit':
adb_direct.c:(.text+0x578): undefined reference to `adb_dummy_noop'
adb_direct.c:(.text+0x714): undefined reference to `adb_dummy_noop'
変だなぁ、一度作れたはずなのだが。そうか gcc-4 で kernel を作るのは 初めてかも知れない。
static void adb_dummy_noop(void);
static void adb_dummy_panic(void);
 
void  
adb_dummy_noop()
{
}
もっと変。そのままでカーネルは完走:
time sudo env TOOLDIR=/export/20060702/checkout/src/tooldir.NetBSD-3.99.21-powerpc ./build.sh kernel=GENERIC

#1 [NetBSD][X11] error: conflicting types for 'malloc'

これって一つづつ char * -> void * と 直すしかないのかな ?
ttyp0:makoto@yoshimi 9:11:44/060721(/export/xc)> cat -n ../xc-make-world-log-2 | grep 'error: conflicti' 
  4591  AuFileName.c:36: error: conflicting types for 'malloc'
  6562  AuFileName.c:36: error: conflicting types for 'malloc'
  9230  CloseHook.c:61: error: conflicting types for 'malloc'
  9268  CvtCache.c:38: error: conflicting types for 'malloc'
 12278  bmtoa.c:42: error: conflicting types for 'malloc'
 12288  atobm.c:39: error: conflicting types for 'malloc'
 12289  atobm.c:39: error: conflicting types for 'calloc'
 12439  iceauth.h:44: error: conflicting types for 'malloc'
 12440  iceauth.h:44: error: conflicting types for 'realloc'
 12447  iceauth.h:44: error: conflicting types for 'malloc'
 12448  iceauth.h:44: error: conflicting types for 'realloc'
 13254  parsedpy.c:47: error: conflicting types for 'malloc'
 13389  xconsole.c:277: error: conflicting types for 'malloc'
 14207  utils.c:396: error: conflicting types for 'realloc'
 15508  dsimple.c:72: error: conflicting types for 'malloc'
 15510  dsimple.c:88: error: conflicting types for 'realloc'
 15722  dsimple.c:72: error: conflicting types for 'malloc'
 15724  dsimple.c:88: error: conflicting types for 'realloc'
 15807  xrefresh.c:62: error: conflicting types for 'malloc'
 15809  xrefresh.c:88: error: conflicting types for 'malloc'
 16149  charproc.c:99: error: conflicting types for 'malloc'
 16150  charproc.c:100: error: conflicting types for 'realloc'
 16862  xwd.c:246: error: conflicting types for 'calloc'
 16884  dsimple.c:73: error: conflicting types for 'malloc'
 16886  dsimple.c:89: error: conflicting types for 'realloc'
 16973  dsimple.c:73: error: conflicting types for 'malloc'
 16975  dsimple.c:89: error: conflicting types for 'realloc'
 16988  xwud.c:47: error: conflicting types for 'malloc'
 17308  utils.c:859: error: conflicting types for 'malloc'
 17310  utils.c:948: error: conflicting types for 'realloc'
ttyp0:makoto@yoshimi 9:11:56/060721(/export/xc)> 
直した (少しだけ warning を外しただけの部分もある)。


2005年07月21日(木) 旧暦 [n年日記] [更新:"2005/07/22 00:08:35"]

#1 [binutils] binutils きょうの疑問

binutils-2.16/ld/Makefile.am に次の行がある
noinst_PROGRAMS = ld-new
多分その結果、 work/ld/Makefile にも次のような行がある。
noinst_PROGRAMS = ld-new$(EXEEXT)
多分その結果 make install しても ld が 設置されない ?
そして、
cd ld; make install-exec-local すると ld が設置される
  • 上の理解は合っているか
  • 合っているとして何の為にそうしているか ?

binutils-2.15 と 2.16 はその辺に変更なし:

NetBSD に取込まれているものも:

一部変更されているが、その辺は全く同じ。/usr/bin/ld は 2.15

一部合っているが重要な部分は間違い:

noinst_PROGRAMS = ld-new$(EXEEXT)
とあるのは設置方向に重要 (これがあるから make install-exec-local の時に ld-new を入れてくれる) ??


2004年07月21日(水) 旧暦 [n年日記]

#1 [無題] 本厚木まで

帰りは、落雷とかで、電車の時刻が乱れていた。


2003年07月21日(月) 旧暦 [n年日記]

#1 [sysinst] 1.6T CDROM

Status: Failed: command ended on signal
Command: progress -zf /mnt2//macppc/binary/sets/man.tgz tar -xepf -UVM: pid 116 (tar) lid 1, uid 0 killed: oPress any key to continue
--------------------------------------------------------------------------------
gzip: unknown option -- l
gzip: can't gzopen /mnt2//macppc/binary/sets/man.tgz.gz: Read-only file system
4106 KB 1.99 MB/s
何かなぁ。

1.6.1 の cdrom は 2.0f1 では起動しない:

Open Firmware, 2.0f1
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
For Open Firmware serial I/O type:
 TTYA IO<return>
 ok
0 > printenv boot-device 

 VARIABLE            CURRENT             DEFAULT
boot-device         ide1/disk@0:0       /AAPL,ROM
 ok
0 > printenv boot-file 

 VARIABLE            CURRENT             DEFAULT
boot-file                               
 ok
0 > boot DEFAULT CATCH!, code=FFF00600 at   %SRR0: 00004004   %SRR1: 00003070 
 ok
0 > 

椿井方式で作った 1.6T の CDROM なら起動する:



2002年07月21日() 旧暦 [n年日記]

#1 [無題] 館山方面

いつものように。


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

#1 [StarMax] PowerMac 4400/200

に 64+64+32 記憶・Cresendo の G3 Card が入っているものを入手 する。(39,800 円)


2000年07月21日(金) 旧暦 [n年日記]

9703歩

#1 [Emacs] FreeWnn-1.10 を入れて見る

http://www.tomo.gr.jp/FreeWnn/ftp.html を見て、
ftp://ftp.kddlabs.co.jp/Japan/pub/FreeWnn/ からFreeWnn-1.10.tar.gz をもらって来て
configure.in に次の修正をして
--- configure.in-ooo	Tue Apr  6 12:12:19 1999
+++ configure.in	Fri Jul 21 23:28:43 2000
@@ -72,6 +72,13 @@
         CPP=/usr/ccs/lib/cpp
     fi
     ;;
+"NetBSD")
+    CCOPTIONS="-DCSRG_BASED"
+    CDEBUGFLAGS="-O2 -fno-strength-reduce"
+    if test -x /usr/bin/cpp; then
+        CPP=/usr/bin/cpp
+    fi
+    ;;
 *)
     AC_MSG_ERROR("This system is not supported.")
     ;;
autoconf
./configure
(X 関係が全て no になるが、まあいいとして)
time make
(したけれど測れなかった) make install すると次のところに入る
root@harry  23:40:33/000721(/usr)# find . -cmin -10 -type d
./local/bin
./local/bin/Wnn4
./local/bin/cWnn4
./local/bin/kWnn4
./local/lib
./local/lib/wnn
./local/lib/wnn/ja_JP
 .... この部分かなり省略 ...
./X11R6/include
./X11R6/include/wnn
./X11R6/include/cwnn
./X11R6/include/kwnn
./X11R6/lib
次のようにして server を起動しておいて
root@harry  23:45:53/000721(/usr)# /usr/local/bin/Wnn4/jserver 

Nihongo Multi Client Server (4.20)
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/kihon.dic    Fid = 1
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/setsuji.dic  Fid = 2
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/koyuu.dic    Fid = 3
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/chimei.dic   Fid = 4
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/jinmei.dic   Fid = 5
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/special.dic  Fid = 6
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/computer.dic         Fid = 7
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/symbol.dic   Fid = 8
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/tankan.dic   Fid = 9
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/bio.dic      Fid = 10
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/full.fzk     Fid = 11
Finished Reading Files
root@harry  23:46:06/000721(/usr)# 
を見て、emacs の中から変換すると、うまく動く。この後は Emacs を作り直しかな。



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

Count.cgi (since 2000/02/05)