From owner-freebsd-current@FreeBSD.ORG Mon Sep 6 07:20:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7013A16A4CE; Mon, 6 Sep 2004 07:20:18 +0000 (GMT) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E4443D48; Mon, 6 Sep 2004 07:20:18 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1C4DoK-0008dz-JZ; Mon, 06 Sep 2004 11:21:08 +0400 Date: Mon, 6 Sep 2004 11:21:08 +0400 From: "Boris B. Samorodov" To: Andre Oppermann Message-ID: <20040906072108.GC32825@ipt.ru> References: <413B9A36.2D0B9696@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <413B9A36.2D0B9696@freebsd.org> Sender: "Boris B. Samorodov" cc: freebsd-current@freebsd.org Subject: Re: Fatal Trap 12 in kernel module uipc_mbuf2.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 07:20:18 -0000 On Mon, Sep 06, 2004 at 12:59:02AM +0200, Andre Oppermann wrote: > > Does it panic 'reliablily' in the same place or is it more of a random > occurence? I'm not long in the office tomorrow (my test machine is there) > but I'll try to reproduce it within the next few days. Recompiled today to 5.3-BETA3. Here is the results. # uname -a FreeBSD gw.ipt.ru 5.3-BETA3 FreeBSD 5.3-BETA3 #7: Mon Sep 6 09:26:53 MSD 2004 bsam@gw.ipt.ru:/usr/obj/usr/src/sys/GW i386 ------ # addr2line -e /boot/kernel/kernel.debug 0xc053a0b0 /usr/src/sys/kern/uipc_mbuf2.c:389 ------ Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xdeadc0e6 fault code = supervisor read, page not present instruction pointer = 0x8:0xc053a0b0 stack pointer = 0x10:0xc7fcb8e8 frame pointer = 0x10:0xc7fcb8f0 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 = 37 (swi1: net) [thread 100038] Stopped at m_tag_locate+0x40: cmpl %ecx,0x8(%edx) db> bt full No such command db> where m_tag_locate(c1541300,0,f,0,c14c3c00) at m_tag_locate+0x40 ether_output_frame(c1380000,c1541300,6,c7fcb9ac,c7fcb944) at ether_output_frame+0x3a ether_output(c1380000,c1541300,c7fcb9ac,c153b6b4,c7fcb9b0) at ether_output+0x41e ip_output(c1541300,0,c7fcb9a8,1,0) at ip_output+0x8e9 ip_forward(c1541300,1,12,0,1) at ip_forward+0x390 ip_input(c1541300,0,c06b91b3,e5,c073bd98) at ip_input+0x54c netisr_processqueue(c073bd98,c070a9c0,1,c06aed23,c12c6dc0) at netisr_processqueue+0x8e swi_net(0,0,c06ad32e,268,0) at swi_net+0xe9 ithread_loop(c1296b00,c7fcbd48,c06ad119,32c,deadc0de) at ithread_loop+0x172 fork_exit(c04e0060,c1296b00,c7fcbd48) at fork_exit+0xc6 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xc7fcbd7c, ebp = 0 --- db> panic panic: from debugger cpuid = 0 Uptime: 4m3s Dumping 126 MB 16 32 48 64 80 96 112 Dump complete Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... ----- > Andre WBR -- bsam