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

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

2017年04月23日() 旧暦 [n年日記] [更新:"2017/07/01 23:07:40"]

#1 [NetBSD] analyze crash dump

newer Let's Note has problem on wake up after sleep
Let's noteWakeup after sleep
CF-N9OK
CF-S9OK
CF-N10core dump
CF-SX2core dump

condition:

  • Do not run X11
  • Set
    hw.acpi.sleep.vbios = 1
    
  • Boot machine
  • close lid (sleeps)
  • open lid

more info:

CF-N10
Let me use crash command to analyze the dump
CF-SX2@makoto 22:19:00/170423(/var/crash)% ls -lt |head 
total 4070096
-rw-------  1 root  wheel     645748 Apr 22 22:11 netbsd.37.gz
-rw-------  1 root  wheel   35079668 Apr 22 22:11 netbsd.37.core.gz
-rw-------  1 root  wheel          3 Apr 22 22:11 bounds
-rw-------  1 root  wheel    1691943 Apr  8 06:09 netbsd.36
-rw-------  1 root  wheel  214025240 Apr  8 06:09 netbsd.36.core
-rw-------  1 root  wheel     645748 Apr  3 21:09 netbsd.35.gz
-rw-------  1 root  wheel   36534813 Apr  3 21:09 netbsd.35.core.gz
-rw-------  1 root  wheel     645748 Apr  3 21:01 netbsd.34.gz
-rw-------  1 root  wheel   37545679 Apr  3 21:01 netbsd.34.core.gz
gunzip necessary files
CF-SX2@makoto 22:19:28/170423(/var/crash)% sudo gunzip netbsd.37.gz 
CF-SX2@makoto 22:19:44/170423(/var/crash)% sudo gunzip netbsd.37.core.gz 
man crash
M: Memory
N: NetBSD (kernel)
CF-SX2@makoto 22:19:50/170423(/var/crash)% sudo crash -M netbsd.37.core -N netbsd.37
Crash version 7.1_RC2, image version 7.1_STABLE.
WARNING: versions differ, you may not be able to examine this image.
System panicked: trap
Backtrace from time of crash is available.
crash> bt
_KERNEL_OPT_NARCNET() at 0
_KERNEL_OPT_ACPI_SCANPCI() at _KERNEL_OPT_ACPI_SCANPCI+0x7
vpanic() at vpanic+0x145
snprintf() at snprintf
startlwp() at startlwp
calltrap() at calltrap+0x11
crash> 
crash> help
b       call   dmesg    help      next  quit  set     sync
watch   break  continue dwatch    kill  p
reboot  show   trace    whatis    bt    d     examine
machine print  s        sifting   until write c
delete  exit   match    ps search step  w     x
crash> dmesg
   (.. omit ..)
video1 at uvideo1: Vimicro Corp. USB HD Webcam, rev 2.00/1.08, addr 4
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff8028270a cs 8 rflags 10046 cr2 7f7ff7ff4000 ilevel 8 rsp fffffe804069dec8
curlwp 0xfffffe811b79fba0 pid 478.1 lowest kstack 0xfffffe804069b2c0
panic: trap
cpu2: Begin traceback...
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0x96
cpu2: End traceback...

dumping to dev 0,1 (offset=24696, size=1017001):
dump
crash> 
(compare to normal dmesg)
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
drm: Enabling RC6 states: RC6 on, RC6p on, RC6pp off
wd0 at atabus0 drive 0
Other case of trap type 4 code 0 -- PR/49650 --
crash> show reg
ds          0
es          0
fs          0
gs          0
rdi         0
rsi         0
rbp         fffffe804069dc78
rbx         0
rdx         0
rcx         0
rax         0
r8          0
r9          0
r10         0
r11         0
r12         0
r13         0
r14         0
r15         0
rip         0
cs          0
rflags      0
rsp         fffffe804069dc38
ss          0
crash: kvm_read(0x0, 1): invalid translation (invalid PTE)
0:
crash> 
に、
_KERNEL_OPT_NARCNET() at 0
という字が見えるのは、(どの時にも出るから)意味がないのか、 それとも関係あるのか


2017年04月20日(木) 旧暦 [n年日記] [更新:"2017/04/24 21:11:50"]

#1 [Emacs] emacs-26.0.50 fails with deps/fpending.d: No such file or directory

fatal error: opening dependency file deps/fpending.d: No such file or directory
This has been appearing for a while...
This is the beginning part of deps/*.d file, so it is not file specific, but some mechanism to create *.d file. (mkdep ?)
h97# which mkdep
/usr/bin/mkdep
h97# grep mkdep /bulklog/emacs26-26.0.50nb20170420/build.log 
h97# grep depend /bulklog/emacs26-26.0.50nb20170420/build.log
fpending.c:60:1: fatal error: opening dependency file deps/fpending.d: 
	No such file or directory
at least following line at /etc/mk.conf may work
GIT_REVISION.master= ce88155d83
this came from following line
| * |   ce88155d83 [2017-02-02 21:35:51 -0500] ; Merge: fixes and updates to scroll margin (Bug#5718) @Noam Postavsky
Looking at git log, my suspect is 2f8935099c
* | 2f8935099c [2017-03-17 11:33:48 -0700] Fixups for GNU Make switchover @Paul Eggert
* | 65faa7bcb5 [2017-03-17 11:33:47 -0700] Switch from Automake to GNU Make @Paul Eggert
* | 9c07e888a7 [2017-03-17 03:22:23 -0700] Don't suggest Mailutils on MS-Windows @Paul Eggert
* | 3c46ac7d65 [2017-03-17 10:16:44 +0100] Fix bug: Range-check integer alpha frame parm value @Thien-Thi Nguyen
* | 6b2f3ba02a [2017-03-17 10:25:46 +0100] Fix Bug#26127 @Michael Albinus
GIT_REVISION.master= 2f8935099c
will work
Major change at 65faa7bcb5



最近の日記
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)
以上、2 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)