"procstat -x" output

Ralf Wenk iz-rpi03 at hs-karlsruhe.de
Fri Mar 21 22:46:22 UTC 2014


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



More information about the freebsd-arm mailing list