diff --git a/docs/kernels.md b/docs/kernels.md index 466c16444..79dfc3b1b 100644 --- a/docs/kernels.md +++ b/docs/kernels.md @@ -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 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: ``` 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` stage and performs a `insmod` as the entry point. You can add this 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. ## Compiling internal kernel modules @@ -118,7 +118,7 @@ org>/kernel:4.9.33-`. ### Modifying the Config 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) 2. Modify the appropriate `kernel.config`, e.g. `kernel.config-4.9.x` diff --git a/kernel/kernel_config.debug b/kernel/kernel_config.debug index 00e73d577..506156b9b 100644 --- a/kernel/kernel_config.debug +++ b/kernel/kernel_config.debug @@ -24,3 +24,5 @@ CONFIG_KGDB_SERIAL_CONSOLE=y CONFIG_KGDBOC=y CONFIG_DEBUG_RODATA_TEST=y CONFIG_DEBUG_WX=y +CONFIG_NFS_DEBUG=y +CONFIG_SUNRPC_DEBUG=y