From owner-freebsd-hardware@FreeBSD.ORG Fri May 3 18:27:58 2013 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1A261A71; Fri, 3 May 2013 18:27:58 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from mx.lissyara.su (mx.lissyara.su [91.227.18.11]) by mx1.freebsd.org (Postfix) with ESMTP id C89D01B10; Fri, 3 May 2013 18:27:57 +0000 (UTC) Received: from [77.41.107.10] (port=55979 helo=dc7700p.lissyara.su) by mx.lissyara.su with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UYKi4-0004CD-KD; Fri, 03 May 2013 22:27:56 +0400 Message-ID: <518401AC.5010009@lissyara.su> Date: Fri, 03 May 2013 22:27:56 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: John Baldwin Subject: Re: No ATA disks on 9.1 References: <5182CA25.9030001@lissyara.su> <201305031241.36538.jhb@freebsd.org> In-Reply-To: <201305031241.36538.jhb@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: mx.lissyara.su Cc: hardware@freebsd.org, current@freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2013 18:27:58 -0000 03.05.2013 20:41, John Baldwin пишет: > On Thursday, May 02, 2013 4:18:45 pm Alex Keda wrote: >> see begin in: >> http://lists.freebsd.org/pipermail/freebsd-current/2012-November/038000.html > > Hmm, what I see is that hdac0 is affected by this, but it's a bit odd. Can > you try the patch below, but can you also get the output of 'devinfo -u' and > 'devinfo -rv' from the 9.0 kernel? I use this patch: srv0# diff -Nru sys/dev/pci/pci.c.orig sys/dev/pci/pci.c --- sys/dev/pci/pci.c.orig 2012-11-17 12:47:51.000000000 +0400 +++ sys/dev/pci/pci.c 2013-05-03 21:49:18.000000000 +0400 @@ -2751,6 +2751,11 @@ * from the parent. */ resource_list_delete(rl, type, reg); + pci_disable_io(dev, type); + device_printf(bus, + "pci%d:%d:%d:%d bar %#x failed to allocate\n", + pci_get_domain(dev), pci_get_bus(dev), pci_get_slot(dev), + pci_get_function(dev), reg); } else { start = rman_get_start(res); pci_write_bar(dev, pm, start); srv0# all OK: HP# uname -a FreeBSD HP.lissyara.su 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Fri May 3 22:03:50 MSK 2013 lissyara@srv0.host-food.ru:/usr/obj/usr/src/sys/GENERIC amd64 HP# Thanks!