|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||
2013年09月24日(火) 旧暦 [n年日記] [更新:"2013/09/24 10:51:46"]#1 [NetBSD] NetBSD 5.2 on T105 (ACPI an SMP)
次のものは動く、その一日前のものは動かない。
m08@makoto 10:09:00/130924(/export/src-2010)% cat CVS/Tag D2011.03.01.21.00.00この日と、前日との差分 m08@makoto 10:21:21/130924(/export/src-2010)% grep 'RCS file' /home/makoto/diff-acpi-diff RCS file: /cvs/cvsroot/src/sys/arch/x86/acpi/acpi_cpu_md.c,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi_cpu.c,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi_cpu.h,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi_cpu_cstate.c,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi_cpu_pstate.c,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi_cpu_tstate.c,vを 5.2 に当てようとしたが、5.2 から譜が増えていて、それらの差分なので、 当たらない。 この増えている譜が加えられたのはいつか、と調べたら、 2010-07-18 09:39 付近の commit 0 1 2 3 だったので、その 09:20 から 09:40 の sys 全体の差分を調べたら、 次のようなものだった。 m08@makoto 10:06:06/130924(..src-current/sys)% grep 'RCS file' ~/diff/sys-20100718-1820-20100718-1840 RCS file: /cvs/cvsroot/src/sys/arch/amd64/conf/GENERIC,v RCS file: /cvs/cvsroot/src/sys/arch/i386/conf/GENERIC,v RCS file: arch/x86/acpi/acpi_cpu_md.c RCS file: /cvs/cvsroot/src/sys/arch/x86/conf/files.x86,v RCS file: /cvs/cvsroot/src/sys/arch/x86/include/machdep.h,v RCS file: /cvs/cvsroot/src/sys/arch/x86/x86/x86_machdep.c,v RCS file: /cvs/cvsroot/src/sys/dev/acpi/acpi.c,v RCS file: dev/acpi/acpi_cpu.c RCS file: dev/acpi/acpi_cpu.h RCS file: dev/acpi/acpi_cpu_cstate.c RCS file: /cvs/cvsroot/src/sys/dev/acpi/files.acpi,v RCS file: modules/acpicpu/Makefileこれらのうち、 新規のもの は D2011.03.01.21.00.00 の時点のものを追加して、変更されたものは、その差分を当てる、 ということを考えて見た 良く見ると、 上の差分一覧にあって 下の 07/18 の commit にはないものがある。 acpi_cpu_pstate.c acpi_cpu_tstate.c cvs -Q diff \ --ignore-matching-lines='\$NetBSD: ' \ -D '2010-07-18 18:20' -D '2010-07-18 18:40' \ sys/arch/amd64/conf/GENERIC \ sys/arch/i386/conf/GENERIC \ sys/arch/x86/conf/files.x86 \ sys/arch/x86/include/machdep.h \ sys/arch/x86/x86/x86_machdep.c \ sys/dev/acpi/acpi.c \ sys/dev/acpi/files.acpi \これも新規だった sys/arch/x86/include/machdep.h ( つっこみ )
2013年09月22日(日) 旧暦 [n年日記] [更新:"2013/09/22 16:45:19"]#1 [NetBSD] NetBSD/i386 5.2 (INSTALL_FLOPPY) hung
dmesg
... viaide0 at pci0 dev 7 function 0 viaide0: NVIDIA nForce4 Serial ATA Controller (rev. 0xf3) viaide0: using ioapic0 pin 11 for native-PCI interrupt atabus0 at viaide0 channel 0 atabus1 at viaide0 channel 1 viaide1 at pci0 dev 8 function 0 viaide1: NVIDIA nForce4 Serial ATA Controller (rev. 0xf3) pci_intr_map: bus 0 dev 8 func 0 pin 1; line 10 pci_intr_map: no MP mapping foundHung after above message is shown. amd64 6.99.19 viaide0 at pci0 dev 7 function 0: NVIDIA nForce4 Serial ATA Controller (rev. 0xf3) viaide0: bus-master DMA support present viaide0: primary channel wired to native-PCI mode LTID: Picked IRQ 22 with weight 0 viaide0: using ioapic0 pin 22 for native-PCI interrupt atabus0 at viaide0 channel 0 viaide0: secondary channel wired to native-PCI mode atabus1 at viaide0 channel 1 viaide1 at pci0 dev 8 function 0: NVIDIA nForce4 Serial ATA Controller (rev. 0xf3) viaide1: bus-master DMA support present viaide1: primary channel wired to native-PCI mode LSI1: Picked IRQ 23 with weight 0 viaide1: using ioapic0 pin 23 for native-PCI interrupt atabus2 at viaide1 channel 0 viaide1: secondary channel wired to native-PCI mode atabus3 at viaide1 channel 1Having panic(" .."); after the line, and bt in ddb, the calling sequence to pci_intr_map is as follows. main -> cpu_configure -> config_rootfound -> config_attach -> config_attach_loc -> mainbus_attach -> config_found_ia -> config_attach_loc -> pciattach -> pcirescan -> pci_enumerate_bus -> pci_probe_device -> config_attach_loc -> viaide_attach -> pciide_common_attach -> via_sata_chip_map -> pciide_mapchan -> pciide_mapregs_native -> pci_intr_mapcurrent-users (2010/08/03) says, Disabling ACPI and SMP "boot netbsd -12" can boot my system.current-users (2010/09/08) YES, 'boot netbsd -12' boots fine ( つっこみ )
2013年09月18日(水) 旧暦 [n年日記] [更新:"2013/09/19 11:27:16"]#1 [pkgsrc] modular-xorg-server 1.12.4
実は modular-xorg-server 1.12.4 はまだ一度も動かしたことがなかった。
Let's note CF-R4 に NetBSD/i386 6.1.1 を入れて、 self で pbulk で自分用の binary package を用意した後に、この X11 を動かそう とした。 記憶が合っていれば、(root で) X -configure して /root/xorg.confg.new を作って、 それを /etc/X11/xorg.conf に写し、intel を vesa に変更したら、動くようになった と思う。 でも、まだ radeon の方は動くようになっていない。 [ 3722.040] (--) PCI: (5:16:0:0) 102b:0522:103c:31fa rev 2, Mem @ 0xbf000000/16777216, 0xfddfc000/16384, 0xfd000000/8388608, BIOS @ 0x????????/65536 [ 3722.040] (--) PCI: (7:18:0:0) 1002:7143:1787:3000 rev 0, Mem @ 0xc0000000/268435456, 0xfdff0000/65536, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072 [ 3722.040] (--) PCI: (7:18:0:1) 1002:7163:1787:3001 rev 0, Mem @ 0xfdfe0000/655362013/06/12 の日記 にも似たようなことを書いていた。 ( つっこみ )
2013年09月16日(月) 旧暦 [n年日記] [更新:"2013/09/19 10:33:59"]#1 [pkgsrc] compiling x11/xf86-video-vgaIn file included from generic.c:49:0: /usr/pkgsrc/x11/xf86-video-vga/work/.buildlink/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." generic.c:66:21: fatal error: xf86RAC.h: No such file or directory compilation terminated. *** Error code 1 The vga driver is deprecated by upstream, use the vesa one instead. We should probably remove the deprecated driver packages. Thomas @ X11 tutorias for NetBSD 5.0:( つっこみ )
2013年09月15日(日) 旧暦 [n年日記] [更新:"2013/09/15 11:13:33"]#1 [pkgsrc] dd_rescue 1.40 wants __WORDSIZE defined.gcc -O2 -O3 -c find_nonzero.c In file included from find_nonzero.c:8:0: find_nonzero.h: In function 'myflsl': find_nonzero.h:62:12: error: '__WORDSIZE' undeclared (first use in this function) find_nonzero.h:62:12: note: each undeclared identifier is reported only once for each function it appears in gmake: *** [find_nonzero.o] Error 1 *** Error code 2 @ strdupa:pkg/22585 int ast_playtones_start(struct ast_channel *chan, int vol, const char *playlst, int \ nterruptible) X { - char *s, *data = strdupa(playlst); /* cute */ + char *s, *data; struct playtones_def d = { vol, -1, 0, 1, NULL}; char *stringp=NULL; + + data = alloca(strlen(playlst) + 1); if (!data) return -1; + strcpy(data, playlst); if (vol < 1) d.vol = 8192;(where is free ?) ( つっこみ )
2013年09月07日(土) 旧暦 [n年日記] [更新:"2013/09/08 09:55:17"]#1 [emacs]
08/16 の日記
とは、また違うところから getenv を呼出していて落ちる
livorno@makoto 08:17:48/130908(..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 0x00007f7ff2852c5e in _XkbGetCharset () from /usr/X11R7/lib/libX11.so.7 #5 0x00007f7ff285ca26 in XkbTranslateKeySym () from /usr/X11R7/lib/libX11.so.7 #6 0x00007f7ff285cc7e in XLookupString () from /usr/X11R7/lib/libX11.so.7 #7 0x00007f7fe6417fc5 in _XimLocalFilter () from /usr/X11R7/lib/X11/locale/lib/common/ximcp.so.2 #8 0x00000000004af224 in event_handler_gdk () #9 0x00007f7ff545d558 in ?? () from /usr/pkg/lib/libgdk-x11-2.0.so.0 #10 0x00007f7ff545f0ad in ?? () from /usr/pkg/lib/libgdk-x11-2.0.so.0 #11 0x00007f7ff5460433 in ?? () from /usr/pkg/lib/libgdk-x11-2.0.so.0 #12 0x00007f7ff0050c90 in g_main_context_dispatch () from /usr/pkg/lib/libglib-2.0.so.0 #13 0x00007f7ff0051030 in g_main_context_iterate () from /usr/pkg/lib/libglib-2.0.so.0 #14 0x00007f7ff00510c4 in g_main_context_iteration () from /usr/pkg/lib/libglib-2.0.so.0 #15 0x00007f7ff5946678 in gtk_main_iteration () from /usr/pkg/lib/libgtk-x11-2.0.so.0 #16 0x00000000004a7f84 in XTread_socket () #17 0x00000000004d7de2 in gobble_input () #18 0x00000000004d740d in process_pending_signals () #19 0x00000000005245b1 in Fmake_list () #20 0x0000000000545137 in concat () #21 0x000000000054598c in Fcopy_sequence () #22 0x00000000004d5fb0 in timer_check () #23 0x00000000004d65da in readable_events () #24 0x00000000004d7ed4 in get_input_pending () #25 0x00000000004da1db in detect_input_pending_run_timers () #26 0x0000000000576755 in wait_reading_process_output () #27 0x000000000041c5f1 in sit_for () #28 0x00000000004db2ac in read_char () #29 0x00000000004dccea in read_key_sequence.clone.16 () #30 0x00000000004deb57 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) quitstrncmp is written in assembly language: (gdb) x/16i 0x00007f7febcfc120 0x7f7febcfc120 <strncmp>: test %rdx,%rdx 0x7f7febcfc123 <strncmp+3>: jmp 0x7f7febcfc12e <strncmp+14> 0x7f7febcfc125 <strncmp+5>: inc %rdi 0x7f7febcfc128 <strncmp+8>: inc %rsi 0x7f7febcfc12b <strncmp+11>: dec %rdx 0x7f7febcfc12e <strncmp+14>: je 0x7f7febcfc1f6 <strncmp+214> 0x7f7febcfc134 <strncmp+20>: mov (%rdi),%al 0x7f7febcfc136 <strncmp+22>: test %al,%al 0x7f7febcfc138 <strncmp+24>: je 0x7f7febcfc1ed <strncmp+205> 0x7f7febcfc13e <strncmp+30>: cmp %al,(%rsi) 0x7f7febcfc140 <strncmp+32>: jne 0x7f7febcfc1ed <strncmp+205> 0x7f7febcfc146 <strncmp+38>: inc %rdi 0x7f7febcfc149 <strncmp+41>: inc %rsi 0x7f7febcfc14c <strncmp+44>: dec %rdx 0x7f7febcfc14f <strncmp+47>: je 0x7f7febcfc1f6 <strncmp+214> 0x7f7febcfc155 <strncmp+53>: mov (%rdi),%al (gdb)modena@makoto 09:45:51/130908(..lib/libc)% view arch/x86_64/string/strncmp.S 1 /* 2 * Written by J.T. Conklin <jtc@NetBSD.org>. 3 * Public domain. 4 */ 5 6 #include <machine/asm.h> 7 8 #if defined(LIBC_SCCS) 9 RCSID("$NetBSD: strncmp.S,v 1.3 2005/08/03 22:59:50 rpaulo Exp $") 10 #endif 11 12 /* 13 * NOTE: I've unrolled the loop eight times: large enough to make a 14 * significant difference, and small enough not to totally trash the 15 * cache. 16 */ 17 18 ENTRY(strncmp) 19 testq %rdx,%rdx 20 jmp L2 /* Jump into the loop! */ 21 22 L1: incq %rdi 23 incq %rsi 24 decq %rdx 25 L2: jz L4 /* strings are equal */ 26 movb (%rdi),%al 27 testb %al,%al 28 jz L3 29 cmpb %al,(%rsi)modena@makoto 09:49:52/130908(..lib/libc)% view ./stdlib/_env.c 254 __getenvslot(const char *name, size_t l_name, bool allocate) 255 { 256 size_t new_size, num_entries, required_size; 257 char **new_environ; 258 259 /* Does the environ need scrubbing? */ 260 if (environ != allocated_environ && allocated_environ != NULL) 261 __scrubenv(); 262 263 /* Search for an existing environment variable of the given name. */ 264 num_entries = 0; 265 while (environ[num_entries] != NULL) { 266 if (strncmp(environ[num_entries], name, l_name) == 0 && 267 environ[num_entries][l_name] == '=') { 268 /* We found a match. */ 269 return num_entries; 270 } 271 num_entries ++; 272 } %rdi environ[num_entries] %rsi name %rdx: l_name (size_t len)In the line 26 of strncmp.S, fetch from address 'name', but its address is incorrect. ( つっこみ )
2013年09月05日(木) 旧暦 [n年日記] [更新:"2013/09/06 00:35:06"]#1 [JNUG] packages
この頁に誤りがあるので、直さねば。
例えば amd64 N 5.0.2 2013 Q1 のリンク先は amd64/6.0_2013Q2 になっている (何ていうことだ)。 多分 th の列と、td の列で、sort の方法が入替っているのだと思う。 (直しました) ( つっこみ )
#2 [車] 定期点検 89,976km
バッテリが弱っているとのこと。自分で安いのを買って交換する予定
(でも自覚症状はないのだけれど) .. 上ってからでは遅い ?
今使っているのは、 益城電池さんで 2010/03/03 に買ったもの。75D23L の型番で再生バッテリ。 三年半は使っていることになる。 益城電池 の Web を見ると、再生バッテリが、あまり見えない。 でも回収はしているようだけれど。 以前に自分でバッテリ再生器を作ろうと部品を買ったりしたが、 三年もそのままになっている。 楽天の方に行ったら 75D23L の再生品は 7,000 円だな。でも「完売しました」とある。 ( つっこみ )
2013年09月04日(水) 旧暦 [n年日記] [更新:"2013/09/04 15:19:39"]#1 [pkgsrc] ERROR: ... rpath relative to WRKDIR=> Checking for missing run-time search paths in tqsl-2.0rc3 ERROR: bin/tqsl: rpath relative to WRKDIR *** Error code 1 ( つっこみ )
2013年09月03日(火) 旧暦 [n年日記] [更新:"2013/09/03 08:24:42"]#1 [pkgsrc] wip/simulavr 1.00
( つっこみ )
2013年09月01日(日) 旧暦 [n年日記] [更新:"2013/09/01 17:39:01"]#1 [無線] 2013 CQ WPX SSB CONTEST Log Check ReportContest: 2013 CQ WPX SSB CONTEST Call: JA1XMS Category: Single Op 7 MHz High Power ************************** Summary *************************** 352 Claimed QSO before checking (does not include duplicates) 340 Final QSO after checking reductions 1824 Claimed QSO points 1721 Final QSO points 257 Claimed mults 249 Final mults 468768 Claimed score 428529 Final score -8.6% Score reduction 0 (0.0%) duplicates (without penalty) 6 (1.7%) calls copied incorrectly 5 (1.4%) exchanges copied incorrectly 1 (0.3%) not in log 6 (1.7%) calls unique to this log only (not removed) ********************** Results By Band *********************** Band QSO QPts Mult ... Claimed 40M 352 1824 Final 40M 340 1721 .. Claimed All 352 1824 257 Score 468768 Final All 340 1721 249 Score 428529 ( つっこみ )
|
最近の日記 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 | ||