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

2014年02月28日(金) 旧暦 [n年日記] [更新:"2014/03/02 20:11:47"]

#2 [cygwin][pkgsrc] textproc/libxslt

cd ../libexslt && /usr/pkg/bin/gmake libexslt.la

gmake[3]: Entering directory
'/cygdrive/g/WRKOBJDIR/textproc/libxslt/work/libxslt-1.1.28/libexslt'

  CCLD   libexslt.la

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgcrypt.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgpg-error.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgpg-error.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
.libs/crypto.o:crypto.c:(.text+0x116): undefined reference to `gcry_check_version'
.libs/crypto.o:crypto.c:(.text+0x116): relocation truncated to
fit: R_X86_64_PC32 against undefined symbol
`gcry_check_version'

.libs/crypto.o:crypto.c:(.text+0x486): undefined reference to `gcry_cipher_open'
.libs/crypto.o:crypto.c:(.text+0x486): relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `gcry_cipher_open'

misc/screen:

m08@makoto 15:51:01/140228(..misc/screen)% bmake
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Skipping vulnerability checks.
WARNING: No /var/db/pkgdbdir/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkgdbdir fetch-pkg-vulnerabilities'.
===> Building for screen-4.0.3nb5
...
gcc -c -I. -I.    -O -I/usr/pkg/include/ncurses screen.c
In file included from screen.c:241:0:
extern.h:149:14: error: conflicting types for 'execvpe'
 extern void  execvpe __P((char *, char **, char **));
              ^
In file included from /usr/include/sys/types.h:20:0,
                 from screen.c:33:
/usr/include/sys/unistd.h:57:9: note: previous declaration of 'execvpe' was here
 int     _EXFUN(execvpe, (const char *__file, char * const __argv[], char * const __envp[] ));
         ^
*** Error code 1

Stop.
bmake: stopped in /cygdrive/g/WRKOBJDIR/misc/screen/work/screen-4.0.3
*** Error code 1

/usr/include/sys/unistd.h:54:9: note: expected 'char * const*'
but argument is of type 'const char **'
 int     _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
         ^

window.c:1421:31: warning: assignment discards 'const'
  qualifier from pointer target type [enabled by default]
    for (i = 1; (shargs[i + 1] = args[i]) != NULL; ++i)
                               ^

window.c:1423:4: warning: passing argument 3 of 'execve' from
  incompatible pointer type [enabled by default]
    execve(DefaultShell, shargs, env);
    ^
In file included from /usr/include/sys/types.h:20:0,
                 from window.c:24:

/usr/include/sys/unistd.h:54:9: note: expected 'char * const*'
  but argument is of type 'const char **'
 int     _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
         ^
*** Error code 1

Stop.
bmake: stopped in /cygdrive/g/WRKOBJDIR/misc/screen/work/screen-4.0.3
*** Error code 1

#1 [Cygwin] Cygwin and Network drive

RAM disk:

最近は RAM disk を使っている。特に何が良いか、ということもなく、試している状況。
Cygwin で RAM disk へ cvs co (9分)
RAM disk Performance
で、この場合に、(例えば) G: にマウントされ、cygwin からは /cygdrive/g で見える。これは ssh で他の計算機から入った時にも同じ。

Network Drive:

同じように(だと思いたいが) Samba でマウントした状態で、 フォルダにマウスを持って行き、右クリックすると、 「ネットワークドライブ割当」が出て、これで例えば Z: で見えるようになる。
しかし、である。この Z: は、Cygin Terminal の窓からは /cygdrive/z で見える のに、他の計算機から ssh で入った窓では
makoto@m08 
$ ls /cygdrive/ c d e f g $ export LANG=C makoto@m08
$ ls /cygdrive/z ls: cannot access /cygdrive/z: No such file or directory makoto@m08
$
と見えない。これは何故か。見えるようにする方法はあるのか。

冗談のような解決方法:

  • Cygwin installer から util -> screen を入れる
  • Cygwin Terminal で screen を起動
  • ssh から入った窓で screen -x


2012年02月28日(火) 旧暦 [n年日記] [更新:"2012/02/28 19:05:11"]

#1 [pkgsrc][ja-ptex] pdvips: ! invalid char 19032 from font rml

2012/02/03 の日記 に、次のような問題を書いた。
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+15/600 --dpi 615 rml
mktexpk: don't know how to create bitmap font for rml.
mktexpk: perhaps rml is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
pdvips: Font rml not found; using cmr10
</usr/pkg/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk>
pdvips: ! invalid char 19032 from font rml
*** Error code 1
この文字で google 先生に聞くと、
jisftconfig add 
とすれば良いというようなことを教えてくれるが、 どうもこれは Linux 世界というか Debian 用語なのかと思う。 それでこれを BSD 的に翻訳すると map file を用意しておいて、 config.ps からそれを参照するようにしなさい、という意味らしい。 例えば、次のような内容で kanji.map を用意する
rml             Ryumin-Light-H
rmlv            Ryumin-Light-V
gbm             GothicBBB-Medium-H
gbmv            GothicBBB-Medium-V
ryumin-l        Ryumin-Light-H
ryumin-l-v      Ryumin-Light-V
gtbbb-m         GothicBBB-Medium-H
gtbbb-m-v       GothicBBB-Medium-V
futomin-b       FutoMinA101-Bold-H
futomin-b-v     FutoMinA101-Bold-V
futogo-b        FutoGoB101-Bold-H
futogo-b-v      FutoGoB101-Bold-V
jun101-l        Jun101-Light-H
jun101-l-v      Jun101-Light-V
unimin          Ryumin-Light-UniJIS-UCS2-H
unigoth         GothicBBB-Medium-UniJIS-UCS2-H
その上で、 config.ps を次のように変更する
modena@makoto 17:42:32/120228(..pkg/share)% cd /usr/pkg
modena@makoto 17:42:34/120228(/usr/pkg)% diff -u share/texmf/dvips/config/config.ps{.orig,}
--- share/texmf/dvips/config/config.ps.orig     2012-02-01 12:51:45.000000000 +0900
+++ share/texmf/dvips/config/config.ps  2012-02-28 15:58:47.000000000 +0900
@@ -51,6 +51,9 @@
 % This shows how to add your own map file.
 % Remove the comment and adjust the name:
 % p +myfonts.map
+%-- ptex-jisfonts begin
+p +kanji.map
+%-- ptex-jisfonts end'
 
 % In the past, the a4size and letterSize definitions did not set the
 % paper size, but we want to set it if we can so that ps2pdf can work
modena@makoto 17:42:39/120228(/usr/pkg)% 
と書いたが、上の記述には間違いがあって、
  • config.ps を(上のように)書換えただけでは kanji.map は見に行かない
  • ktrace -t n pdvips hoge.dvi すると、少なくとも ./psfonts.map を見 に行っているようなので、そこに上の map file を置いてやると、うまく 実行する
ということまで分った(ということ)。因みに、NetBSD/pkgsrc 的には、 同じ config.ps が二つあって、そのうちの、上に書いた方を読んでいるらしい と ktrace/kdump の結果から推測している。そこで、上の書き方が悪いか、 それとも mktexlsr が必要なのかな、と、現在は推測している。
ktrace の出力を注意深く見ていたら、自分の誤りに気が付いた。
config.ps は次のものを見ていた。こちらを変更したら、
modena@makoto 18:26:04/120228(~) \
% diff -u   /usr/pkg/etc/texmf/dvips/config/config.ps{.orig,}
--- /usr/pkg/etc/texmf/dvips/config/config.ps.orig      2012-02-03 00:10:10.000000000 +0900
+++ /usr/pkg/etc/texmf/dvips/config/config.ps   2012-02-28 18:25:53.000000000 +0900
@@ -51,6 +51,7 @@
 % This shows how to add your own map file.
 % Remove the comment and adjust the name:
 % p +myfonts.map
+p kanji.map
 
 % In the past, the a4size and letterSize definitions did not set the
 % paper size, but we want to set it if we can so that ps2pdf can work
少なくとも、次のものを見に行く
/usr/pkg/share/texmf/fonts/map/dvips/updmap/kanji.map
これが良い PATH かどうか不明なので、もう少し調べる。
config.ps を用意したと思う Norbert Preining 先生に聞いて見るのが良いかな。
それと実はこの config.ps をどの pkgsrc が置いているのかが、まだ分っていない 時刻情報を見ると、
print/dvipsk
らしい。でも PLIST とか +CONTENTS にはそれらしいものがない。


2011年02月28日(月) 旧暦 [n年日記] [更新:"2011/03/01 12:24:57"]

#1 [emacs][pkgsrc] Cannot open load file: advice

===> Building for flim-1.14.9nb1
/usr/pkg/bin/emacs -batch -q -no-site-file -l FLIM-MK -f compile-flim NONE NONE  NONE
Warning: Could not find simple.el nor simple.elc
Loading /export/pkgsrc/devel/flim/work/flim-1.14.9/FLIM-CFG...
Loading /export/pkgsrc/devel/flim/work/flim-1.14.9/FLIM-ELS...
Cannot open load file: advice
*** Error code 255
ぱぱんだ日記 に書いてあることと同じだな。 でも emacs-lisp に advice.el はある。
/usr/pkg/share/emacs/24.0.50/lisp/emacs-lisp/advice.el.gz
/usr/pkg/share/emacs/24.0.50/lisp/emacs-lisp/advice.elc
次のようにすると、完了するので buildlink 関係かな。
t-105@makoto 23:59:42/110228(..devel/flim)% 
(cd work/flim-1.14.9/; /usr/pkg/bin/emacs -batch -q -no-site-file -l FLIM-MK -f compile-flim NONE NONE  NONE)
cd pgksrc/devel/flim で
   88  make clean
   89  make wrapper
   95  find . -name advice.el\* -ls
で確かにある
t-105@makoto 00:04:55/110301(..devel/flim)% find . -name advice.el\* -ls
3990343      0 lrwxr-xr-x    1 makoto            wheel 
  55 Mar  1 00:02 ./work/.buildlink/share/emacs/24.0.50/lisp/emacs-lisp/advice.elc 
  -> /usr/pkg/share/emacs/24.0.50/lisp/emacs-lisp/advice.elc
simple.elc の方も見えているはず。

もう一度 google 先生に聞いたら、 藤川賢治さんの日記 経由で 自分の日記 (2009/04/04) たどり着く
その日記に書いてある要点は、(その頃は)

  • wl を使うには apel -> flim -> semi が必要
  • それらの中では、 editors/emacs/version.mk が参照されているが、これらが(その時には) emacs23 に対応していない
  • それらの参照元を直して emacs-current を見に行くようにするか、 それとも editors/emacs/version.mk を直す
  • もし emacs-current を見に行くようにした時には、 emacs-current の方に version.mk とか buildlink3.mk を加える必要がある
というような話だったが、実は、今では、
editors/emacs/buildlink3.mk
editors/emacs/module.mk     -> editors/emacs-snapshot
editors/emacs/version.mk
となっている以外は、そのままでもいいように見える。
気のせいか emacs/editor/modules.mk を 戻したら、 直る気がする
-# $NetBSD: modules.mk,v 1.14 2011/02/08 13:20:13 hiramatsu Exp $
+# $NetBSD: modules.mk,v 1.13 2010/10/25 00:03:03 minskim Exp $
先日 tech-pkg-ja で議論していた 変更だなぁ。以下のようにすると、合っているように見えるけれど。
t-105@makoto 11:58:29/110301(~)% pkg_info -e emacs
emacs-24.0.50nb20110223
t-105@makoto 11:58:42/110301(~)% pkg_info -e emacs | sed -e 's/emacs-//' 
24.0.50nb20110223
t-105@makoto 11:59:05/110301(~)% pkg_info -e emacs | sed -e 's/emacs-//' -e 's/\.[0-9]\{8,\}//'
24.0.50nb20110223
t-105@makoto 11:59:23/110301(~)% pkg_info -e emacs | sed -e 's/emacs-//' -e 's/\.[0-9]\{8,\}//' -e 's/nb.*//'
24.0.50
良く見ると、上の手で試した部分が削除されていて、 実は(僕の今の場合には) やはり変更前の版が必要ということらしい。 平松さん:
At Thu, 3 Feb 2011 22:51:49 +0900,
Masao Uebayashi <uebayasi@tombi.co.jp> wrote:
> > OBATA さんが 「_EMACS_VERSION_MINOR が最新になるとは限らない」と
> > 44485 に追記していますが、この場合はどうなりますか?
> 
> その場合は破綻します。:)
> 
> 強制的に最新のそれにupdateしてもらう、じゃだめでしょうかね。

