svn commit: r259231 - stable/10/sys/powerpc/ofw

Andreas Tobler andreast at FreeBSD.org
Wed Dec 11 21:41:21 UTC 2013


Author: andreast
Date: Wed Dec 11 21:41:21 2013
New Revision: 259231
URL: http://svnweb.freebsd.org/changeset/base/259231

Log:
  MFC	r258778
  
  Add a printf to inform about the logical memory block size which is in use
  by the system. This might give a hint why a pSeries system is not booting.

Modified:
  stable/10/sys/powerpc/ofw/ofw_machdep.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/powerpc/ofw/ofw_machdep.c
==============================================================================
--- stable/10/sys/powerpc/ofw/ofw_machdep.c	Wed Dec 11 21:37:32 2013	(r259230)
+++ stable/10/sys/powerpc/ofw/ofw_machdep.c	Wed Dec 11 21:41:21 2013	(r259231)
@@ -282,6 +282,7 @@ parse_drconf_memory(int *msz, int *asz, 
 	res = OF_getprop(phandle, "ibm,lmb-size", lmb_size, sizeof(lmb_size));
 	if (res == -1)
 		return (0);
+	printf("Logical Memory Block size: %d MB\n", lmb_size[1] >> 20);
 
 	/* Parse the /ibm,dynamic-memory.
 	   The first position gives the # of entries. The next two words


More information about the svn-src-all mailing list