From owner-freebsd-stable@FreeBSD.ORG Sat Jun 9 17:35:26 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 7185C1065670; Sat, 9 Jun 2012 17:35:26 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id D7C648FC16; Sat, 9 Jun 2012 17:35:25 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id q59HZOmF041502; Sat, 9 Jun 2012 19:35:24 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id q59HZOLQ041501; Sat, 9 Jun 2012 19:35:24 +0200 (CEST) (envelope-from marius) Date: Sat, 9 Jun 2012 19:35:24 +0200 From: Marius Strobl To: Andrey Zonov Message-ID: <20120609173523.GA41443@alchemy.franken.de> References: <4FD0ECB7.8040908@zonov.org> <201206081119.09164.jhb@freebsd.org> <201206081427.39718.jhb@freebsd.org> <4FD3101D.9010603@zonov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FD3101D.9010603@zonov.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable , John Baldwin 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: Sat, 09 Jun 2012 17:35:26 -0000 On Sat, Jun 09, 2012 at 12:58:05PM +0400, Andrey Zonov wrote: > On 6/8/12 10:27 PM, John Baldwin wrote: > >On Friday, June 08, 2012 11:48:50 am Andrey Zonov wrote: > >>On Fri, Jun 8, 2012 at 7:19 PM, John Baldwin wrote: > >>>On Friday, June 08, 2012 3:14:19 am Andrey Zonov wrote: > >>>>On 6/7/12 10:02 PM, Andrey Zonov wrote: > >>>>>Hi, > >>>>> > >>>>>I just upgraded a few machines from 8.2-STABLE (r221983) to 9.0-STABLE > >>>>>(r234600) and now they can't find any disk because SAS controller > >>>>>cannot > >>>>>initialize with the following diagnostic: > >>>>> > >>>>>mpt0: port 0xd000-0xd0ff irq 26 at device > >>>>>3.0 on pci6 > >>>>>mpt0: 0x4000 bytes of rid 0x14 res 3 failed (0, 0xffffffffffffffff). > >>>>>mpt0: Unable to memory map registers. > >>>>>mpt0: Giving Up. > >>>>> > >>>>>pciconf -lv: > >>>>>mpt0@pci0:6:3:0: class=0x010000 card=0x81dd1043 chip=0x00541000 > >>>>>rev=0x02 > >>>>>hdr=0x00 > >>>>>vendor = 'LSI Logic / Symbios Logic' > >>>>>device = 'SAS1068 PCI-X Fusion-MPT SAS' > >>>>>class = mass storage > >>>>>subclass = SCSI > >>>>> > >>>>>I tried to boot to latest HEAD and found the same problem. I also tried > >>>>>to build kernel with mpt driver from my 8.2. Controller didn't > >>>>>initialize with the same diagnostic. So it looks like the problem is > >>>>>not > >>>>>in mpt driver. > >>>>> > >>>>>Any help would be appreciated. > >>>>> > >>>> > >>>>+jhb@ > >>>> > >>>>Hi John, > >>>> > >>>>Could you please help me with the problem above? It looks like the > >>>>problem is in PCI code and you changed things there. > >>> > >>>Can you get a verbose dmesg? > >>> > >> > >>Yes, it's in attach. > > > >Can you get the output of 'devinfo -u' and 'devinfo -rv' from a broken > >kernel? > > > > Attached. > > >Can you also try setting 'debug.acpi.disable=sysres' in the loader? > > > > Didn't help. > That's probably due to a typo, the corret loader tunable is debug.acpi.disabled=sysres (note the 'd'). Marius