Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2014 23:46:13 +0100
From:      Ralf Wenk <iz-rpi03@hs-karlsruhe.de>
To:        Alan Cox <alc@rice.edu>
Cc:        "arm@freebsd.org" <arm@FreeBSD.org>
Subject:   Re: "procstat -x" output
Message-ID:  <E1WR8Cc-006LC4-1d@smtp.hs-karlsruhe.de>
In-Reply-To: <532C6751.4000201@rice.edu>
References:  <53261049.50709@rice.edu> <1395006603.1149.559.camel@revolution.hippie.lan> <532C6751.4000201@rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WR8Cc-006LC4-1d>