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

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

2013年08月31日() 旧暦 [n年日記] [更新:"2013/09/01 17:43:36"]

#1 gdb

僕は実はいつも emacs は gdb から起動している、というのも、 たびたび segmentation fault するからである
で、たまたま見たら、画面が次のようになっている。

これはいったい、どうやって表示されたものなのだろう。bt すると:



2013年08月30日(金) 旧暦 [n年日記] [更新:"2013/08/30 20:33:49"]

#1 [assembler] argument of .align

In the assembly language, we have .align directive.
.align 2
This will advance PC location counter to some boundary.
The problem is: the semantics of argument. Some assemblers take this value as number of bytes, and implying the number must be a power of 2. Say,
.align 5
is invalid syntax. 5 is not the power of 2. The other assembler may take the number of bits. If is n, it aligns to 2^n.

Assembler for PReP interprets bits of power of 2.:

.align 2 
will align to 'x xx00' in bit representation. So if we wants to be 'x 0000',
.align 4
is what we need.

Assember of ofppc interprets bytes of power of 2.:

.align 2 
will align 'x 0000', meaning 2^2 bytes.

Do you believe that ?:

I don't believe above explanation, but my observation of port-prep follows above rule.

the patch makes PReP to work, ofppc to invalid syntax.:



2013年08月18日() 旧暦 [n年日記] [更新:"2013/08/19 14:23:46"]

#1 [無線] 2013 KCJ コンテスト 7MHz (CW)

Claime Score:  18,790
QSO Pts Multi
311  395    48

以前の日記 2010 2011 2012
寝た時間や無線以外の時間
土曜日 17:00-18:30 寝
日曜日 00:30-05:00 寝
       05:00-06:00 草取
       06:00-07:00 食事と洗濯
       12:30-13:30 昼食
この他、こまかく寝ていた。
時間別・都府県、支庁別交信数 2010 2011 2012 2013

2010201120122013
総交信数292314301314( 除 Dup)
内番号無12333(コンテスト非参加局)
純交信数280311298311
内(有効)外国局2413921(一局につき + 4 点)
粗得点376357334395
実得点280311281-
(減点分)- 96- 46- 53-
マルチ52494748
実マルチ494646-
粗総得点19,99217,49315,69818,790
実総得点12,78912,97212,926-
設備 Equipment
Transceiver: TS-590
Amp: Alpha 87a (Output 200W)
Antenna: Nagara NA-440 (3EL) @ 35mH, 逆 Vee 10mH
Keying: Winkey USB by K1EL
N1MM Logger (with UserDefinedContests) + AB -> OH fix
出来なかった県 (-5) = 41
AM 青森

YG 山口
KG 鹿児島
KM 熊本
ON 沖縄
出来た北海道支庁 (+5) HY IS KR OM TC
出来た海外 (+2) AS NA

アンプの Fault:

とある局との競争の関係で出力を 200W に設定した。 TS-590 だけでは 90-100W なので、アンプを使った。
出力をしぼって使ったのが良くなかったのか最後の方に Fault になり、 18:00 頃には一度 STBY してから OPR しても、すぐには戻らなくなった。 アンプの後の方が、かなり暖かいので、これは良くないかな、と、最後の 3 時間は TS-590 だけで運用した。出力表示は 70W から 90W くらい。

雑音:

主として西方向用の逆 Vee 10mH と、北向固定の 20mH 3EL を切替えて使った。 西からの信号は逆 Vee の方が強く受信出来る。しかし、ある西方向のよわい局の時に 切替えたら、八木の方が信号がはっきりと受信出来る。信号強度も下るが、雑音が S = 9 から S = 3 くらいに下る。 雑音が西方向から来ているらしいとは思うが、(西向には) 送信時には逆 Vee の方が良いはず。
もう少し調べる必要があると思う

Condex:

午後 2-3 時頃、全体に相手の信号がよわくなる時間があった。 一体これは何と呼ぶ状態なのだろう ?


2013年08月16日(金) 旧暦 [n年日記] [更新:"2013/08/19 21:11:33"]

#1 [emacs] emacs-24.3 core dumps on NetBSD/amd64 6.99.22

livorno@makoto 10:18:54/130816(..editors/emacs24)% gdb work/emacs-24.3/src/emacs
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/CHROOT/usr/pkgsrc/editors/emacs24/work/emacs-24.3/src/emacs...
      (no debugging symbols found)...done.
(gdb) run /export/CHROOT/usr/pkgsrc/doc/guide/files/options.xml
Starting program: /export/CHROOT/usr/pkgsrc/editors/emacs24/work/emacs-24.3/src/emacs 
       /export/CHROOT/usr/pkgsrc/doc/guide/files/options.xml

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7febcfc134 in strncmp () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7febcfc134 in strncmp () from /usr/lib/libc.so.12
#1  0x00007f7febcb311e in __getenvslot () from /usr/lib/libc.so.12
#2  0x00007f7febcb3272 in __findenvvar () from /usr/lib/libc.so.12
#3  0x00007f7febcb2d10 in getenv () from /usr/lib/libc.so.12
#4  0x00007f7fefc03ba8 in dcngettext () from /usr/lib/libintl.so.1
#5  0x00007f7ff003fd14 in g_dpgettext2 () from /usr/pkg/lib/libglib-2.0.so.0
#6  0x00007f7ff59bee30 in gtk_stock_lookup () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#7  0x00000000004c6fa3 in update_frame_tool_bar ()
#8  0x0000000000454072 in redisplay_window ()
#9  0x000000000045699a in redisplay_window_1 ()
#10 0x000000000053b53e in internal_condition_case_1 ()
#11 0x0000000000443a9b in redisplay_internal ()
#12 0x00000000004da940 in read_char ()
#13 0x0000000000559570 in read_filtered_event ()
#14 0x000000000053cd9f in Ffuncall ()
#15 0x000000000056fb44 in exec_byte_code ()
#16 0x000000000053cc12 in Ffuncall ()
#17 0x000000000053c4c8 in eval_sub ()
#18 0x000000000053c691 in Fprogn ()
#19 0x00000000004d3b37 in Ftrack_mouse ()
#20 0x000000000053c4fd in eval_sub ()
#21 0x000000000053e1ae in Feval ()
#22 0x000000000053cdb2 in Ffuncall ()
#23 0x000000000056fb44 in exec_byte_code ()
#24 0x000000000053cc12 in Ffuncall ()
#25 0x000000000056fb44 in exec_byte_code ()
#26 0x000000000053cc12 in Ffuncall ()
#27 0x0000000000539fc0 in Fcall_interactively ()
#28 0x000000000053cd9f in Ffuncall ()
#29 0x000000000053cfd2 in call3 ()
#30 0x00000000004ded0f in command_loop_1 ()
#31 0x000000000053b3ef in internal_condition_case ()
#32 0x00000000004d3949 in command_loop_2 ()
#33 0x000000000053b2be in internal_catch ()
#34 0x00000000004d46cc in recursive_edit_1 ()
#35 0x00000000004d4990 in Frecursive_edit ()
#36 0x00000000004d034f in main ()
(gdb) 
Re: emacs24 core dump on some files (only with gtk option)
Suspicious is on gtk2+-2.24.17nb5
or on following part: of emacs-24.3/src/gtkutil.c
   4594 /* Update the tool bar for frame F.  Add new buttons and remove old.  */
   4595 
   4596 void
   4597 update_frame_tool_bar (FRAME_PTR f)
   4598 {
   4599   int i, j;
   4600   struct x_output *x = f->output_data.x;
   4601   int hmargin = 0, vmargin = 0;
   4602   GtkToolbar *wtoolbar;
   4603   GtkToolItem *ti;
   4604   GtkTextDirection dir;
   4605   bool pack_tool_bar = x->handlebox_widget == NULL;
   4606   Lisp_Object style;
   4607   bool text_image, horiz;
   4608   struct xg_frame_tb_info *tbinfo;
   4609 

   4669   for (i = j = 0; i < f->n_tool_bar_items; ++i)
   4670     {
   4671       bool enabled_p = !NILP (PROP (TOOL_BAR_ITEM_ENABLED_P));
   4672       bool selected_p = !NILP (PROP (TOOL_BAR_ITEM_SELECTED_P));
   4673       int idx;
   4674       ptrdiff_t img_id;
   4675       int icon_size = 0;
   4676       struct image *img = NULL;
   4677       Lisp_Object image;
   4678       Lisp_Object stock = Qnil;
   4679       GtkStockItem stock_item;
   4680       char *stock_name = NULL;

   4729       specified_file = file_for_image (image);
   4730       if (!NILP (specified_file) && !NILP (Ffboundp (Qx_gtk_map_stock)))
  4731         stock = call1 (Qx_gtk_map_stock, specified_file);
   4732
   4733       if (STRINGP (stock))
   4734         {
   4735           stock_name = SSDATA (stock);
   4736           if (stock_name[0] == 'n' && stock_name[1] == ':')
   4737             {
   4738               GdkScreen *screen = gtk_widget_get_screen (GTK_WIDGET (wtoolbar));
   4739               GtkIconTheme *icon_theme = gtk_icon_theme_get_for_screen (screen);
   4740
   4741               icon_name = stock_name + 2;
   4742               stock_name = NULL;
   4743               stock = Qnil;
   4744
   4745               if (! gtk_icon_theme_has_icon (icon_theme, icon_name))
   4746                 icon_name = NULL;
   4747               else
   4748                 icon_size = gtk_toolbar_get_icon_size (wtoolbar);
   4749             }
   4750           else if (gtk_stock_lookup (SSDATA (stock), &stock_item))
   4751             icon_size = gtk_toolbar_get_icon_size (wtoolbar);
   4752           else
   4753             {
   4754               stock = Qnil;
   4755               stock_name = NULL;
   4756             }
   4757         }
emacs core dump: getenv problem?


2013年08月13日(火) 旧暦 [n年日記] [更新:"2013/08/23 14:34:39"]

#1 [無題] 墓参

四人にて
06:35 出発
07:40 八街発
      小堤
          (松尾横芝 → 高田)
      平和公園  1
      平和公園  2  (どくだみ多し)
          (平山すいか 高さ 28cm  1,500 円)
      千葉寺
11:40 帰着
  • 松尾横芝 → 山武成東 のあたりで 220km(外) のような表示が次第に増えて 行くということは、後に 220km の道があるということ ? (つながっているのかな)
  • 高田を出て右に行くべきところ、左に行ってしまった

#2 [無線] ARRL DX contest 2013 results (40m JA)

JA 40m CW
Claimed score 94,848 = 608 x 3 x 52 ← 2013/02/18 その時の日記
_ _ Final score 91,260 = 596 x 3 x 52
12/608 = - 2 %
JA 40m PHONE
Claimed score 34,164 = 292 x 3 x 39 ← 2013/03/02 その時の日記
_ _ Final Score 33,462 = 298 x 3 x 39
6/298 = -2 %

other results of JA:



2013年08月10日() 旧暦 [n年日記] [更新:"2013/08/10 16:58:17"]

#1 [pkgsrc] avr-gdb

<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file ~/avr/simulavr/simple.elf 
Reading symbols from /amd/u/u/home/makoto/avr/simulavr/simple.elf...
I'm sorry, Dave, I can't do that.  Symbol format `elf32-avr' unknown.
(gdb) 
これは、今読む file の flavour が bfd_target_elf_flavour なのに、
bfd_target_aout_flavour
bfd_target_coff_flavour
bfd_target_ecoff_flavour
しか受付けないようになっているからです。 で、どうして、それしか登録されていないかというと、 add_symtab_fns (sf=0x692ec0) at symfile.c:1875 が次のように呼ばれていて、
(gdb) bt
#0  0x00007f7ff68ecfba in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff68ec8f2 in abort () from /usr/lib/libc.so.12
#2  0x000000000049e64d in add_symtab_fns (sf=0x692ec0) at symfile.c:1875
#3  0x00000000004fa736 in _initialize_dbxread () at dbxread.c:3627
#4  0x000000000059783a in initialize_all_files () at init.c:188
#5  0x000000000056d75a in gdb_init (argv0=0x7f7ff7b06100 "work/gdb-7.6/gdb/gdb") at top.c:1726
#6  0x00000000004c4057 in captured_main (data=<optimized out>) at main.c:740
#7  0x00000000004c279b in catch_errors (func=0x4c3a78 <captured_main>, func_args=0x7f7fffffdac0, 
    errstring=0x6281a7 "", mask=6) at exceptions.c:546
#8  0x00000000004c4b05 in gdb_main (args=<optimized out>) at main.c:1050
#9  0x000000000040516a in main (argc=<optimized out>, argv=<optimized out>) at gdb.c:34
(gdb) 
この時に、上の三つしか加えていないからです。
amd64 native の init.c と比較して見ると、 _initialize_elfread (); が入っていません。
modena@makoto 16:56:52/130810(..wip/gdb)% 
diff -u  work/gdb-7.6/gdb/init.c ../avr-gdb/work/gdb-7.6/gdb/init.c |grep elfread      
-extern initialize_file_ftype _initialize_elfread;
-  _initialize_elfread ();


2013年08月09日(金) 旧暦 [n年日記] [更新:"2013/08/19 21:12:16"]

#1 [pkgsrc] avr-gdb says -> Symbol format `elf32-avr' unknown.

modena@makoto 10:20:38/130809(..cross/avr-gdb)% (cd ~/avr/simulavr/; avr-gdb)
GNU gdb (GDB) 7.6
Copyright (C) 2013 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 "--host=x86_64--netbsd --target=avr".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file simple.elf
Reading symbols from /amd/u/u/home/makoto/avr/simulavr/simple.elf
    ...I'm sorry, Dave, I can't do that.  Symbol format `elf32-avr' unknown.
(gdb)
この場所はすぐに分るが、どこから呼出されているか分らないので、 この場所に abort(); を入れて core dump させ、gdb で見てみた。
(gdb) file ~/avr/simulavr/simple.elf
Reading symbols from /amd/u/u/home/makoto/avr/simulavr/simple.elf...
find_sym_fns: symfile.c:1869
zsh: abort (core dumped)  ./work/gdb-7.6/gdb/gdb
modena@makoto 18:14:55/130809(..cross/avr-gdb)% 
modena@makoto 18:15:00/130809(..cross/avr-gdb)% gdb ./work/gdb-7.6/gdb/gdb gdb.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/CHROOT/usr/pkgsrc/cross/avr-gdb/work/gdb-7.6/gdb/gdb
    ...(no debugging symbols found)...done.
[New process 1]
Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff68ecfba in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff68ecfba in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff68ec8f2 in abort () from /usr/lib/libc.so.12
#2  0x000000000049d030 in find_sym_fns.clone.1 ()
#3  0x000000000049f4d5 in syms_from_objfile ()
#4  0x000000000049f910 in symbol_file_add_with_addrs_or_offsets.clone.7 ()
#5  0x00000000004a0316 in symbol_file_add ()
#6  0x00000000004a0665 in symbol_file_add_main_1 ()
#7  0x00000000004a070b in symbol_file_command ()
#8  0x00000000004eda2b in file_command ()
#9  0x000000000056be99 in execute_command ()
#10 0x00000000004c9474 in command_handler ()
#11 0x00000000004c9e20 in command_line_handler ()
#12 0x00000000005aa1c1 in rl_callback_read_char ()
#13 0x00000000004c94c4 in rl_callback_read_char_wrapper ()
#14 0x00000000004c88c8 in process_event ()
#15 0x00000000004c8d37 in gdb_do_one_event ()
#16 0x00000000004c8d87 in start_event_loop ()
#17 0x00000000004c306b in captured_command_loop ()
#18 0x00000000004c1e6b in catch_errors ()
#19 0x00000000004c3e95 in captured_main ()
#20 0x00000000004c1e6b in catch_errors ()
#21 0x00000000004c41d5 in gdb_main ()
#22 0x000000000040516a in main ()
(gdb) 
と思ったが、実はこの前の loop が知りたかった。


2013年08月08日(木) 旧暦 [n年日記] [更新:"2013/08/09 00:06:10"]

#1 [gdb] avr-gdb core dumps

modena@makoto 18:37:32/130808(..avr/simulavr)% 
gdb /export/CHROOT/usr/pkgsrc/cross/avr-gdb/work/gdb-7.6/gdb/gdb avr-gdb.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/CHROOT/usr/pkgsrc/cross/avr-gdb/work/gdb-7.6/gdb/gdb...
   (no debugging symbols found)...done.

warning: exec file is newer than core file.
[New process 1]
Core was generated by `avr-gdb'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004ef64b in qsort_cmp ()
(gdb) bt
#0  0x00000000004ef64b in qsort_cmp ()
#1  0x00007f7ff68cba13 in qsort () from /usr/lib/libc.so.12
#2  0x00000000004f05ea in find_pc_section ()
#3  0x00000000004f3095 in lookup_minimal_symbol_by_pc_section ()
#4  0x00000000004962ab in find_pc_sect_symtab ()
#5  0x000000000049315d in blockvector_for_pc_sect ()
#6  0x0000000000493260 in block_for_pc_sect ()
#7  0x0000000000577d9f in skip_inline_frames ()
#8  0x00000000004b323c in handle_inferior_event ()
#9  0x00000000004b6e8c in wait_for_inferior ()
#10 0x00000000004b6ff4 in start_remote ()
#11 0x0000000000415b6c in remote_start_remote ()
#12 0x00000000004161db in remote_open_1 ()
#13 0x000000000056be79 in execute_command ()
#14 0x00000000004c9454 in command_handler ()
#15 0x00000000004c9e00 in command_line_handler ()
#16 0x00000000005aa1a1 in rl_callback_read_char ()
#17 0x00000000004c94a4 in rl_callback_read_char_wrapper ()
#18 0x00000000004c88a8 in process_event ()
#19 0x00000000004c8d17 in gdb_do_one_event ()
#20 0x00000000004c8d67 in start_event_loop ()
#21 0x00000000004c304b in captured_command_loop ()
#22 0x00000000004c1e4b in catch_errors ()
#23 0x00000000004c3e75 in captured_main ()
#24 0x00000000004c1e4b in catch_errors ()
#25 0x00000000004c41b5 in gdb_main ()
#26 0x000000000040516a in main ()
(gdb) 

#2 若草源氏物語



2013年08月03日() 旧暦 [n年日記] [更新:"2013/08/03 10:34:53"]

#1 [Network] mount_nfs: rpcbind to nfs on server: RPC: Port mapper failure - RPC: Timed out

きょうは、これが解決出来ない
mount_nfs: rpcbind to nfs on server: RPC: Port mapper failure - RPC: Timed out
rpcbind
nfsd
mountd
は動いている。/etc/exports には設定してある。



最近の日記
2020年01月13日
Hellow world on R
2020年01月05日
Certificate renewed.
2019年12月31日
graphics/adapta-gtk-theme-3.95.0.11nb2
2019年12月17日
gnuradio-doxygen
2019年12月14日
graphics/adapta-gtk-theme
以上、9 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)