From owner-freebsd-arm@FreeBSD.ORG Fri Mar 21 22:46:22 2014 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43BE6A47 for ; Fri, 21 Mar 2014 22:46:22 +0000 (UTC) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 087D3C79 for ; Fri, 21 Mar 2014 22:46:21 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1WR8Cc-006LC4-1d; Fri, 21 Mar 2014 23:46:14 +0100 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: Alan Cox Subject: Re: "procstat -x" output In-reply-to: <532C6751.4000201@rice.edu> References: <53261049.50709@rice.edu> <1395006603.1149.559.camel@revolution.hippie.lan> <532C6751.4000201@rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Mar 2014 23:46:13 +0100 Message-Id: Cc: "arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 22:46:22 -0000 On Fri, 21 Mar 2014 11:22:41 -0500, Alan Cox wrote: > On 03/16/2014 16:50, Ian Lepore wrote: > > On Sun, 2014-03-16 at 15:57 -0500, Alan Cox wrote: > >> Folks, > >> > >> Could someone please run "procstat -x" on any process, and cut-and-paste > >> the output into a reply message. I'm trying to debug a crash that > >> occurs on arm for a patch that I'm developing. > >> > >> Thanks, > >> Alan > > cpsim# procstat -x 720 > > PID COMM AUXV VALUE > > 720 cpsim AT_PHDR 0x8034 > > 720 cpsim AT_PHENT 32 > > 720 cpsim AT_PHNUM 7 > > 720 cpsim AT_PAGESZ 4096 > > 720 cpsim AT_FLAGS 0 > > 720 cpsim AT_ENTRY 0xf1c0 > > 720 cpsim AT_BASE 0x2015b000 > > 720 cpsim AT_EXECPATH 0xbfffffb9 > > 720 cpsim AT_OSRELDATE 1100011 > > 720 cpsim AT_CANARY 0xbfffff99 > > 720 cpsim AT_CANARYLEN 32 > > 720 cpsim AT_NCPUS 4 > > 720 cpsim AT_PAGESIZES 0xbfffff91 > > 720 cpsim AT_PAGESIZESLEN 8 > > 720 cpsim AT_STACKPROT NONEXECUTABLE > > > > Thanks, again. A couple of days ago, kib@ committed a patch, r263349, > that should result in AT_PAGESIZES now having a 4-byte aligned address > on arm. This misalignment caused problems for a patch that I'm > developing. If/when anyone here updates to a newer kernel than r263349, > can you please rerun "procstat -x" and report the results. I want to > verify that the alignment problem is really fixed on arm. 11.0-CURRENT #0 r263476: Fri Mar 21 18:29:48 CET 2014 $ procstat -x 808 PID COMM AUXV VALUE 808 sh AT_PHDR 0x8034 808 sh AT_PHENT 32 808 sh AT_PHNUM 6 808 sh AT_PAGESZ 4096 808 sh AT_FLAGS 0 808 sh AT_ENTRY 0xa5c0 808 sh AT_BASE 0x2002f000 808 sh AT_EXECPATH 0xbfffffc4 808 sh AT_OSRELDATE 1100014 808 sh AT_CANARY 0xbfffffa4 808 sh AT_CANARYLEN 32 808 sh AT_NCPUS 1 808 sh AT_PAGESIZES 0xbfffff9c 808 sh AT_PAGESIZESLEN 8 808 sh AT_STACKPROT NONEXECUTABLE $ Ralf