Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35274

Summary: gs-sources-2.4.23 has broken kdb patch
Product: Gentoo Linux Reporter: Neil Katin <neil+gentoo>
Component: [OLD] Core systemAssignee: Bob Johnson (RETIRED) <livewire>
Status: RESOLVED CANTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The config file successfully used to build the kernel

Description Neil Katin 2003-12-07 11:05:48 UTC
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
Comment 1 Neil Katin 2003-12-07 11:08:03 UTC
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.
Comment 2 Bob Johnson (RETIRED) gentoo-dev 2004-01-20 15:28:18 UTC
I have yet to get a working version of kdb, its normally left
out of xfs-sources , but slipped into this version