LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2004, 06:51 PM   #1
slapshotct
LQ Newbie
 
Registered: Jan 2004
Location: CT
Distribution: Servers: Debian, RH8, Laptop: Fedora
Posts: 15

Rep: Reputation: 0
Kernel 2.4.24 modules not executable


I just tried to build a new kernel (2.4.24) and it seems to go smooth. I do all the things that I am supposed to according to the docs I have read:

make mrproper
patch p1 << thepatch.diff
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install

When I boot, the kernel comes up but things like pcmcia don't work. I tried to modprobe it and it gives an error on pcmcia_core.o. I look at the .o file for the kernel that works and notice perms of 744 and then on my new kernel the perms are 644. Ok.. the module is not executable. Well.. upon further investigation, none of the new modules are executable.

I don't see any steps about changing permissions of modules in all of the docs I have read. Why are mine not installing with the correct permissions?

Thanks!
 
Old 02-11-2004, 02:15 AM   #2
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
Modules should be 644.

I noticed you do a `make clean` after doing a `make dep`. AFAIK this is not necessary, as running `make mrproper` actually performs the duties of `make clean` among other things as well. I would suggest:

make mrproper
patch p1 << thepatch.diff
make xconfig
make dep
make bzImage
make modules
make modules_install

And rather than doing a `make install` at the end, I prefer to copy the kernel directly, so something like:

cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.24

And manually configuring my boot loader.

HTH!
 
Old 02-11-2004, 07:58 AM   #3
slapshotct
LQ Newbie
 
Registered: Jan 2004
Location: CT
Distribution: Servers: Debian, RH8, Laptop: Fedora
Posts: 15

Original Poster
Rep: Reputation: 0
Hmm... thank you about letting me know that I was being redundant in my steps... that is one less thing to remember to do. But it that brings on the question: Why did all of the RPM kernels that are on my machine make them 744? Also, I do all of the steps, but my new kernel is not loading the modules. Is there anything that I have to do so that the machine knows that I want to use the new modules or something? It really shouldn't be this hard so I must be missing something entirely.

Thanks again
 
Old 02-11-2004, 02:04 PM   #4
slapshotct
LQ Newbie
 
Registered: Jan 2004
Location: CT
Distribution: Servers: Debian, RH8, Laptop: Fedora
Posts: 15

Original Poster
Rep: Reputation: 0
Ok... I am up on 2.4.24 now.. What did I do? Well.. I noticed that the 'Kernel Development' rpms were not installed on this laptop so I installed them. Now, keep in mind that I checked the Documentation/Changes file and had all of the minimums listed in that file, but who knows, maybe there is something else that is required that was installed when I installed the Kernel Dev packages.

Oh well.. if anyone else has the same problem, check to see the Kernel Dev packages are installed.

Over and Out,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java SDK won't install, binary file not executable, yoper linux 2.6 kernel lopoetve Linux - Software 8 10-30-2004 03:03 AM
kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?) browny_amiga Linux - General 4 03-06-2004 02:33 PM
Kernel Modules and modules.conf init Linux - General 0 02-20-2004 06:51 PM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 05:52 AM
Kernel modules: why are some kernel modules zipped? hampel Slackware 3 06-30-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration