Re: stable/11 -r307797 on BPi-M3 (cortex-a7): truss gets segmentation fault for handling unknown system call

2016-10-28 Thread Mark Millard
On 2016-Oct-28, at 7:29 AM, John Baldwin wrote: > On Tuesday, October 25, 2016 11:40:38 AM Mark Millard wrote: >> [The following has been reported in: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213778 .] >> >> In trying to build lang/gcc6 xgcc's cc1 got some SIGSYS examples. In trying

Re: CURRENT: re(4) crashing system

2016-10-28 Thread Hartmann, O.
On Thu, 27 Oct 2016 10:00:04 +0900 YongHyeon PYUN wrote: > On Tue, Oct 25, 2016 at 07:03:38AM +0200, Hartmann, O. wrote: > > On Tue, 25 Oct 2016 11:05:38 +0900 > > YongHyeon PYUN wrote: > > > > [...] > > > > I'm not sure but it's likely the issue is related with EEE/Green > > > Ethernet han

Re: stable/11 -r307797 on BPi-M3 (cortex-a7): truss gets segmentation fault for handling unknown system call

2016-10-28 Thread John Baldwin
On Tuesday, October 25, 2016 11:40:38 AM Mark Millard wrote: > [The following has been reported in: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213778 .] > > In trying to build lang/gcc6 xgcc's cc1 got some SIGSYS examples. In trying > to track things down I ran into truss getting a SIGS

Re: pmcstat -T -P instructions -t $pid ==> NMI

2016-10-28 Thread John Baldwin
On Friday, October 28, 2016 04:50:40 PM Andriy Gapon wrote: > On 28/10/2016 16:01, Andriy Gapon wrote: > > I suspect that under the right conditions it's possible for wrmsr to cause a > > counter overflow, such that an interrupt (if enabled) is generated after > > wrmsr > > is executed, even if wr

Re: pmcstat -T -P instructions -t $pid ==> NMI

2016-10-28 Thread Andriy Gapon
On 28/10/2016 16:01, Andriy Gapon wrote: > I suspect that under the right conditions it's possible for wrmsr to cause a > counter overflow, such that an interrupt (if enabled) is generated after wrmsr > is executed, even if wrmsr disables the counter. > > In amd_intr() we have this code: >

Re: pmcstat -T -P instructions -t $pid ==> NMI

2016-10-28 Thread Andriy Gapon
On 27/10/2016 16:20, Andriy Gapon wrote: > > I observe a problem on a relatively recent, but not the latest, head. > r306752 amd64 on AMD hardware. > If I run > pmcstat -T -P instructions -t $pid > with a pid of a busy userland process, then I shortly get a (stray) NMI. > Apparently hwpmc do