Re: no modules after 'make modules modules_install'. Help!
From: Richard Adams (pa3gcu_at_zeelandnet.nl)
Date: 09/08/03
- Next message: pean: "Verify local tty"
- Previous message: Paul Sherwin: "Re: no modules after 'make modules modules_install'. Help!"
- In reply to: Rob Campbell: "no modules after 'make modules modules_install'. Help!"
- Next in thread: David: "Re: no modules after 'make modules modules_install'. Help!"
- Reply: David: "Re: no modules after 'make modules modules_install'. Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 08 Sep 2003 21:48:22 +0200
On Mon, 08 Sep 2003 11:02:19 +0100, Rob Campbell wrote:
> Hi,
>
> I'm updating my SusE 8.1 kernel (based on 2.4.19) because I need some
> hardware support found in 2.4.22 from kernel.org. I've done:
> change symbolic link /usr/src/linux to point to the new source tree
By that i presume you mean something like the following.
cd /usr/src
rm linux
ln -s linux-2.4.22 linux
cd linux
> make oldconfig
^^^^^^^^^ possably the BIG mistake here...
You said new source, well a new source does NOT have a .config file, if all
you did was make oldconfig then you have configured a kernel with just
about zero in it, period.
You need to either copy an old config file from your old kernel source if
you every configured one or, some distor's include the used config file in
/boot or /usr/src/configs (for example) and then do; make oldconfig, OR
do; make config and configure a new kernel properly with what you want in it.
> make dep clean bzImage
> make modules
> make modules_install
> depmod -a
depmod -a is not needed as make modules_install does that for you...
>
> It all seems to go fine:
How do you know that,????
Did you watch all messages appiering on you screen during each and every
make stage.???
> The kernel compiles ok and I can boot from it.
I am then presumimg you installed the kernel and re ran lilo (if lilo is
used) or if grub is used then you added a new stanza as too boot the new
kernel.?????
> However, there is
> something funny about make modules. It seems to be doing the job ok. As
> does make modules_install. But then the 2.4.22 modules directory under
> /lib/ is empty. I have no modules available. Any ideas what I could be
> doing wrong? Should I be compiling them once I've booted with the new
> kernel?
No certainly not, if the directory /lib/modules/2.4.22 is empty then
something went REALLY wrong period.
> Should I be changing something in the Makefile?
Certainly not.
Maybe you had better explain (to the letter) just what commands you used
and what makes you think everything went ok.
By what commands i mean from, cd /usr/src at the start of the session up
and including coping the kernel to your /boot dir and editing lilo.conf or
grub.conf and the resulting commands after that up and untill rebooting...
After rebooting what does the command uname -r return.???
You may or may not be well adised to take a look at;
http://people.zeelandnet.nl/pa3gcu/kernel.htm
I am sure you will see you mistake there.
> TIA!
> Rob
>
>
> p.s. does anyone know how a SuSE kernel differs from the official release?
-- If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard pa3gcu@zeelandnet.nl http://people.zeelandnet.nl/pa3gcu/
- Next message: pean: "Verify local tty"
- Previous message: Paul Sherwin: "Re: no modules after 'make modules modules_install'. Help!"
- In reply to: Rob Campbell: "no modules after 'make modules modules_install'. Help!"
- Next in thread: David: "Re: no modules after 'make modules modules_install'. Help!"
- Reply: David: "Re: no modules after 'make modules modules_install'. Help!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|