linux-mips
[Top] [All Lists]

Re: kexec on mips - anyone has it working?

To: Nicolas Schichan <nschichan@freebox.fr>
Subject: Re: kexec on mips - anyone has it working?
From: Tomasz Chmielewski <mangoo@wpkg.org>
Date: Fri, 30 May 2008 13:39:16 +0200
Cc: linux-mips@linux-mips.org, Kexec Mailing List <kexec@lists.infradead.org>, openwrt-devel@lists.openwrt.org
In-reply-to: <200805301327.11925.nschichan@freebox.fr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <483BCB75.4050901@wpkg.org> <200805291347.05196.nschichan@freebox.fr> <483F0EF3.3060500@wpkg.org> <200805301327.11925.nschichan@freebox.fr>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.12 (X11/20080305)
Nicolas Schichan schrieb:
On Thursday 29 May 2008 22:15:47 Tomasz Chmielewski wrote:
# kexec -e
b44: eth0: powering down PHY
Starting new kernel
Will call new kernel at 00305000

The calling address of the kernel looks quite wrong, it should clearly
be inside the KSEG0 zone. could  you please indicate the output of the
command "mips-linux-readelf -l vmlinux" ?

# uname -m
mips
# readelf -l vmlinux

Elf file type is EXEC (Executable file)
Entry point 0x80251b50
There are 2 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
LOAD 0x001000 0x80001000 0x80001000 0x2dd07a 0x303250 RWE 0x2000
  NOTE           0x000000 0x00000000 0x00000000 0x00000 0x00000 R   0x4

 Section to Segment mapping:
  Segment Sections...
00 .text __ex_table __dbe_table .rodata .pci_fixup __ksymtab __ksymtab_gpl __ksymtab_strings __param .data .data.cacheline_aligned .init.text .init.data .init.setup .initcall.init .con_initcall.init .exit.text .init.ramfs .bss
   01

--
Tomasz Chmielewski
http://wpkg.org

<Prev in Thread] Current Thread [Next in Thread>