Hi,
While configuring the dump header when in kernel mode,
the vaule of esp is got as
dha->dha_regs.esp = (unsigned long) (regs + 1);
(in __dump_configure_header() in arch/i386/vmdump.c)
This doesn't give the true value of esp when crash occured,
because of which the back trace will not show the correct result in lcrash.
This will work correctly if esp is obtained as follows:
dha->dha_regs.esp = (unsigned long) (®s->esp);
Would you please check this?
Regards,
Bharata
Bharata. B. Rao
Linux Technology Center,
IBM Global Services, Bangalore.
E-mail : rbharata@xxxxxxxxxx
Phone : 91-80-5262355, Extn : 2534.
|