Re: Debugging the linux kernel core dump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure about the symbol table, but was your kernel compiled
with -g flag (-g to the CFLAGS variable in the kernel Makefile) ?

-Amit

On Fri, Aug 5, 2011 at 10:42 AM, Akash <email2akashjain@xxxxxxxxx> wrote:
> Hello,
>
> I have a core dump from following machine :
>
> # uname -a
> Linux sing-vto2-dst 2.6.34.8-0.2-desktop #1 SMP PREEMPT 2011-04-06 18:11:26
> +0200 x86_64 x86_64 x86_64 GNU/Linux
>
> I have opened this core in gdb
>
> # gdb vmlinux-2.6.34.8-0.2-desktop kernel.core0
> GNU gdb 6.6 (build 2009-10-05)
> Copyright (C) 2006 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.
> (no debugging symbols found)
> Program terminated with signal 11, Segmentation fault.
> #0  0xffffffff8100ba60 in default_idle ()
>
>
> How can I add symbols to gdb ?
> When I try to add symbols from System.map I get following error :
>
> (gdb) add-symbol-file System.map-2.6.34.8-0.2-desktop
> The address where System.map-2.6.34.8-0.2-desktop has been loaded is missing
>
>
> At what address should the System.map be added ? How can I find out that
> address ?
>
> Thanks for any help.
>
> Akash
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux