From owner-freebsd-current@FreeBSD.ORG Wed Oct 22 15:03:17 2003 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 EBE2416A4BF for ; Wed, 22 Oct 2003 15:03:16 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05EB743FCB for ; Wed, 22 Oct 2003 15:03:16 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id DFCB772DB3; Wed, 22 Oct 2003 15:03:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id DDA0B72DAD; Wed, 22 Oct 2003 15:03:15 -0700 (PDT) Date: Wed, 22 Oct 2003 15:03:15 -0700 (PDT) From: Doug White To: othermark In-Reply-To: Message-ID: <20031022150112.X71676@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: panic: Memory modified after free 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: Wed, 22 Oct 2003 22:03:17 -0000 On Mon, 20 Oct 2003, othermark wrote: > I have a strange panic during the isa pnp code that does not occur with a > 5.0-release kernel. I have tried enabling and disabling acpi. it does > not effect this panic one way or another. This is a kernel from -current > 10/20 (today). I'm not sure how to get this to boot with no way to disable > pnp probing (pnpbios(4)). Can you pull out or disable the gig-e card? Its having trouble initializing, and I'm wondering if its doing something bad in the process. That or perhaps you have bad memory. Do you have ECC RAM in the system? Here is the failed em attach: > em0: mem > 0xfeae0000-0xf > eafffff irq 5 at device 0.0 on pci1 > em0: [MPSAFE] > em0: Hardware Initialization Failedem0: Unable to initialize the hardware > device_probe_and_attach: em0 attach returned 5 The other em failing (intel motherboard?): > em0: mem > 0xfebe0000-0xf > ebfffff irq 9 at device 1.0 on pci2 > em0: [MPSAFE] > em0: Hardware Initialization Failedem0: Unable to initialize the hardware > device_probe_and_attach: em0 attach returned 5 Here is the panic again: > Memory modified after free 0xc4758800(2044) val=c4756800 @ 0xc47589dc > panic: Most recently used by bus-sc > > Debugger("panic") > Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 > db> where > Debugger(c083c6e1,c08fe300,c0853cc0,c0c21b4c,100) at Debugger+0x54 > panic(c0853cc0,c083dd01,7fc,c4756800,c47589dc) at panic+0xd5 > mtrash_ctor(c4758800,800,0,583,c4758800) at mtrash_ctor+0x67 > uma_zalloc_arg(c103ae40,0,1,2c21bbc,c0891040) at uma_zalloc_arg+0x1ce > malloc(7ec,c0891040,1,c473dc80,c478f000) at malloc+0xd3 > isa_add_config(c4765b00,c478d280,0,c478f000,c478f000) at isa_add_config+0x33 > pnp_parse_resources(c478d280,c478e30e,19,0,c478e302) at pnp_parse_resource > +0x3b8 > pnpbios_identify(c08d0db4,c4765b00,c0863280,c085d008,c08caab0) at > pnpbios_identify+0x43f > bus_generic_probe(c4765b00,c0c21d5c,c064f78e,c1cfd180,c474904c) at > bus_generic_probe+0x62 > isa_probe_children(c4765b00,c08570dd,0,c0c21d98,c0610455) at > isa_probe_children+0x14 > configure(0,c1e000,c1ec00,c1e000,0) at configure+0x4b > mi_startup() at mi_startup+0xb5 > begin() at begin+0x2c > db> > > > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org