Project

General

Profile

kgdb.txt

open.source@ribose.com, 08/14/2017 02:52 AM

Download (12.7 KB)

 
1
# kgdb kern.1 vmcore.1 
2
GNU gdb (GDB) 7.6.1
3
Copyright (C) 2013 Free Software Foundation, Inc.
4
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5
This is free software: you are free to change and redistribute it.
6
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
7
and "show warranty" for details.
8
This GDB was configured as "x86_64-dragonfly".
9
For bug reporting instructions, please see:
10
<http://bugs.dragonflybsd.org/>...
11
Reading symbols from /var/crash/kern.1...done.
12

    
13
Unread portion of the kernel message buffer:
14
Copyright (c) 2003-2017 The DragonFly Project.
15
Copyright (c) 1992-2003 The FreeBSD Project.
16
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
17
	The Regents of the University of California. All rights reserved.
18
DragonFly v4.8.1-RELEASE #5: Tue Aug  1 23:19:38 EDT 2017
19
    root@www.shiningsilence.com:/usr/obj/home/justin/release/4_8/sys/X86_64_GENERIC
20
i8254 clock: 1193197 Hz
21
TSC invariant clock: 2294696856 Hz
22
CPU: Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz (2294.70-MHz K8-class CPU)
23
  Origin = "GenuineIntel"  Id = 0x40661  Stepping = 1
24
  Features=0x783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2>
25
  Features2=0x56d8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,AVX,RDRND>
26
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
27
  AMD Features2=0x21<LAHF,ABM>
28
  Structured Extended Features=0x2000
