Re: Looking at a x86_64 kernel dump?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 2.0.0.23 (X11/20090817) Thanks all, I found the problem. I had setup "Restart automatically if computer freezes" in the Energy Saver tab this seem to prevent complete dump. Paul Nelson wrote:
Be sure to use the -arch command when starting gab
Paul Nelson Thursby Software Systems, Inc.
On Mar 16, 2010, at 2:34 PM, Alain Renaud <arenaud@sgi.com> wrote:
Hello all,
I am having problem with my new 10.6 x86_64 mac. I did setup a dump machine for with kdumpd I setup the nvram on my x86_64 machine to properly dump on Panic boot-args debug=0xd44 _panicd_ip=10.16.1.236
I am able to panic the machine and I seem to be getting a valid dump but when I try running gdb on it it give me all these errors like the dump was not valid.
Note I use the same setup for my ppc and i368 mac and it does work fine.
# gdb /KernelDebugKit/10.6.2_10C540/mach_kernel core-custom-10.16.1.6-bcfb620b GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"... unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 unable to read unknown load command 0x58 ... (gdb) where #0 0x0000000000000000 in ?? () (gdb) source /KernelDebugKit/10.6.2_10C540/kgmacros Loading Kernel GDB Macros package. Type "help kgm" for more info. (gdb) showalltasks task vm_map ipc_space #acts pid process io_policy wq_state command 0xffffff800922ac60 (gdb)
Any idea what I am doing wrong?
Thanks.
-- Alain Renaud
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/nelson%40thursby.com
This email sent to nelson@thursby.com
-- =============================================== Alain Renaud - Cluster File System Engineer arenaud@sgi.com - SGI =============================================== _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alain Renaud