updateでよいと思います。
この「最新のそれにupdate」の意味が分らないな。


2008年02月28日(木) 旧暦 [n年日記] [更新:"2008/03/01 17:35:28"]

#1 [無題] お雛さまを出した

写真は明日。 去年の写真
これは自然光で 3/01 に撮ったもの


2007年02月28日(水) 旧暦 [n年日記] [更新:"2007/03/02 13:10:12"]

#1 [機械][印刷] HL-1870N トナー交換につき ..

メンテナンス情報 HL-1870N


2006/05/182006/02/28
紙送り用交換部品 (1)OK21,48817,431(残り寿命)ページ
紙送り用交換部品 (2)OK50,00050,000同上
定着ユニットOK33,25825,764同上
スキャナーユニットOK153,258145,764同上
ドラムユニット交換00同上
ページカウント
46,74254,236
ドラムカウント
46,74254,236
ドラムライフ0.0%0



2006年02月28日(火) 旧暦 [n年日記] [更新:"2006/02/28 07:48:13"]

#1 [NetBSD][pkgsrc][emacs-w3m] "ucs_conv=1: bad option" of w3m with emacs

In the article enable-m17n and disable-unicode (was: emacs-w3m not renderingwebpages) and its follow-up, we were told to have following line in /etc/mk.conf
W3M_USE_UNICODE=               YES
But this variable and W3M_USE_M17N were GONE by the following change:
diff -u -r1.35 -r1.36
--- w3m/Makefile.common 1 Jun 2005 18:03:27 -0000       1.35
+++ w3m/Makefile.common 2 Jun 2005 18:24:18 -0000       1.36
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.35 2005/06/01 18:03:27 jlam Exp $
+# $NetBSD: Makefile.common,v 1.36 2005/06/02 18:24:18 wiz Exp $
It is a little bit strange that
refOSemacsw3mstatus
1NetBSD/macppc2005/10/14(?)w3m-0.5.1nb3No problem
2Mac OS X 10.4.52006/01/18w3m-0.5.1nb4ucs_conv=1: bad option
In environment 1, I don't have the problem, but with 2, I've got "ucs_conv=1: bad option"

The variables have been MOVED to options.mk.

.if !empty(PKG_OPTIONS:Mw3m-m17n)
CONFIGURE_ARGS+=        --enable-m17n
.else
CONFIGURE_ARGS+=        --disable-m17n
.endif

.if !empty(PKG_OPTIONS:Mw3m-unicode)
CONFIGURE_ARGS+=        --enable-unicode
.else
CONFIGURE_ARGS+=        --disable-unicode
.endif
So, we NEED to have
PKG_OPTIONS.w3m=  w3m-m17n w3m-unicode
This line is mentioned as
===> Extracting for w3m-0.5.1nb4
The supported build options for this package are:

        w3m-lynx-key w3m-m17n w3m-unicode

The currently selected options are:

        w3m-m17n w3m-unicode

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.w3m = w3m-m17n w3m-unicode
or you may build with
cd /usr/pkgsrc/www/w3m
sudo env PKG_OPTIONS.w3m='w3m-m17n w3m-unicode'  bmake package


2005年02月28日(月) 旧暦 [n年日記] [更新:"2005/02/28 23:35:38"]

