On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote: > Joe Marcus Clarke wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > Thanks. I just finished building a PREEMPTION-less kernel. I'll hold > > off on the test until I get your patch. > > Hello Joe, > can you please try this patch: > http://users.gufi.org/~rookie/works/patches/sys_machdep.diff > > maybe using with and without PREEMPTION? With PREEMPTION yields a new crash: panic: blockable sleep lock (sleep mutex) system map _at_ /usr/src/sys/vm/vm_map.c:2395 Uptime: 2m11s Physical memory: 2022 MB Dumping 82 MB: 67 51 35 19 3 #0 sched_switch (td=0xc07d1020, newtd=0xc4c70360, flags=1) at /usr/src/sys/kern/sched_4bsd.c:933 933 sched_lock.mtx_lock = (uintptr_t)td; (kgdb) bt #0 sched_switch (td=0xc07d1020, newtd=0xc4c70360, flags=1) at /usr/src/sys/kern/sched_4bsd.c:933 #1 0xc0567a1d in mi_switch (flags=Variable "flags" is not available. ) at /usr/src/sys/kern/kern_synch.c:464 #2 0xc06c8c90 in scheduler (dummy=0x0) at /usr/src/sys/vm/vm_glue.c:724 #3 0xc052e676 in mi_startup () at /usr/src/sys/kern/init_main.c:250 #4 0xc0438e15 in begin () at /usr/src/sys/i386/i386/locore.s:348 #0 sched_switch (td=0xc07d1020, newtd=0xc4c70360, flags=1) at /usr/src/sys/kern/sched_4bsd.c:933 p = (struct proc *) 0xc07d0de0 #1 0xc0567a1d in mi_switch (flags=Variable "flags" is not available. ) at /usr/src/sys/kern/kern_synch.c:464 new_switchtime = 153236108634 td = (struct thread *) 0xc07d1020 p = (struct proc *) 0xc07d0de0 __func__ = "mi_switch" #2 0xc06c8c90 in scheduler (dummy=0x0) at /usr/src/sys/vm/vm_glue.c:724 p = (struct proc *) 0x0 td = Variable "td" is not available. I will rebuild without PREEMPTION, and let you know. Note: I am no longer have console access, so live debugging is out until Tuesday. Joe > > Thanks, > Attilio > -- PGP Key : http://www.marcuscom.com/pgp.asc
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC