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

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

2013年04月24日(水) 旧暦 [n年日記] [更新:"2013/04/24 21:54:24"]

#1 [pkgsrc] mule 2.3 build failure

  • amd64 と i386 では違うところで落ちるようだ
  • amd64 は temacs で
  • i386 は emacs で
しかもきのう変だと書いたのは、 何と /etc/mk.conf に clang の設定がしてあったらしい。 いつもは、ここで make しないからだけれど、 時々はしているはずで、どうして忘れていたのだろう。

/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/text-mode.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/vc-hooks.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/window.elc
/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/../lisp/version.el
> ../etc/DOC
./temacs -batch -l loadup dump
Warning: arch-dependent data dir (/usr/pkg/lib/mule/19.28/x86_64--netbsd/) does not exist.
gmake[1]: *** [emacs] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src'
gmake: *** [src] Error 2
*** Error code 2

amd64 の場合 (NetBSD/amd64 6.1_RC2):

modena@makoto 21:33:32/130424(..editors/mule)% \
gdb work/mule/src/temacs  work/mule/src/temacs.core 
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/temacs...done.
[New process 1]
Core was generated by `temacs'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000476a16 in mark_object (objptr=0x7e3c38) at alloc.c:1625
1625            mark_object ((Lisp_Object *) &ptr->value);
(gdb) bt
#0  0x0000000000476a16 in mark_object (objptr=0x7e3c38) at alloc.c:1625
#1  0x0000000000476a1b in mark_object (objptr=<optimized out>) at alloc.c:1625
これ mark_object が無限に呼出されて、落ちている。
同じ src で違うところで落ちるのだから compiler が疑われても止むを得ないかな。
gcc -c -I/usr/pkg/include -Demacs -DHAVE_CONFIG_H
-I. -I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src
-DMCPATH
-I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/mcpath/include
-O2 -g -I/usr/pkg/include alloc.c

alloc.c: In function 'init_intervals':
alloc.c:326:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_float':
alloc.c:452:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_cons':
alloc.c:525:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_symbol':
alloc.c:716:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'init_marker':
alloc.c:782:3: warning: incompatible implicit declaration of built-in function 'bzero'
alloc.c: In function 'make_string':
alloc.c:923:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'build_string':
alloc.c:931:28: warning: incompatible implicit declaration of built-in function 'strlen'
alloc.c: In function 'make_pure_string':
alloc.c:1049:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'Fgarbage_collect':
alloc.c:1269:3: warning: incompatible implicit declaration of built-in function 'bcopy'
alloc.c: In function 'compact_strings':
alloc.c:2076:3: warning: incompatible implicit declaration of built-in function 'bcopy'
この warning は消して、効果がなかった記憶がある
(alloc.c だけで) -Wall を付けると 109 行もお知らせが出る
消して見る価値はあるのかな。
modena@makoto 21:52:13/130424(..editors/mule)% (cd
work/mule/src/; gcc -c -I/usr/pkg/include -Demacs
-DHAVE_CONFIG_H -Wall
-I. -I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src
-DMCPATH
-I/export/cvs.netbsd.org/pkgsrc/editors/mule/work/mule/src/mcpath/include
-O2 -g -I/usr/pkg/include alloc.c) \
|& awk -F: '{print $4 $5 $6}' |sort | uniq -c

  38 
   7  warning "/*" within comment
   1  warning 'clear_marks' declared 'static' but never defined
   6  warning control reaches end of non-void function
  11  warning dereferencing type-punned pointer will break strict-aliasing rules
   1  warning implicit declaration of function 'bcopy'
   1  warning implicit declaration of function 'bzero'
   1  warning implicit declaration of function 'internal_with_output_to_temp_buffer'
   1  warning implicit declaration of function 'message1'
   1  warning implicit declaration of function 'message2'
   1  warning implicit declaration of function 'reinvoke_input_signal'
   1  warning implicit declaration of function 'sbrk'
   1  warning implicit declaration of function 'strlen'
   1  warning implicit declaration of function 'write_string'
   4  warning incompatible implicit declaration of built-in function 'bcopy'
   5  warning incompatible implicit declaration of built-in function 'bzero'
   1  warning incompatible implicit declaration of built-in function 'strlen'
   7  warning return type defaults to 'int'
   9  warning suggest parentheses around '-' inside '<<'
   9  warning suggest parentheses around '-' inside '>>'
   2  warning suggest parentheses around assignment used as truth value


2013年04月23日(火) 旧暦 [n年日記] [更新:"2013/04/24 21:56:01"]

#1 [pkgsrc] gettext-tools

modena@makoto 14:57:59/130423(..wp-content/languages)% msgfmt -c -o ja.mo ja.po 
msgfmt: ja.po: headerfield `Last-Translator' missing in header
msgfmt: ja.po: headerfield `Language-Team' missing in header
ja.po:98: keyword "msgctxt" unknown
ja.po:98:8: parse error
ja.po:103: keyword "msgctxt" unknown
ja.po:103:8: parse error
ja.po:108: keyword "msgctxt" unknown
ja.po:108:8: parse error
....
....
msgfmt: too many errors, aborting
modena@makoto 14:58:03/130423(..wp-content/languages)%
I did not installed gettext-tools (aside from built-in ones). Now I have 0.18.2.1 and sucessfull with following interaction:
modena@makoto 15:09:10/130423(..wp-content/languages)% msgfmt -c -o ja.mo ja.po
ja.po:4: header field 'Last-Translator' missing in header
ja.po:4: header field 'Language-Team' missing in header
ja.po:4: warning: header field 'Language' missing in header

#2 [pkgsrc] editors/mule

以前に Segmentation Fault する 話を書いていて、 どうも同じことを send-pr して下さった方がいらっしゃるようなので もう一度見ている。 不思議だが NetBSD/amd64 6.1_RC2 では lib-src/Makefile に \ がいくつも抜けているのか、 と思われる症状があって、とりあえず、NetBSD/i386 5.2 で試して見ている。
一応再現する
LOADING its/kata...
LOADING its/hankaku...
LOADING its/zenkaku...
Loading japanese...
Pure bytes used: 372380
Dumping under names emacs and emacs-19.28.1
./temacs -batch -l
  /export/CHROOT/usr/pkgsrc/editors/mule/work/mule/src/../lisp/mule-inst.el
  /export/CHROOT/usr/pkgsrc/editors/mule/work/mule/src/../lisp/quail/[a-zA-Z]*.el
Warning: arch-dependent data dir (/usr/pkg/lib/mule/19.28/i386--netbsd/) does not exist.
Loading /export/CHROOT/usr/pkgsrc/editors/mule/work/mule/src/../lisp/mule-inst.el...
./emacs -batch -l
.  /export/CHROOT/usr/pkgsrc/editors/mule/work/mule/src/../lisp/mule-diag.elc
.  -f dump-charset
gmake[1]: *** [../etc/charset] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/export/CHROOT/usr/pkgsrc/editors/mule/work/mule/src'
gmake: *** [src] Error 2
*** Error code 2
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.
#0  0xbb483167 in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbb483167 in kill () from /usr/lib/libc.so.12
#1  0x08083f7d in fatal_error_signal (sig=11) at emacs.c:225
#2  <signal handler called>
#3  0x080b5f8c in make_uninit_string (length=44) at alloc.c:943
#4  0x080b60c9 in make_string (contents=0xbf7ff175 
    "TIMEFMT=%U %S %*E %P %X+%Dk %I+%Oio %Fpf+%Ww", length=44) at alloc.c:922
#5  0x080b6110 in build_string (str=0xbf7ff175 
    "TIMEFMT=%U %S %*E %P %X+%Dk %I+%Oio %Fpf+%Ww") at alloc.c:931
#6  0x080da8ab in set_process_environment () at callproc.c:1229
#7  0x0808388b in main (argc=6, argv=0xbf7fdef4, envp=Cannot access memory at address 0x8
) at emacs.c:722
(gdb) 
mule/src/alloc.c:
    934 Lisp_Object
    935 make_uninit_string (length)
    936      Lisp_Object_Int length;
    937 { 
    938   register Lisp_Object val;
    939   register Lisp_Object_Int fullsize = STRING_FULLSIZE (length);
    940   
    941   if (length < 0) abort ();
    942   
    943   if (fullsize <= STRING_BLOCK_SIZE - current_string_block->pos)
    944     /* This string can fit in the current string block */
    945     {
以前の
patches/patch-src_alloc_c
がちょっと気になる。

PKG_OPTIONS.mule= -wnn4:

以前に、FreeWnn を変更したら、だめになったのでは、という話があったので、 一応
PKG_OPTIONS.mule= -wnn4
こうしても同じことになる。 断定出来るかどうかは不明ではあるが、関係ないと思う。


2013年04月22日(月) 旧暦 [n年日記] [更新:"2013/04/22 12:34:50"]

#1 [Printer] MicroLine 5300 ドラム寿命

印刷枚数:

総印刷枚数:
	14,524

トレイ1 印刷枚数:
	5,951

MPトレイ印刷枚数:
	3,243
シアン印刷枚数:	 4,684
マゼンタ印刷枚数:	 4,684
イエロー印刷枚数:       4,684
ブラック印刷枚数:	14,355

ベルトユニット:
	15,002 イメージ

定着器:
	14,513 プリント


2013年04月21日() 旧暦 [n年日記] [更新:"2013/04/24 21:58:08"]

#1 [pkgsrc] www/amaya 11.4.4

  • on i386, strange racing condition exists
  • on amd64, you will get segfault

on NetBSD/i386 (5.2, in this case):

  1. You need two terminal windows.
  2. Start the first instance, just amaya on the first terminal window
    (If you do nothing described below, you will wait forever to something happens).
  3. On second terminal windows, start the second instance. You will get the error as:
    pinapa@makoto 23:14:07/130421(~)% amaya
    23:14:49: Error: Another instance is running
    load: 0.41  cmd: amaya_bin 27780 [runnable] 6.05u 2.66s 34% 16268k
    
    You will soon get [runnable] with Control-T.
  4. In the second terminal, you will kill the second instance by Control-C.
  5. From the first terminal invocation, You will get [runnable] status by Control-T, and soon Amaya window will appear.
But having the message on the first terminal:
libpng error: png_start_read_image/png_read_update_info: duplicate call

on NetBSD/amd64 6.1_RC2:

#0  0x00007f7ff784c197 in glRenderMode () from /usr/pkg/lib/libGL.so.1
#1  0x000000000067b1f5 in SetMainWindowBackgroundColor(int, int) ()
#2  0x00000000005a87b6 in CreateBox(_AbstractBox*, int, bool, bool, int*, int) ()
#3  0x00000000005aa13d in ComputeUpdates(_AbstractBox*, int, bool*) ()
#4  0x00000000005ac0fa in IsAbstractBoxUpdated(_AbstractBox*, int, bool*) ()
#5  0x00000000005ad0ed in ChangeConcreteImage(int, int*, _AbstractBox*) ()
#6  0x00000000005ccb6b in RebuildImage(_DocumentDescr*) ()
#7  0x00000000005cddc2 in TtaSetDisplayMode(int, _DisplayMode) ()
#8  0x00000000004c8a0b in InitView(int, int, bool, bool, bool, int, int, int, DocumentType, int) ()
#9  0x00000000004ca2ac in InitDocAndView(int, bool, bool, char const*, DocumentType, int, bool, int, int, int) ()
#10 0x000000000047bd77 in NotFoundDoc(char*, int) ()
#11 0x00000000004cfc1e in CallbackDialogue(int, int, char*) ()
#12 0x00000000004cfebd in OpenNewDocFromArgv(char*) ()
#13 0x00000000004d297f in InitAmaya(NotifyEvent*) ()
#14 0x000000000061d1b3 in CallAction(NotifyEvent*, APPevent, bool, int, int*, _StructSchema*, bool) ()
#15 0x000000000061d287 in CallEventType(NotifyEvent*, bool) ()
#16 0x00000000006296e4 in TtaMainLoop() ()
#17 0x0000000000471e91 in amaya_main(int, char**) ()
#18 0x00000000005e067e in AmayaApp::OnIdle(wxIdleEvent&) ()
#19 0x00007f7ff3cd760a in
   wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase
   const&, wxEvtHandler*, wxEvent&) () from
   /usr/pkg/lib/libwx_baseu-2.8.so.0
#20 0x00007f7ff3cd771c in
   wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/pkg/lib/libwx_baseu-2.8.so.0
#21 0x00007f7ff3cd79d7 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#22 0x00007f7ff4e35987 in wxAppBase::ProcessIdle() () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#23 0x00007f7ff4dbc2b1 in wxApp::Yield(bool) () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#24 0x00007f7ff441e897 in wxSocketBase::_Wait(long, long, int) () from /usr/pkg/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit--- 
#25 0x00007f7ff441f015 in wxSocketBase::_Read(void*, unsigned int) () from /usr/pkg/lib/libwx_baseu_net-2.8.so.0
#26 0x00007f7ff441f320 in wxSocketBase::Read(void*, unsigned int) () from /usr/pkg/lib/libwx_baseu_net-2.8.so.0
#27 0x00007f7ff441dd7d in
    wxSocketInputStream::OnSysRead(void*, unsigned long) () from
    /usr/pkg/lib/libwx_baseu_net-2.8.so.0
#28 0x00007f7ff3ca7016 in wxInputStream::Read(void*, unsigned long) () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#29 0x00007f7ff3c71e57 in wxDataInputStream::Read8() () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#30 0x00007f7ff441d126 in
    wxTCPEventHandler::Server_OnRequest(wxSocketEvent&) () from
    /usr/pkg/lib/libwx_baseu_net-2.8.so.0
#31 0x00007f7ff3cd760a in
    wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase
    const&, wxEvtHandler*, wxEvent&) () from
    /usr/pkg/lib/libwx_baseu-2.8.so.0
#32 0x00007f7ff3cd771c in
    wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
    from /usr/pkg/lib/libwx_baseu-2.8.so.0
#33 0x00007f7ff3cd79d7 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#34 0x00007f7ff3cd757e in wxEvtHandler::ProcessPendingEvents() () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#35 0x00007f7ff3c63777 in wxAppConsole::ProcessPendingEvents() () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#36 0x00007f7ff4e3590e in wxAppBase::ProcessIdle() () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#37 0x00007f7ff4dbb8fa in wxapp_idle_callback () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#38 0x00007f7fe8c41c44 in g_main_context_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#39 0x00007f7fe8c41f1d in ?? () from /usr/pkg/lib/libglib-2.0.so.0
#40 0x00007f7fe8c42295 in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#41 0x00007f7fef12b854 in gtk_main () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#42 0x00007f7ff4dcdc0a in wxEventLoop::Run() () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#43 0x00007f7ff4e35759 in wxAppBase::MainLoop() () from /usr/pkg/lib/libwx_gtk2u_core-2.8.so.0
#44 0x00007f7ff3c8f258 in wxEntry(int&, wchar_t**) () from /usr/pkg/lib/libwx_baseu-2.8.so.0
#45 0x00000000005e0705 in main ()
#0 0x00007f7ff784c197 in glRenderMode () from /usr/pkg/lib/libGL.so.1 comes from MesaLib-7.4.4


2013年04月14日() 旧暦 [n年日記] [更新:"2013/04/21 21:27:18"]

#1 [無線] JIDX 2013 CW half time

例によって 7MHz Single band 一日目
modena@makoto 06:54:15/130414(..contest/2013-jidx)% 
perl ~/perl/ham-radio/cabrillo2-time-table -c -2 -s 07 -e 22 2013-jidx-cw.LOG
2013-04-13
   7  07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
   AS     3  2  4  3 11  9  2     6  6  2  3            51
   EU                 1  2  3    52 61 58 53 11  7     248
   NA    18 18 29 17 11 11  4                          108
   OC     1  2  1  1  1  1  1           1                9
   SA     3  2  1                                        6
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  sub    25 24 35 21 24 23 10    58 67 61 56 11  7     422

                                                     
 accm  0  0  0  0  1  1  1  1  1  2  2  3  4  4  4  4
       0  2  4  8  0  2  5  6  6  2  8  4  0  1  2  2
       0  5  9  4  5  9  2  2  2  0  7  8  4  5  2  2
以前の日記 (JIDX CW) 結果の頁 2010 2011 2012
YeardayQSOPTSEntZnScoreQSOPtsEntZnScoreRemarks
20101










20102350
5929





JA #2 (7L) JA6SHL
20111










20112338
532325,668




JA #2 (7L) JA6SHL
20121










201222752704622
264264452129,580JA #1
20131415
5523






20132












2013年04月12日(金) 旧暦 [n年日記] [更新:"2013/04/21 21:29:45"]

#1 [NetBSD][macppc] network boot

画面でやっているのではなかなか面倒なので、別の機械を取出した。
command + opt + P + R
command + opt + O + F
setenv auto-boot? false
setenv output-device ttya
setenv input-device ttya
reset-all
dev enet
.properties
...
local-mac-address       0003933e xxyy
...
0 > boot enet:0,ofwboot.elf 
CLIENT: 0003933ea378 192.168.1.56
SERVER: 00163e000400 192.168.1.198 
Transfer FILE: ofwboot.elf \
TFTP-actual=d760 TFTP-adler32=889d0493 load-size=d760 adler32=889d0493 

Loading ELF

>> NetBSD/macppc OpenFirmware Boot, Revision 1.6
>> (root@bologna, Wed Nov 12 10:12:45 JST 2008)
CLIENT: 0003933ea378 192.168.1.56
SERVER: 00163e000400 192.168.1.198 Using IP address: 192.168.1.56
root addr=192.168.1.198 path=/export/tftpboot/macppc
8036120+175536 [369984+360226]=0x887598
 start=0x100000
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:       lwz     r0, 0x14
(r1)
0x0098bea0: at ofwoea_initppc+0x2f4
0x0098bf00: at initppc+0xc
0x0098bf10: at 0x10009c
db> 
0 > boot enet:0,ofwboot.elf enet:0/netbsd
起動時は 57600、sysinst 時は 38400 になります。
     Status: Running
    Command: /sbin/newfs -V2 -O 1 -b 16384 -f 2048 /dev/rwd0e

--------------------------------------------------------------------------------
/dev/rwd0e: 30000.3MB (61440624 sectors) block size 16384, fragment size 2048
using 163 cylinder groups of 184.06MB, 11780 blks, 23296 inodes.
...
ここで止る気がするのですが、多分気の所為です。.. disk の故障のようです。

#2 [NetBSD][macppc] もう一度 mini の方で

boot enet:0,ofwboot.elf hd:0/netbsd
No ADB support preset, assuming USB keyboard
Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x10:  lwz r0,0x14
(r1)
0x0098bea0: at ofwoeq_initppc+0x2f4
0x0098bf00: at initppc+0xc
0x0098bf10: at 0x10009c
db> exit
...
...
uc> quit
...
Enter pathname of shell or RETURN for /bin/sh: (Return)

We recommend that you create a non-root account and use su(1) for root access.
# mount -a
# exit
こんなことをやっていたら動きましたよ。


2013年04月11日(木) 旧暦 [n年日記] [更新:"2013/04/21 21:49:35"]

#1 [NetBSD][macppc] NetBSD/macppc network boot

僕は Network Boot を大変重宝して使っている。もし新規に機械を買う時には、 Netboot 出来ない機械は選ばないようにしている。 i386 や amd64 では、何げなく使えている。
さて、最近故あって、NetBSD/macppc 復縁を迫っている。きのうは 以前に使っていた TsubaiBSD の 4.99.25 が入っている(はず)の Mac mini (PowerPC G4) を何とかしようとした。これ自体は、disk が時々変になることを除けば、 一応動いている機械ではある。 しかし、これで最近の pkgsrc を package しようとしても、多分役立たないので、 新しいものに入替えようとした。 i386 や amd64 と同様に network boot の環境を用意して見る。
  1. ofwboot.elf を tftp で読める
  2. netbsd-INSTALL.gz を NFS で読める
ような設定を dhcpd.conf に用意する。設定内容としては、次のようになる。
host  ml-mini {
       hardware ethernet 00:14:51:0d:da:20;
       fixed-address 192.168.1.56;
       next-server 192.168.1.198;
       filename "macppc/ofwboot.elf";
       option root-path "/export/tftpboot/macppc";
}
dhcp サーバと、tftp/nfs サーバは、都合上 別の機械 になっているが、それは特に意味はない。 Mac mini に電源を入れ、cmd + option + O + F を押していると boot の入力待になる。 ここで
boot enet:0,ofwboot.elf enet:0/netbsd
と入力すると、無事 netboot する。 さて、実は ofwboot.elf の版と、カーネルの選択で、動いたり動かなかったりする(と思う) そもそも ofwboot.elf 1.12 では netboot がうまく動かないが、1.6 では動く、という気がする。 ofwboot.elf 1.6 の場合:
kernelresultreference
netbsd-GENERIC_MD.gz×1
netbsd-INSTALL.gz2
netbsd-GENERIC×
result for above 1:
NetBSD 6.1_RC (GENERIC_MD)
total memory = 1024 MB
oea_startup: failed to allocatte DEAD ZONE: error=12
avail memory = 981 MB
userconf: configure system autoconfiguration:
uc> boot netbsd
Unknown command, try help
uc> help
command	   args		description
base       8|10|16	base on  large numbers
...
results for above 2: dmesg with ofwboot.elf (1.6) + netbsd-INSTALL.gz (6.1_RC2)

sysinst completed::

それで、何と、ofwboot 1.6 と、netbsd-INSTALL.gz (6.1_RC2) の組合せで sysinst を無事完了した。 が、次の段階にまだ進めていない。ofwboot.elf 1.6 では、 新しいカーネルを起動出来ないようである。
disklabel /dev/wd0a
# /dev/wd0a:
type: unknown
disk: IC25N060ATMR04-
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 116280
total sectors: 117210240
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 116947152         0     4.2BSD   2048 16384     0  # (Cyl.      0 - 116018)
 b:    263088 116947152       swap                     # (Cyl. 116019 - 116279)
 c: 117210240         0     unused      0     0        # (Cyl.      0 - 116279)
pdisk /dev/wd0a
Command (? for help): 
Partition map (with 512 byte blocks) on '/dev/wd0a'
 #:                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=116947168 (55.8G)
DeviceType=0x0, DeviceId=0x0

Command (? for help): Q
しかし、この install 済の kernel からは、まだ起動出来ていない。


2013年04月09日(火) 旧暦 [n年日記] [更新:"2013/04/21 21:38:30"]

#1 [pkgsrc] wip/tc-git

ERROR: The following files are in the PLIST but not in 
      /export/CHROOT/usr/pkgsrc/wip/tc-git/work/.destdir/usr/pkg:
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-image.elc
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-is18.elc
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-is19.elc
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-is20.elc
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-mkmzdic.elc
ERROR: ... ... work/.destdir/usr/pkg/share/emacs/site-lisp/tc-2.99.2/tc-pre.elc
*** Error code 1
これは良い知らせか、それとも悪い知らせか。 以前に automake との関連で こういう話題 があった気がする。 バイトコンパイルするかどうかだから、なくても動く訳だけれども。
modena@makoto 09:49:33/130409(..wip/tc-git)% cat -n ./work/tc/lisp/Makefile.am
     1  #
     2  # Makefile for Lisp sources of tc
     3  #
     4  SHELL = /bin/sh
     5
     6  PREFILE = tc-pre.el
     7
     8  COMMON_EL_FILES = tc-setup.el tc.el tc-help.el tc-complete.el tc-jiscode.el \
     9          tc-bushu.el tc-mazegaki.el tc-util.el tc-tbl.el tutc-tbl.el eelll.el \
    10          tc-inst.el tc-stat.el tc-ja-alnum.el \
    11          try-tbl.el try-etbl.el ttc-tbl.el ttc-rtbl.el ttc-ltbl.el
    12
    13  lisp_LISP =              $(COMMON_EL_FILES) tc-is18.el tc-is19.el tc-is20.el tc-is22.el \
    14          tc-image.el tc-mkmzdic.el $(PREFILE)
    15  lisp_DATA = tc-bitmap.el tc-sysdep.el
    16  ELCFILES = compile.log
    17  noinst_LISP = make-elc guess tc-pre-base
    18
    19  EXTRA_DIST = $(lisp_LISP) $(noinst_LISP) add-site-info
    20
    21  $(PREFILE): tc-pre-base
    22          $(SHELL) add-site-info tc-pre-base $(PREFILE) \
    23            "@datadir@/@PACKAGE@/"
    24
    25  compile.log: $(PREFILE)
    26          $(SHELL) add-site-info tc-pre-base $(PREFILE) \
    27            "@datadir@/@PACKAGE@/"
    28          $(EMACS) -q -no-site-file -batch -l $(srcdir)/make-elc \
    29            $(COMMON_EL_FILES) $(EL_FILES) 2> compile.log
    30
    31  clean-generic:
    32          rm -f *.elc $(PREFILE)
13 lisp_LISP = $(COMMON_EL_FILES) tc-is18.el tc-is19.el tc-is20.el tc-is22.el \ にあるものは、byte-compile するべきものだけれど、上には、明示的には、そのことは書いてない。


2013年04月01日(月) 旧暦 [n年日記] [更新:"2014/05/22 00:07:38"]

#1 [pkgsrc][cygwin] To start sshd on Cygwin (on Windows 7)

  1. /etc/sshd_config がないと言われる → /usr/bin/host-config /usr/bin/ssh-host-config を使う (?)
  2. sshd userid がないと言われる
    Privilege separation user sshd does not exist
    
  3. host key がないと言われる → /usr/bin/ssh-keygen.exe を使う



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