#2 [iPod] 家人のために 6GB mini を買って来た。

FireWire の線が付いていないというのは聞いていたが、 何と充電器も付いていない。これはちょっとびっくり。 USB 用のものを買うと 3,400円もする ( 付属品 )。 一週間くらいの旅行に、PC 無で出かける時はどうするのかな (実は家には FireWire の充電器が三つあるから、 多分それを持って行けば良い訳だが。あ、 FireWire の線は買っておくとする)。 それとも Dock かな。4,500 円は高いが、カメラの電池と同じだ と思えば、そんなものかと。
別売の FireWireまたはUSB 2.0* Dockは簡単かつワンステップでiPod miniの充電と同期を行うことができます。
こういう良く分らない文章は止めて欲しいな。 つまり「または」とあるのは、商品が二種類あるのか、 これ一台で両方に使えるのか分らない、という意味 (まあ、多分後の方だと思いたいが)。

#1 [Emacs][wl] (wl) Summary の sort が速くなっているということで入替

23:00 cd wanderlust/
23:00 cvs update -dP -A
23:01 make
23:01 sudo mv /usr/local/share/emacs/site-lisp/wl /usr/local/share/emacs/site-lisp/wl-20050219
23:02 sudo touch /usr/local/share/emacs/site-lisp/wl-20050219/.nosearch
23:02 sudo env LD_LIBRARY_PATH=/usr/X11R6/lib make install
23:02 cd /usr/local/share/emacs/site-lisp
23:03 sudo mv wl wl-20050228-2.13.3
User-Agent: Wanderlust/2.13.3 (You Oughta Know) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjo) APEL/10.6 Emacs/22.0.50 (powerpc-unknown-netbsd2.99.15) MULE/5.0 (賢木)
(違いは、良く分らない)。 いろいろな作業のうちの Summary の sort が速くなったらしい。 (が、他にも作業はあるので..)
Too many messages(508).  Update all? (y or n) 
Creating msgdb...done
Inserting message...done
Updating marks...
Scoring...done
Updated (-0/+508) message(s). [2 times]
例えば、この最後の Updated からは瞬間的に表示される。
普通は、Update: all なんてしないので、現実問題として、 すごく速くなったように感じる。


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

#3 [NetBSD] pkgsrc/www/apache2

checking for APR... reconfig
...
checking build system type... powerpc-unknown-netbsd1.6O
checking host system type... powerpc--netbsd
checking target system type... powerpc--netbsd
Configuring APR library
Platform: powerpc--netbsd
checking for working mkdir -p... yes
APR Version: 0.9.2
checking for chosen layout... NetBSD
checking for powerpc--netbsd-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
...
checking whether setpgrp takes no argument... configure: error: cannot check setpgrp when cross compiling
configure failed for srclib/apr
?

#2 [MTA] 例えば sendmail で m4 を使って static route をするには

という質問があったとして、google で答が見つかるだろうか。 答は FEATURE('mailertable') を使う。だと思うけれど。(でもあの説明は分り難い)

#1 [NetBSD] nandra/macppc-030222.tar.gz

22:19 cvs -d /e/celeron/CVSup/main co -D 20030220 src > & co-20030220-log
23:12 cd src
23:12 tar zxf macppc-030222.tar.gz
23:13 patch -s -p0 < build.sh/20030210/1
23:13 patch -s -p0 < build.sh/20030210/2
23:13 patch -s -p0 < build.sh/20030210/4
23:13 patch -s -p0 < build.sh/20030210/5
23:13 patch -s -p0 < build.sh/20030210/7
23:13 patch -s -p0 < build.sh/20030210/8
23:13 patch -s -p0 < build.sh/adb-20021109
23:13 cd ..
23:13 mkdir r
23:13 mkdir d
23:14 setenv DESTDIR `pwd`/d
23:14 setenv RELEASEDIR `pwd`/r
(以上 きのう)
21:20 cvs update -A src/crypto/dist/openssl/ssl/s3_pkt.c

cd src sh -R $RELEASEDIR -D $DESTDIR release > & ../log-build

