|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [PATCH] Warn instead of fail on device_type fetch fail
The latest release of SLOF is missing mandatory "device_type" nodes for
both ISA and system-controller (which are both busses). Until this is
fixed, Xen fails to boot on that release of SLOF. So work around it by
just printing a warning instead of a panic.
Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>
---
boot_of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -r b30cb72ed5e2 xen/arch/powerpc/boot_of.c
--- a/xen/arch/powerpc/boot_of.c Fri Nov 03 16:53:17 2006 -0500
+++ b/xen/arch/powerpc/boot_of.c Tue Nov 21 13:50:23 2006 -0500
@@ -819,7 +819,7 @@ static int __init boot_of_serial(void *o
rc = of_getprop(p, "device_type", type, sizeof (type));
if (rc == OF_FAILURE)
- of_panic("fetching device type failed\n");
+ of_printf("%s: fetching type of %s failed\n", __func__, buf);
if (strcmp(type, "serial") != 0)
continue;
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [XenPPC] [PATCH] Warn instead of fail on device_type fetch fail,
Amos Waterland <=
|
|
|
|
|