_machine removal breaks kexec?

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 4 02:16:34 EST 2006


On Mon, 2006-04-03 at 11:40 +1000, Anton Blanchard wrote:
> Hi,
> 
> It looks like the _machine removal broke kexec:
> 
>  # kexec -l vmlinux
>  /proc/device-tree/chosen/linux,platform: No such file or directory
> 
> The kexec tools seem to want the linux,platform property:
> 
>         /* if LPAR, no need to read any more from /chosen */
>         if (platform != PLATFORM_PSERIES) {
>                 closedir(cdir);
>                 continue;
>         }

Damn.... the platform numbers are gone, we need to fix that. (And nobody
complained when I posted the patch twice over the past couple of monthes
btw).

I suppose kexec needs to look for /rtas/hypertas or such ..

Ben.





More information about the Linuxppc-dev mailing list