From nobody@FreeBSD.org  Wed Jun 16 11:52:31 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ADC5916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2004 11:52:31 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8EDC643D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2004 11:52:31 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5GBqJWo081620
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2004 11:52:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5GBqJf4081618;
	Wed, 16 Jun 2004 11:52:19 GMT
	(envelope-from nobody)
Message-Id: <200406161152.i5GBqJf4081618@www.freebsd.org>
Date: Wed, 16 Jun 2004 11:52:19 GMT
From: Willem Jan Withagen <wjw@withagen.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Can not get kerneldumps on amd64 with a panic
X-Send-Pr-Version: www-2.3

>Number:         68005
>Category:       amd64
>Synopsis:       Can not get kerneldumps on amd64 with a panic
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 12:00:42 GMT 2004
>Closed-Date:    Mon Jul 19 18:17:01 GMT 2004
>Last-Modified:  Mon Jul 19 18:17:01 GMT 2004
>Originator:     Willem Jan Withagen
>Release:        5.2-CURRENT
>Organization:
Digiware
>Environment:
FreeBSD opteron.digiware.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #27: Fri Jun 11 14:21:13 CEST 2004     wjw@opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64  amd64

>Description:
      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.....


>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: julian 
State-Changed-When: Mon Jul 19 18:15:55 GMT 2004 
State-Changed-Why:  
Patch committed to solve this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68005 
>Unformatted:
