NetBSD Problem Report #41583
From www@NetBSD.org Fri Jun 12 22:34:36 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id A3CF763BF62
for <gnats-bugs@gnats.netbsd.org>; Fri, 12 Jun 2009 22:34:36 +0000 (UTC)
Message-Id: <20090612223436.6A44F63B9E6@www.NetBSD.org>
Date: Fri, 12 Jun 2009 22:34:36 +0000 (UTC)
From: AndreasBurghardt@gmx.de
Reply-To: AndreasBurghardt@gmx.de
To: gnats-bugs@NetBSD.org
Subject: savecore problem with netbsd-5
X-Send-Pr-Version: www-1.0
>Number: 41583
>Category: bin
>Synopsis: savecore problem with netbsd-5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 12 22:35:00 +0000 2009
>Closed-Date: Mon Sep 02 00:24:40 +0000 2019
>Last-Modified: Mon Sep 02 00:24:40 +0000 2019
>Originator: Andreas Burghardt
>Release: NetBSD-5.0_STABLE
>Organization:
>Environment:
NetBSD sadar 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Fri Jun 12 20:39:57 CEST 2009 root@sadar:/usr/obj/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Hello,
since some days I discover a strange error message from savecore and cannot find any reason for this:
Jun 12 22:13:43 savecore: warning: (null) version mismatch: NetBSD 5.0_STABLE (GENERIC) #0: Fri Jun 12 20:39:57 CEST 2009 root@sadar:/usr/obj/obj/sys/arch/i386/compile/GENERIC and Sat Jun 6 16:41:01 CEST 2009 root@sadar:/usr/obj/obj/sys/arch/i386/compile/GENERIC
Jun 12 22:13:43 savecore: reboot after panic: panic: trap
This shows up everytime I boot. Of caurse I could set savecore=NO to /etc/rc.conf, but ...
Do you need any additional informations?
Regards,
Andreas
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/41583: savecore problem with netbsd-5
Date: Sun, 21 Jun 2009 17:39:17 +0000
On Fri, Jun 12, 2009 at 10:35:00PM +0000, AndreasBurghardt@gmx.de wrote:
> since some days I discover a strange error message from savecore
> and cannot find any reason for this:
>
> Jun 12 22:13:43 savecore: warning: (null) version mismatch: NetBSD
> 5.0_STABLE (GENERIC) #0: Fri Jun 12 20:39:57 CEST 2009
> root@sadar:/usr/obj/obj/sys/arch/i386/compile/GENERIC and Sat Jun 6
> 16:41:01 CEST 2009
> root@sadar:/usr/obj/obj/sys/arch/i386/compile/GENERIC
> Jun 12 22:13:43 savecore: reboot after panic: panic: trap
>
> This shows up everytime I boot. Of caurse I could set savecore=NO
> to /etc/rc.conf, but ...
Do you have version 1.76.2.1 of savecore.c? (ident /sbin/savecore will
tell you) If not, try updating savecore and see if the problem goes
away. If so, you're seeing PR 38425.
If not, you may still be seeing something related, or it may be
something else.
Anyway, what the message means is that you have a kernel crash dump in
your swap partition that savecore thinks came from a kernel dated June
6, and you're currently running a kernel dated June 12. Theoretically
savecore is supposed to still save the dump out and clear it from the
swap partition, but apparently it isn't.
If you want the dump, the path of least resistance is to boot the June
6 kernel, if you still have it.
If you don't want the dump and you just want savecore to shut up, the
easiest approach is probably to clear the dump header from the swap
partition. (I don't know offhand what offset the header appears at,
but I can easily look it up if necessary.)
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 02 Sep 2019 00:24:40 +0000
State-Changed-Why:
Transient issue. (Submitter had a coredump in swap, savecore errored on it in every boot).
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.