Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-08 Thread Konstantin Belousov
On Sun, Feb 07, 2016 at 10:59:48PM +0100, Oliver Pinter wrote: > On 2/6/16, Konstantin Belousov wrote: > > On Fri, Feb 05, 2016 at 07:34:02PM +0100, Oliver Pinter wrote: > >> Not yet tested, but possible fix: > >> > >> diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c

Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-08 Thread John Baldwin
On Monday, February 08, 2016 12:52:30 PM Konstantin Belousov wrote: > > dev/hwpmc/hwpmc_mod.c- > > dev/hwpmc/hwpmc_mod.c- /* issue an attach event to a configured log file */ > > dev/hwpmc/hwpmc_mod.c- if (pm->pm_owner->po_flags & PMC_PO_OWNS_LOGFILE) { > > dev/hwpmc/hwpmc_mod.c: if

Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-07 Thread Oliver Pinter
On 2/6/16, Konstantin Belousov wrote: > On Fri, Feb 05, 2016 at 07:34:02PM +0100, Oliver Pinter wrote: >> Not yet tested, but possible fix: >> >> diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c >> index cb952da..25bae84 100644 >> --- a/sys/kern/init_main.c >> +++

Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-07 Thread Yuri
On 02/05/2016 10:25, Oliver Pinter wrote: I used this gdb macro, to traverse the proc list, and print out the relevant p_flag's flags: Is it normally working though? Because every time I tried in the past I could never get it working. Yuri ___

Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-06 Thread Konstantin Belousov
On Fri, Feb 05, 2016 at 07:34:02PM +0100, Oliver Pinter wrote: > Not yet tested, but possible fix: > > diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c > index cb952da..25bae84 100644 > --- a/sys/kern/init_main.c > +++ b/sys/kern/init_main.c > @@ -482,7 +482,7 @@ proc0_init(void *dummy

Re: Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-05 Thread Oliver Pinter
On 2/5/16, Oliver Pinter wrote: > Hi all! > > I used this gdb macro, to traverse the proc list, and print out the > relevant p_flag's flags: > > set $curr_proc=0 > def next_proc > if $curr_proc == 0 > set $curr_proc = allproc.lh_first >

Broken suspend-resume (suspend to RAM) with enabled INVARIANTS on 11-CURRENT - with workaround

2016-02-05 Thread Oliver Pinter
Hi all! I used this gdb macro, to traverse the proc list, and print out the relevant p_flag's flags: set $curr_proc=0 def next_proc if $curr_proc == 0 set $curr_proc = allproc.lh_first else set $curr_proc = $curr_proc.p_list.le_next end