From owner-freebsd-current@FreeBSD.ORG Tue Nov 23 02:31:16 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 6CC3B16A4CE; Tue, 23 Nov 2004 02:31:16 +0000 (GMT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id C641543D2F; Tue, 23 Nov 2004 02:31:14 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.43 (FreeBSD)) id 1CWQSn-0008M8-0H; Tue, 23 Nov 2004 10:31:29 +0800 Message-Id: <6.2.0.14.2.20041123102644.03040770@202.179.0.80> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Tue, 23 Nov 2004 10:31:02 +0800 To: Robert Watson From: Ganbold In-Reply-To: References: <6.2.0.14.2.20041122151958.0303be20@202.179.0.80> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: tomaz.borstnar@over.net cc: cguttesen@yahoo.dk cc: scottl@freebsd.org cc: mhunter@ack.Berkeley.EDU cc: freebsd-current@freebsd.org Subject: Re: Page fault in FreeBSD 5.3 on IBM e325, Dual AMD64 2.2GHz, 4GB RAM, ServeRAID 6M - debug logs 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: Tue, 23 Nov 2004 02:31:16 -0000 At 06:43 PM 11/22/2004, you wrote: >On Mon, 22 Nov 2004, Ganbold wrote: > > > Fatal trap 12: page fault while in kernel mode > > cpuid = 1; apic id = 01 > > fault virtual address = 0x18 > > fault code = supervisor read, page not present > > instruction pointer = 0x8:0xffffffff80277fc0 > > stack pointer = 0x10:0xffffffffb36ab830 > > frame pointer = 0x10:0xffffffffb36ab890 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 44 (swi1: net) > > [thread 100044] > > Stopped at m_copym+0x190: incl %ecx ><...> > > > -------------------------------------------------------------------------------------------------------- > > > > It seems to me the problem is related to network stack and threading. > > Am I right? How to solve this problem? > >I've seen reports of this problem with and without debug.mpsafenet=1, >which suggests it is a network stack bug but not specific to locking. I've >also seen reports that disabling TCP SACK will make the problem go away, >which would be good to confirm. I spent the weekend building up some more >expertise in TCP and reading a lot of TCP code, and hope to look at this >problem in more detail today. You may want to try turning off TCP sack >using net.inet.tcp.sack.enable=0 in sysctl.conf (or loader.conf). Thanks Robert. I will try as you suggested and let you know. Please let me know if you find the fix to this problem later on. thanks, Ganbold >Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >robert@fledge.watson.org Principal Research Scientist, McAfee Research > > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"