From owner-freebsd-current@FreeBSD.ORG Wed Nov 21 19:41:36 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A39516A47A for ; Wed, 21 Nov 2007 19:41:36 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B884313C447 for ; Wed, 21 Nov 2007 19:41:34 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IuvRy-0003Fq-U6 for freebsd-current@freebsd.org; Wed, 21 Nov 2007 19:41:30 +0000 Received: from ip244.gte215.dsl-acs2.sea.iinet.com ([209.20.215.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 19:41:30 +0000 Received: from atkin901 by ip244.gte215.dsl-acs2.sea.iinet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2007 19:41:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: othermark Date: Wed, 21 Nov 2007 11:41:23 -0800 Lines: 47 Message-ID: <474489E3.2020104@yahoo.com> References: <4744876D.4070506@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip244.gte215.dsl-acs2.sea.iinet.com User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <4744876D.4070506@FreeBSD.org> Sender: news Cc: attilio@FreeBSD.org, FreeBSD Current , rwatson@freebsd.org, davidxu@FreeBSD.org Subject: Re: boot-time crash in today's -current, and other threading problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 21 Nov 2007 19:41:37 -0000 Doug Barton wrote: > I'm spamming everyone who's had fingers in the threading code lately > since I can't seem to find a specific commit that looks guilty. > > On 19 Nov. I updated my -current system and noticed a regression where > alpine (a new version of the pine mail client that uses threads) would > crash while opening my mail folders with a sig 6. I figured I'd wait a > day or two since it was obvious that there was some work going on with > threads, and other things were working. > > Today I upgraded again, and the new kernel crashes on startup. > Traceback is below. Suggestions welcome. > > Doug > > ... > bge0: 0x6002> mem 0xecef0000-0xecefffff irq 18 at device 0.0 on pci9 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:15:c5:55:f0:5b > bge0: [ITHREAD] > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xdeadc0ee > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0556053 > stack pointer = 0x28:0xe5b00c54 > frame pointer = 0x28:0xe5b00c64 > 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 = 11 (swi4: clock sio) > Physical memory: 2029 MB > Dumping 70 MB: 55 39 23 7 The page fault looks like the same one I ran across. See my thread in -current titled: Re: cvs commit: src/sys/kern kern_timeout.c src/sys/sys callout.h and the patch by attilio@ in the same thread. You may be able to test it before I can get to it.