From owner-freebsd-stable@FreeBSD.ORG Fri Jun 15 18:00:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBC8F106566B for ; Fri, 15 Jun 2012 18:00:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD508FC14 for ; Fri, 15 Jun 2012 18:00:22 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 71482B98B; Fri, 15 Jun 2012 14:00:16 -0400 (EDT) From: John Baldwin To: Andrey Zonov Date: Fri, 15 Jun 2012 13:24:58 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p13; KDE/4.5.5; amd64; ; ) References: <4FD0ECB7.8040908@zonov.org> <201206131110.16489.jhb@freebsd.org> <4FDAD236.40908@zonov.org> In-Reply-To: <4FDAD236.40908@zonov.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201206151324.58103.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 15 Jun 2012 14:00:16 -0400 (EDT) Cc: freebsd-stable , Marius Strobl Subject: Re: mpt: Unable to memory map registers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 18:00:22 -0000 On Friday, June 15, 2012 2:12:06 am Andrey Zonov wrote: > On 6/13/12 7:10 PM, John Baldwin wrote: > > On Tuesday, June 12, 2012 5:57:34 pm Andrey Zonov wrote: > >> On 6/13/12 12:51 AM, John Baldwin wrote: > >>> On Tuesday, June 12, 2012 3:53:09 pm Andrey Zonov wrote: > >>>> On 6/12/12 10:06 PM, John Baldwin wrote: > >>>>> > >>>> [snip] > >>>>> Ok, I've added some more debugging. The patch is a bit larger now and you > >>> can > >>>>> fetch it from www.freebsd.org/~jhb/patches/pcib_debug.patch > >>>>> > >>>> > >>>> New dmesg is in attach. > >>> > >>> Sheesh, found another bug (wasn't masking 'front' properly). > >>> > >>> Try updated patch (same URL). > >>> > >> > >> Great! It works! > > > > Excellent. I've committed the 2 bugs needed to fix your box. However, > > there is another bug that this exposed that I'd like you to test. Can you > > update to the latest HEAD, apply the updated pcib_debug.patch, and boot > > with 'hw.pci.pcib_clear=1' set from the loader? That should exercise the > > bug I'm worried about and see if my fixes for that (recursively growing > > windows) works correctly. > > > > Attached. Hmm, it doesn't seem like hw.pci.pcib_clear was set (the pcibX devices still tried to allocate their initial windows). -- John Baldwin