Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i kinda already posted this in the slackware forum but not really getting any help so will jsut make it quick in here.....after i patch the kernel and do a make "menuconfig", how can i just compile a single module instead doing "make modules" and making them all?? the file is ppp_mppe.c and its in the /drivers/net folder of the kernel source. I looked in the makefile in there and the new module is listed in there just need to know how to make it -thanks
No idea. But once you 'make modules', don't do a 'make clean'. That way if you configure in a new module and make modules, only it will get compiled. Works for me...
lol, i am having deja vu, i just made all of them, then
cp /drivers/net/ppp_mppe.o /lib/modules/linux/drviers/net
depmod -a (have no clue what that does but always remember instructions say to do it, so just figured maybe needed to be done)
modprobe ppp_mppe----cant find it
modprobe ppp_mppe.o---cant find it
insmod ppp_mppe---unresoved symbol register compressor, unregister compresser
i am getting a unresolved symbol error and that is the same error i got when trying to manually put in a r128 module before. Also all the modules are in gzip format, this is just the .o (object i think its called) file. Hopefully i there is a way to do this without installing all of the modules. -thanks
I'm no expert but that looks like you don't have the same version of the kernel as the module. I used to get that unresolved symbol error when I accidentally ran 2.4 modules with 2.2 kernel..
Not sure whether its actually *possible* to run a different version module than your kernel is, but it sure never worked for me
So if you patched the kernel and only made modules, that could be it.
Not sure whether its actually *possible* to run a different version module than your kernel is, but it sure never worked for me
I believe that there is something in the kernel that sets the version for the modules that allows you to run different version modules or 3rd party modules.
I believe that if you do all the things in order and don't skip anything you should be ok.
make menuconfig
make dep
make clean
make bzImage
make
make install (as long as you've properly edited lilo.conf and Makefile)
make modules
make modules_install
I think xYko is right...you need to do a make modules_install.
ok, i did what you said DaOne and just installed all of the modules...now i am back to where was before with getting Direct Rendering to work.....here is the error in am getting when trying to install DRI.
make: `r128.o' is up to date.
/usr/X11R6/lib
/lib/modules/2.4.18/kernel/drivers/char/drm/r128.o: unresolved symbol cmpxchg
/lib/modules/2.4.18/kernel/drivers/char/drm/r128.o: insmod
/lib/modules/2.4.18/kernel/drivers/char/drm/r128.o failed
/lib/modules/2.4.18/kernel/drivers/char/drm/r128.o: insmod r128 failed
I am still using the 2.4.18 kernel, when i reinstalled all the moduels it does not include DRI this time.....its pretty obvious to me that this is the problem but just want a experienced person opinion..................... ..http://dri.sourceforge.net/faq/faq_display.phtml?id=18, seems like i am going to have to either download all of X again (at a internet cafe of course), or say screw mppc compression and just reinstall linux, or maybe there is a way to just reinstall X from the installation CD since that came DRI ready but without there being module difference problems...i know for sure the 2.4.19 kernels dont include dri so maybe the 2.4.20 does, anyone know?? -thanks
This is how i always setup dri-hardware accleration- 3d whatever you want to call it!
I disable dri/drm support in the kernel.
Then i either :
A) download dri-cvs and go through that entire process of upgrading my Xfree86 and use the modules it builds for the kernel. You just copy them from the dri source tree to /lib/modules/whatever whatever , then you run depmod -a.
OR
B) Download the binary module package from the DRI site and build my video drivers with that. Then copy the driver your needing to /lib/modules/<kernel-version>/whatever/path/
Either way never gives me a problem.
Make sure you kernel source is in /usr/src/linux before doing any of this.
Thanks Un Tamed.....when i compiled the 2.4.20 kernel i used the xconfig with help and realized i had left it at the 386 setting...got dri working also now , so everything seems ok. just hope i picked all the right settings in the xconfig.
I got the module package and ran ./install (something).....the problem was that when i recompiled the kernel i left it on 386 instead of changing to my pc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.