svn commit: r281159 - head/sys/dev/acpica

John Baldwin jhb at FreeBSD.org
Mon Apr 6 17:39:37 UTC 2015


Author: jhb
Date: Mon Apr  6 17:39:36 2015
New Revision: 281159
URL: https://svnweb.freebsd.org/changeset/base/281159

Log:
  Move the message complaining about failed system resource allocations
  under bootverbose.  Every example I've seen to date has been due to
  an ACPI system resource device reserving a range that overlaps with
  system memory (which ram0 attempts to reserve) or a local or I/O APIC
  (which apic0 attempts to reserve).  These are always harmless but look
  scary to users.
  
  MFC after:	1 week

Modified:
  head/sys/dev/acpica/acpi.c

Modified: head/sys/dev/acpica/acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi.c	Mon Apr  6 16:29:45 2015	(r281158)
+++ head/sys/dev/acpica/acpi.c	Mon Apr  6 17:39:36 2015	(r281159)
@@ -1151,7 +1151,7 @@ acpi_sysres_alloc(device_t dev)
 	if (res != NULL) {
 	    rman_manage_region(rm, rman_get_start(res), rman_get_end(res));
 	    rle->res = res;
-	} else
+	} else if (bootverbose)
 	    device_printf(dev, "reservation of %lx, %lx (%d) failed\n",
 		rle->start, rle->count, rle->type);
     }


More information about the svn-src-head mailing list