View previous topic :: View next topic |
Author |
Message |
thedumbkid n00b
Joined: 13 Dec 2003 Posts: 72
|
Posted: Thu Apr 15, 2004 1:04 pm Post subject: |
|
|
steel300 wrote: | A side note: If you're haveing problems building external modules (vmware, nvidia, ati, etc.) reverse the kbuild-external-module-support from mm's broken out directory. |
thanks! was having trouble after installing lover4... now it works again |
|
Back to top |
|
|
FirechilD Tux's lil' helper
Joined: 21 Oct 2003 Posts: 120 Location: Germany - NRW
|
Posted: Thu Apr 15, 2004 2:41 pm Post subject: |
|
|
thedumbkid wrote: | steel300 wrote: | A side note: If you're haveing problems building external modules (vmware, nvidia, ati, etc.) reverse the kbuild-external-module-support from mm's broken out directory. |
thanks! was having trouble after installing lover4... now it works again |
ok, i got that file now
and next? _________________ The worst foe lies within the self... |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Thu Apr 15, 2004 4:40 pm Post subject: |
|
|
seppe wrote: | I'm compiling love-sources now :)
But I'm impressed .. is it really true that enabling preëmptive kernel causes a slower system?
Oh and I use these CFLAGS for my kernel:
-oS -pipe
Because -oS gives smaller executables, and I want my kernel to be as small as possible.
Anyone have other tips on love-sources? |
If all you are adding is -Os you may be better served by going to General setup -> Configure standard kernel features (for small systems) and selecting "Optimize for size". If you're really concerned about kernel size you could remove some features in there too, like disk schedulers you may not be using, or kksymoops (don't send an error report with those disabled however).
That is not love-specific but it may be right up your alley. |
|
Back to top |
|
|
falso n00b
Joined: 22 Feb 2003 Posts: 40 Location: Caparica, Portugal
|
Posted: Thu Apr 15, 2004 7:37 pm Post subject: |
|
|
i want to tell you that you forgot something for the dxr3 drivers.. like the modules are built, but on make modules_install they arent installed
i really wanted to check this out, cause this has been the first 2.6 kernel i've seen with dxr3 support. i stoped using my card when i changed to 2.6, and now this made me really happy, try to fix it _________________ I don't intend to offend, I offend with my intent |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Thu Apr 15, 2004 7:52 pm Post subject: |
|
|
This is a reminder to myself and a note to anyone that wants to do some light hacking about:
Hidden deep in kernel hacking there is already an option to modify the compile arguments. Kernel hacking -> Kernel debugging and Kernel hacking -> Include kgdb kernel debugger -> Add any additional compile options -> Additional compile arguments.
I propose we replace the current hacking patch with something simple that makes that option independent of kgdb. If I ever find time to get to it, I will. |
|
Back to top |
|
|
snakattak3 Guru
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Thu Apr 15, 2004 8:45 pm Post subject: |
|
|
I have to use driverloader, and dldrconfig won't compile with the current mm sources. Here's the output it gives me. Code: | rm -f *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd /lib/modules/2.6.5-mm5/build/.tmp_versions/driverloader.mod
(cd /lib/modules/2.6.5-mm5/build && make "KERNELSRC=/lib/modules/2.6.5-mm5/build" "SUBDIRS+=/usr/lib/driverloader/modules" "SUBDIRS+=/usr/lib/driverloader/modules" modules)
make[1]: Entering directory `/usr/src/linux-2.6.5-mm5'
Makefile:954: target `/usr/lib/driverloader/modules' given more than once in the same rule.
Makefile:970: warning: overriding commands for target `/usr/lib/driverloader/modules'
Makefile:955: warning: ignoring old commands for target `/usr/lib/driverloader/modules'
Building modules, stage 2.
head: error reading `/usr/lib/driverloader/modules': Is a directory
make[1]: Leaving directory `/usr/src/linux-2.6.5-mm5'
mkdir -m 755 -p /lib/modules/2.6.5-mm5/misc
rm -f "/lib/modules/2.6.5-mm5/misc/driverloader"*.ko
install -m 644 driverloader.ko /lib/modules/2.6.5-mm5/misc
install: cannot stat `driverloader.ko': No such file or directory
make: *** [minstall] Error 1 |
If anyone has gotten driverloader working with the current mm sources or love sources, let me know how you did it. Its worked for me up untill mm2 or love-2. _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
|
Vlad Apprentice
Joined: 09 Apr 2002 Posts: 264 Location: San Diego, California
|
Posted: Tue Apr 20, 2004 7:46 am Post subject: |
|
|
DarkStalker wrote: | 23:38:52 ....
!!! ERROR: sys-kernel/mm-sources-2.6.5-r1 failed.
!!! Function epatch, Line 360, Exitcode 0
!!! Failed Patch: 2.6.5-mm1-gentoo1.bz2!
2.6.5-mm1-gentoo1.bz2-23838.out -> http://darkstalker.servebeer.com/~darkstalker/mmerror.log
Steel, you let me know if there's anything at all I can do to help out. If you would like, contact me through one of the IMs in my profile. |
I'm having the same error as your are, across multiple versions of mm-sources. Infact, I haven't been able to emerge one since 2.6.5-rc2-mm3, which isn't even in the portage tree anymore. Has this been resolved yet? It's getting to be really frustrating...
I've also noted a number of other programs failing to patch as well, including glibc, binutils, and a couple other packages. After 5 or 6 retries the emerge works. Very, very weird. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|