* kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory
@ 2009-03-31 16:25 Geert Uytterhoeven
2009-03-31 23:52 ` Michael Ellerman
2009-04-02 16:25 ` [PATCH] powerpc: Correct dependency of KEXEC (was: Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory) Geert Uytterhoeven
0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2009-03-31 16:25 UTC (permalink / raw)
To: Linux/PPC Development
With today's kernel, I can no longer kexec any kernel on PS3:
| /proc/device-tree/chosen/linux,kernel-end: No such file or directory
| Could not get memory layout
Today's bad version: 15f7176eb1cccec0a332541285ee752b935c1c85
Yesterday's good version: 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
Before I start bisecting (tomorrow or the day thereafter), anyone with an idea?
Thanks!
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory
2009-03-31 16:25 kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory Geert Uytterhoeven
@ 2009-03-31 23:52 ` Michael Ellerman
2009-04-01 0:45 ` Geoff Levand
2009-04-02 16:25 ` [PATCH] powerpc: Correct dependency of KEXEC (was: Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory) Geert Uytterhoeven
1 sibling, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2009-03-31 23:52 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Linux/PPC Development
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
On Tue, 2009-03-31 at 18:25 +0200, Geert Uytterhoeven wrote:
> With today's kernel, I can no longer kexec any kernel on PS3:
>
> | /proc/device-tree/chosen/linux,kernel-end: No such file or directory
> | Could not get memory layout
>
> Today's bad version: 15f7176eb1cccec0a332541285ee752b935c1c85
> Yesterday's good version: 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
>
> Before I start bisecting (tomorrow or the day thereafter), anyone with an idea?
Hmm, not really.
Looking at the code the only obvious way you could end up without that
property is if you didn't have a /chosen?
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory
2009-03-31 23:52 ` Michael Ellerman
@ 2009-04-01 0:45 ` Geoff Levand
0 siblings, 0 replies; 4+ messages in thread
From: Geoff Levand @ 2009-04-01 0:45 UTC (permalink / raw)
To: michael; +Cc: Geert Uytterhoeven, Linux/PPC Development
On 03/31/2009 04:52 PM, Michael Ellerman wrote:
> On Tue, 2009-03-31 at 18:25 +0200, Geert Uytterhoeven wrote:
>> With today's kernel, I can no longer kexec any kernel on PS3:
>>
>> | /proc/device-tree/chosen/linux,kernel-end: No such file or directory
>> | Could not get memory layout
>>
>> Today's bad version: 15f7176eb1cccec0a332541285ee752b935c1c85
>> Yesterday's good version: 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
>>
>> Before I start bisecting (tomorrow or the day thereafter), anyone with an idea?
>
> Hmm, not really.
>
> Looking at the code the only obvious way you could end up without that
> property is if you didn't have a /chosen?
We got one, but linux,kernel-end isn't there anymore. Was before.
# ls /proc/device-tree/chosen/
name
#
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] powerpc: Correct dependency of KEXEC (was: Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory)
2009-03-31 16:25 kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory Geert Uytterhoeven
2009-03-31 23:52 ` Michael Ellerman
@ 2009-04-02 16:25 ` Geert Uytterhoeven
1 sibling, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2009-04-02 16:25 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux/PPC Development
On Tue, 31 Mar 2009, Geert Uytterhoeven wrote:
> With today's kernel, I can no longer kexec any kernel on PS3:
>
> | /proc/device-tree/chosen/linux,kernel-end: No such file or directory
> | Could not get memory layout
>
> Today's bad version: 15f7176eb1cccec0a332541285ee752b935c1c85
> Yesterday's good version: 0d34fb8e93ceba7b6dad0062dbb4a0813bacd75b
>
> Before I start bisecting (tomorrow or the day thereafter), anyone with an idea?
Subject: powerpc: Correct dependency of KEXEC
commit 28794d34ecb6815a3fa0a4256027c9b081a17c5f ("powerpc/kconfig: Kill
PPC_MULTIPLATFORM") broke KEXEC, by making it dependant on BOOK3S, while it
should be PPC_BOOK3S.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -313,7 +313,7 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
config KEXEC
bool "kexec system call (EXPERIMENTAL)"
- depends on BOOK3S && EXPERIMENTAL
+ depends on PPC_BOOK3S && EXPERIMENTAL
help
kexec is a system call that implements the ability to shutdown your
current kernel, and to start another kernel. It is like a reboot
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-02 16:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 16:25 kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory Geert Uytterhoeven
2009-03-31 23:52 ` Michael Ellerman
2009-04-01 0:45 ` Geoff Levand
2009-04-02 16:25 ` [PATCH] powerpc: Correct dependency of KEXEC (was: Re: kexec: proc/device-tree/chosen/linux,kernel-end: No such file or directory) Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).