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.
compile it in... this is a bug in grsecurity, I'll report it upstream.
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
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.
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.
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
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.
*** Bug 17226 has been marked as a duplicate of this bug. ***
seems to not been an issue in gentoo-sources-2.4.20-r2 or r3. closing. Jay
I can confirm that this is no longer a problem with gentoo-sources-2.4.20-r2