Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
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.
|
|
03-31-2004, 08:48 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21
Rep:
|
No dep file found for kernel 2.6.3-7mdkcustom
When compiling Kernel 2.6.3-7 i get this messages
Kernel: arch/i386/boot/bzImage is ready
/usr/src/linux-2.6.3-7mdk/arch/i386/boot/install. sh sh 2.6.3-7mdkcustom arch/i386/boot/bzImage System.map ""
No dep file found for kernel 2.6.3-7mdkcustom
No dep file found for kernel 2.6.3-7mdkcustom
There was an error when generating initrd. Try to do a :
/sbin/mkinitrd /boot/initrd-2.6.3-7mdkcustom.img 2.6.3-7mdkcustom
to see the errors
looks like there is a problem, the default vmlinuz version is not the same
as the initrd
which means you have a mdk kernel and not a mdk initrd wich may give you trouble
not adding bootloader entry: 263-7custom, it already exists
I have installed kernel-2.6.3.7mdk and kernel-source-2.6.3 -7mdk
I never had this problem in the other versions of mandrake and already happened the kernell version be diferent of the version of kernel-source.
Any help to fix this?
|
|
|
03-31-2004, 09:51 PM
|
#2
|
Member
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295
Rep:
|
Did you do:
make
make modules
make modules_install
Also, check /lib/modules and see if there is a folder called 2.6.3-7mdkcustom. If there isn't, then that's your problem. When making the initrd make sure you put like 2.6.3-7 (whatever the custom made module's folder name is).
|
|
|
04-03-2004, 12:31 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21
Original Poster
Rep:
|
im not a newbie
and for ur information in kernel 2.6 its done like this:
make mrproper
make xconfig
make modules_install install
And again the problem is in the version on kernel and kernel source
READ WITH CAREFULL:
Kernel: arch/i386/boot/bzImage is ready
/usr/src/linux-2.6.3-7mdk/arch/i386/boot/install. sh sh 2.6.3-7mdkcustom arch/i386/boot/bzImage System.map ""
No dep file found for kernel 2.6.3-7mdkcustom
No dep file found for kernel 2.6.3-7mdkcustom
There was an error when generating initrd. Try to do a :
/sbin/mkinitrd /boot/initrd-2.6.3-7mdkcustom.img 2.6.3-7mdkcustom
to see the errors
looks like there is a problem, the default vmlinuz version is not the same
as the initrd
which means you have a mdk kernel and not a mdk initrd wich may give you trouble
not adding bootloader entry: 263-7custom, it already exists
|
|
|
04-03-2004, 12:39 PM
|
#4
|
Member
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295
Rep:
|
HEY YOU CAN STOP YELLING.
Maybe you should learn to have manners before you make another post. If you know what you're doing already and didn't want my help, why did you making the post??? Not to be rude but RTFM, that _isn't_ how you compile a kernel. You never even made the modules.
http://www.linuxquestions.org/questi...threadid=73436
Have fun _NOT_ listening to other's advice, being cocky, and last but not lease, being rude.
|
|
|
04-06-2004, 11:08 PM
|
#5
|
LQ Newbie
Registered: Apr 2004
Posts: 4
Rep:
|
Kernel 2.6.3 compiling problem...
Quote:
Originally posted by vi0lat0r
HEY YOU CAN STOP YELLING.
Maybe you should learn to have manners before you make another post. If you know what you're doing already and didn't want my help, why did you making the post??? Not to be rude but RTFM, that _isn't_ how you compile a kernel. You never even made the modules.
http://www.linuxquestions.org/questi...threadid=73436
Have fun _NOT_ listening to other's advice, being cocky, and last but not lease, being rude.
|
Hi viOlatOr,
I double-checked in order to make sure I did everything I had to, in order to successfully install my successfully compiled kernel, that is:
make clean
make modules
make modules_install
make bzImage
make install
and I got the same problem that mmodem had, i.e.:
No dep file found for kernel 2.6.3-7mdkcustom
In /lib/modules, I have a folder named 2.6.3-7mdkcustom, as it should be (you now know I'm trying to install a 2.6.3-7mdkcustom kernel). One thing that may be of any help.... In that folder, there is no modules.dep. Is that normal ?
Thanks,
|
|
|
04-06-2004, 11:16 PM
|
#6
|
LQ Newbie
Registered: Apr 2004
Posts: 4
Rep:
|
Re: Kernel 2.6.3 compiling problem...
Got the solution while reading my prev. message. modules.dep missing..... I should have done that before.
depmod 2.6.3-7mdkcustom
This creates every needed files in /lib/modules/2.6.3-7mdkcustom
Then, make install, from /usr/src/linux, created the initrd file as needed.
See ya,
|
|
|
04-07-2004, 02:42 AM
|
#7
|
LQ Newbie
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21
Original Poster
Rep:
|
Quote:
Originally posted by vi0lat0r
HEY YOU CAN STOP YELLING.
Maybe you should learn to have manners before you make another post. If you know what you're doing already and didn't want my help, why did you making the post??? Not to be rude but RTFM, that _isn't_ how you compile a kernel. You never even made the modules.
http://www.linuxquestions.org/questi...threadid=73436
Have fun _NOT_ listening to other's advice, being cocky, and last but not lease, being rude.
|
IF you would really know how to compile kernel versions 2.6 you would say that im correct when i say that for compile a kernel2.6 is needed to do:
make mrproper
make xconfig
make modules_install install
u could also google...
|
|
|
11-13-2004, 06:50 PM
|
#8
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Rep:
|
What a retard!!!!!
Quote:
Originally posted by mmodem
IF you would really know how to compile kernel versions 2.6 you would say that im correct when i say that for compile a kernel2.6 is needed to do:
make mrproper
make xconfig
make modules_install install
u could also google...
|
|
|
|
11-13-2004, 11:03 PM
|
#9
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Quote:
Originally posted by mmodem
IF you would really know how to compile kernel versions 2.6 you would say that im correct when i say that for compile a kernel2.6 is needed to do:
make mrproper
make xconfig
make modules_install install
u could also google...
|
Actually you are wrong.
Making the mrproper erases the Mandrakified configuration files containing the setup which is specific to the Mandrake distro.
There is no reason to do this under Mandrake, and what you are referring to is a holdover with clean compilations using other distros that do not provide their own customizations.
Make xconfig also should be invoked with the parameter to invoke the "old" mandrake configuration, which oops, gets blown away by make mrproper.
Unless you are specifically changing a configuration entry, only the last step is needed, even then the mandrake configuration files should be retained.
The make install will also correctly create the system map files and place them into /boot
|
|
|
All times are GMT -5. The time now is 06:01 AM.
|
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
|
|