Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 18:04:34 GMT
From:      Nate Nielsen <nielsen@memberwebs.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/93720: Kernel Dump to USB umass device
Message-ID:  <200602221804.k1MI4YOd072582@www.freebsd.org>
Resent-Message-ID: <200602221810.k1MIA5VI035474@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93720
>Category:       kern
>Synopsis:       Kernel Dump to USB umass device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 22 18:10:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nate Nielsen
>Release:        RELENG_6
>Organization:
None
>Environment:
FreeBSD 6.1-PRERELEASE #0: Wed Feb 22 02:07:41 UTC 2006    root@mesh-stable.ws.local:/usr/src/sys/i386/compile/DCUSTOM
>Description:
When working on systems with limited disk space, it's handy to be able to dump kernel memory (after a panic) to a USB device. Currently when dumping to a umass device you get something like:

> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x0
> fault code              = supervisor write, page not present
> instruction pointer     = 0x20:0xc0cea412
> stack pointer           = 0x28:0xc6cf5c1c
> frame pointer           = 0x28:0xc6cf5c24
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 473 (kldload)
> trap number             = 12
> panic: page fault
> Uptime: 3m48s
> Dumping 95 MB (2 chunks)
> Aborting dump due to I/O error.
> status == 0xb, scsi status == 0x0
> 
> ** DUMP FAILED (ERROR 5) **
> Automatic reboot in 5 seconds - press a key on the console to abort

>How-To-Repeat:
              
>Fix:
I'll attach a patch (partly from Ian Dowse) which enables this functionality.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602221804.k1MI4YOd072582>