Hi, Can I create a vmcore (elf format) using makedumpfile from a Raw file ? So I can debug using vmlinux and gdb ? thanks -- Lucas Tanure +55 (19) 988176559
On Thu, Jul 31, 2014 at 04:14:42PM -0300, Lucas Tanure wrote:
Hi,
Can I create a vmcore (elf format) using makedumpfile from a Raw file ? So I can debug using vmlinux and gdb ?
To debug kernel with gdb, you can try: 1) User Mode Linux 2) qemu + gdb
thanks
-- Lucas Tanure +55 (19) 988176559
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi, The problem is that I receive files from ram dump and I need to open that with Trace32. But I would like to analyse with Gdb. So, It's not a matter better debug or run linux. Or I'm tied with Trace32 or I find a way to convert the raw ram dump into something that gdb reads. I would like to do: gdb vmlinux vmcore But my vmcore it's not in elf format for dumps. Where I can read about kernel addresses ? I would like to understand better the memory of the kernel in running. I know that kernel takes 1gb of ram, but what else ? Thanks -- Lucas Tanure +55 (19) 988176559 On Thu, Jul 31, 2014 at 7:37 PM, Real Name <enjoymindful@gmail.com> wrote:
On Thu, Jul 31, 2014 at 04:14:42PM -0300, Lucas Tanure wrote:
Hi,
Can I create a vmcore (elf format) using makedumpfile from a Raw file ? So I can debug using vmlinux and gdb ?
To debug kernel with gdb, you can try: 1) User Mode Linux 2) qemu + gdb
thanks
-- Lucas Tanure +55 (19) 988176559
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
http://jeffbastian.blogspot.com/2012/11/extract-vmlinux-with-power-of-comman... On Fri, Aug 1, 2014 at 6:50 AM, Lucas Tanure <tanure@linux.com> wrote:
Hi,
The problem is that I receive files from ram dump and I need to open that with Trace32. But I would like to analyse with Gdb. So, It's not a matter better debug or run linux. Or I'm tied with Trace32 or I find a way to convert the raw ram dump into something that gdb reads. I would like to do: gdb vmlinux vmcore
But my vmcore it's not in elf format for dumps.
Where I can read about kernel addresses ? I would like to understand better the memory of the kernel in running. I know that kernel takes 1gb of ram, but what else ?
Thanks
-- Lucas Tanure +55 (19) 988176559
On Thu, Jul 31, 2014 at 7:37 PM, Real Name <enjoymindful@gmail.com> wrote:
On Thu, Jul 31, 2014 at 04:14:42PM -0300, Lucas Tanure wrote:
Hi,
Can I create a vmcore (elf format) using makedumpfile from a Raw file ? So I can debug using vmlinux and gdb ?
To debug kernel with gdb, you can try: 1) User Mode Linux 2) qemu + gdb
thanks
-- Lucas Tanure +55 (19) 988176559
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
enjoy mindful -
Lucas Tanure -
Real Name