Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Current panics



On Sat, Nov 21, 2009 at 05:05:45AM +0300, Aleksej Saushev wrote:
> Alright, I've just had another panic:
> 
> fatal page fault in supervisor mode
> trap type 6 code 0 eip c0347585 cs 8 eflags 210202 cr2 0 ilevel 8
> 
> dumping to dev 0,1 offset 1592368
> 
> 
> (gdb) target kvm netbsd.44.core
> #0  cpu_reboot (howto=256, bootstr=0x0) at 
> /usr/src/sys/arch/i386/i386/machdep.c:864
> 864           splx(s);
> (gdb) bt
> #0  cpu_reboot (howto=256, bootstr=0x0) at 
> /usr/src/sys/arch/i386/i386/machdep.c:864
> #1  0xc017f9b7 in db_sync_cmd (addr=-1070303867, have_addr=false, 
> count=-1067765371, modif=0xcc791804 "?H\027?")
>     at /usr/src/sys/ddb/db_command.c:1375
> #2  0xc01800fa in db_command (last_cmdp=0xc05a0f1c) at 
> /usr/src/sys/ddb/db_command.c:909
> #3  0xc018033d in db_command_loop () at /usr/src/sys/ddb/db_command.c:567
> #4  0xc0185ca0 in db_trap (type=6, code=0) at /usr/src/sys/ddb/db_trap.c:101
> #5  0xc0182c94 in kdb_trap (type=6, code=0, regs=0xcc791a2c) at 
> /usr/src/sys/arch/i386/i386/db_interface.c:226
> #6  0xc03dd0ee in trap (frame=0xcc791a2c) at 
> /usr/src/sys/arch/i386/i386/trap.c:354
> #7  0xc010cb3f in calltrap ()
> #8  0xc0347585 in pmap_activate (l=0xcbead0e0) at 
> /usr/src/sys/arch/x86/x86/pmap.c:2527
> #9  0xc0283b50 in mi_switch (l=0xcbead0e0) at 
> /usr/src/sys/kern/kern_synch.c:771
> #10 0xc0280fd3 in sleepq_block (timo=0, catch=true) at 
> /usr/src/sys/kern/kern_sleepq.c:262
> #11 0xc03bd959 in sel_do_scan (fds=0xcc791ba0, nfds=1, ts=0x0, mask=0x0, 
> retval=0xcc791d28, selpoll=0)
>     at /usr/src/sys/kern/sys_select.c:253
> #12 0xc03bdb71 in pollcommon (retval=0xcc791d28, u_fds=0xbb80c070, nfds=1, 
> ts=0x0, mask=0x0)
>     at /usr/src/sys/kern/sys_select.c:440
> #13 0xc03bdc95 in sys_poll (l=0xcbead0e0, uap=0xcc791d00, retval=0xcc791d28) 
> at /usr/src/sys/kern/sys_select.c:378
> #14 0xc03bf736 in syscall (frame=0xcc791d48) at 
> /usr/src/sys/sys/syscallvar.h:61
> #15 0xc0100524 in syscall1 ()
> 
> 
> I remember this "pmap_activate ... sys_poll" sequence, it was observed 
> recently.

This one seems to be unrelated to the previous. I can't see a vnode
being involved here ...

> 
> "bt full" reveals these details:
> 
> #8  0xc0347585 in pmap_activate (l=0xcbead0e0) at 
> /usr/src/sys/arch/x86/x86/pmap.c:2527

That would be:
        struct pmap *pmap = vm_map_pmap(&l->l_proc->p_vmspace->vm_map);

>       ci = (struct cpu_info *) 0x8001003b
>       pmap = (struct pmap *) 0x0

Can you also print:
*l
*(l->l_proc)
*(l->l_proc->p_vmspace)
l->l_proc->p_vmspace->vm_map

I wonder what could be NULL in there.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index