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

  • 03/19(火) CQ Ham Radio
  • 03/20(水) 不燃ごみ
  • 03/25(月) Interface
  • 03/30() 0900 WW WPX Phone
  • 03/31() NTT 東 払込期日
  • 04/01(月) atactl check
  • 04/03(水) 不燃ごみ
  • 04/13() 1600 - 2200 JIDX CW
  • 04/17(水) 不燃ごみ
  • 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年03月 来月
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
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2023年08月14日(月) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [raid] raid1 mirror setup on N3150 CPU

  • WDC 2T を二台使う
  • install image を down load NetBSD/amd64 10.99.7 の中の、このようなもの
    NetBSD-10.99.7-amd64-bios-install.img.gz	13-Aug-2023 11:39	862443kB 
    
  • USB hard disk に書く
    zcat NetBSD-10.99.7-amd64-bios-install.img.gz | \
    sudo dd of=/dev/rsd0d bs=2m
    
  • 起動 Serial console を指定して画面の写しを撮れるようにする
    userconf disable i915drmkms 
    consdev com0,115200
    
    will redirect to serila console
  • Utility から d partition DISK を選ぶ
  • もし、何か以前のものが残っていたら、 delete partition で消す
  • 二つの disk を RAID に設定
  • l. Save Changes
    を選ぶ ここから、今回の場合で 5.5 時間かかる
しかし、今回は、うまく行かない raid 側の partition が書かれていなかった


2019年08月14日(水) 旧暦 [n年日記] [更新:"2019/08/14 13:11:39"]

#2 [autofs] completed with error 5

cluster026$ ls /export/CHROOT/P/pkgsrc/
[  98.8807635] WARNING: autofs_trigger_one: request for /export/CHROOT/P/pkgsrc/ completed with error 5

#1 [pkgsrc] bulklog/rust-1.36.0nb1/install.log

NetBSD/amd64 9.99.2
Building stage1 std artifacts (x86_64-unknown-netbsd -> x86_64-unknown-netbsd)

running: "/tmp/lang/rust/work/rust-bootstrap/bin/cargo" "build"
"--target" "x86_64-unknown-netbsd" "-j" "4" "--release" "--frozen"
"--features" "panic-unwind backtrace" "--manifest-path"
"/tmp/lang/rust/work/rustc-1.36.0-src/src/libstd/Cargo.toml"
"--message-format" "json"

   Compiling core v0.0.0 (/tmp/lang/rust/work/rustc-1.36.0-src/src/libcore)
   Compiling compiler_builtins v0.1.14
   Compiling libc v0.2.54
error: failed to run custom build command for `compiler_builtins v0.1.14`

process didn't exit successfully:
`/tmp/lang/rust/work/rustc-1.36.0-src/build/x86_64-unknown-netbsd/stage1-std/
   release/build/compiler_builtins-8e384cdd32115157/build-script-build`
(exit code: 1)

--- stderr
dead lock detected
Another run completed the packaging, thanks @ryo_on


2015年08月14日(金) 旧暦 [n年日記] [更新:"2015/08/15 11:31:28"]

#1 [機械] Core i7 host

AsRock の mother board の機械を 2014/10 に入手したのだけれど、 日記に書いていなかった気がする
CPUIntel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Memory16GB
MotherBoardAsRock H97 Pro 4
Disk2T
これが全然起動しなくなっていた気がして、きょう少し手を入れた。
修理に出そうかという電話もかけたのだが、何故か動くようになってしまった。
「症状出ず」(こういうのも結構こまる)


2011年08月14日() 旧暦 [n年日記] [更新:"2011/08/16 06:21:38"]

#2 [disk] disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!

次の 4.2BSD を swap に変更したい。
ttyp0:makoto@tera5 18:24:47/110814(~)> sudo disklabel -Ii  raid2d
partition> P
4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
partition> Q
たまたま、良く似た構成の別の disk があり それの first sector を hexdump -C で確認しながら
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
ttyp0:makoto@tera6 18:15:42/110814(~)> sudo disklabel raid1 > ~/raid1-swap

ttyp0:makoto@tera6 18:43:24/110814(~)> sudo hexdump -C /dev/rraid1d | head
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 a9 41 cc ff 3f 00  00 00 01 48 90 02 00 00  |...A..?....H....|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001000  75 64 70 00 69 6e 65 74  00 75 64 70 00 2d 00 33  |udp.inet.udp.-.3|