29
real memory  = 132709376 (126 MB)
30
avail memory = 81620992 (77 MB)
31
lapic: divisor index 0, frequency 500004517 Hz
32
srat_probe: can't locate SRAT
33
SMI Frequency (worst case): 22727 Hz (44 us)
34
Initialize MI interrupts
35
TSC: cputimer freq 71709276, shift 5
36
VMM: VMX is not supported by this Intel CPU
37
wdog: In-kernel automatic watchdog reset enabled
38
kbd1 at kbdmux0
39
md0: Malloc disk
40
interrupt uses mplock: swi_taskq
41
ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
42
ACPI: XSDT 0x0000000007FF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
43
ACPI: FACP 0x0000000007FF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
44
ACPI: DSDT 0x0000000007FF0470 0021C8 (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
45
ACPI: FACS 0x0000000007FF0200 000040
46
ACPI: FACS 0x0000000007FF0200 000040
47
ACPI: APIC 0x0000000007FF0240 000054 (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
48
ACPI: SSDT 0x0000000007FF02A0 0001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
49
cryptosoft0: <software crypto> on motherboard
50
aesni0: <AES-CBC,AES-XTS> on motherboard
51
padlock0: No ACE support.
52
rdrand0: <RdRand RNG> on motherboard
53
acpi0: <VBOX VBOXXSDT> on motherboard
54
ACPI: Executed 1 blocks of module-level executable AML code
55
ACPI: 2 ACPI AML tables successfully acquired and loaded
56
ACPI FADT: SCI testing interrupt mode ...
57
ACPI FADT: SCI select level/high
58
acpi0: Power Button (fixed)
59
acpi0: Sleep Button (fixed)
60
acpi_timer0 on acpi0
61
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
62
pci0: <ACPI PCI bus> on pcib0
63
isab0: <PCI-ISA bridge> at device 1.0 on pci0
64
isa0: <ISA bus> on isab0
65
atapci0: <Intel PIIX4 UDMA33 controller> port 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 1.1 on pci0
66
ata0: <ATA channel 0> on atapci0
67
interrupt uses mplock: ata0
68
ad0: 16384MB <VBOX HARDDISK 1.0> at ata0-master UDMA33
69
ata1: <ATA channel 1> on atapci0
70
interrupt uses mplock: ata1
71
acd0: DVDROM <VBOX CD-ROM/1.0> at ata1-master UDMA33
72
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe0ffffff irq 18 at device 2.0 on pci0
73
vgapci0: Boot video device
74
em0: <Intel(R) PRO/1000 Network Connection 82540EM 7.4.2> port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0
75
em0: MAC address: 08:00:27:b2:31:f4
76
pci0: <base peripheral> (vendor 0x80ee, dev 0xcafe) at device 4.0 irq 20
77
ohci0: <Apple KeyLargo/Intrepid USB controller> mem 0xf0804000-0xf0804fff irq 22 at device 6.0 on pci0
78
usbus0 on ohci0
79
pci0: <bridge> (vendor 0x8086, dev 0x7113) at device 7.0 irq 23
80
usbus0: 12Mbps Full Speed USB v1.0
81
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0xf0805000-0xf0805fff irq 19 at device 11.0 on pci0
82
usbus1: EHCI version 1.0
83
ugen0.1: <Apple> at usbus0
84
uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
85
usbus1 on ehci0
86
battery0: <ACPI Control Method Battery> on acpi0
87
acpi_acad0: <AC Adapter> on acpi0
88
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
89
atkbd0: <AT Keyboard> irq 1 on atkbdc0
90
kbd0 at atkbd0
91
usbus1: 480Mbps High Speed USB v2.0
92
ugen1.1: <Intel> at usbus1
93
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
94
psm0: <PS/2 Mouse> irq 12 on atkbdc0
95
interrupt uses mplock: psm0
96
psm0: model IntelliMouse Explorer, device ID 4
97
cpu0: <ACPI CPU> on acpi0
98
cpu_cst0: <ACPI CPU C-State> on cpu0
99
ACPI: Enabled 2 GPEs in block 00 to 07
100
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe2000-0xe2fff on isa0
101
pmtimer0 on isa0
102
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
103
sc0: <System console> at flags 0x500 on isa0
104
sc0: VGA <16 virtual consoles, flags=0x300>
105
sio0: can't drain, serial port might not exist, disabling
106
sio1: can't drain, serial port might not exist, disabling
107
hpt27xx: no controller detected.
108
CAM: Configuring 2 busses
109
uhub0: 12 ports with 12 removable, self powered
110
CAM: finished configuring all busses
111
cd0 at ata1 bus 0 target 0 lun 0
112
cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI-0 device 
113
cd0: 33.000MB/s transfers
114
cd0: Attempt to query device size failed: NOT READY, Medium not present
115
uhub1: 12 ports with 12 removable, self powered
116
no B_DEVMAGIC (bootdev=0)
117
Mounting root from ufs:serno/VB72453a18-bfd99f8c.s1d
118
DMA space used: 160k, remaining available: 1248k
119
Mounting devfs
120
<118>Loading configuration files.
121
<118>Loading devfs rules:
122
<118> /etc/defaults/devfs.conf
123
<118>.
124
<118>Initializing random seed: 
125
<118>done. 
126
<118>dumpon: crash dumps to /dev/ad0s1b (21, 0x20001)
127
<118>Starting file system checks:
128
<118>/dev/serno/VB72453a18-bfd99f8c.s1d: 
129
<118>FILESYSTEM CLEAN; SKIPPING CHECKS
130
<118>/dev/serno/VB72453a18-bfd99f8c.s1d: 
131
<118>clean, 11946365 free 
132
<118>(2773 frags, 1492949 blocks, 0.0% fragmentation)
133
<118>/dev/serno/VB72453a18-bfd99f8c.s1a: 
134
<118>FILESYSTEM CLEAN; SKIPPING CHECKS
135
<118>/dev/serno/VB72453a18-bfd99f8c.s1a: 
136
<118>clean, 438163 free 
137
<118>(155 frags, 54751 blocks, 0.0% fragmentation)
138
<118>Setting hostname: foobar.localdomain.
139
<118>starting dhclient on em0
140
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
141
<118>	options=43<RXCSUM,TXCSUM,RSS>
142
<118>	inet 127.0.0.1 netmask 0xff000000 
143
<118>	inet6 ::1 prefixlen 128 
144
<118>	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
145
<118>em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
146
<118>	options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
147
<118>	inet6 fe80::a00:27ff:feb2:31f4%em0 prefixlen 64 tentative scopeid 0x1 
148
<118>	ether 08:00:27:b2:31:f4
149
<118>	media: Ethernet autoselect <rxpause> (none)
150
<118>	status: no carrier
151
<118>Additional routing options:
152
<118>.
153
<118>Starting devd.
154
<118>Mounting NFS file systems:
155
<118>.
156
<118>Building databases...
157
<118>Starting syslogd.
158
<118>Aug 14 21:04:14 foobar syslogd: kernel boot file is /boot/kernel/kernel
159
<118>No core dumps found.
160
swap low/high-water marks set to 16760/25140
161
<118>swapon: adding /dev/serno/VB72453a18-bfd99f8c.s1b as swap device
162
<118>ELF ldconfig path: /lib /usr/lib /usr/local/lib /usr/local/libdata/ldconfig/perl5
163
<118>Id  Refs Name
164
<118>208    1 nfs
165
<118>NFS CLIENT:
166
<118> access_cache_timeout=5
167
<118> neg_cache_timeout=3
168
<118>.
169
<118>Starting local daemons:
170
<118>.
171
<118>Updating motd.
172
<118>Configuring syscons:
173
<118> blanktime
174
<118>.
175
<118>Starting sshd.
176
<118>sendmail_submit: /etc/mail/aliases.db not present, generating
177
<118>newaliases: no recipients
178
<118>sendmail_clientmqueue: /etc/mail/aliases.db not present, generating
179
<118>newaliases: no recipients
180
<118>Starting cron.
181
<118>Local package initialization:
182
<118>.
183
<118>Additional TCP options:
184
<118>.
185
<118>Mon Aug 14 21:04:15 HKT 2017
186
panic: getblk: size(98304) > MAXBSIZE(65536)
187
cpuid = 0
188
Trace beginning at frame 0xffffff8051d782b8
189
panic() at panic+0x236 0xffffffff805e5e66 
190
panic() at panic+0x236 0xffffffff805e5e66 
191
getblk() at getblk+0x519 0xffffffff80651e39 
192
breadnx() at breadnx+0x266 0xffffffff80652156 
193
fillinusemap() at fillinusemap+0x1b4 0xffffffff80687cd4 
194
msdosfs_mount() at msdosfs_mount+0xc39 0xffffffff8068a829 
195
Debugger("panic")
196

    
197
CPU0 stopping CPUs: 0x00000000
198
 stopped
199
Physical memory: 87 MB
200
Dumping 1106 MB: 1091 1075 1059 1043 1027 1011 995 979 963 947 931 915 899 883 867 851 835 819 803 787 771 755 739 723 707 691 675 659 643 627 611 595 579 563 547 531 515 499 483 467 451 435 419 403 387 371 355 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3
201

    
202
[New kernel syncer14]
203
[New pid 966/0, mount_msdos]
204
[New pid 965/0, mount]
205
[New pid 957/0, csh]
206
[New pid 951/0, sshd]
207
[New pid 512/0, syslogd]
208
[New pid 411/0, dhclient]
209
[New pid 944/0, getty]
210
[New pid 943/0, getty]
211
[New pid 942/0, getty]
212
[New pid 941/0, getty]
213
[New pid 940/0, getty]
214
[New pid 938/0, getty]
215
[New pid 939/0, getty]
216
[New pid 937/0, getty]
217
[New kernel syscons7]
218
[New kernel syscons6]
219
[New kernel syscons5]
220
[New kernel syscons4]
221
[New kernel syscons3]
222
[New kernel syscons2]
223
[New kernel syscons1]
224
[New pid 841/0, cron]
225
[New pid 818/0, sshd]
226
[New pid 436/0, devd]
227
[New pid 289/0, dhclient]
228
[New pid 288/0, dhclient]
229
[New kernel syncer13]
230
[New kernel syncer12]
231
[New kernel syncer5]
232
[New kernel syscons255]
233
[New kernel syncer4]
234
[New pid 1/0, init]
235
[New kernel consttyd]
236
[New kernel vnlru]
237
[New kernel bufdaemon_hw]
238
[New kernel bufdaemon]
239
[New kernel vmdaemon]
240
[New kernel swapcached]
241
[New kernel pagedaemon]
242
[New kernel syncer3]
243
[New kernel unp taskq]
244
[New kernel random]
245
[New kernel syncer2]
246
[New kernel syncer1]
247
[New kernel ithread12 0]
248
[New kernel ithread1 0]
249
[New kernel usbus1]
250
[New kernel usbus1]
251
[New kernel usbus1]
252
[New kernel usbus1]
253
[New kernel usbus0]
254
[New kernel usbus0]
255
[New kernel usbus0]
256
[New kernel usbus0]
257
[New kernel ithread22 0]
258
[New kernel ithread19 0]
259
[New kernel ithread15 0]
260
[New kernel ithread14 0]
261
[New kernel ithread9 0]
262
[New kernel acpi_task]
263
[New kernel ithread197 0]
264
[New kernel ithread195 0]
265
[New kernel xpt_thrd]
266
[New kernel crypto returns]
267
[New kernel crypto 0]
268
[New kernel firmware taskq]
269
[New kernel sensors 0]
270
[New kernel taskq_cpu 0]
271
[New kernel ifnet 0]
272
[New kernel disk_msg_core]
273
[New kernel netisr_cpu 0]
274
[New kernel devfs_msg_core]
275
[New kernel dsched 0]
276
[New kernel usched 0]
277
[New kernel usched 0]
278
[New kernel ithread196 0]
279
[New kernel ithreadE 0]
280
[New kernel softclock 0]
281
[New pid 0/0, swapper]
282
[New kernel idle_0]
283
Reading symbols from /boot/kernel/acpi.ko...(no debugging symbols found)...done.
284
Loaded symbols for /boot/kernel/acpi.ko
285
Reading symbols from /boot/kernel/ehci.ko...(no debugging symbols found)...done.
286
Loaded symbols for /boot/kernel/ehci.ko
287
Reading symbols from /boot/kernel/xhci.ko...(no debugging symbols found)...done.
288
Loaded symbols for /boot/kernel/xhci.ko
289
_get_mycpu () at ./machine/thread.h:69
290
69	./machine/thread.h: No such file or directory.
291
(kgdb) bt
292
#0  _get_mycpu () at ./machine/thread.h:69
293
#1  panic (fmt=fmt@entry=0xffffffff80b2f300 "getblk: size(%d) > MAXBSIZE(%d)") at /home/justin/release/4_8/sys/kern/kern_shutdown.c:833
294
#2  0xffffffff80651e39 in getblk (vp=<optimized out>, loffset=32768, size=98304, blkflags=0, slptimeo=<optimized out>)
295
    at /home/justin/release/4_8/sys/kern/vfs_bio.c:2803
296
#3  0xffffffff80652156 in breadnx (vp=0xffffff8051aa0e60, loffset=<optimized out>, size=<optimized out>, raoffset=raoffset@entry=0x0, 
297
    rabsize=rabsize@entry=0x0, cnt=cnt@entry=0, bpp=0xffffff8051d78450) at /home/justin/release/4_8/sys/kern/vfs_bio.c:938
298
#4  0xffffffff80687cd4 in bread (bpp=0xffffff8051d78450, size=<optimized out>, loffset=<optimized out>, vp=<optimized out>)
299
    at /home/justin/release/4_8/sys/sys/buf2.h:356
300
#5  fillinusemap (pmp=pmp@entry=0xffffff80493e9740) at /home/justin/release/4_8/sys/vfs/msdosfs/msdosfs_fat.c:904
301
#6  0xffffffff8068a829 in mountmsdosfs (argp=0xffffff8051d78580, mp=0xffffff804eb1ddc0, devvp=0xffffff8051aa0e60)
302
    at /home/justin/release/4_8/sys/vfs/msdosfs/msdosfs_vfsops.c:590
303
#7  msdosfs_mount (mp=0xffffff804eb1ddc0, path=<optimized out>, data=<optimized out>, cred=0xffffff8040749d48)
304
    at /home/justin/release/4_8/sys/vfs/msdosfs/msdosfs_vfsops.c:280
305
#8  0xffffffff8067cefa in vfs_mount (mp=0xffffff804eb1ddc0, path=0x7fffffffe210 <Address 0x7fffffffe210 out of bounds>, 
306
    data=0x7fffffffe6a0 <Address 0x7fffffffe6a0 out of bounds>, cred=0xffffff8040749d48) at /home/justin/release/4_8/sys/kern/vfs_vfsops.c:93
307
#9  0xffffffff806729fd in sys_mount (uap=<optimized out>) at /home/justin/release/4_8/sys/kern/vfs_syscalls.c:380
308
#10 0xffffffff80a5c786 in syscall2 (frame=0xffffff8051d789f8) at /home/justin/release/4_8/sys/platform/pc64/x86_64/trap.c:1228
309
#11 0xffffffff80a4428b in Xfast_syscall () at /home/justin/release/4_8/sys/platform/pc64/x86_64/exception.S:323
310
#12 0x000000000000002b in ?? ()
311
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
312
(kgdb)