FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 03-05-2012, 04:33 AM
"hujun_hotmail"
 
Default Where can I find user-space registers in an x86-64 kernel dump?

thanks a lot !

--------------------------------------------------
From: "HATAYAMA Daisuke" <d.hatayama@jp.fujitsu.com>
Sent: Monday, March 05, 2012 9:05 AM
To: <duanshuidao@hotmail.com>
Cc: <crash-utility@redhat.com>
Subject: Re: [Crash-utility] [help]Where can I find user-space registers in
an x86-64 kernel dump?



Hello,

From: "hujun_hotmail" <duanshuidao@hotmail.com>
Subject: [Crash-utility] [help]Where can I find user-space registers in an
x86-64 kernel dump?

Date: Sat, 3 Mar 2012 21:58:55 +0800


Hi guys:
Where can I find user-space registers in an x86-64 kernel dump?

thanks!


Kernel performs saving user-space registers at several kernel entry
points such as system calls, interrupts and exceptions. Concretely,
look carefully into ./arch/x86/kernel/head_64.S.

Also crash-gcore-command would help you, which tries to collect such
registers. It's available here:
http://people.redhat.com/anderson/extensions.html.

Thanks.
HATAYAMA, Daisuke




--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 
Old 03-05-2012, 01:25 PM
Dave Anderson
 
Default Where can I find user-space registers in an x86-64 kernel dump?

----- Original Message -----
> Hello,
>
> From: "hujun_hotmail" <duanshuidao@hotmail.com>
> Subject: [Crash-utility] [help]Where can I find user-space registers
> in an x86-64 kernel dump?
> Date: Sat, 3 Mar 2012 21:58:55 +0800
>
> > Hi guys:
> > Where can I find user-space registers in an x86-64 kernel dump?
> >
> > thanks!
>
> Kernel performs saving user-space registers at several kernel entry
> points such as system calls, interrupts and exceptions. Concretely,
> look carefully into ./arch/x86/kernel/head_64.S.

With respect to the crash utility and dumpfiles, user-space register contents
are captured into a "pt_regs" data structure that is stored at the top of each
user task's kernel stack upon entry into kernel-space (whether via syscall,
interrupt, or exception), and those registers are displayed by the "bt" command.

Dave



--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 

Thread Tools




All times are GMT. The time now is 04:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org