ttyp0:makoto@tera6 18:48:53/110814(~)> 
sudo dd if=/dev/rraid1d of=/home/makoto/prep/first-sector count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.003 secs (170666 bytes/sec)
ttyp0:makoto@tera6 18:49:03/110814(~)> hexdump -C /home/makoto/prep/first-sector 
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 a9 41 cc ff 3f 00  00 00 01 48 90 02 00 00  |...A..?....H....|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
ttyp0:makoto@tera6 18:50:42/110814(~)> 
dd で写したら、ちょっと変になったが disklabel -i で編集して書くことが出来た。
ttyp0:makoto@tera5 18:49:23/110814(~)> 
sudo dd if=/home/makoto/prep/first-sector of=/dev/rraid2d 
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.010 secs (51200 bytes/sec)
ttyp0:makoto@tera5 18:50:00/110814(~)> sudo disklabel -i raid2d
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> b
Filesystem type [?] [unused]: swap
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 63
Partition size ('$' for all remaining) [0c, 0s, 0M]: $
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> d
Filesystem type [?] [4.2BSD]: unused
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 
Partition size ('$' for all remaining) [533.25c, 819072s, 399.938M]: 0
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> e
Filesystem type [?] [unused]: 
Start offset ('x' to start after partition 'x') [0.0410156c, 63s, 0.0307617M]: 0
Partition size ('$' for all remaining) [28001.3c, 43010049s, 21001M]: 0
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> c
Filesystem type [?] [unused]: 
Start offset ('x' to start after partition 'x') [0.0410156c, 63s, 0.0307617M]: 0
Partition size ('$' for all remaining) [28001.3c, 43010049s, 21001M]: $
 c:    819072         0     unused      0     0        # (Cyl.      0 -    533*)
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:    819072         0     unused      0     0        # (Cyl.      0 -    533*)
partition> W
Label disk [n]? Y
Label written
partition> Q
ttyp0:makoto@tera5 18:51:44/110814(~)>

#1 [無題] 墓参

06:45 出発
07:15 八街
08:00 小堤
      平和公園 ( x 2)
      千葉寺
10:30 帰着


2006年08月14日(月) 旧暦 [n年日記] [更新:"2006/08/14 21:55:53"]

#1 [NetBSD] sys/arch/ofppc/pcib.c

  1. sys/arch/prep/pcib.c を ofppc に写す
  2. 少しだけ変更
  3. sys/arch/ofppc/files.ofppc を 少し変更
  4. GENERIC_WB を用意する
  5. 次のようにして kernel を作る
    time sudo ./build.sh -a powerpc -m ofppc -T /tftpboot/20060807/obj/tooldir.NetBSD-3.99.21-powerpc kernel=GENERIC_WB
  6. 次のように言われる
    ioconf.c:1032:1: error: invalid suffix "_cd" on integer constant
    ioconf.c:1032: error: expected identifier or '(' before numeric constant
    ioconf.c:1049: error: 'pcib_cd' undeclared here (not in a function)
    
  7. 該当箇所
    static const struct cfiattrdata * const pcib_attrs[] = { &isabuscf_iattrdata, NULL };
    CFDRIVER_DECL(pcib, DV_DULL, pcib_attrs);
    
    の pcib の文字の属性が定数になっているからか。 この少し前を見ると、一つ足りない(気がする)


2004年08月14日() 旧暦 [n年日記]

更新: "2004/08/14 23:33:44"

#1 []

4789833534
4893620290
4320024834 × プログラミング言語 C 第2版
4900900087
400007685X
これで Server error (古すぎるかな)


2003年08月14日(木) 旧暦 [n年日記]

#3 [Network] bind-8.4.1

cc -I../../port/netbsd/include -I../../include -O2 -g  -c host.c
host.c: In function `addrinfo':
host.c:582: structure has no member named `ss_family'
host.c:584: warning: unreachable code at beginning of switch statement
*** Error code 1
-rw-r--r--  1 root  wheel  18109 Nov 11  2002 socket.h
-r--r--r--  1 root  wheel  16799 Nov  8  1999 socket.h-1.46

#2 [Abuse] port 135


#1 [NetBSD][i386] HP tc2120

3.3V の PCI の機械ということで探していた tc2120 というものが来た。
Celeron 1.8GHz
40G disk
128MByte Memory
たまたま 1.6 の CDROM しかなかったので、それで入れると
Broadcom 0x16a6 
というものが not configured になってしまう。

