From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 3 12:15:02 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F150D106564A for ; Sun, 3 Apr 2011 12:15:01 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9350C8FC0A for ; Sun, 3 Apr 2011 12:15:01 +0000 (UTC) Received: by vxc34 with SMTP id 34so4472271vxc.13 for ; Sun, 03 Apr 2011 05:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=b9x50ZVFyqhyLTwSVUqrLwKbRS3mwem3QZIqabtPV1c=; b=LnGPgpFk7FSQjACzW2oZBeEDVWMgim2zXY5Qp0vPidIZyFAv5sbxJDQlpkaXv7n4nr TV9DHi3DIPCIZwPvIymTqmdlOxOxkNE9QGBBbuhcOKDNa3T9AvGncZpxvNWWRrHz3y6m YH6VD8j70R5Hd5fRiUylxc9UtNGz0ypGzF4n0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Y1A9xymNIRjyqpsL/8rYlL37fn+Jax4bDknGO02AYNizv/dcWCFz5qM4amxCm6fQLz nYTj9927bCjD5KncMPt/pciVFDwkdZfy3A44lJPc+SmApormlMoasibtr1eHwb4Oz1uw kfsCh5afPzZnC2AGfX1o8lN4U8KlbtPwfnHfc= MIME-Version: 1.0 Received: by 10.220.198.200 with SMTP id ep8mr1603410vcb.132.1301832899531; Sun, 03 Apr 2011 05:14:59 -0700 (PDT) Received: by 10.220.186.138 with HTTP; Sun, 3 Apr 2011 05:14:59 -0700 (PDT) In-Reply-To: <4D9828AA.3030206@FreeBSD.org> References: <4D9828AA.3030206@FreeBSD.org> Date: Sun, 3 Apr 2011 08:14:59 -0400 Message-ID: From: Super Bisquit To: Andreas Tobler Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: kernel dumps on powerpc/pmap questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 12:15:02 -0000 Why don't you ask Whitehorn or other members of the FreeBSD PowerPC team this question. Very few of the hackers deal with anything outside of standard i386 and AMD64 platforms. nwhitehorn@freebsd.org chmeeedalf@gmail.com Justin Hibbits On 4/3/11, Andreas Tobler wrote: > Hello all, > > to investigate a system lockup I need to implement kerneldumps on > powerpc. Well, exactly on PowerMacs. The booke should already support > this feature. > > Right now I'm at the point where I can dump something, means the > mechanism to be able to get a (core) dump for example via 'call doadump' > in db works. I can restore the dump via savecore. > > I took the approach from booke and implemented the necessary functions > for PowerMacs. But here I'm offline. > > I do not understand what I want to dump, means which part of the memory. > Once I know what to dump, where do I find the information, which addresses? > > How can I get a picture of the memory organization form powermacs? > Is there a pointer available about pmap in the kernel to find out a bit > more on this topic? > > What is really needed to be able to run kgdb on a core file to be able > to find where the kernel crashed? > > I know the questions are a bit vague, but I need an entry point. > > I appreciate any pointer to implement this feature. > > Tia, > Andreas > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >