kernel compilation error : in "make modules_install"
Hello all,
i'm trying to upgrade my 2.4.x to 2.6.x ( on slackware 10.0) i've experience of compiling 2.4.x to 2.4.x. so the final steps were.......... make bzImage make modules make modules_install ( now here its showing error ) last lines of "make modules" ......... LD [M] net/sched/sch_prio.ko CC net/sched/sch_red.mod.o LD [M] net/sched/sch_red.ko CC net/sched/sch_sfq.mod.o LD [M] net/sched/sch_sfq.ko CC net/sched/sch_tbf.mod.o LD [M] net/sched/sch_tbf.ko CC net/sched/sch_teql.mod.o LD [M] net/sched/sch_teql.ko CC net/sunrpc/sunrpc.mod.o LD [M] net/sunrpc/sunrpc.ko CC sound/soundcore.mod.o LD [M] sound/soundcore.ko root@bond:/usr/src/linux# make modules_install ln: when making multiple links, last argument must be a directory make: *** [_modinst_] Error 1 ............... i used the "config" from the second cd of slackware 10.0. inside somewhere in "testing" folder. A person asked me this Code:
Did you upgrade your module-init-tools? Code:
root@bond:/home/bond# depmod -V now experimently i tried to upgrade witheut loading any "config" everything worked fine in that case... so what could be the problem.........any problem with that "config"??? if required......i can post that "config" too. regards |
Did you run "make oldconfig" after copying in your old .config but before compiling anything?
Slackware has been 2.6 ready since 9.1 I think so you don't need to upgrade modutils. |
Quote:
what i used to do was to load the old ".config' after "make xconfig" ( i.e when the new window appears ) today again i did the same thing. regards |
Try these steps:
cd /usr/src/linux make clean make mrproper cp /path/to/oldconfig .config make oldconfig make This should clean your source directory, update the configuration and compile the kernel and modules. After that, try "make modules_install" and see if it works this time. |
hello there,
summary of what i was trying....... in /usr/src/linux/ make clean make mrproper make xconfig ............ here i loaded the "config" file found in second cd of slackware vi Makefile make bzImage make modules make modules_install. now here in last step "make modules_install" i was getting the following error Code:
root@bond:/usr/src/linux# make modules_install i too found a "space" on that line........so removed that tried again the whole procedure of compilation..... this time everything worked fine. #cp /usr/src/linux/arch/i386/boot/bzImage /boot/slack/vmlinuz-2.6.9slack #cp /usr/src/linux/System.map /boot/slack/System.map-2.6.9slack #ln -s /boot/slack/vmlinuz-2.6.9slack /boot/slack/vmlinuz #ln -s /boot/slack/System.map-2.6.9slack /boot/slack/System.map #vi /etc/lilo.conf partial entries of my lilo.conf Code:
# End LILO global section #reboot but for my gr8 disappointment.......i get the following error Code:
kernel panic-no syncing: VFS: Unable to mount root fs on unknown-block(3,8) regards |
i have same issues
i get the following error on make modules_install:
[root@localhost linux-3.9.5]# make modules_install INSTALL arch/x86/crypto/aes-i586.ko Can't read private key make[1]: *** [arch/x86/crypto/aes-i586.ko] Error 2 make: *** [_modinst_] Error 2 [root@localhost linux-3.9.5]# please reply if someone has solution i am using RHEL 6 |
make modules
my dear friend use sudo make modules_install
|
All times are GMT -5. The time now is 10:38 PM. |