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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-26-2004, 02:50 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: Athens, Greece
Distribution: Mandrake 10.1
Posts: 6
Rep:
|
make: *** [_modinst_post] Error 143
Greetings, I am using Fedora Core 2 and I need to add some options to the kernel that are not turned on by default right after the initial installation. I configure the kernel options with "make menuconfig" and start the compiling process with "make". After make finishes I start the "make modules_install" but it finishes with the following error:
INSTALL lib/zlib_deflate/zlib_deflate.ko
INSTALL drivers/media/video/zr36016.ko
INSTALL drivers/media/video/zr36050.ko
INSTALL drivers/media/video/zr36060.ko
INSTALL drivers/media/video/zr36067.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.7-rc3; fi
make: *** [_modinst_post] Error 143
It takes a while for the error message line to appear after the line just before appears. I have tried to follow the instructions of kernel compiliing as much carefully as I could.
Thank you very much!
|
|
|
06-26-2004, 10:50 AM
|
#2
|
Member
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299
Rep:
|
Can you please try following:
Go to your /usr/src/linux-2.x
I guess in your case it will be /usr/src/linux-2.6.7-rc3
So change in the directory containing the kernel sources you would like to enable the options.
Clean everything with
make clean
make mrproper
Make a backup of your Makefile.
cp Makefile Makefile.old.bak
At the top you will find an entry like:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 7
EXTRAVERSION =-rc3
Change EXTRAVERSION to
EXTRAVERSION =-rc3custom
Now recompile your kernel after configuring it via make menuconfig (of course also enable the options you need.)
So
make
after that
make modules_install
Is this working ????
Last edited by Vlad-A; 06-26-2004 at 11:03 AM.
|
|
|
06-26-2004, 08:19 PM
|
#3
|
LQ Newbie
Registered: Jun 2004
Location: Athens, Greece
Distribution: Mandrake 10.1
Posts: 6
Original Poster
Rep:
|
Thank you Vlad-A for being very helpful.
Unfortunately it is not working. I have tried so far to build the kernel from the original Fedora Core 2 distribution sources, linux-2.6.5-1.358 and the linux-2.6.7-rc3 which I downloaded. I have tried your suggestion to change the EXTRAVERSION =-rc3custom. The error is still the same. I have also tried to build with the following make options:
make O=/home/xodiak/build/kernel menuconfig
make O=/home/xodiak/build/kernel
make O=/home/xodiak/build/kernel modules_install
but after the
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.7-rc3; fi
it still shows:
make: *** [_modinst_post] Error 143
I do not understand the nature of the error so I cannot try something specific to fix it.
Could it be related to the fact that I only have 128 MB of memory? Fedora needs 256MB as minimum.
The only reference to the problem I cound find on search engines is this, but unfortunately an answer is not offered without a cost.
http://www.experts-exchange.com/Oper..._20998803.html
Thank you again!
|
|
|
06-26-2004, 11:25 PM
|
#4
|
LQ Newbie
Registered: Jun 2004
Location: Athens, Greece
Distribution: Mandrake 10.1
Posts: 6
Original Poster
Rep:
|
As I was searching on howto and faq files on the internet and the specific error message,
make: *** [_modinst_post] Error 143
on search engines, I realised that I could find only one or two references of the same error, which made me believe that it is not a common error and that it must be me doing something wrong.
I thought that the problem might be that I installed Fedora Core 2 with only 128MB of memory.
As an experiment I pressed ctrl-alt-F6 to bring the text console, I logged in as root and went to the kernel source directory and typed:
make O=/home/xodiak/build/kernel modules_install
and in the end the following errors appeared:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.7-rc3; fi
Out of Memory: Killed process 2756 (rhm-applet-gui)
Out of Memory: Killed process 2748 (nautilus)
Out of Memory: Killed process 5956 (depmod)
make: *** [_modinst_post] Error 143
make: *** [modules_install] Error 2
This also reminded me that previously, as I run the make modules_install on a terminal window, mozilla would close if I had an open html document.
Do these messages mean that I must upgrade my memory? I am buying an additional 256 memory in the next few days and I wish that would fix the error.
>:)
|
|
|
06-27-2004, 02:59 AM
|
#5
|
Member
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299
Rep:
|
Why don't you boot into init level 3 (so no GUI) and try again ?
Perhaps this can help you as for now.
|
|
|
06-27-2004, 09:11 AM
|
#6
|
LQ Newbie
Registered: Jun 2004
Location: Athens, Greece
Distribution: Mandrake 10.1
Posts: 6
Original Poster
Rep:
|
Yes, this helped me very much and the make modules_install had no errors this time. <:)
Thank you very much, Vlad-A, you are very helpful!
Last edited by Xodiak; 06-27-2004 at 09:13 AM.
|
|
|
07-07-2004, 05:57 AM
|
#7
|
LQ Newbie
Registered: Jul 2004
Posts: 5
Rep:
|
RE: make: *** [_modinst_post] Error 143
Hi guys!
In my case problem is not the memory, I run FC2 with 512 MB of RAM but I have the same problem as you, except for having no message like "make: *** [_modinst_post] Error 143" but only the first line saying "if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.7leonardo; fi".
I tried to compile kernel from Fedora Core sources and from kernel.org sources; I also tried to compile in more than 1 machine but the result is the same!!
Do you really think the problem is so unusual?
Have you ever thought that the problem could be the configuration in make menuconfig?
Please, help me!
midimarcus
|
|
|
07-07-2004, 06:06 AM
|
#8
|
Member
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299
Rep:
|
Midimarcus,
please open a new thread. Your problem is *not* realted to the original posting at all.
I may be able to help you, but please open a new thread!!!
Also include "WHAT" Kernel are you compiling. A Fedora Kernel or an one from kernel.org!
|
|
|
All times are GMT -5. The time now is 02:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|