Re: panic: Memory modified after free

From: othermark <atkin901_at_yahoo.com>
Date: Thu, 23 Oct 2003 10:02:36 -0700
Thanks for looking at this.  I'm still scratching my head on it.

Doug White wrote:
> 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.

...

> 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.

these are fibre 1000 base sx connections.  They don't attach correctly in 
the 5.0-release kernel as well (with the exact same error), but it does
continue to boot correctly.  These are hardwired into the bus, and I'm
unable to disable them. :(

> That or perhaps you have bad memory.  Do you have ECC RAM in the system?

I'm not positive, so I'm going to say no, but I'm also fairly sure that 
the memory is good.  I ran make buildworld on 5.0 successfully w/o any
problems.  Slow bios memcheck at startup is good.

> Here is the panic again:
> 
>> Memory modified after free 0xc4758800(2044) val=c4756800 _at_ 0xc47589dc
>> panic: Most recently used by bus-sc

this seems similar to:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/53566

except the last user is of memory is different.

Speaking of memory

5.0 - release:

  real memory  = 536870912 (512 MB)
  Physical memory chunk(s):
! 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
! 0x0064f000 - 0x1fff7fff, 530223104 bytes (129449 pages)
! avail memory = 515031040 (491 MB)

-current:
  real memory  = 536870912 (512 MB)
  Physical memory chunk(s):
! 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
! 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
! 0x0000000000c26000 - 0x000000001f6d9fff, 514539520 bytes (125620 pages)
! avail memory = 511942656 (488 MB)

I think the next step is to move up to a 5.1-release kernel and see if
it boots as well as the 5.0-release does, or provides a more interesting
panic.

-- 
othermark
atkin901 at nospam dot yahoo dot com
(!wired)?(coffee++):(wired);
Received on Thu Oct 23 2003 - 08:02:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC