Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!mintaka!yale!think.com!samsung!uunet!mcsun!unido!marco!krabat!leo From: leo@krabat.marco.de (Matthias Pfaller) Newsgroups: comp.os.minix Subject: execing from INIT Keywords: bug in mm Message-ID: <577@krabat.marco.de> Date: 8 Jan 91 07:57:45 GMT Organization: marco GmbH, 8047 Karlsfeld, West-Germany Lines: 15 After some traceing I discovered the bug that prevented init to exec. I now run the nlmug init as process 1 execed from the system init. All you have to do is to delete one line in mm/break.c In adjust() you have to delete the marked line; that's all. mem_sp = &rmp->mp_seg[S]; /* pointer to stack segment map */ changed = 0; /* set when either segment changed */ > if(rmp - mproc == INIT_PROC_NR) return(OK); /* don't bother init */ /* See if stack size has gone negative (i.e., sp too close to 0xFFFF...) */ base_of_stack = (long) mem_sp->mem_vir + (long) mem_sp->mem_len; Matthias Pfaller