kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel Debugging
@ 2013-08-06 10:25 Saket Sinha
  2013-08-06 11:04 ` Chaitanya Gotkhindikar
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Kernel Debugging
  2013-08-06 10:25 Kernel Debugging Saket Sinha
@ 2013-08-06 11:04 ` Chaitanya Gotkhindikar
  0 siblings, 0 replies; 4+ messages in thread
From: Chaitanya Gotkhindikar @ 2013-08-06 11:04 UTC (permalink / raw)
  To: kernelnewbies

Hi Saket,

You may configure kdump and use crash utility for debugging offline.

Here are some useful links.
https://sites.google.com/site/syscookbook/rhel/rhel-kdump-rhel6
http://www.novell.com/support/kb/doc.php?id=3374462

Otherwise systemtap is good option too.
http://www.linuxforu.com/2010/09/systemtap-tutorial-part-1/

Thanks,
Chaitanya


On Tue, Aug 6, 2013 at 3:55 PM, Saket Sinha <saket.sinha89@gmail.com> wrote:

>
>
>  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
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130806/4eca3d14/attachment-0001.html 

^ permalink raw reply	[flat|nested] 4+ 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; 4+ 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] 4+ messages in thread

* Re: Kernel debugging
  2020-02-19  6:19 Kernel debugging Pankaj  Vinadrao Joshi
@ 2020-02-22  0:15 ` Valdis Klētnieks
  0 siblings, 0 replies; 4+ messages in thread
From: Valdis Klētnieks @ 2020-02-22  0:15 UTC (permalink / raw)
  To: Pankaj Vinadrao Joshi; +Cc: kernelnewbies@kernelnewbies.org


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

On Wed, 19 Feb 2020 06:19:10 +0000, "Pankaj Vinadrao Joshi" said:

> 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?

Is netconsole an option, if ethernet is available?  If it has a serial port, use
another system as a serial console?  (I admit not knowing how well "console
on a USB serial port" works - if it does, that may be an option)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-19  6:19 Kernel debugging Pankaj  Vinadrao Joshi
2020-02-22  0:15 ` Valdis Klētnieks
  -- strict thread matches above, loose matches on Subject: below --
2013-08-06 10:25 Kernel Debugging Saket Sinha
2013-08-06 11:04 ` Chaitanya Gotkhindikar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).