Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 21:54:55 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258778 - head/sys/powerpc/ofw
Message-ID:  <201311302154.rAULstew029838@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andreast
Date: Sat Nov 30 21:54:55 2013
New Revision: 258778
URL: http://svnweb.freebsd.org/changeset/base/258778

Log:
  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:
  head/sys/powerpc/ofw/ofw_machdep.c

Modified: head/sys/powerpc/ofw/ofw_machdep.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_machdep.c	Sat Nov 30 21:29:34 2013	(r258777)
+++ head/sys/powerpc/ofw/ofw_machdep.c	Sat Nov 30 21:54:55 2013	(r258778)
@@ -309,6 +309,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?201311302154.rAULstew029838>