LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Compiled Custom Kernel booting problem (https://www.linuxquestions.org/questions/mandriva-30/compiled-custom-kernel-booting-problem-115355/)

_flaab_ 11-12-2003 05:02 PM

Compiled Custom Kernel booting problem
 
Hello there

i've just compiled and boot a new kernel, 'cos i have 1024 RAM and the generic precompiled mdk kernel does not have highmem support enabled. So i made it right -> make mrproper -> make menuconfig (i imported the config file of my current kernel from /boot/config-kernel.2.4.21-0.13mdk), and change the Highmem support thing.
After that, make dep, make clean, make bzImage, make modules and make modules install.
I moved the bzIMage o /Boot and create the new entry at /etc/lilo.conf. After that i did an # lilo -C /etc/resolv.conf, and everything was correct.

So i restarted the computer booted up my new kernel, everything was in order until "looking for new hardware", where the boot progress stopped, but without any warn or advised problem. No matter how much i wait, the looking for new hardware stuff does not finish. So i entered in interactive startup, and chose No for looking for new hardware(hardrake?), and the whole kernel ran perfectly, but my usb modem wasn't recognized.

What can it be? How can i fix it? Maybe some problem at the Usb configuration at make menuconfig. But how can it be if i imported the default config file from /boot?

Just in case, here is mi /etc/lilo.conf

image=/boot/vmlinuz
label="linux-2.4.21"
root=/dev/hda1
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi hdc=ide-scsi acpi=off"
vga=788
read-only
image=/boot/kernel-prueba
label="2.4.21-prueba"
root=/dev/hda1
append="quiet devfs=mount hdd=ide-scsi hdc=ide-scsi acpi=off"
vga=788
read-only

The first one is the default mdk precompiled one, and the second one it's mine and the one that just wouldn't Boot from "looking for new hardware" and ahead.

Can anyone tell me what the heck is this line at the first boot entry? -->initrd=/boot/initrd.img. I tried to add this line to my custom kernel too but it gave me several unresolved symbols and the boot wouldn't even start.

I'll really appreciatte any answers from experienced users at this area.

Thanks you all.

BobGuy 11-13-2003 02:21 AM

Quote:

After that i did an # lilo -C /etc/resolv.conf, and everything was correct.
Whats /etc/resolv.conf have to do with lilo?

# cd /lib/modules
# ls
2.4.21-0.13mdk/ 2.4.21-prueba/ <--is this what you have?

If not, what is in there?

_flaab_ 11-13-2003 05:31 AM

Hello BobGuy.

I'm sorry about the # lilo -C /etc/resolv.conf, what i did was # lilo -C /etc/lilo.conf. I just had a lapsus while writing the post.

Here is /lib/modules ls command

[flaab@localhost flaab]$ cd /lib/modules && ls
2.4.21-0.13mdk/ 2.4.21-0.13mdkenterprise/
2.4.21-0.13mdkcustom/ 2.4.22-24mdkcustom/

Anyway, I finally make my kernel boot properly. But then i have some problems with some system modules. Like Vmware modules or my Usb modules.

It says something about a modversions.h file not updated or somethin'.

Whay is modversions.h and how can i update it?

Thanks.

:-)

Flaab

hulkt 11-13-2003 06:34 AM

simply disable the service that search for new hardware!
(harddrake)


All times are GMT -5. The time now is 04:37 PM.