Bug 68005

Summary: Can not get kerneldumps on amd64 with a panic
Product: Base System Reporter: Willem Jan Withagen <wjw>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.2-CURRENT   
Hardware: Any   
OS: Any   

Description Willem Jan Withagen 2004-06-16 13:00:42 UTC
      After fixing user core dumps > 2 Gb, I'm now in search of getting my kerneldumps
to work.....

opteron# uname -a
FreeBSD opteron.digiware.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #17: Fri Jun  4 15:2
9:43 CEST 2004     wjw@opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64
 amd64


This is what I do:
----------------
    ctrl-alt-esc

db> call doadump
Dumping 2046 MB

Dump failed. Partition too small.
0x23
----------------

Which is sort of bogus since the swappartition is "only" 5GB and there's only
2 GB of memory in the box.

Trying to get a panic:
-----------------
db> panic
panic: from debugger
at line 453 in file /home2/src/sys/ddb/db_command.c
cpuid = 1;
Stack backtrace:
backtrace() at backtrace+0x17
__panic() at __panic+0x1e4
db_panic() at db_panic+0x1e
db_command() at db_command+0x24e
db_command_loop() at db_command_loop+0x88
db_trap() at db_trap+0xb5
kdb_trap() at kdb_trap+0x151
trap() at trap+0x3bd
calltrap() at calltrap+0x5
--- trap 0x3, rip = 0xffffffff80393d45, rsp = 0xffffffffb19d4ae0, rbp = 0xffffff
ffb19d4b00 ---
Debugger() at Debugger+0x4d
scgetc() at scgetc+0x43f
sckbdevent() at sckbdevent+0x201
atkbd_intr() at atkbd_intr+0x26
atkbd_isa_intr() at atkbd_isa_intr+0x1a
ithread_loop() at ithread_loop+0x229
fork_exit() at fork_exit+0xe5
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffb19d4d00, rbp = 0 ---
boot() called on cpu#1

syncing disks, buffers remaining... panic: pmap_invalidate_range: interrupts dis
abled
at line 654 in file /home2/src/sys/amd64/amd64/pmap.ccpuid = 1;
boot() called on cpu#1
Uptime: 3d13h29m59s
-------------------

And a hard reset is required.....
Comment 1 Julian Elischer freebsd_committer freebsd_triage 2004-07-19 19:15:55 UTC
State Changed
From-To: open->closed

Patch committed to solve this.