SlackwareThis Forum is for the discussion of Slackware Linux.
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 think i might have messed up something while recompiling the 2.6.8.1 kernel. alot of programs won't run (in bash) with the ./ notation. i have to do $ sh file. i can't run binaries like the shogo demo but i can run firefox.
the message is typically 'permission denied' (from bash)
i guess it's coz i didn't support a.out binaries? even if that's why, thought i'd post this in case someone has a similar problem. they'll know why.
does anyone know how to compie just a single module in 2.6.x?. (assume make mrproper has been done). i ask coz the usual method of changing the SRCDIR var in the Makefile isn't really possible since that isn't really used. when i did try it (with the M= option) i got way too many errors. the steps for this would make a good tutorial since i know this is asked alot.
I would first suspect what michael is suggesting.
To answer your other question, I don't think you can recompile only one kernel module. You can though install modules and then have them included with the depmod command. This is common in some proprietary drivers.
actually i should have metioned this earlier. the files have executable rights for user, owner is me, group is users. does it need to have group and or world exec rights? i.e. does it have to be 555 or 755?
isn't it supposed to be possible to compile just a single kernel module? situations where u forgot to add one and have finished bzImage and modules_install and make clean; all u have left is ur config file?
one of the files is -r-x------ (500) and the other two are -rwxr-xr-x (755) owned by me(.users). can't run as myself or as root. getting that problem with some system binaries also, like 'watch'
Originally posted by abs i guess it's coz i didn't support a.out binaries? even if that's why, thought i'd post this in case someone has a similar problem. they'll know why.
This is possible but a.out binaries are fairly rare things; ELF has been far more common for quite a few years now. You can find out if a file is a.out or ELF (or what) by using the
According to that, you have a.out support compiled as a module. Which means you just have to load the module. I guess that should be one of these commands:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.