Re: yet another kernel panic

看板DFBSD_bugs作者時間21年前 (2004/10/10 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/12 (看更多)
On 2004-10-09, Matthew Dillon <dillon@apollo.backplane.com> wrote: > >:On 2004-09-06, Matthew Dillon <dillon@apollo.backplane.com> wrote: >:>:im running almost latest current (from yesterday) with that patch and am >:>:wondering if there are any test apps to check if the patch works or should i >:>:just wait if it shows up by itself? >:... >: >:i got another kernel panic, dont know if its related or not, but i uploaded the >:memory dump to leaf:~rumko/memory_dumps/8.10.2004/ > > Rum, you aren't running that patch I emailed you last time (which has > since gone into the tree). I verified it by disassembling vm_waitproc(): > > 0xc02c81bc <vm_waitproc>: push %ebp > 0xc02c81bd <vm_waitproc+1>: mov %esp,%ebp > 0xc02c81bf <vm_waitproc+3>: push %ebx > 0xc02c81c0 <vm_waitproc+4>: mov 0x8(%ebp),%ebx > 0xc02c81c3 <vm_waitproc+7>: push %ebx > 0xc02c81c4 <vm_waitproc+8>: call 0xc0362bec <cpu_proc_wait> > 0xc02c81c9 <vm_waitproc+13>: push %ebx > 0xc02c81ca <vm_waitproc+14>: call 0xc02c90a0 <vmspace_exitfree> > 0xc02c81cf <vm_waitproc+19>: mov 0xfffffffc(%ebp),%ebx > 0xc02c81d2 <vm_waitproc+22>: leave > 0xc02c81d3 <vm_waitproc+23>: ret > > There should be a 'movl $0x0,0x1c(%ebx)' in there that corresponds > to the 'p->p_stats = NULL' line that was added to vm_waitproc() in > vm/vm_glue.c 1.28, and there isn't. > > I recommend upgrading to DragonFly_Stable. It has that patch plus a > number of other bugs fixes. > > -Matt > Matthew Dillon > <dillon@backplane.com> but i should have that patch copy/pasted from the source file: vm_waitproc(struct proc *p) { p->p_stats = NULL; cpu_proc_wait(p); vmspace_exitfree(p); /* and clean-out the vmspace */ }
文章代碼(AID): #11Q6sl00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #11Q6sl00 (DFBSD_bugs)