Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-14-2004, 04:57 PM   #1
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
error in make modules_install

Slackware 9.1: I compiled my first 2.6.9 kernel using
make clean
make menuconfig
make bzImage
make modules
make modules_install.

However, during the execution of the last command stops with the last line
"if [ -r ]; then /sbin/depmod -ae -F 2.6.9; fi"

As a result, I have a working kernel (that I put manually into /boot), but no modules. things like a mouse andsuch are not loaded. Any idea on why I get this error ?
Old 12-14-2004, 05:55 PM   #2
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
"make modules_install" needs to be done as root.
"make bzImage" and "make modules" are unnecessary for 2.6.* kernels, a simple "make" after "make menuconfig" does both.
I don't know if this has anything to do with your error, but try it again and see what happens.
Old 12-14-2004, 06:42 PM   #3
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
and there's no /lib/modules/2.6.9 dir. with modules made ?

Old 12-14-2004, 08:07 PM   #4
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
#make mrproper
#make *config // <== menuconfig, xconfig, etc.
#make modules_install
#cp /boot/
#cp arch/i386/boot/bzImage /boot/vmlinuz-version

edit lilo.conf, add the image, run lilo.

As has been said, you don't need to do bzImage or modules, as they're done automatically with just "make".
Old 12-15-2004, 03:13 PM   #5
Registered: Jun 2004
Location: Belgium
Posts: 49

Original Poster
Rep: Reputation: 15
'error' is not an error, problem lies elsewhere

After googling a bit and due to the remark about the lib/modules/2.6.9 directory, I found out that it is quite normal for make modules_install to end with that remark. As long as no warnings or errors come after it, all is well.

The problem remains however that after booting there is no mouse detected (or the mouse doesn't work) event though support is compiled in. The funny thing is: I recompiled the kernel with the psmouse as a module. after booting into kdm, there was no mouse support.
lsmod | grep psmouse # shows nothing.
modprobe psmouse # => I have mouse support.

So I add '/sbin/modprobe psmouse' to rc.local and reboot. There is still no mouse support when booting into kdm. However lsmod shows that psmouse is loaded!

I do
# modprobe -r psmouse
# modprobe psmouse

And voila: the mouse works again

I don't get why the module only seems to work when I manually add the mouse module, but the problem may not be restricted to the mouse driver, because after logging in, I also had no ethernet interface active (except lo).

I will have to hunt down this module loading problem next although I'll have to sleep another night over where I could look now.
If anyone has a hint, it surely would help.
Old 12-15-2004, 05:26 PM   #6
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well..your network-module should be loaded by hotplug afaik.
is hotplug running ?
and for your mouse, check what's in the xorg.config file for that ?

Old 12-16-2004, 04:32 PM   #7
Registered: Jun 2004
Location: Belgium
Posts: 49

Original Poster
Rep: Reputation: 15
hotplug not working

grep -i hotplug .config:
# PCI Hotplug Support
# CONFIG_HOTPLUG_PCI is not set // but I think this something completely different ??

/etc/rc.d/rc.hotplug is executable

it runs two scripts in /etc/hotplug/ : pci.rc and usb.rc (as installed by Slackware 9.1), which seem to enumerate all pci resp usb slots andcall hotplug for each of them. The usb script also contains a remark on mice, but I have to read up on this.

As a temporary measure, I added the lines /sbin/modprobe -r psmouse; /sbin/modprobe psmouse to rc.M, and this worked.

I believe the problem is not related to X, because I can reproduce it when I boot in runlevel 3.

As far as the networking is concerned, I solved this by compiling the VIA Rhine drivers into my kernel. I guess the network card was not detected by the kernel, so the modules were not loaded. Is it hotplug that is responsible for this ? If so, hotplug works with my 2.4 kernel but not with my 2.6 kernel.

I'll look further into this tomorrow.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
make modules_install error b123coder Linux - Software 1 07-29-2006 11:55 PM
Kernel make modules_install returns error Ac1db0rN Slackware 13 03-29-2005 10:16 AM
make modules_install error djib Linux - Software 8 12-12-2004 10:15 AM
make modules_install error props666999 Slackware 8 11-13-2004 09:41 PM
make modules_install error Risc91 Linux - Software 2 10-23-2003 08:03 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:04 PM.

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