LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-31-2004, 07:48 PM   #1
mmodem
LQ Newbie
 
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21

Rep: Reputation: 15
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?
 
Old 03-31-2004, 08:51 PM   #2
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
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).
 
Old 04-03-2004, 11:31 AM   #3
mmodem
LQ Newbie
 
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 04-03-2004, 11:39 AM   #4
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
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.
 
Old 04-06-2004, 10:08 PM   #5
ctardif
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Question 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,
 
Old 04-06-2004, 10:16 PM   #6
ctardif
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
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,
 
Old 04-07-2004, 01:42 AM   #7
mmodem
LQ Newbie
 
Registered: Aug 2003
Location: Portugal
Distribution: Mandriva
Posts: 21

Original Poster
Rep: Reputation: 15
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...
 
Old 11-13-2004, 05:50 PM   #8
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
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...
 
Old 11-13-2004, 10:03 PM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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
 
  


Reply


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
rebuilding a modules.dep file? mpyusko Linux - Software 1 10-15-2005 01:51 PM
Kernel file system modules not found JohnKFT Slackware 2 04-07-2004 06:00 PM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
dep mod:command not found when installing lufs future leet Linux - Software 4 02-06-2004 07:33 AM
can't open modules.dep file meat_n2_reg Linux - Newbie 4 10-30-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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