From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 23 09:33:12 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C7016A4C3; Thu, 23 Oct 2003 09:33:12 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 2CEA843FD7; Thu, 23 Oct 2003 09:33:11 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 23 Oct 2003 17:33:10 +0100 (BST) Date: Thu, 23 Oct 2003 17:33:09 +0100 From: David Malone To: Josef Karthauser , freebsd-hackers@FreeBSD.org Message-ID: <20031023163309.GA92535@walton.maths.tcd.ie> References: <20031023154041.GA1344@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031023154041.GA1344@genius.tao.org.uk> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie Subject: Re: ktrace/kdump question: intrepretting calls. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 16:33:12 -0000 On Thu, Oct 23, 2003 at 04:40:41PM +0100, Josef Karthauser wrote: > I'm trying to work out what a particular application does by using > ktrace and kdump. At the relevant point in the kdump it says: > > 1080 Application CALL #91(0x28d28000,0x4000) > 1080 Application RET #91 0 > > How do I go about working out what this call means? I guess that it's > to a library somewhere, but I'm not sure what. I'd like to ktrace that > too if possible. Is it a linux binary? The #91 means syscall 91 AFAIK, which isn't in use on -stable or -current. However Linux syscall #91 is munmap, which looks like a plausable candidate given the arguments. Try installing the linux_kdump port... David.