NetBSD Problem Report #40680

From jdc@coris.org.uk  Wed Feb 18 16:23:29 2009
Return-Path: <jdc@coris.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 15D4363B8C3
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 18 Feb 2009 16:23:29 +0000 (UTC)
Message-Id: <200902181618.n1IGINRO000489@sirion.coris.org.uk>
Date: Wed, 18 Feb 2009 16:18:24 GMT
From: Julian Coleman <jdc@coris.org.uk>
Reply-To: jdc@coris.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: Panic when using whatis <address> from DDB on non-modular port
X-Send-Pr-Version: 3.95

>Number:         40680
>Category:       kern
>Synopsis:       Panic when using whatis <address> from DDB on non-modular port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 18 16:25:00 +0000 2009
>Last-Modified:  Tue Feb 24 09:40:01 +0000 2009
>Originator:     Julian Coleman
>Release:        NetBSD 5.99.7
>Organization:
N/A
>Environment:
System: NetBSD gondolin 5.99.7 NetBSD 5.99.7 (ULTRA-PCI.MP) #4: Wed Feb 18 13:27:39 GMT 2009 root@sirion.coris.org.uk:/usr/obj/sparc64/usr/src/sys/arch/sparc64/compile/ULTRA-PCI.MP sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	Panic when using whatis <address> from DDB on non-modular port:
	  db{0}> whatis 0x1281940
	  0x1281940 is 0x1+19405119 in VMEM 'swapmap' (free)
	  0x1281940 is 0x1000000+2627904 from VMMAP 0x18a71c8
	  panic: not modular

	The panic trace is:
	  1411ea8(1713208, 1281940, 1000000, 281940, 18a71c8, 104, e0016271) fp = e0016271
	  12845e4(0, e0016be0, e0016be8, 1819030, 18aa400, 2, e0016331) fp = e0016331
	  10eb514(1281940, 1419d80, ffffffffffffffff, e0016cb8, e0016dd8, 0, e0016401) fp = e0016401
	  10eb814(1819028, 0, 0, 0, e0016e48, 0, e0016551) fp = e0016551

	where (from `addr2line -e netbsd.gdb`):
	  1411ea8
	  /usr/src/sys/kern/subr_kobj.c:1207
	  12845e4
	  /usr/src/sys/kern/kern_module.c:1011
	  10eb514
	  /usr/src/sys/ddb/db_command.c:939
	  10eb814
	  /usr/src/sys/ddb/db_command.c:596

	subr_kobj.c,v 1.33
	  kobj_stat()
	kern_module.c,v 1.41
	  module_whatis()
	db_command.c,v 1.126
	  db_command()
	  db_command_loop()

>How-To-Repeat:
	Try whatis <address> on a non-modular port (e.g.) sparc64
>Fix:

>Audit-Trail:
From: Julian Coleman <jdc@coris.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40680: Panic when using whatis <address> from DDB on non-modular port
Date: Tue, 24 Feb 2009 09:30:21 +0000

 Hi,

 > 	subr_kobj.c,v 1.33
 > 	  kobj_stat()

 Commenting out the `panic' line in kobj_stat() allows us to continue.  This
 seems a reasonable workaround for now.

 Thanks,

 J

 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/

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.