Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35274 - gs-sources-2.4.23 has broken kdb patch
Summary: gs-sources-2.4.23 has broken kdb patch
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-07 11:05 UTC by Neil Katin
Modified: 2004-01-20 15:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The config file successfully used to build the kernel (kernel-config,31.74 KB, text/plain)
2003-12-07 11:08 UTC, Neil Katin
Details

Note You need to log in before you can comment on or make changes to this bug.
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