NC7760 PCI Gigabit NIC 10/100/1000 WOL:

ということになっている
Turbo Linux で動いているらしい が、 NetBSD 的にはまだなのだろうか。 Broadcom BCM5702 というらしい。末尾が 1 3 4 5 はある。 src/sys/dev/mii/miidevs
model BROADCOM BCM5701          0x0011
model BROADCOM BCM5703          0x0016
model BROADCOM BCM5704          0x0019
model BROADCOM BCM5705          0x001a

確か DHCP を探しに行っていたので、これで入れるのが いいのかなぁ。
current には入っているような気がする。 src/sys/dev/pci/pcidevs
product BROADCOM BCM5702X 0x16a6 BCM5702X 10/100/1000 Ethernet
去年の 12 月 から入っているらしい。


2002年08月14日(水) 旧暦 [n年日記]

#2 [無題] 新横浜方面

12:17 本千葉
12:26 千葉
13:45 横浜
13:57 新横浜
...
18:50 新横浜
19:21 横浜
20:41 千葉
20:54 本千葉
横浜アリーナ方面に人出がある。

#1 [Namazu] Unterminated compressed integer at /usr/pkg/bin/mknmz line 2302.

こういう終り方って、あったのかなぁ。 (というか終らない終り方)
mknmz --update=../index
...
...
7819/7819 - /export/maillist/m/maillist/200006/msg00232.html [text/html; x-type=mhonarc]
索引を書き出しています...Use of uninitialized value in numeric ne (!=) 
                                               at /usr/pkg/bin/mknmz line 2125.
.... (繰返) ....
Use of uninitialized value in numeric ne (!=) at /usr/pkg/bin/mknmz line 2125.
Use of uninitialized value in numeric ne (!=) at /usr/pkg/bin/mknmz line 2125.
Unterminated compressed integer at /usr/pkg/bin/mknmz line 2302.
ttypb:makoto@u  22:32:20/020813(...m/search)> cat ../index/NMZ.status

files 7778
keys 130481
argv -f /export/makoto/.mknmzrc-pre-filter -c  -O  /export/maillist/m/index   
     --template-dir=/export/maillist/m/template
cwd /export/maillist/m/search
ttypb:makoto@u  5:17:26/020814(...m/search)> 
 2121         if ($opened) {
 2122             my $tmp = 0;
 2123             read($fh_phraseindex, $tmp, $var::INTSIZE);
 2124             $tmp = unpack("N", $tmp);
>2125             if ($tmp != 0xffffffff) { # 0xffffffff
 2126                 $baseleng = readw($fh_phrase);
 2127                 read($fh_phrase, $baserecord, $baseleng);
 2128             }
 ....
 2300 sub get_last_docid ($$) {
 2301     my ($record, $step) = @_;
>2302     my (@data) = unpack 'w*', $record;
 2303                 
 2304     my $sum = 0;
 2305     for (my $i = 0; $i < @data; $i += $step) {
 2306         $sum += $data[$i];
 2307     }   
 2308     my $leng = @data / $step;
 2309     return $sum;
 2310 }               
どうも、この頃に nfs server に問題があった気がする。 索引を nfs でないところにして、もう一度やったら、すぐに終った。

NMZ.result.normal.ja などを変更して見:

ている。
<dt>${namazu::counter}. 
<strong><a href="${uri}">${title}</a></strong> 
(score: ${namazu::score})
<font color="green">
--- <em>${author}</em>
</font>

<dd>
<font size=-1>
${summary}
</font>
<dd>
<font size=-1>
<a href="${uri}">${uri}</a> (${size} bytes,
${date}
</font>)
<br><br>
とか。${summary} に Subject: の内容も入っているが、これを取るには ? 初めの方から $contref に入っているらしいので簡単ではなさそう。


2001年08月14日(火) 旧暦 [n年日記]

#1 [NetBSD] 20010705 も動いた

20010806 から kernel だけ -current にしたら:

というお告げがあったので、まずは 20010811/sys.tar.gz を 使って見たが、動かなかった。
3326508 52284   215240  3594032 36d730  netbsd
614.281u 118.980s 19:51.82 61.5%  0+0k 245+4588io 234pf+0w
makoto@iBook366 9:08:23/010814(...compile/GENERIC)> pwd
/export/sysrc-20010811/sys/arch/macppc/compile/GENERIC



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