Thanks and Regards

Dharmosoth Seetharam
 
> Hi,
>
> I was able to load the new kenrel(Dump-capture kernel) in the
> reserved area by using the following command.
>
> kexec -l  ~seetharam/bin/vmlinux 
> --initrd=/boot/initrd-2.6.20-Dump-capture-Kernel.img  --args-linux 
> --append="root=/dev/mapper/system-rootvol init 1 irqpoll"  --console-vga 
> --console-serial
>
> But, my system got hang when i ran the following command
>
> kexec -e
>
> is this a known issue??
>
> my kernel is 2.6.20.
> kexec tool version is kexec-tools-1.101.
>
> Is there any latest kexec tools for Crash dump ??
>
> please help me.
>
>
> Thanks and Regards
> Dharmosoth Seetharam
>

Try this putting "console=tty0 console=ttyS0,115200n8
earlyprintk=serial,ttyS0,115200n8" into your --append string.

I have never used kexec's command line options to set the console but
for serial you ought to set the port and baud rate.  "kexec --help"
gives me:
     --serial=<port>           Specify the serial port for debug output
     --serial-baud=<buad_rate> Specify the serial port baud rate

You should also use the "--command-line" option instead of append to
avoid duplicating your command line and picking anything up from your
command line that you do not want to use.

This is my ignorance here, but I have never seen/used this syntax
"root=/dev/mapper/system-rootvol".  What does "cat /proc/cmdline" give
you?

--------------------------------------

I have traced the kexec tool .. and found the following hang point.
              (kexec-tools-1.101)
purgatory/arch/x86_64/entry64.S

entry64:
    
    ..........

  /* Jump to the new code... */
        jmpq    *rip(%rip)



         .......

r14:    .quad 0x00000000
r15:    .quad 0x00000000
rip:    .quad entry32
        .size entry64_regs, . - entry64_regs

As per the above code it should jump to the entry_32.
But, somehow it is not getting to that address and system got hung.

any Idea !!


In Documentation/kdump/kdump.txt given that - to load the new(capture) kernel
we can use compressed/uncompressed kernel.

For relocatable kernel --- bzImage
For non-relocatable kernel --- vmlinux 

on kernel-2.6.20 arch x86_64 is not relocatable, so I am using the uncompressed
vmlinux.



Thanks
Seetharam


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

Reply via email to