NetBSD Problem Report #26426

Received: (qmail 11063 invoked by uid 605); 25 Jul 2004 04:51:30 -0000
Message-Id: <Pine.BSF.4.51.0407250024380.83222@vegeta.city-net.com>
Date: Sun, 25 Jul 2004 00:40:02 -0400 (EDT)
From: Matthew Orgass <darkstar@city-net.com>
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Subject: pbsdboot.exe does not load symbols

>Number:         26426
>Category:       port-hpcmips
>Synopsis:       pbsdboot.exe does not load symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 25 04:52:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Wed Mar 29 22:05:01 +0000 2006
>Originator:     darkstar@city-net.com
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:

  Clio C-1000

>Description:

  pbsdboot.exe seems to be unable to load symbols.

>How-To-Repeat:
>Fix:

  Unknown.  As a workaround (and generally good idea) this patch trys
ksyms if no symbols are found so that dbsym can be used.  Note that if
"load symbols" is enabled in pbsdboot then no symbols will be loaded but
ksyms will also not be used.  It might be worth removing this option
until the loading problem is fixed.

Index: machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/hpcmips/machdep.c,v
retrieving revision 1.86
diff -u -r1.86 machdep.c
--- machdep.c	13 Feb 2004 11:36:13 -0000	1.86
+++ machdep.c	25 Jul 2004 04:34:55 -0000
@@ -452,6 +452,8 @@
 	/* init symbols if present */
 	if (esym)
 		ksyms_init(symbolsz, &end, esym);
+	else /* try symbols via dbsym */
+		ksyms_init(0, NULL, NULL);
 #endif /* DDB */
 	/*
 	 * Alloc u pages for lwp0 stealing KSEG0 memory.
>Release-Note:
>Audit-Trail:
From: Matthew Orgass <darkstar@city-net.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-hpcmips/26426
Date: Wed, 29 Mar 2006 16:33:06 -0500 (EST)

   This occurs with the pbsdboot.exe in the 3.0 release.

>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.