Linux on G5 Xserve?

Greg Johnson gjohnson at lanl.gov
Sat May 15 06:28:29 EST 2004


> It's known not to boot yet, yes. I haven't had time & access to the HW
> to make it work yet.
>
> Ben.

Power management seems to work with this patch.  I still haven't figured
out the issue with SMP, but I did install Debian!

Greg
-------------- next part --------------
diff -ur linux-2.6.6.orig/arch/ppc64/kernel/pmac_feature.c linux-2.6.6/arch/ppc64/kernel/pmac_feature.c
--- linux-2.6.6.orig/arch/ppc64/kernel/pmac_feature.c	2004-05-10 02:32:54.000000000 +0000
+++ linux-2.6.6/arch/ppc64/kernel/pmac_feature.c	2004-05-14 19:30:54.000000000 +0000
@@ -343,6 +343,10 @@
 		PMAC_TYPE_POWERMAC_G5,		g5_features,
 		0,
 	},
+	{	"RackMac3,1",			"XServe G5",
+		PMAC_TYPE_POWERMAC_G5,		g5_features,
+		0,
+	},
 };

 /*
diff -ur linux-2.6.6.orig/arch/ppc64/kernel/setup.c linux-2.6.6/arch/ppc64/kernel/setup.c
--- linux-2.6.6.orig/arch/ppc64/kernel/setup.c	2004-05-10 02:32:29.000000000 +0000
+++ linux-2.6.6/arch/ppc64/kernel/setup.c	2004-05-14 19:30:59.000000000 +0000
@@ -547,7 +547,7 @@
 int __init ppc_init(void)
 {
 	/* clear the progress line */
-	ppc_md.progress(" ", 0xffff);
+	if(ppc_md.progress) ppc_md.progress(" ", 0xffff);

 	if (ppc_md.init != NULL) {
 		ppc_md.init();
diff -ur linux-2.6.6.orig/drivers/macintosh/therm_pm72.c linux-2.6.6/drivers/macintosh/therm_pm72.c
--- linux-2.6.6.orig/drivers/macintosh/therm_pm72.c	2004-05-10 02:33:09.000000000 +0000
+++ linux-2.6.6/drivers/macintosh/therm_pm72.c	2004-05-14 20:03:37.000000000 +0000
@@ -1287,7 +1287,7 @@
 {
 	struct device_node *np;

-	if (!machine_is_compatible("PowerMac7,2"))
+	if (!machine_is_compatible("PowerMac7,2") && !machine_is_compatible("RackMac3,1"))
 	    	return -ENODEV;

 	printk(KERN_INFO "PowerMac G5 Thermal control driver %s\n", VERSION);


More information about the Linuxppc64-dev mailing list