No ATA disks on 9.1
Alex Keda
admin at lissyara.su
Fri May 3 18:27:58 UTC 2013
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 at srv0.host-food.ru:/usr/obj/usr/src/sys/GENERIC amd64
HP#
Thanks!
More information about the freebsd-current
mailing list