[parisc-linux-cvs] palo bame

Paul Bame bame@puffin.external.hp.com
Tue, 13 Mar 2001 12:40:03 -0700


CVSROOT:	/home/cvs/parisc
Module name:	palo
Changes by:	bame	01/03/13 12:40:03

Modified files:
	ipl            : pdc_misc.c 

Log message:
Improved an error message:
? diff.out
Index: ipl/pdc_misc.c
===================================================================
RCS file: /home/cvs/parisc/palo/ipl/pdc_misc.c,v
retrieving revision 1.6
diff -u -r1.6 pdc_misc.c
--- pdc_misc.c	2000/09/05 16:04:15	1.6
+++ pdc_misc.c	2001/03/13 19:39:16
@@ -44,14 +44,18 @@
mask = retbuf[0];
if (wide && ((mask & DEFAULT_W) == 0))
{
-	    die("Firmware does not allow selection of default wide mode");
+	    die("Firmware does not allow selection of default wide mode.\r\n"
+	    	"Are you trying to boot a 64-bit kernel on a PA1.1 box?"
+	    );
}
/* get the current default bit settings */
(*(firmware_call)PAGE0->mem_pdc) (PDC_PSW, PDC_RETURN_DEFAULTS, retbuf, 0, 0);
if (wide)
{
if ((mask & DEFAULT_W) == 0)
-		die("Firmware does not allow selection of default wide mode");
+		die("Firmware does not allow selection of default wide mode.\r\n"
+		    "Are you trying to boot a 64-bit kernel on a PA1.1 box?"
+		);
retbuf[0] |= DEFAULT_W;
}
else