Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2004 15:41:09 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Jesse Guardiani <jesse@wingnet.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 5.2.1-RC2 debug kernel PANIC "Memory modified after free"
Message-ID:  <20040218234109.GA77908@troutmask.apl.washington.edu>
In-Reply-To: <200402181818.43959.jesse@wingnet.net>
References:  <c0vsqa$su0$1@sea.gmane.org> <20040218220443.GA76951@troutmask.apl.washington.edu> <200402181818.43959.jesse@wingnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 18, 2004 at 06:18:43PM -0500, Jesse Guardiani wrote:
> On Wednesday 18 February 2004 17:04, Steve Kargl wrote:
> > On Wed, Feb 18, 2004 at 09:28:26AM -0500, Jesse Guardiani wrote:
> > > mtrash_ctor(c3b41a00,200,0,579,c3b41a00) at mtrash_ctor+0x4d
> > > uma_zalloc_arg(c103bcc0,0,2,e38a39a8,c0547970) at uma_zalloc_arg+0x1cb
> > > malloc(188,c0711be0,2,1,c06dcb5e) at malloc+0xd3
> > > elf32_load_file(c3a678d4,c3ab6000,e38a3a9c,e38a3bc8,1000) at
> > > elf32_load_file+0x5 1
> > > exec_elf32_imgact(e38a3b8c,0,c06db142,fe,c0740eb8) at
> > > exec_elf32_imgact+0x45d kern_execve(c3a65140,81078e0,8107938,8107948,0)
> > > at kern_execve+0x38c execve(c3a65140,e38a3d14,c06f68f1,3ee,3) at
> > > execve+0x30
> > > syscall(2f,2f,2f,81078e0,8107938) at syscall+0x2c0
> > > Xint0x80_syscall() at Xint0x80_syscall+0x1d
> > > --- syscall (59, FreeBSD ELF32, execve), eip = 0x807c22f, esp =
> > > 0xbfbfe62c, ebp = 0xbfbfe648 ---
> > > db>
> >
> > This is a known panic.  You can try disabling ACPI by adding
> > hin.acpi.0.disbled="1" to /boot/loader.conf
> 
> hint.acpi.0.disabled=1 was already set when the above panic took place. I can
> get you the top half of the dmesg if you're interested.

I don't need it.  I believe you.

> > or setting it in
> > the loader.  The other workaround was proposed by Maxim.  You
> > need to change line 570 in dev/ata/ata-all.c from
> >    request->retries = -1;
> > to
> >    request->retries = 3;
> 
> Since I'm not using ACPI, are you sure about that?
> 

Works for me.  Although SOren committed a revision to ata-all.c yesterday,
which I haven't hade time to test.

http://lists.freebsd.org/pipermail/freebsd-current/2004-February/020580.html
http://lists.freebsd.org/pipermail/freebsd-current/2004-February/021323.html
http://lists.freebsd.org/pipermail/freebsd-current/2004-February/021500.html

-- 
Steve



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