mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* howto map HDT dumped addresses to AMD64 kernel virtual addresses.
@ 2006-09-05 17:48 Om Narasimhan
  2006-09-05 18:57 ` Keith Mannthey
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Om Narasimhan @ 2006-09-05 17:48 UTC (permalink / raw)
  To: linux-kernel

Hi,
I am running a kernel (Suse Enterprise 9 with SP3) and it is hanging
somewhere in the kernel. By hooking up HDT from AMD, I got a the
assembly dump of the routine which causes the infinite loop. How
should I map the addresses dumped by HDT in the format SEG:Offset
(e.g,
0033:00000000_00400C18   mov   esi,[loc_0000000000501a64h]
0033:00000000_00400C1E   test   esi,esi
0033:00000000_00400C20   jz   loc_0000000000400c30h
...etc)
to kernel virtual address space?

Regards,
Om.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto map HDT dumped addresses to AMD64 kernel virtual addresses.
  2006-09-05 17:48 howto map HDT dumped addresses to AMD64 kernel virtual addresses Om Narasimhan
@ 2006-09-05 18:57 ` Keith Mannthey
  2006-09-05 19:33   ` Om Narasimhan
  2006-09-05 21:06 ` Andi Kleen
  2006-09-06  5:38 ` Jan Engelhardt
  2 siblings, 1 reply; 5+ messages in thread
From: Keith Mannthey @ 2006-09-05 18:57 UTC (permalink / raw)
  To: Om Narasimhan; +Cc: linux-kernel

On 9/5/06, Om Narasimhan <om.turyx@gmail.com> wrote:
> Hi,
> I am running a kernel (Suse Enterprise 9 with SP3) and it is hanging
> somewhere in the kernel. By hooking up HDT from AMD, I got a the
> assembly dump of the routine which causes the infinite loop. How
> should I map the addresses dumped by HDT in the format SEG:Offset
> (e.g,
> 0033:00000000_00400C18   mov   esi,[loc_0000000000501a64h]
> 0033:00000000_00400C1E   test   esi,esi
> 0033:00000000_00400C20   jz   loc_0000000000400c30h
> ...etc)
> to kernel virtual address space?

I don't know about your HDT (never used one) but have you already
tried the regular debug paths (nmi watchdog/sysrq/crashdump/kdb) that
SLES9 has?

Thanks,
  Keith

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto map HDT dumped addresses to AMD64 kernel virtual addresses.
  2006-09-05 18:57 ` Keith Mannthey
@ 2006-09-05 19:33   ` Om Narasimhan
  0 siblings, 0 replies; 5+ messages in thread
From: Om Narasimhan @ 2006-09-05 19:33 UTC (permalink / raw)
  To: Keith Mannthey; +Cc: linux-kernel

On 9/5/06, Keith Mannthey <kmannth@gmail.com> wrote:
> On 9/5/06, Om Narasimhan <om.turyx@gmail.com> wrote:
> > Hi,
> > I am running a kernel (Suse Enterprise 9 with SP3) and it is hanging
> > somewhere in the kernel. By hooking up HDT from AMD, I got a the
> > assembly dump of the routine which causes the infinite loop. How
> > should I map the addresses dumped by HDT in the format SEG:Offset
> > (e.g,
> > 0033:00000000_00400C18   mov   esi,[loc_0000000000501a64h]
> > 0033:00000000_00400C1E   test   esi,esi
> > 0033:00000000_00400C20   jz   loc_0000000000400c30h
> > ...etc)
> > to kernel virtual address space?
>
> I don't know about your HDT (never used one) but have you already
> tried the regular debug paths (nmi watchdog/sysrq/crashdump/kdb) that
> SLES9 has?
No. Thanks. I would try Sysrq and kdb. HDT does not make much sense at
this stage without all those. Thanks for reminding that.
Regards,
Om.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto map HDT dumped addresses to AMD64 kernel virtual addresses.
  2006-09-05 17:48 howto map HDT dumped addresses to AMD64 kernel virtual addresses Om Narasimhan
  2006-09-05 18:57 ` Keith Mannthey
@ 2006-09-05 21:06 ` Andi Kleen
  2006-09-06  5:38 ` Jan Engelhardt
  2 siblings, 0 replies; 5+ messages in thread
From: Andi Kleen @ 2006-09-05 21:06 UTC (permalink / raw)
  To: Om Narasimhan; +Cc: linux-kernel

"Om Narasimhan" <om.turyx@gmail.com> writes:

> Hi,
> I am running a kernel (Suse Enterprise 9 with SP3) and it is hanging
> somewhere in the kernel. By hooking up HDT from AMD, I got a the
> assembly dump of the routine which causes the infinite loop. How
> should I map the addresses dumped by HDT in the format SEG:Offset
> (e.g,
> 0033:00000000_00400C18   mov   esi,[loc_0000000000501a64h]
> 0033:00000000_00400C1E   test   esi,esi
> 0033:00000000_00400C20   jz   loc_0000000000400c30h
> ...etc)
> to kernel virtual address space?

The tool should be able to show you virtual addresses. Those are the virtual
addresses the kernel uses.

-Andi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: howto map HDT dumped addresses to AMD64 kernel virtual addresses.
  2006-09-05 17:48 howto map HDT dumped addresses to AMD64 kernel virtual addresses Om Narasimhan
  2006-09-05 18:57 ` Keith Mannthey
  2006-09-05 21:06 ` Andi Kleen
@ 2006-09-06  5:38 ` Jan Engelhardt
  2 siblings, 0 replies; 5+ messages in thread
From: Jan Engelhardt @ 2006-09-06  5:38 UTC (permalink / raw)
  To: Om Narasimhan; +Cc: linux-kernel


> Hi,
> I am running a kernel (Suse Enterprise 9 with SP3) and it is hanging
> somewhere in the kernel. By hooking up HDT from AMD, I got a the
> assembly dump of the routine which causes the infinite loop. How

As long as interrupts are not disabled, sysrq+t should show you the EIP 
where it loops.

> should I map the addresses dumped by HDT in the format SEG:Offset
> (e.g,
> 0033:00000000_00400C18   mov   esi,[loc_0000000000501a64h]
> 0033:00000000_00400C1E   test   esi,esi
> 0033:00000000_00400C20   jz   loc_0000000000400c30h
> ...etc)
> to kernel virtual address space?


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-06  5:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-05 17:48 howto map HDT dumped addresses to AMD64 kernel virtual addresses Om Narasimhan
2006-09-05 18:57 ` Keith Mannthey
2006-09-05 19:33   ` Om Narasimhan
2006-09-05 21:06 ` Andi Kleen
2006-09-06  5:38 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome