Re: 5.2-RC fatal trap 12

From: Alexander Motin <mav_at_alkar.net>
Date: Fri, 12 Dec 2003 18:34:59 +0200
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 :)

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;

syncing disks, buffers remaining... 1284 1284 1284 1284 1284 1284 1284 
1284 1284 1284 1284 1284 1284 1284 1284 1284 1284 1284 1284 1284
giving up on 1049 buffers
Uptime: 1m24s
Dumping 383 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 
320 336 352 368
---
Reading symbols from /boot/kernel/ng_socket.ko.debug...done.
Loaded symbols for /boot/kernel/ng_socket.ko.debug
Reading symbols from /boot/kernel/ng_iface.ko.debug...done.
Loaded symbols for /boot/kernel/ng_iface.ko.debug
Reading symbols from /boot/kernel/ng_ppp.ko.debug...done.
Loaded symbols for /boot/kernel/ng_ppp.ko.debug
Reading symbols from /boot/kernel/ng_bpf.ko.debug...done.
Loaded symbols for /boot/kernel/ng_bpf.ko.debug
Reading symbols from /boot/kernel/ng_vjc.ko.debug...done.
Loaded symbols for /boot/kernel/ng_vjc.ko.debug
Reading symbols from /boot/kernel/ng_pppoe.ko.debug...done.
Loaded symbols for /boot/kernel/ng_pppoe.ko.debug
#0  doadump () at ../../../kern/kern_shutdown.c:240
240             dumping++;
Ready to go.  Enter 'tr' to connect to remote target
and 'getsyms' after connection to load kld symbols.
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:240
#1  0xc0576661 in boot (howto=0x100) at ../../../kern/kern_shutdown.c:372
#2  0xc0576a3e in panic () at ../../../kern/kern_shutdown.c:550
#3  0xc06d32cc in trap_fatal (frame=0xd2a3e75c, eva=0x0) at 
../../../i386/i386/trap.c:821
#4  0xc06d2f72 in trap_pfault (frame=0xd2a3e75c, usermode=0x0, eva=0x0) 
at ../../../i386/i386/trap.c:735
#5  0xc06d2b83 in trap (frame=
       {tf_fs = 0xc0790018, tf_es = 0x10, tf_ds = 0xc0710010, tf_edi = 
0xc0720703, tf_esi = 0x85d, tf_ebp = 0xd2a3e7b8, tf_isp = 0xd2a3e788, 
tf_ebx = 0x0, tf_edx = 0xd2a3eab4, tf_ecx = 0xa0, tf_eax = 0xc19ed280, 
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc056cbd3, tf_cs = 0x8, 
tf_eflags = 0x10282, tf_esp = 0xc079b000, tf_ss = 0xc19ed2f0})
     at ../../../i386/i386/trap.c:420
#6  0xc06bfd78 in calltrap () at {standard input}:94
#7  0xc05d2c2c in vref (vp=0x0) at ../../../kern/vfs_subr.c:2141
#8  0xc05cb7c8 in namei (ndp=0xd2a3eab4) at ../../../kern/vfs_lookup.c:165
#9  0xc05ddc11 in vn_open_cred (ndp=0xd2a3eab4, flagp=0xd2a3e990, 
cmode=0x0, cred=0xc19e5200, fdidx=0x0)
     at ../../../kern/vfs_vnops.c:193
#10 0xc05dd9b3 in vn_open (ndp=0x0, flagp=0x0, cmode=0x0, fdidx=0x0) at 
../../../kern/vfs_vnops.c:93
#11 0xc0568dd4 in linker_hints_lookup (path=0xc0764e80 
"/boot/kernel;/boot/modules", pathlen=0xc,
     modname=0xd2a3eb7c "ng_tee", modnamelen=0x6, verinfo=0x0) at 
../../../kern/kern_linker.c:1443
#12 0xc05692ea in linker_search_module (modname=0xd2a3eb7c "ng_tee", 
modnamelen=0x6, verinfo=0x0)
     at ../../../kern/kern_linker.c:1563
#13 0xc05694cb in linker_load_module (kldname=0x0, modname=0xd2a3eb7c 
"ng_tee", parent=0x0, verinfo=0x0,
     lfpp=0xd2a3eb78) at ../../../kern/kern_linker.c:1652
#14 0xc3db8a36 in ?? ()
#15 0xc3dbaab1 in ?? ()
#16 0xc3dbc861 in ?? ()
#17 0xc3dbc4c5 in ?? ()
#18 0xc3dbe944 in ?? ()
#19 0xc05e99d9 in swi_net (dummy=0x0) at ../../../net/netisr.c:255
#20 0xc05631f2 in ithread_loop (arg=0xc39de280) at 
../../../kern/kern_intr.c:544
#21 0xc05621a4 in fork_exit (callout=0xc0563060 <ithread_loop>, arg=0x0, 
frame=0x0) at ../../../kern/kern_fork.c:793

-- 
Alexander Motin
Received on Fri Dec 12 2003 - 07:45:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC