* kexec for aarch64_be
@ 2014-07-09 12:45 Pankaj Pandey
2014-07-09 18:57 ` Geoff Levand
0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Pandey @ 2014-07-09 12:45 UTC (permalink / raw)
To: kexec
Hi,
I have found the support for aarch64_be in kexec-tool.git under "master" branch.
During executing kexec for aarch64_be I am facing "Invalid memory
segment 0xffffffc080080000 - 0xffffffc080a8efff" error.
Any tips or pointers would be highly appreciated. Thanks in advance !!
Regards,
Pankaj Pandey
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kexec for aarch64_be
2014-07-09 12:45 kexec for aarch64_be Pankaj Pandey
@ 2014-07-09 18:57 ` Geoff Levand
2014-07-10 13:59 ` Pankaj Pandey
0 siblings, 1 reply; 6+ messages in thread
From: Geoff Levand @ 2014-07-09 18:57 UTC (permalink / raw)
To: Pankaj Pandey; +Cc: kexec
Hi Pankaj,
On Wed, 2014-07-09 at 18:15 +0530, Pankaj Pandey wrote:
> I have found the support for aarch64_be in kexec-tool.git under "master" branch.
>
> During executing kexec for aarch64_be I am facing "Invalid memory
> segment 0xffffffc080080000 - 0xffffffc080a8efff" error.
>
> Any tips or pointers would be highly appreciated. Thanks in advance !!
Please run kexec with the -d (debug) option and post all the output
including the kexec command line.
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kexec for aarch64_be
2014-07-09 18:57 ` Geoff Levand
@ 2014-07-10 13:59 ` Pankaj Pandey
2014-07-10 17:30 ` Geoff Levand
0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Pandey @ 2014-07-10 13:59 UTC (permalink / raw)
To: Geoff Levand; +Cc: kexec
Hi Geoff,
Please find output of kexec with the -d (debug)
# /home/kexec -l /home/vmlinux --command-line="`cat /proc/cmdline`" -d
arch_process_options:79: command_line: root=/dev/nfs rw
nfsroot=10.162.103.123:/opt/rootfs_all/rootfs-complete
ip=10.162.10.45:10.162.103.123:10.162.103.123:255.255.0.0:aarch64_be:eth0:off
panic=1 console=ttyS0,115200
arch_process_options:81: ramdisk: (null)
arch_process_options:82: dtb: (null)
kernel: 0x7f99470010 kernel_size: 0x729a63c
memory ranges:
Skip: 000000001c020000 - 000000001c020020 : serial
Add: 0000004000000000 - 0000004400000000 : System RAM
Skip: 0000004000080000 - 00000040008ac5e4 : Kernel code
Skip: 00000040008dc000 - 0000004000a8e4d8 : Kernel data
Skip: 000000e0d0000000 - 000000e0d0200000 : cfg
elf_arm64_probe:27: ->
elf_arm64_probe:46: <-
elf_arm64_load:65: ->
add_segment:112: ->
virt_to_phys:104: ffffffc000080000 -> ffffffc080080000
Invalid memory segment 0xffffffc080080000 - 0xffffffc080a8efff
Regards,
Pankaj Pandey
On Thu, Jul 10, 2014 at 12:27 AM, Geoff Levand <geoff@infradead.org> wrote:
> Hi Pankaj,
>
> On Wed, 2014-07-09 at 18:15 +0530, Pankaj Pandey wrote:
>> I have found the support for aarch64_be in kexec-tool.git under "master" branch.
>>
>> During executing kexec for aarch64_be I am facing "Invalid memory
>> segment 0xffffffc080080000 - 0xffffffc080a8efff" error.
>>
>> Any tips or pointers would be highly appreciated. Thanks in advance !!
>
> Please run kexec with the -d (debug) option and post all the output
> including the kexec command line.
>
> -Geoff
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kexec for aarch64_be
2014-07-10 13:59 ` Pankaj Pandey
@ 2014-07-10 17:30 ` Geoff Levand
2014-07-11 7:40 ` Pankaj Pandey
0 siblings, 1 reply; 6+ messages in thread
From: Geoff Levand @ 2014-07-10 17:30 UTC (permalink / raw)
To: Pankaj Pandey; +Cc: kexec
Hi Pankaj,
On Thu, 2014-07-10 at 19:29 +0530, Pankaj Pandey wrote:
> memory ranges:
> Skip: 000000001c020000 - 000000001c020020 : serial
> Add: 0000004000000000 - 0000004400000000 : System RAM
> Skip: 0000004000080000 - 00000040008ac5e4 : Kernel code
> Skip: 00000040008dc000 - 0000004000a8e4d8 : Kernel data
> Skip: 000000e0d0000000 - 000000e0d0200000 : cfg
> elf_arm64_probe:27: ->
> elf_arm64_probe:46: <-
> elf_arm64_load:65: ->
> add_segment:112: ->
> virt_to_phys:104: ffffffc000080000 -> ffffffc080080000
> Invalid memory segment 0xffffffc080080000 - 0xffffffc080a8efff
This output does not look familiar. I can only
guess you are using an old version of my kexec-tools.
Please use the latest from the 'master' branch here, and
post the output:
git://git.linaro.org/people/geoff.levand/kexec-tools.git
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kexec for aarch64_be
2014-07-10 17:30 ` Geoff Levand
@ 2014-07-11 7:40 ` Pankaj Pandey
2014-07-12 0:03 ` Geoff Levand
0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Pandey @ 2014-07-11 7:40 UTC (permalink / raw)
To: Geoff Levand, kexec
Hi Geoff,
I have checkout the master branch and compile and execute the kexec.
Please find log below :-
# /home/kexec -l /home/vmlinux --command-line="`cat /proc/cmdline`" -d
arch_process_options:79: command_line: root=/dev/nfs rw
nfsroot=10.162.103.123:/opt/rootfs_all/rootfs-complete
ip=10.162.10.45:10.162.103.123:10.162.103.123:255.255.0.0:aarch64_be:eth0:off
panic=1 console=ttyS0,115200
arch_process_options:85: initrd: (null)
arch_process_options:86: dtb: (null)
kernel: 0x7f85df8010 kernel_size: 0x729a63c
Modified cmdline: root=/dev/nfs
get_memory_ranges_dt: node_1552 memory
get_memory_ranges_dt: RAM: 0000004000000000 - 0000004400000000
get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
get_memory_ranges_dt: Success
p_vaddr: ffffffc000080000
kexec: kexec/arch/arm64/kexec-arm64.c:242: virt_to_phys: Assertion
`arm64_mem.memstart' failed.
Aborted
Regards,
Pankaj Pandey
On Thu, Jul 10, 2014 at 11:00 PM, Geoff Levand <geoff@infradead.org> wrote:
> Hi Pankaj,
>
> On Thu, 2014-07-10 at 19:29 +0530, Pankaj Pandey wrote:
>> memory ranges:
>> Skip: 000000001c020000 - 000000001c020020 : serial
>> Add: 0000004000000000 - 0000004400000000 : System RAM
>> Skip: 0000004000080000 - 00000040008ac5e4 : Kernel code
>> Skip: 00000040008dc000 - 0000004000a8e4d8 : Kernel data
>> Skip: 000000e0d0000000 - 000000e0d0200000 : cfg
>> elf_arm64_probe:27: ->
>> elf_arm64_probe:46: <-
>> elf_arm64_load:65: ->
>> add_segment:112: ->
>> virt_to_phys:104: ffffffc000080000 -> ffffffc080080000
>> Invalid memory segment 0xffffffc080080000 - 0xffffffc080a8efff
>
> This output does not look familiar. I can only
> guess you are using an old version of my kexec-tools.
>
> Please use the latest from the 'master' branch here, and
> post the output:
>
> git://git.linaro.org/people/geoff.levand/kexec-tools.git
>
> -Geoff
>
>
>
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kexec for aarch64_be
2014-07-11 7:40 ` Pankaj Pandey
@ 2014-07-12 0:03 ` Geoff Levand
0 siblings, 0 replies; 6+ messages in thread
From: Geoff Levand @ 2014-07-12 0:03 UTC (permalink / raw)
To: Pankaj Pandey; +Cc: kexec
Hi Pankaj,
On Fri, 2014-07-11 at 13:10 +0530, Pankaj Pandey wrote:
> get_memory_ranges_dt: node_1552 memory
> get_memory_ranges_dt: RAM: 0000004000000000 - 0000004400000000
> get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
> get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
> get_memory_ranges_dt: RAM: 0000000000000000 - 0000000000000000
> get_memory_ranges_dt: Success
> p_vaddr: ffffffc000080000
> kexec: kexec/arch/arm64/kexec-arm64.c:242: virt_to_phys: Assertion
> `arm64_mem.memstart' failed.
I pushed out a fix for this (zero length memory sections) to my
master branch today. Please pull and try again.
-Geoff
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-12 0:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 12:45 kexec for aarch64_be Pankaj Pandey
2014-07-09 18:57 ` Geoff Levand
2014-07-10 13:59 ` Pankaj Pandey
2014-07-10 17:30 ` Geoff Levand
2014-07-11 7:40 ` Pankaj Pandey
2014-07-12 0:03 ` Geoff Levand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox