LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   No dep file found for kernel 2.6.3-7mdkcustom (https://www.linuxquestions.org/questions/mandriva-30/no-dep-file-found-for-kernel-2-6-3-7mdkcustom-164740/)

mmodem 03-31-2004 07:48 PM

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?

vi0lat0r 03-31-2004 08:51 PM

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).

mmodem 04-03-2004 11:31 AM

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

vi0lat0r 04-03-2004 11:39 AM

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.

ctardif 04-06-2004 10:08 PM

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,

ctardif 04-06-2004 10:16 PM

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.

:study:

See ya,

mmodem 04-07-2004 01:42 AM

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...

carl0ski 11-13-2004 05:50 PM

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...


opjose 11-13-2004 10:03 PM

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 11:37 AM.