Date: Mon, 30 Dec 1996 19:35:40 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: antony@turtle.ee.ncku.edu.tw (Antony) Cc: hackers@freefall.freebsd.org Subject: Re: What is Fatal trap 12 ?? Message-ID: <199612300905.TAA06380@genesis.atrad.adelaide.edu.au> In-Reply-To: <199612300847.QAA15779@turtle.ee.ncku.edu.tw> from Antony at "Dec 30, 96 04:47:15 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Antony stands accused of saying: > > I enabled KTRACE, DDB, DIAGNOSTIC , and modified some source > file of /sys/netinent/ip_input.c, and in some place, it shows > > Dec 30 16:01:34 hawk /kernel: Fatal trap 12: page fault while in kernel mode > Dec 30 16:01:34 hawk /kernel: fault virtual address = 0xf0a1a004 > Dec 30 16:01:34 hawk /kernel: fault code = supervisor read, page not present I strongly suggest reading the message. I can't imagine what more you could possibly want to know, except for perhaps having the kernel work out your bug and fix it itself. > Dec 30 16:01:34 hawk /kernel: instruction pointer = 0x8:0xf0a106b4 > Any idea about what the hell it is ? Yeah. You made a mistake. You could try reading the handbook section on kernel debugging. An easy start is 'nm /kernel |sort |more' and look for the symbol just before the instruction pointer, which will tell you in which function you caused the explosion. > Antony -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612300905.TAA06380>