Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 17:58:33 +0200
From:      Alexander Motin <mav@alkar.net>
To:        freebsd-current@freebsd.org
Subject:   Re: 5.2-RC fatal trap 12
Message-ID:  <3FD9E5A9.3090009@alkar.net>
In-Reply-To: <20031211144425.0a16b4c0.ak03@gte.com.lucky.freebsd.current>
References:  <bra200$2f45$1@pandora.alkar.net> <20031211144425.0a16b4c0.ak03@gte.com.lucky.freebsd.current>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Kabaev wrote:
>>I get fatal trap 12 every time when mpd runned on my machine trying to
>>
>>recieve a new pppoe connection and doing some netgraph manipulations. 
>>Same configuration is working fine on 4.9-STABLE.
>>
>>I got something like:
>>Fatal trap 12: page fault while in kernel mode
>>cpiid=0; apic id=00
>>fault virtual address = 0x1C
>>fault code = supervisor write; page not present
>>code segment = base 0x0, limit 0xfffff, type 0x1b
>>	     = DPL 0, pres 1, def32 1
>>current process = 38 (swi1:net)
>>
>>After that system tryes to sync caches but hangs.
> 
> I meant tpo respond to this message initially. 
> fault virtual address = 0x1C looks very similar to the trouble people
> have reported with 5.2-RC1 install kernel, and since you are able to
> reproduce this error on your machine, where you can compile a kernel
> with debug symbols, we are really interested in getting some more
> information out of you :)

Same problem on other hardware but on system booted from same HDD:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc056cbd3
stack pointer           = 0x10:0xd2a3e79c
frame pointer           = 0x10:0xd2a3e7b8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 29 (swi1: net)
trap number             = 12
panic: page fault
cpuid = 0;

(kgdb) bt
#0  0xc057601b in doadump ()
#1  0xc0576661 in boot ()
#2  0xc0576a3e in panic ()
#3  0xc06d32cc in trap_fatal ()
#4  0xc06d2f72 in trap_pfault ()
#5  0xc06d2b83 in trap ()
#6  0xc06bfd78 in calltrap ()
#7  0xc05d2c2c in vref ()
#8  0xc05cb7c8 in namei ()
#9  0xc05ddc11 in vn_open_cred ()
#10 0xc05dd9b3 in vn_open ()
#11 0xc0568dd4 in linker_hints_lookup ()
#12 0xc05692ea in linker_search_module ()
#13 0xc05694cb in linker_load_module ()
#14 0xc3de0a36 in ng_make_node () from /boot/kernel/netgraph.ko
#15 0xc3de2ab1 in ng_mkpeer () from /boot/kernel/netgraph.ko
#16 0xc3de4861 in ng_generic_msg () from /boot/kernel/netgraph.ko
#17 0xc3de44c5 in ng_apply_item () from /boot/kernel/netgraph.ko
#18 0xc3de6944 in ngintr () from /boot/kernel/netgraph.ko
#19 0xc05e99d9 in swi_net ()
#20 0xc05631f2 in ithread_loop ()
#21 0xc05621a4 in fork_exit ()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FD9E5A9.3090009>