Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 02:26:01 -0800 (PST)
From:      olgeni@uli.it
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/22886: savecore dumps core at boot
Message-ID:  <20001116102601.A987237B4CF@hub.freebsd.org>

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

>Number:         22886
>Category:       bin
>Synopsis:       savecore dumps core at boot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 16 02:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        4.2 BETA (i386)
>Organization:
Colby
>Environment:
FreeBSD dev1.localdomain.net 4.2-BETA FreeBSD 4.2-BETA #0: Mon Nov 13 13:48:12 CET 2000     root@dev1.localdomain.net:/usr/obj/usr/src/sys/BSDBOX  i386

>Description:
The "savecore" command dumps core at boot, leaving savecore.core in the root directory.

The same problem occurs when invoked manually, I tried on 2 4.2-BETA boxes.

In both cases I didn't have a core image in swap.
>How-To-Repeat:
dev1# swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b        262016        0   262016     0%    Interleaved
dev1# cat /etc/fstab | grep swa
/dev/ad0s1b             none            swap    sw              0       0
dev1# cat /etc/rc.conf |grep dumpdev
dumpdev="/dev/ad0s1b"           # Device name to crashdump to (or NO).

(it looks properly configured)

dev1# savecore /var/crash
Bus error (core dumped)
dev1# ls *core
savecore.core
dev1#

>Fix:


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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