I tried to build gs-sources-2.4.23_pre8-r1 with kdb enabled. This functionality is added by the 02_linux-2.4.22-xfs-2003-09-28.patch file. The patch attempts to add kdb support, but does not include all the symbols. I started trying to find all the missing occurences, but eventually I gave up. The two ones I found were the defintion of KERN_KDB in include/linux/sysctl.h, and the defintions of start___kallsyms in arch/i386/vmlinux.lds.S. Clearly there are files missing from the patch, or the patch has an unmet dependency on another path. Reproducible: Always Steps to Reproduce: 1. emerge gs-sources-2.4.23_pre8-r1 2. enable CONFIG_KDB, CONFIG_KDB_MODULES, and CONFIG_KALLSYMS in the kernel config file 3. build the kernel
Created attachment 21824 [details] The config file successfully used to build the kernel This file correctly built the kernel. To demonstrate the bug, enable the CONFIG_KDB, config_KDB_MODULES, and CONFIG_KALLSYMS config settings.
I have yet to get a working version of kdb, its normally left out of xfs-sources , but slipped into this version