|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2009年01月30日(金) 旧暦 [n年日記] [更新:"2009/02/02 01:20:03"]#1 [猫] 猫が取手を回して扉を開ける
猫が扉を押して開けるというのはあるかも知れないが、
わが家の生後 6 か月の
キジサビ(名前はロゼ)
は、取手に飛びついて、下に回し、
開けて部屋に入れるようになってしまった。生憎鍵は付いていない。
人間が寝ていても午前 3 時過ぎとか 5:30 AM とかにこれをやるのでたまらない。 ( つっこみ )
2009年01月25日(日) 旧暦 [n年日記] [更新:"2009/01/25 20:29:24"]#1 [機械] RX1550-LE128H がこわれた ?![]()
部品を入替えたりして結局、
ATI Radeon RX1550 128M (右の写真) がこわれたらしいと判る。
これは
後から追加したもので、
僕の日記に
2008/01/28/
に使い始めた、
と書いてある。
冷却扇を手で回すと、軽くは回らないので、どうも
埃が入って、回りが悪くなり、温度が上って、こわれたらしい。
( つっこみ )
2009年01月24日(土) 旧暦 [n年日記] [更新:"2009/01/25 16:54:04"]#1 [NetBSD] Install NetBSD on Dell PowerEdge T105
Dell PowerEdge T105 に NetBSD を入れているが、
いろいろと小細工が必要
( つっこみ )
2009年01月22日(木) 旧暦 [n年日記] [更新:"2009/01/24 09:25:37"]#1 [鳥] 鴬と目白
外でジッジッとウグイスの地鳴きの声がするので、ガラス越に外を見ると、
何と (猫の額のほどの大きさの) 庭にウグイスが来ている。きょうはメジロも
二羽ほど確認した。余程
( つっこみ )
2009年01月21日(水) 旧暦 [n年日記] [更新:"2009/01/22 12:10:31"]#1 [機械] Disk の製造番号を調べる方法
最近某製造会社の Disk が問題になっているらしいが、
実のところ僕は WD (Western Digital) が一番の好みで、
とは言っても手元には IBM, Hitachi, HGST, Samsung とか、いろいろあるが
多分 Seagate は自分からは買わない製造会社かも知れない。しかし、
完成品を買うと、中にたまたま入っているということは良くある。
で本題だけれど、最近の NetBSD では atactl を使って、 動作中のものの製造番号 (Serial) を調べることが出来る。 こんな具合にだ。 pts/0:makoto@t-105 1:05:47/090122(...gcc/work)> \ sudo atactl /dev/wd0 identify | grep -i 'serial #' Model: WDC WD800AAJS-18TDA1, Rev: 01.00A0, Serial #: WD-WMAM9CPP455次のものは HP の Firmware が入っている、さて、どこのだったかな。 Model: FB080C4080, Rev: HPF0, Serial #: 5RW20BRJ Model: FB080C4080, Rev: HPF0, Serial #: 5RW2K07S Model: FB080C4080, Rev: HPF, Serial #: 5RW2K065 Model: FB080C4080, Rev: HPF0, Serial #: 9RW0EBMPどうもこれらが、箱を買ったらたまたま入っている、問題の会社のものかも知れない。 ( つっこみ )
2009年01月20日(火) 旧暦 [n年日記] [更新:"2009/01/20 23:41:25"]#1 [無線] 米国のアナログ TV は 2009/02/17 迄
日本では 2011 年 7/24 に アナログ TV 放送が終わることになっている。
最近 ARRL の会員になったので、月刊誌 QST が送られてくるが、それを見て
いたら、米国では 2009/02 からアナログ TV 放送が終わるらしい。
(しかし今探してもその記事が見つからない)
Google 先生に聞くと 2009/02/17 日以降は、いままでの大電力の放送は 終了 On February 17, 2009 all full-power broadcast television stations in the United States will stop broadcasting on analog airwaves and begin broadcasting only in digital.と書いてある。やはり米国は進んでいるのだな、と変な感心のしかたをしてしまう。 (しかし後一か月もないではないか) ( つっこみ )
2009年01月19日(月) 旧暦 [n年日記] [更新:"2009/01/19 16:22:24"]#1 [gcc] gcc-4.2.x with NetBSD/amd64 fails
Strange thing is that when building gcc-4.2.x on NetBSD/amd64 machine,
361 12:35 ../gcc-4.2.4/configure --enable-languages=c --host=amd64--netbsdI am getting following problem. /export/local-src/gcc-4.2.4-work-amd64-enable-c-fail/./prev-gcc/xgcc -B/export/local-src/gcc-4.2.4-work-amd64-enable-c-fail/./prev-gcc/ -B/usr/local/amd64--netbsd/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-4.2.4/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat ../../gcc-4.2.4/libiberty/mempcpy.c -o mempcpy.o ../../gcc-4.2.4/libiberty/mempcpy.c:35: error: expected declaration specifiers or '...' before 'size_t' ../../gcc-4.2.4/libiberty/mempcpy.c:35: warning: conflicting types for built-in function 'memcpy' ../../gcc-4.2.4/libiberty/mempcpy.c:38: error: expected declaration specifiers or '...' before 'size_t' ../../gcc-4.2.4/libiberty/mempcpy.c:39: warning: conflicting types for built-in function 'mempcpy' ../../gcc-4.2.4/libiberty/mempcpy.c: In function 'mempcpy': ../../gcc-4.2.4/libiberty/mempcpy.c:40: error: 'len' undeclared (first use in this function) ../../gcc-4.2.4/libiberty/mempcpy.c:40: error: (Each undeclared identifier is reported only once ../../gcc-4.2.4/libiberty/mempcpy.c:40: error: for each function it appears in.) ../../gcc-4.2.4/libiberty/mempcpy.c:40: error: too many arguments to function 'memcpy' gmake[3]: *** [mempcpy.o] Error 1 gmake[3]: Leaving directory `/export/local-src/gcc-4.2.4-work-amd64-enable-c-fail/libiberty'But by applying following patch, at least configuration shown above build completes. --- gcc-4.2.4/include/ansidecl.h-orig 2005-07-04 00:38:39.000000000 +0900 +++ gcc-4.2.4/include/ansidecl.h 2009-01-19 14:23:58.000000000 +0900 @@ -368,4 +368,7 @@ #define __extension__ #endif +#if defined(__x86_64__) +typedef unsigned long size_t; +#endif #endif /* ansidecl.h */ ( つっこみ )
2009年01月17日(土) 旧暦 [n年日記] [更新:"2009/01/18 13:46:07"]#1 [猫] ミラノ永眠(17.5才)
1991 年に館山で生まれて、1994 年にわが家にやって来た
シャム猫の
ミラノ
が永眠した。
19:30 から 21:00 までの近所の会合に出ていて帰って来たら
20:00 頃心臓が止ったということだった。
この一か月くらい寝たきりだった。
15 年近くも一緒に暮していた訳だ。
実は Emacs らくらく入門にも p244 に写真が載っている。
( つっこみ )
2009年01月15日(木) 旧暦 [n年日記] [更新:"2009/01/15 22:03:50"]#1 [pkgsrc][wip] wip/scim-anthy
obache さんが更新してくれたので wip/scim や wip/scim-anthy の
make package が可能になった。
でどうやって使うか ? wip/scim/work/scim-1.4.7/README を見て The main program of SCIM is named scim. The usage of scim is: scim [option]... The options are: -l, --list List all of available modules. -f, --frontend name Uses specified FrontEnd module. -c, --config name Uses specified Config module. -e, --engines name Load specified set of input method engines. -ne,--no-engines name Do not load those set of engines. -d, --daemon Run scim as a daemon. --no-socket Do not try to start a SCIM SocketFrontEnd daemon. -h, --help Show this help message.scim -l を入力したり 140 10:12 scim -f socket -c simple -ne socket -d -e anthyとして見たりしている (NetBSD/4.0 i386, X11 は sysinst で入れたもの) これで FireFox に日本語が入力可能となる。 しかし実はどうやって切替えるかが分っていない。 Control + Space や Shift + Space では替らない気がする。 @ inputmethod/uim:
でも実は、入力出来ているように見えたのは scim ではなくて (?)
/usr/pkg/libexec/uim-helper-server (uim-helper-serve)これなのかも知れない。入力している窓で C-\ を入力すると、 日本文字・英字の切替が出来る。uim-helper-server は uim-1.5.4 Multilingual input method libraryで入ったものだ。何故動いているのかな ? ( つっこみ )
2009年01月13日(火) 旧暦 [n年日記] [更新:"2009/01/18 10:02:04"]#1 [NetBSD] inside of /kern disappear
As is reported in
kern/38778,
after some time of boot, ls -l /kern does not show anything.
The trigger to this symptom may be intensive files access, the number may be important. In my case, rsync -ah NFS/ to local-disk/ of large filesystem will easily trigger the one. In my case, the size is 180GB. But tar ztvf Large.tar.gz may be another example, someone told me. It only needs two minutes to make /kern empty. I have looked at CVS repository and it turned out the changes between 2008/01/25 0000 JST to 2008/01/25 0600 JST is the reason to this behavior. See source changes in Jan. 2008 ( cd /usr/src/sys ; cvs diff -D '2008-01-24 1500-UTC' -D '2008-01-24 2100-UTC' . ) may give you the related changes. It is now reported to netbsd-bugs. The responce to netbsd-bugs should be sent to gnats-bugs at netbsd.org. David Holland kindly transfered it, and it is now linked to the original -> KERN/38265 ( つっこみ )
2009年01月08日(木) 旧暦 [n年日記] [更新:"2009/01/08 20:33:54"]#1 [NetBSD][pkgsrc] wip/scim が make 不可
最近の NetBSD/4.0 + pkgsrc だと scim が make 出来ない
scim_chartraits.cpp:44: error: no member function 'assign' declared in 'std::char_traits<unsigned int>'SCIM の build を阻む char_traits って それで、でも試したいという時には
gcc34-3.4.6nb1 This is the gcc 3.4 compilerでは gcc-4 と同様にだめだった。 ( つっこみ )
2009年01月06日(火) 旧暦 [n年日記] [更新:"2009/01/06 12:59:45"]#1 [gcc] gcc-4.2.1 で --enable-checking
In info from gcc-4.2.1, I read in 9.2 Overview, --enable-checking is
explained. It is said as
For safety, it is useful to configure GCC with `--enable-checking'. Although this results in a significant performance penalty (since all tree types are checked at run-time), and is therefore inappropriate in a release version, it is extremely helpful during the development process.So I have tried for i386 as: 138 11:09 cd /export/local-src/ 140 11:09 mkdir gcc-4.2.1-i386-enable-checking 141 11:09 cd gcc-4.2.1-i386-enable-checking 142 11:10 ../gcc-4.2.1-dont-modify/configure --host=i386--netbsd --enable-languages=c 143 11:10 gmakeBut I am getting ../../gcc-4.2.1-dont-modify/gcc/libgcc2.c:673: warning: alignment of '__clz_tab' is greater than maximum object file alignment. Using 16Shall I look for 4.2.4 instead of 4.2.1 ? /export/local-src/gcc-4.2.4-enable-checking/./gcc/xgcc -B/export/local-src/gcc-4.2.4-enable-checking/./gcc/ -B/usr/local/i386--netbsd/bin/ -B/usr/local/i386--netbsd/lib/ -isystem /usr/local/i386--netbsd/include -isystem /usr/local/i386--netbsd/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I./../intl -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -DL_clz -c ../../gcc-4.2.4/gcc/libgcc2.c -o libgcc/./_clz.oEven with 4.2.4, the same thing on this issue as above. 375 .stabs "DWunion:t236=237=u8s:235,0,64;ll:223,0,64;;",128,0,423,0 376 .globl ___clz_tab 377 .align 5,0x90 378 .type ___clz_tab, @object 379 .size ___clz_tab, 256 380 ___clz_tab: 381 .byte 0 382 .byte 1 383 .byte 2 384 .byte 2To my understanding, align 5 means align 2^5, two to the power of 5, = 32, Leaning to the problem gas side ? From the info for gas: The first expression (which must be absolute) is the alignment required, as described below.No, it looks gcc side problem, or gcc thinks it is two to the power of, and gas thinks it is in bytes.
gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
10 .globl __clz_tab 11 .section .rodata l 12 .align 32 13 .type __clz_tab, @object 14 .size __clz_tab, 256the patch applied. --- gcc-4.2.4/gcc/config/i386/bsd.h~ 2007-09-02 00:28:30.000000000 +0900 +++ gcc-4.2.4/gcc/config/i386/bsd.h 2009-01-06 12:51:08.000000000 +0900 @@ -70,7 +70,7 @@ to a multiple of 2**LOG bytes. */ #define ASM_OUTPUT_ALIGN(FILE,LOG) \ - if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG)) + if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG)) /* This is how to store into the string BUF the symbol_ref name of an internal numbered label where --- gcc-4.2.4/gcc/config/i386/netbsd.h~ 2004-07-18 06:09:14.000000000 +0900 +++ gcc-4.2.4/gcc/config/i386/netbsd.h 2009-01-06 12:55:50.000000000 +0900 @@ -41,7 +41,7 @@ segment. */ #undef ASM_OUTPUT_ALIGN #define ASM_OUTPUT_ALIGN(FILE,LOG) \ - if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG)) + if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", 1<<(LOG)) /* Profiling routines, partially copied from i386/osfrose.h. */and now getting: checking for i386--netbsd-gcc... /export/local-src/gcc-4.2.4-enable-checking/./prev-gcc/xgcc -B/export/local-src/gcc-4.2.4-enable-checking/./prev-gcc/ -B/usr/local/i386--netbsd/bin/config.log shows: /usr/bin/ld: warning: type and size of dynamic symbol `_fini' are not defined ( つっこみ )
2009年01月04日(日) 旧暦 [n年日記] [更新:"2009/01/05 01:09:41"]#1 [季節] 年賀状をやっと書いた
例によって LaTeX で作り、宛名の方は手書きで、
年賀状をやっと書いた。約 40 枚。
( つっこみ )
#2 [無線] 阿見方面に見学
ちょっとすごい塔を見て来た。帰りはずうっと下の道で戻る。
( つっこみ )
2009年01月02日(金) 旧暦 [n年日記] [更新:"2009/01/05 01:21:02"]#1 [無線] 栃木方面に見学
朝 8:02 の電車で出発。11:10 氏家。
そこで拾ってもらって某山林を見に行く。馬頭道の駅で昼食。
その後、瓜連(何て読むんだ ?) 近くで積込作業。所沢に 20 時少し前に到着。
20:11 小手指 20:45 池袋 20:58 東京 21:43 千葉 22:01 本千葉で戻る ( つっこみ )
2009年01月01日(木) 旧暦 [n年日記] [更新:"2009/01/05 01:12:20"]#1 [季節] 謹賀新年
今年もよろしくお願い致します。
( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||