On Mon, Apr 18, 2011 at 4:57 PM, Paul Irofti <p...@irofti.net> wrote: > Try this, let me know what happens. > > Index: linux_exec.c > =================================================================== > RCS file: /cvs/src/sys/compat/linux/linux_exec.c,v > retrieving revision 1.33 > diff -u -p -r1.33 linux_exec.c > --- linux_exec.c B B B B 5 Apr 2011 15:44:40 -0000 B B B 1.33 > +++ linux_exec.c B B B B 18 Apr 2011 13:50:37 -0000 > @@ -197,14 +197,17 @@ linux_e_proc_exit(struct proc *p) > B void > B linux_e_proc_fork(struct proc *p, struct proc *parent) > B { > - B B B struct linux_emuldata *emul = p->p_emuldata; > - B B B struct linux_emuldata *p_emul = parent->p_emuldata; > + B B B struct linux_emuldata *emul; > + B B B struct linux_emuldata *p_emul; > > B B B B /* Allocate new emuldata for the new process. */ > B B B B p->p_emuldata = NULL; > > B B B B /* fork, use parent's vmspace (our vmspace may not be setup yet) */ > B B B B linux_e_proc_init(p, parent->p_vmspace); > + > + B B B emul = p->p_emuldata; > + B B B p_emul = parent->p_emuldata; > > B B B B emul->my_set_tid = p_emul->child_set_tid; > B B B B emul->my_clear_tid = p_emul->child_clear_tid;
yes now it's working again. Thx a lot PS: my src was messed somewhat so that's why I was not able to build kernel properly