Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 17:08:12 -0700
From:      Nate Lawson <nate@root.org>
To:        =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
Cc:        current@freebsd.org
Subject:   Re: [FIXED] ATAPI CD boot problems
Message-ID:  <410AE2EC.50607@root.org>
In-Reply-To: <40E5B8B2.7060006@DeepCore.dk>
References:  <20040702105414.F54403@root.org> <20040702181547.GK1034@green.homeunix.org> <40E5B8B2.7060006@DeepCore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Søren Schmidt wrote:
>> On Fri, Jul 02, 2004 at 10:58:59AM -0700, Nate Lawson wrote:
>>> That's because the bug is still there.  Stick a call to "if (addr ==
>>> 0xc1740a00) backtrace();" in kern_malloc and you'll see the original
>>> allocator was ATA.  The problem is with ATA's handling of drives 
>>> where you
>>> get the message "identify timed out".  To work around, boot without your
>>> cdrom drive in the drive bay.  This bug is extremely annoying and has
>>> forced me to install via floppy in the past.
>>>
>>> The reason you don't see this in a custom kernel is the check for memory
>>> use after free happens only with options INVARIANTS.  The bug is still
>>> there, just ignored.
>>>
>>> I may get around to tracking this down sometime in the future but don't
>>> count on it.
>
> Yeps, some good precise debugging of this problem would be appreciated, 
> I can't seem to reproduce it here no matter what I try :(

Just to close off this thread, I found the problems and posted a patch 
including debugging info to -current.

-Nate



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