]> git.proxmox.com Git - pve-kernel.git/commitdiff
readme: document -dbgsym package
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 21 Jul 2021 12:10:41 +0000 (14:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jul 2021 16:26:52 +0000 (18:26 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
README

diff --git a/README b/README
index 042db0101533ede7a86a11ee60f0a6eee31dcc8f..6c426c0f5013d0dc86ce04b9744efc2fb99728c0 100644 (file)
--- a/README
+++ b/README
@@ -98,6 +98,18 @@ which device is actually used for /dev/watchdog.
 We ship this list in /lib/modprobe.d/blacklist_pve-kernel-<VERSION>.conf
 The user typically edit /etc/modules to enable a specific watchdog device.
 
+Debug kernel and modules
+------------------------
+
+In order to build a -dbgsym package containing an unstripped copy of the kernel
+image and modules, enable the 'pkg.pve-kernel.debug' build profile (e.g. by
+exporting DEB_BUILD_PROFILES='pkg.pve-kernel.debug'). The resulting package can
+be used together with 'crash'/'kdump-tools' to debug kernel crashes.
+
+Note: the -dbgsym package is only valid for the pve-kernel packages produced by
+the same build. A kernel/module from a different build will likely not match,
+even if both builds are of the same kernel and package version.
+
 Additional information
 ----------------------