Re: Looking at a x86_64 kernel dump?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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. 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 _______________________________________________ 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... 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) This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Nelson