make release started at: Thu Feb 27 21:21:27 JST 2003
make release finished at: Fri Feb 28 00:15:04 JST 2003
===> build.sh started: Thu Feb 27 21:21:10 JST 2003
===> build.sh ended: Fri Feb 28 00:15:04 JST 2003
に置いて見る。 akbdmap.h の変更はこれには入っていない。

u に入れようとして:

(u っていうのは機械の名前)
# disklabel wd0

9 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    262144  13723144     4.2BSD      0     0     0   # (Cyl. 13614*- 13874*)
 b:   1572864  13985288       swap                      # (Cyl. 13874*- 15434*)
 c:  39851760         0     unused      0     0         # (Cyl.    0 - 39535*)
 d:   2048000      1544        HFS                      # (Cyl.    1*- 2033*)
 e:  10240000   2049544        HFS                      # (Cyl. 2033*- 12192*)
 f:   1433600  12289544        HFS                      # (Cyl. 12192*- 13614*)
 g:   1048576  15558152     4.2BSD      0     0     0   # (Cyl. 15434*- 16474*)
 h:  23244800  16606728     4.2BSD      0     0     0   # (Cyl. 16474*- 39535*)
 i:       232  39851528    unknown                      # (Cyl. 39535*- 39535*)
disklabel: boot block size 0
disklabel: super block size 0

# hmount /dev/wd0d
Volume name is "Untitled"
Volume was created on Fri Nov 22 14:45:11 2002
Volume was last modified on Sun Feb 23 18:13:43 2003
Volume has 1027178496 bytes free

7:43    cd /a/j/ftp/pub/NetBSD/arch/macppc/snapshot/20030222ts/binary/kernel/
7:43    hcopy netbsd-GENERIC_MD.gz :netbsd.GENERIC_MD.gz
7:43    cd ../../installation/
7:44    hrename ofwboot.xcf 20021122.xcf
7:44    hcopy ofwboot.xcf :ofwboot.xcf

ttyp2:root@u  7:44:55/030228(...20030222ts/installation)# hdir
f  ????/UNIX         0     57868 Nov 22 14:45 20021122.xcf
f  ????/UNIX         0   2464019 Nov 22 14:45 2002_MD.gz
f  ????/UNIX         0   2550458 Feb 28 07:43 netbsd.GENERIC_MD.gz
f  ????/UNIX         0     59504 Feb 28 07:44 ofwboot.xcf

0> boot hd:,ofwboot.xcf hd:12/netbsd.GENERIC_MD.gz
....
 DEFAULT CATCH!, code=700 at %SRR0: 00000000 %SRR1: 00083030
  ok
何だか ofwboot.xcf の方の問題のような。20021122 版を使うと問題ない。
boot hd:,20021122.xcf hd:9/netbsd.GENERIC_MD.gz
 Status: Failed: command ended on signal
Command: progress -zf /mnt2/kern-GENERIC.tgz tar -xepf
 Press any key to continue
------------------------------------------------------
gzip: unknown option -- l
gzip: can't gzopen /mnt2/kern-GENERIC.tgz.gz: Read-only file system
     0       0.00 KB/s tar: operation requires an argument -- f
Usage: tar [-]{crtux}[-befhmopqvwHLOPXZ014578] [archive] [device]
           [-C directory] [-T file] [-s replstr] [file ...]

X11 から抜けると画面が戻らない時:

ppll_div_3 == 0. skipping.


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

#5 [NetBSD] X401-2002-02-25

(u は G4/400 AGP)
makoto@u 12:56:59/020228(/export/xc-cvs-X401)> time make World > & ../xc-cvs-401-make-world
2315.340u 575.940s 57:45.05 83.4% 0+0k 1008+72802io 4895728pf+44w
makoto@u 13:55:07/020228(/export/xc-cvs-X401)> setenv DESTDIR /export/x20020225d
makoto@u 13:57:04/020228(/export/xc-cvs-X401)> mkdir /export/x20020225d
makoto@u 13:57:06/020228(/export/xc-cvs-X401)> su
Password:
# tcsh
makoto@u 13:57:19/020228(/export/xc-cvs-X401)# echo $DESTDIR
/export/x20020225d
makoto@u 13:57:31/020228(/export/xc-cvs-X401)# make install >& ../xc-cvs-401-make-install
makoto@u 13:59:02/020228(/export/xc-cvs-X401)# make install.man > & ../xc-cvs-401-make-install.man
makoto@u 14:06:33/020228(/export/x20020225d)# tar zcf /a/j/ftp/pub/NetBSD/port-macppc/X11R6-2002-02-25.tar.gz .
(u は G4/400 AGP)

G4/Dual を .MP にしていると、save_fpu_proc ですぐ落ちてしまう:

ので、それは止めにして、20020214-insecure-shm にしている。上で作った X を動かして見たが startx >& /tmp/log した瞬間に、画面が真黒になり、完全に止ってしまう (何も記録も残らない)。/var/log/X.Free86.0 にも何も書かれない。

#4 [URL] Examples: Translations from HTML to CSS


#3 [NetBSD] "_simple_lock_held((&sched_lock)) == 0" failed

switching with held simple_lock 0x8035b40 CPU 1 ../../../../uvm/uvm_fault.c:719

simple_lock: locking against myself
lock: 0x490f10, currently at: ../../../../kern/sys_generic.c:946
on cpu 1
last locked: ../../../../kern/kern_synch.c:403
last unlocked: ../../../../kern/kern_synch.c:597
panic: kernel diagnostic assertion "_simple_lock_held((&sched_lock)) == 0"
failed: file "../../../../arch/powerpc/powerpc/trap.c", line 114

Stopped in pid 11379 (sh) at cpu_Debugger+0x14: mtspr  8,0
db{1}> trace
at panic+158
at __assert+2c
at trap+210
at ddblow+f4
at end+94aff30
at _simple_lock+104
at selwakeup+90
at logwakeup+28
at vprintf+c8
at lock_printf+c4
at simple_lock_only_held+10c
at simple_lock_switchcheck+1c
at mi_switch+8c
at ltsleep+364
at _lockmgr+ce0
at uvm_unmap+d0
at uvm_deallocate+24
at sys_execve+980
at trap+6ac
at ddblow+f4
panic: kernel diagnostic assertion "_simple_lock_held((&sched_lock)) == 0"
failed: file "../../../../arch/powerpc/powerpc/trap.c", line 114

Stopped in pid 11379 (sh) at cpu_Debugger+0x14: mtspr  8,0
db{1}> 
っていうの見たことがなかった。

#2 [cvs] jitterbug も要 watch

tracking するなら
1.2.1                + MEF ...   (more japanese)
                    /
1      HEAD ..  JP patch (i18n)
         \
1.1.1     SAMBA (1.6.2)
ってやるのかな。
1.2.1                + I18N ... (tracking)
                    /
1      HEAD ..  JP patch .. (more japanese)
         \
1.1.1     SAMBA (1.6.2)
の方が自分では作業しやすそう。

#1 [Namazu] 3. mknmz で一部の mhonarc のファイルが Segmentation fault で落ちる。

引用:
これは、私のほうの環境にあるmhonarcのリソースをかなり書き換えしているのが 問題でした。mhonarc.plの108行目 $$contref =~ s!^(<LI>)(.*?)(</LI>$)!$1 . lftospace($2) . $3!gemsi; ここで、LIを見つけることができずに落ちていたようです。 ちゃんと見つけられるように書き直しをしたら問題無くなりました。 バグ追跡システムの incoming にある ID:106 mknmz segfaults も もしかすると同じ問題かもしれませんね。
mhonarc.pl 要 watch, 気まぐれに #2 ↑へ


2000年02月28日(月) 旧暦 [n年日記]

#1 [NetBSD/macppc] gethostname 問題

gethostbyname の問題は次のところを見て、元に戻すとか言う話が あるらしいのですが、 libc/net/gethnamaddr.c なんて戻すのも (src を用意していない) 僕にはちょっと大変。



最近の日記
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)