Skip to content

Instantly share code, notes, and snippets.

@rokuyama
Created May 23, 2022 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rokuyama/228f7afe67ffa8fe8024eb10bc2f14a1 to your computer and use it in GitHub Desktop.
Save rokuyama/228f7afe67ffa8fe8024eb10bc2f14a1 to your computer and use it in GitHub Desktop.
~Stopped in pid 0.2 (system) at netbsd:cpu_Debugger+0x4: bx r14
db> bt
0xc0706e4c: netbsd:comintr+0x10
0xc0706e6c: netbsd:pic_dispatch+0x28
0xc0706ed4: netbsd:pic_do_pending_ints+0x370
0xc0706f44: netbsd:irq_entry+0x98
0xc0706f5c: netbsd:sched_curcpu_runnable_p+0x2c
0xc0706fac: netbsd:idle_loop+0x13c
db> ps
PID LID S CPU FLAGS STRUCT LWP * NAME WAIT
1002 1002 3 0 0 c31d2cc0 sh nfsrcv
17102 17102 3 0 0 c3169c40 pkg_add uvnfp2
2077 2077 3 0 180 c3137100 sh wait
26735 26735 3 0 180 c31696c0 make wait
9724 9724 3 0 180 c27d67c0 sh wait
824 824 3 0 180 c31d21c0 make wait
2769 2769 3 0 180 c3169980 sh wait
20005 20005 3 0 180 c2829040 make wait
1622 1622 3 0 180 c27d6d40 sh wait
1757 1757 3 0 180 c27d6a80 login wait
1524 1524 3 0 180 c2bef600 rlogind poll
1341 1341 3 0 0 c2829880 sh vfork
1790 1790 3 0 180 c27d14c0 login wait
1270 1270 3 0 40 c2829300 cron tstile
1193 1193 3 0 180 c2cb2380 inetd kqueue
792 792 3 0 180 c2bef8c0 sshd poll
923 923 3 0 1000000 c2bef080 ntpd tstile
560 560 3 0 180 c28295c0 syslogd kqueue
1 1 3 0 180 c27431c0 init wait
0 7844 3 0 200 c31d2480 physiod physiod
0 949 3 0 240 c2829b40 nfskqpoll nfsrcv
0 815 3 0 200 c27d1780 swapiod swapiod
0 109 3 0 200 c27d6240 pooldrain pooldrain
0 108 3 0 240 c27d1d00 ioflush tstile
0 107 3 0 200 c27d1a40 pgdaemon pgdaemon
0 104 3 0 200 c27d1200 nfsio netio
0 103 3 0 200 c2743cc0 nfsio nfsiod
0 102 3 0 200 c2743a00 nfsio nfsiod
0 101 3 0 200 c2743740 nfsio nfsrcv
0 100 3 0 200 c2743480 swdmover swdmvr
0 99 3 0 200 c271d400 npfgc0 npfgcw
0 98 3 0 200 c271d140 usb1 usbevt
0 97 3 0 200 c271d6c0 usb0 usbevt
0 96 3 0 200 c271ec80 rt_free rt_free
0 60 3 0 200 c271e9c0 unpgc unpgc
0 59 3 0 200 c271d980 icmp6_wqinput/0 icmp6_wqinput
0 58 3 0 200 c271dc40 nd6_timer nd6_timer
0 57 3 0 200 c271e180 icmp_wqinput/0 icmp_wqinput
0 31 3 0 200 c271e440 rt_timer rt_timer
0 30 3 0 200 c271e700 vmem_rehash vmem_rehash
0 21 3 0 200 c23f9c00 entbutler entropy
0 20 3 0 240 c23f9940 atabus1 atath
0 19 3 0 240 c23f9680 atabus0 atath
0 18 3 0 200 c23f93c0 iic0 iicintr
0 17 3 0 200 c23f9100 usbtask-dr usbtsk
0 16 3 0 200 c23e4bc0 usbtask-hc usbtsk
0 15 3 0 200 c23e4900 sysmon smtaskq
0 14 3 0 200 c23e4640 pmfsuspend pmfsuspend
0 13 3 0 200 c23e4380 pmfevent pmfevent
0 12 3 0 200 c23e40c0 sopendfree sopendfr
0 11 3 0 200 c2316b80 iflnkst iflnkst
0 10 3 0 200 c23168c0 nfssilly nfssilly
0 9 3 0 240 c2316600 vdrain vdrain
0 8 3 0 200 c2316340 modunload mod_unld
0 7 3 0 200 c2316080 xcall/0 xcall
0 6 1 0 200 c2314b40 softser/0
0 5 1 0 40200 c2314880 softclk/0
0 4 1 0 200 c23145c0 softbio/0
0 3 1 0 200 c2314300 softnet/0
0 > 2 1 0 201 c2314040 idle/0
0 0 3 0 200 c059bc00 swapper uvm
db> trace/a c3169c40
trace: pid 17102 lid 17102 at 0xc9b9f624
0xc9b9f624: netbsd:mi_switch+0x10
0xc9b9f654: netbsd:sleepq_block+0xb0
0xc9b9f6ac: netbsd:mtsleep+0x160
0xc9b9f6d4: netbsd:uvm_pagewait+0x8c
0xc9b9f71c: netbsd:uvn_findpage+0x244
0xc9b9f7bc: netbsd:uvn_findpages+0xc8
0xc9b9f8d4: netbsd:genfs_getpages+0xa78
0xc9b9f94c: netbsd:nfs_getpages+0x58
0xc9b9f98c: netbsd:VOP_GETPAGES+0x94
0xc9b9f9e4: netbsd:uvn_get+0x80
0xc9b9fa5c: netbsd:ubc_fault+0x18c
0xc9b9fb8c: netbsd:uvm_fault_internal+0x4cc
0xc9b9fc64: netbsd:data_abort_handler+0x268
[ 126695.9550240] Non-emulated page fault with intr_depth > 0
[ 126695.9550240] Fatal kernel mode data abort: 'Translation Fault (S)'
[ 126695.9550240] trapframe: 0xc0706530
[ 126695.9550240] FSR=00000005, FAR=e08f8008, spsr=00000013
[ 126695.9550240] r0 =00000001, r1 =f1012000, r2 =00000000, r3 =00000000
[ 126695.9550240] r4 =c9b9fc64, r5 =c031c5bc, r6 =c0019144, r7 =c00195a8
[ 126695.9550240] r8 =e08f8008, r9 =c04a7674, r10=0000fff1, r11=c0706b34
[ 126695.9550240] r12=c07064a8, ssp=c0706580, slr=c031c118, pc =c000f748
Faulted in DDB; continuing...
db> trace/a trace/a c31d2cc0
Symbol not found
db> trace/a c31d2cc0
trace: pid 1002 lid 1002 at 0xca3b173c
0xca3b173c: netbsd:mi_switch+0x10
0xca3b176c: netbsd:sleepq_block+0xb0
0xca3b1794: netbsd:cv_timedwait+0x54
0xca3b17dc: netbsd:nfs_rcvlock+0xf0
0xca3b18fc: netbsd:nfs_request+0x374
0xca3b196c: netbsd:nfs_access+0x1cc
0xca3b1994: netbsd:VOP_ACCESS+0x6c
0xca3b1aac: netbsd:nfs_lookup+0x310
0xca3b1ae4: netbsd:VOP_LOOKUP+0xc8
0xca3b1b3c: netbsd:lookup_once+0x1c4
0xca3b1c04: netbsd:namei_tryemulroot+0x984
0xca3b1c3c: netbsd:namei+0x34
0xca3b1cd4: netbsd:check_exec+0x68
0xca3b1d34: netbsd:execve_loadvm+0x220
0xca3b1ec4: netbsd:execve1+0x38
0xca3b1eec: netbsd:sys_execve+0x30
0xca3b1fac: netbsd:syscall+0xac
--- tf 0xca3b1fb0 ---
db> trace/a c2829b40
trace: pid 0 lid 949 at 0xc9a8bc94
0xc9a8bc94: netbsd:mi_switch+0x10
0xc9a8bcc4: netbsd:sleepq_block+0xb0
0xc9a8bcec: netbsd:cv_timedwait+0x54
0xc9a8bd34: netbsd:nfs_rcvlock+0xf0
0xc9a8be54: netbsd:nfs_request+0x374
0xc9a8beac: netbsd:nfs_getattr+0x144
0xc9a8bed4: netbsd:VOP_GETATTR+0x6c
0xc9a8bfac: netbsd:nfs_kqpoll+0xc0
db> trace/a c27d1200
trace: pid 0 lid 104 at 0xc9a67b94
0xc9a67b94: netbsd:mi_switch+0x10
0xc9a67bc4: netbsd:sleepq_block+0x120
0xc9a67bec: netbsd:cv_timedwait+0x54
0xc9a67c1c: netbsd:sbwait+0x50
0xc9a67ccc: netbsd:soreceive+0xc58
0xc9a67dec: netbsd:nfs_request+0x7dc
0xc9a67ec4: netbsd:nfs_writerpc+0x3c0
0xc9a67f74: netbsd:nfs_doio+0x488
0xc9a67fac: netbsd:nfssvc_iod+0x1b8
db>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment