NetBSD Problem Report #38648

From martin@aprisoft.de  Tue May 13 08:32:20 2008
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id A63E263B293
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 May 2008 08:32:20 +0000 (UTC)
Message-Id: <20080513083212.8075AAF580E@emmas.aprisoft.de>
Date: Tue, 13 May 2008 10:32:12 +0200 (CEST)
From: martin@duskware.de
Reply-To: martin@duskware.de
To: gnats-bugs@gnats.NetBSD.org
Subject: dmesg -M does not work
X-Send-Pr-Version: 3.95

>Number:         38648
>Category:       bin
>Synopsis:       dmesg -M does not work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 08:35:00 +0000 2008
>Closed-Date:    Sat Nov 20 10:21:06 +0000 2010
>Last-Modified:  Sat Nov 20 10:21:06 +0000 2010
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.62
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 4.99.62 NetBSD 4.99.62 (MARTINS) #2: Mon May 12 15:40:19 CEST 2008 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/MARTINS amd64
Architecture: x86_64
Machine: amd64
>Description:

After a kernel crash I wasn't abel to use dmesg -M on the kernel core:

[/var/crash] root@martins # dmesg -N /netbsd -M netbsd.34.core
dmesg: kvm_read: Undefined error: 0
dmesg: kvm_read: 


>How-To-Repeat:
s/a
>Fix:
n/a

>Release-Note:

>Audit-Trail:
Module Name:    src
Committed By:   stacktic
Date:           Sat Oct 23 14:34:12 UTC 2010

Modified Files:
        src/lib/libkvm: kvm.c

Log Message:
Do not return -1 on _kvm_read when all the requested data could be read (fix 
bin/38648)


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/lib/libkvm/kvm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


State-Changed-From-To: open->feedback
State-Changed-By: stacktic@NetBSD.org
State-Changed-When: Sat, 23 Oct 2010 17:25:57 +0000
State-Changed-Why:
fixed


State-Changed-From-To: feedback->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sat, 20 Nov 2010 10:21:06 +0000
State-Changed-Why:
Works for me now, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.