Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13888 - Kernel 2.4.20-gentoo-r1 error in make modules_install
Summary: Kernel 2.4.20-gentoo-r1 error in make modules_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 17226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-13 21:21 UTC by Norberto Bensa
Modified: 2003-04-27 09:00 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 Norberto Bensa 2003-01-13 21:21:32 UTC
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia 
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.20-gentoo-r1; fi 
depmod: *** Unresolved symbols in /lib/modules/2.4.20-gentoo-r1/kernel/net/unix/unix.o 
depmod:         gr_search_file 
depmod:         gr_handle_alertkill 
 
 
I don't use Grsecurity. I don't know if I should post my .config.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-01-14 00:34:27 UTC
compile it in... this is a bug in grsecurity, I'll report it upstream.  
Comment 2 Norberto Bensa 2003-01-18 10:07:15 UTC
There should be an USE flag to disable Grsecurity. I've found it sucks badly (breaks VMware among other things.)  BTW, 2.4.20-gentoo-r1 is 150KB bigger than 2.4.19-gentoo-r10. Why? I'm using the same .config file.  Thanks, Norberto 
Comment 3 Brandon Low (RETIRED) gentoo-dev 2003-01-18 11:33:45 UTC
The problem with a USE flag for grsecurity is that the patch is extremely
intrusive so disabling it will break other patches down the line.  Those symbols
are NOT needed when grsecurity is not active, and properly point to dummy
functions.  As I said, compiling the unix sockets in works fine.  And as for the
VMware breakage, just deactivating the grsecurity stuff makes that work fine, no
need to remove the code from the kernel.

Why is it bigger?  I don't know, could be anything from changes in 2.4.20 over
2.4.19 to a change in our compile flags (IIRC we used -Os on 19 and -O3 on 20)
anywho.
Comment 4 Norberto Bensa 2003-01-19 10:03:42 UTC
Is it safe to use -O3 in the kernel?  I'm having problems with two boxes. I've tracked one of them to be an APM issue. Every time APM times out, the system crash: no panic, simple hard lock: no ping, no nothing, completely dead. I'm recompiling with "CPU Idle Calls" disabled to see if it fixes the problem. This is a Pentium II 300MHz system, so it will take some time.  The other one (P31G,) panices sometimes on KDE logout. I can ALT+PS+[S|U|B] to sync, mount ro, reboot, but only my root partition does sync-remount; my home partition (xfs) does not and I loss part of my KDE configuration.  If you have an idea on the second issue, I'll greatly appreciate any help.  And BTW, how do I "log" a panic message? Are there any tools? I'm still in X when the kernel panices and I can't see nothing.  Thanks, Norberto  P.S.: both systems are glibc-2.3.1-r3, gcc-3.2.1-r7.  
Comment 5 Norberto Bensa 2003-01-19 12:16:39 UTC
Well. The APM issue was not fixed. I dissabled every option except for "RTC stores time in GMT," but I still get locks.   I saw in the ChangeLog (http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.20) that there were some "fixes" but unfortunately they don't tell what kind of fixes were made.   I'll keep trying to isolate the problem.  Regards, Norberto 
Comment 6 Norberto Bensa 2003-03-04 01:33:53 UTC
BTW, my locks dissapeared after disabling SOCKS proxy in KDE. 
 
The other one, the APM issue, just went away one day. I did nothing there. 
 
 
 
 
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-03-10 15:57:32 UTC
*** Bug 17226 has been marked as a duplicate of this bug. ***
Comment 8 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-26 10:50:03 UTC
seems to not been an issue in gentoo-sources-2.4.20-r2 or r3.

closing.

Jay
Comment 9 Stewart Jeacocke 2003-04-27 09:00:48 UTC
I can confirm that this is no longer a problem with gentoo-sources-2.4.20-r2