Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92881 - patch for building uml kernel with module support
Summary: patch for building uml kernel with module support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 02:43 UTC by Andre Kloth
Modified: 2005-05-17 04:56 UTC (History)
0 users

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


Attachments
uml-modules.patch (uml-modules.patch,791 bytes, patch)
2005-05-17 02:43 UTC, Andre Kloth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Kloth 2005-05-17 02:43:08 UTC
When I tried to build an uml kernel with loadable module support I got an error.

Reproducible: Always
Steps to Reproduce:
Compile the uml kernel with loadable module support:

cd /usr/src/uml
make menuconfig ARCH=um
make ARCH=um
--> error
Actual Results:  
  CC      arch/um/kernel/ksyms.o
arch/um/kernel/ksyms.c:90: error: redefinition of `__kstrtab_os_ioctl_generic'
arch/um/kernel/ksyms.c:76: error: `__kstrtab_os_ioctl_generic' previously
defined here
arch/um/kernel/ksyms.c:90: error: redefinition of `__ksymtab_os_ioctl_generic'
arch/um/kernel/ksyms.c:76: error: `__ksymtab_os_ioctl_generic' previously
defined here
make[1]: *** [arch/um/kernel/ksyms.o] Error 1
make: *** [arch/um/kernel] Error 2

Expected Results:  
I avoided this error by commenting out the EXPORT_SYMBOLs in ksyms.c. This works
for me.
Comment 1 Andre Kloth 2005-05-17 02:43:44 UTC
Created attachment 59105 [details, diff]
uml-modules.patch
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-17 04:45:21 UTC
which kernel version? 
Comment 3 Andre Kloth 2005-05-17 04:56:27 UTC
Sorry for the confusion. I just realized, that I used the old 2.6.8.1-r8
usermode sources.

I will try the most recent version.