Add NFS Debug Modules

- Adding NFS debug modules to kernel_config.debug
- Also updating some dead links in the kernels.md doc file

Signed-off-by: Dave Freitag <dcfreita@us.ibm.com>
This commit is contained in:
Dave Freitag 2017-07-25 14:21:34 -05:00
parent 25ddb186a4
commit 9152d065b6
2 changed files with 5 additions and 3 deletions

View File

@ -50,7 +50,7 @@ included in the initial RAM disk, but it is possible to compile custom
modules offline and include then include the modules in the initial modules offline and include then include the modules in the initial
RAM disk. RAM disk.
There is a [example](../tests/kmod), but basically one can use a There is a [example](../test/cases/020_kernel/010_kmod_4.9.x), but basically one can use a
multi-stage build to compile the kernel modules: multi-stage build to compile the kernel modules:
``` ```
FROM linuxkit/kernel:4.9.33 AS ksrc FROM linuxkit/kernel:4.9.33 AS ksrc
@ -66,7 +66,7 @@ To use the kernel module, we recommend adding a final stage to the
Dockerfile above, which copies the kernel module from the `build` Dockerfile above, which copies the kernel module from the `build`
stage and performs a `insmod` as the entry point. You can add this stage and performs a `insmod` as the entry point. You can add this
package to the `onboot` section in your YAML package to the `onboot` section in your YAML
file. [kmod.yml](../tests/kmod/kmod.yml) contains an example for the file. [kmod.yml](../test/cases/020_kernel/010_kmod_4.9.x/kmod.yml) contains an example for the
configuration. configuration.
## Compiling internal kernel modules ## Compiling internal kernel modules
@ -118,7 +118,7 @@ org>/kernel:4.9.33-<hash>`.
### Modifying the Config ### Modifying the Config
Each series of kernels has a config file dedicated to it in [../kernel/](../kernel), e.g. Each series of kernels has a config file dedicated to it in [../kernel/](../kernel), e.g.
[kernel.config-4.9.x](../kernel/kernel.config-4.9.x). To build a particular series of kernel: [kernel.config-4.9.x](../kernel/kernel_config-4.9.x). To build a particular series of kernel:
1. Create a separate `git` branch (not required but *strongly* recommended) 1. Create a separate `git` branch (not required but *strongly* recommended)
2. Modify the appropriate `kernel.config`, e.g. `kernel.config-4.9.x` 2. Modify the appropriate `kernel.config`, e.g. `kernel.config-4.9.x`

View File

@ -24,3 +24,5 @@ CONFIG_KGDB_SERIAL_CONSOLE=y
CONFIG_KGDBOC=y CONFIG_KGDBOC=y
CONFIG_DEBUG_RODATA_TEST=y CONFIG_DEBUG_RODATA_TEST=y
CONFIG_DEBUG_WX=y CONFIG_DEBUG_WX=y
CONFIG_NFS_DEBUG=y
CONFIG_SUNRPC_DEBUG=y