Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| debuggingmodules [2005/09/29 17:09] – CsabaHenk | debuggingmodules [2020/10/19 22:58] (current) – Remove 1 broken link. SashaVigole | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The [http:// | + | The information in that chapter is somewhat out of date. Here I give simple (that is, less general) instructions which will work with recent ('' |
| - | chapter entitled [http:// | + | |
| - | + | ||
| - | The information in that chapter is somewhat out of date. Here I give simple (that is, less general) instructions which will work with recent ('' | + | |
| - | '' | + | |
| Here we assume that you have a recipe to make the kernel panic in some function of your module (or at least, you find it likely that using your | Here we assume that you have a recipe to make the kernel panic in some function of your module (or at least, you find it likely that using your | ||
| module will result in a panic), and you want to get an useable backtrace. | module will result in a panic), and you want to get an useable backtrace. | ||
| - | - Create a kernel with debugging enabled. I don't go into details here. | + | - Create a kernel with debugging enabled. |
| - Compile your module with something similar to '' | - Compile your module with something similar to '' | ||
| - Load the module (eg., '' | - Load the module (eg., '' | ||
| Line 18: | Line 14: | ||
| < | < | ||
| kgdb / | kgdb / | ||
| + | | ||
| + | {{{ | ||
| + | kgdb / | ||
| ) and add the module' | ) and add the module' | ||
| | | ||
| Line 23: | Line 22: | ||
| You can automate the computation of the relocation address with the help of the following | You can automate the computation of the relocation address with the help of the following | ||
| - | [http:// | + | [[http:// |
| {{{ | {{{ | ||
| # | # | ||