Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 15:03:15 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        othermark <atkin901@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic: Memory modified after free
Message-ID:  <20031022150112.X71676@carver.gumbysoft.com>
In-Reply-To: <bn1n4k$459$1@sea.gmane.org>
References:  <bn1n4k$459$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031022150112.X71676>