Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 21:41:21 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r259231 - stable/10/sys/powerpc/ofw
Message-ID:  <201312112141.rBBLfLOT065189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312112141.rBBLfLOT065189>