Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2177 - xfs-sources kernel does not work without SMP support
Summary: xfs-sources kernel does not work without SMP support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 22:24 UTC by Noah Gintis
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Gintis 2002-04-27 22:24:20 UTC
xfs-sources kernel does not compile if "Processor type and features -> 
Symmetric multi-processing support" is disabled. In particular, /usr/src/linux-
2.4.18-xfs/kernel/ksyms.c gets a whole bunch of redefined symbols warnings all 
relating to CONFIG_SMP. Workaround: I just enabled SMP, even though I do not 
have a SMP system. Will this make the system run slower or unstably?
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-28 15:12:20 UTC
Hmmm, I would back up your /usr/src/linux/.config and then do:

make mrproper
cp /path/to/.config .
make oldconfig
make dep
make bzImage

and see if it works.  Let me know either way.
Comment 2 Per Wigren 2002-04-30 06:05:36 UTC
This happened for me also during the initial installprocess 2 days ago. 
Enabling SMP made it work.
No possibility to add XFS-support to gentoo-sources? :)
Comment 3 Craig Dooley 2002-04-30 09:51:23 UTC
I found this out yesterday when doing a fresh 1.1 gcc3 build.  I didnt try the
smp thing.  I just cleared out the source and reemerged xfs-sources.  I thought
it may have been a problem with needing kernel headers to compile everything,
but them being different versions thatn whats in 2.4.18-xfs.  That worked for me.
Comment 4 Noah Gintis 2002-04-30 14:20:47 UTC
After doing a make mrproper, the kernel compiles. However, now when I do update-
modules, I get errors from depmod:

depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/ip_tables.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/ipt_REJECT.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/iptable_filter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/iptable_mangle.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-
xfs/kernel/net/ipv4/netfilter/iptable_nat.o

I have 28 modules in that directory, but only those 6 fail. What does that 
mean? All of the files have the same timestamp, so they were created together. 
Is there anywhere I should look for garbage that needs to be deleted?
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-05-03 15:42:46 UTC
Noah -- I'm not sure why you're getting those unresolved symbols, but the
XFS/SMP bug appears to be resolved so I'm closing this bug.