All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel debugging
@ 2006-05-03 14:11 Steve Iribarne (GMail)
  2006-05-03 16:06 ` David Hawkins
  2006-05-04  9:20 ` David H. Lynch Jr.
  0 siblings, 2 replies; 19+ messages in thread
From: Steve Iribarne (GMail) @ 2006-05-03 14:11 UTC (permalink / raw)
  To: linuxppc-embedded

Hello.

This is more a general question to see what others do out here.  I am
begining to get sick of printk debugging.  I work on two different PPC
boards.  An 860 and 8260.

I want to get some feedback on the best kernel debugger to use.  I
have been looking at three.

1.  kgdb
2.  kdb
3.  UML

I am leaning towards kgdb, but before I jump in I thought I'd put this
out to the best group I could think of linuxppc.  Because I am sure
most of you are using something!  :)

Thanks.

-stv

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Kernel debugging
@ 2020-02-19  6:19 Pankaj  Vinadrao Joshi
  2020-02-22  0:15 ` Valdis Klētnieks
  0 siblings, 1 reply; 19+ messages in thread
From: Pankaj  Vinadrao Joshi @ 2020-02-19  6:19 UTC (permalink / raw)
  To: kernelnewbies@kernelnewbies.org


[-- Attachment #1.1: Type: text/plain, Size: 207 bytes --]

Hi,
I am using linux 5.4.3 with our custom Yocto distro on RISC v machine i want to get kernel crash log(hard panic) since RISC v does mot have support for the kxec how i can collect the crash logs?




[-- Attachment #1.2: Type: text/html, Size: 1005 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Kernel Debugging
@ 2013-08-06 10:25 Saket Sinha
  2013-08-06 11:04 ` Chaitanya Gotkhindikar
  0 siblings, 1 reply; 19+ messages in thread
From: Saket Sinha @ 2013-08-06 10:25 UTC (permalink / raw)
  To: kernelnewbies

 I am facing an issue where I have been developing a filesystem driver(over
x86) which has become  "unstable"  by which I mean ,  at compile time it is
building but during runtime it fails when I call the corresponding APIs
from the user-space.

In order to find out exactly where it is failing, I need to debug the
driver.
I am very new to kernel development. I have heard about KGDB and KDB but it
takes quite a lot to get them working so waht are the other tools available?

Regards,
Saket Sinha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130806/6a3b2911/attachment.html 

^ permalink raw reply	[flat|nested] 19+ messages in thread
* kernel debugging
@ 2005-11-03 20:29 Siju George
  2005-11-03 20:34 ` Kip Macy
  0 siblings, 1 reply; 19+ messages in thread
From: Siju George @ 2005-11-03 20:29 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 305 bytes --]

Folks,
 
Does Xen support kernel debugging in Dom0 or in DomU ?
make ARCH=xen menuconfig doesn't show the kernel hacking menu. Is this because kernel debugging is not supported by Xen ?
 
Thanks,
Siju



		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

[-- Attachment #1.2: Type: text/html, Size: 579 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread
* kernel debugging
@ 2005-07-24 13:15 UmaMaheswari Devi
  2005-07-24 14:02 ` Jesper Juhl
  2005-07-25 19:23 ` uma
  0 siblings, 2 replies; 19+ messages in thread
From: UmaMaheswari Devi @ 2005-07-24 13:15 UTC (permalink / raw)
  To: linux-kernel

I am new to kernel hacking and am facing problems in trying to peek at the
runtime values of some kernel variables using gdb.

I am issuing the gdb command as follows:
     gdb vmlinux /proc/kcore
This displays the message
    /proc/kcore: Operation not permitted
before the (gdb) prompt is displayed.
gdb then prints a value of 0 for any valid variable that is requested.

vmlinux appears to be OK, as gdb correctly identifies undefined variables.
The problem seems to be with /proc/kcore. This file has a permission of 400. I
am using the Red Hat distribution.

Any help is appreciated. 

Thanks,
Uma.



^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <406B9D084FAFD4118C980008C79FADB901B57FF9@ALBMAIL>]
* Kernel Debugging
@ 2003-04-14 21:38 Yang, Bo
  2003-04-14 23:18 ` Wolfgang Denk
  0 siblings, 1 reply; 19+ messages in thread
From: Yang, Bo @ 2003-04-14 21:38 UTC (permalink / raw)
  To: linuxppc-embedded


Hi Everyone,

I am trying to debug the linux kernel using remote GDB via serial port on
MPC8xxFADS board. I built the kernel (2.4.4 from denx) with "kernel
hacking-->Include kgdb kernel debugger" turned on. (I am not sure that
turning on this flag is enough to support kernel debugging).

I got a bunch of ????? marks on serial console once the kernel gets run from
"ppcboot", and then I start GDB with cmd "target remote /dev/ttyS0" on the
host. The GDB got messages like "Ignoring packet error, continuing..." and
then timeed out to close connection.

Who can tell me what I am missing? Is it possible to debug linux kernel
without any BDM/JTAG debugger?

Any useful feedbacks are appreciated.

Bo Yang

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-02-22  0:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-03 14:11 kernel debugging Steve Iribarne (GMail)
2006-05-03 16:06 ` David Hawkins
2006-05-04  9:20 ` David H. Lynch Jr.
2006-05-04 19:51   ` Steve Iribarne (GMail)
2006-05-04 20:13     ` Mark Chambers
  -- strict thread matches above, loose matches on Subject: below --
2020-02-19  6:19 Kernel debugging Pankaj  Vinadrao Joshi
2020-02-22  0:15 ` Valdis Klētnieks
2013-08-06 10:25 Kernel Debugging Saket Sinha
2013-08-06 11:04 ` Chaitanya Gotkhindikar
2005-11-03 20:29 kernel debugging Siju George
2005-11-03 20:34 ` Kip Macy
2005-07-24 13:15 UmaMaheswari Devi
2005-07-24 14:02 ` Jesper Juhl
2005-07-24 14:03   ` Jesper Juhl
2005-07-25 19:23 ` uma
2005-07-25 20:02   ` Lee Revell
     [not found] <406B9D084FAFD4118C980008C79FADB901B57FF9@ALBMAIL>
2003-04-15 15:38 ` Kernel Debugging Wolfgang Denk
2003-04-14 21:38 Yang, Bo
2003-04-14 23:18 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.