Hi all,

I am using x86_64 architecture.

[EMAIL PROTECTED] is included in cmd line of main
kernel (primary kernel) as a boot paramaeter.

kexec -p  vmlinux
--initrd=initrd-2.6.20Dump-capture-Kernel.img
--args-linux --append="root=/dev/mapper/system-rootvol
 init 1 irqpoll"

kexec_load failed: Cannot assign requested address

entry       = 0x1550 flags = 1 ---------------------> A


________________________________________________________-
$ eu-readelf -h vmlinux
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  *Entry point address:               0x1000100*   -----------------------> B
  Start of program headers:          64 (bytes into file)
  Start of section headers:          39850936 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         5
  Size of section headers:           64 (bytes)
  Number of section headers:         59
  Section header string table index: 56
___________________________________________________________________


Why A is having entry = 0x1550 ?? when we have  
Entry point address: 0x1000100 for vmlinux  at B??


can any one please explaing me what is wrong there ??


with this I am able to load the kernel but, not able to 
execute the pre-loaded kernel.



Thanks and Regards
Dharmosoth Seetharam


-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Tue, 6 Mar 2007 01:28:37 -0800
To: [email protected]
Subject: small query in kexec/crash dump setup in kernel-2.6.20

Hi all,

I am followed the Documentation/kdump/kdump.txt 
to install, build the kernels(Primary kernel and 
dump-capture kernel).

Main kenel 
===========
1) CONFIG_KEXEC=y
2) CONFIG_SYSFS=y
3) CONFIG_DEBUG_INFO=Y

Compiled and install on x86_64 architecture machine.

Dump-capture kernel
===================

Dump-capture kernel config options (Arch Independent)
-----------------------------------------------------
1) CONFIG_CRASH_DUMP=y
2) CONFIG_PROC_VMCORE=y
 
Dump-capture kernel config options(Arch Depdnt,
x86_64)
----------------------------------------------------------
1) CONFIG_SMP=n
   (If CONFIG_SMP=y, then specify maxcpus=1 on the 
    kernel command line when loading the dump-capture 
    kernel.)

2) By default this value is 0x1000000 (16MB). 
  It should be the same as X in the 
  "[EMAIL PROTECTED]" boot 

   parameter.

   For x86_64, normally  
  "CONFIG_PHYSICAL_START=0x1000000".

3) Make and install the kernel and its modules. 




x86_64 machine is booted with the Primary kernel
and while loading the Dump-capture kernel I am 
getting the following ERROR ... (x86_64 machine
installed the kexec tool)

[EMAIL PROTECTED] is included in cmd line of main 
kernel (primary kernel) as a boot paramaeter.

kexec -p  vmlinux 
--initrd=initrd-2.6.20Dump-capture-Kernel.img
--args-linux --append="root=/dev/mapper/system-rootvol
 init 1 irqpoll maxcpus=1"

kexec_load failed: Cannot assign requested address

entry       = 0x1550 flags = 1
nr_segments = 6
segment[0].buf   = 0x524c20
segment[0].bufsz = 8100
segment[0].mem   = 0x1000
segment[0].memsz = a000
segment[1].buf   = 0x52cec0
segment[1].bufsz = 1000
segment[1].mem   = 0xb000
segment[1].memsz = 1000
segment[2].buf   = 0x2af3d70f8010
segment[2].bufsz = 4650c8
segment[2].mem   = 0x200000
segment[2].memsz = 466000
segment[3].buf   = 0x2af3d755e010
segment[3].bufsz = 6cad4
segment[3].mem   = 0x666000
segment[3].memsz = 6d000
segment[4].buf   = 0x2af3d75f8010
segment[4].bufsz = c0d
segment[4].mem   = 0x6d3000
segment[4].memsz = 1000
segment[5].buf   = 0x2af3d76cc010
segment[5].bufsz = 627e8
segment[5].mem   = 0x6d4000
segment[5].memsz = ed000

can any one please tell me where could the wrong?

Thanks and Regards
Dharmosoth Seetharam



_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to