- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: core dump question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 10:55 PM
03-10-2004 10:55 PM
core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 12:44 AM
03-11-2004 12:44 AM
Re: core dump question
echo "0x440c4000/X\n0x440c4000?X"|adb myexecutable thecorefile
the first will be read from the core dump.
the second from the executable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 02:42 AM
03-11-2004 02:42 AM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 03:31 PM
03-11-2004 03:31 PM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 07:33 PM
03-11-2004 07:33 PM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 08:02 PM
03-11-2004 08:02 PM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 08:25 PM
03-11-2004 08:25 PM
Re: core dump question
This can be configured with crashconf.
If you have a full dump - usually not-
then with q4:
1) find the process structure in the proctable,
2)look at the pregions in the vas of that process,
3) and look for your address in the vas ( look only at the vaddr ) to find the space.
4) ex thespace.theaddress using L
( L is for long)
you have to do the same with cr_read()
If your program is able to display its spaceid for that address, it is more simple.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 09:06 PM
03-11-2004 09:06 PM
Re: core dump question
Thanks for your help but can u be more specific i din't understand what u meant can u explain me with some example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 06:31 AM
03-12-2004 06:31 AM
Re: core dump question
If you're trying to read the data at kernel virtual address 0x440c4000, then you'll have to translate the virtual address first. That means you'll need to load up the hashed page directory first.... and you'll need to know how to calculate the indices properly, etc.
If you know HP-UX kernel internals well, this should be doable.
If not (and you don't want to take the classes to learn), I'd seriously rethink your approach. You could after all just use the system() call to invoke adb to go find this for you. (And if your heart is set on reading the dump yourself... you could creatively let adb do your translating for you as well).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 06:51 AM
03-12-2004 06:51 AM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2004 06:10 PM
03-12-2004 06:10 PM
Re: core dump question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2004 09:40 PM
03-21-2004 09:40 PM