LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-12-2003, 05:02 PM   #1
_flaab_
LQ Newbie
 
Registered: Oct 2003
Posts: 16

Rep: Reputation: 0
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.
 
Old 11-13-2003, 02:21 AM   #2
BobGuy
LQ Newbie
 
Registered: Oct 2003
Location: In A House
Distribution: mandrake slackware
Posts: 24

Rep: Reputation: 15
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?
 
Old 11-13-2003, 05:31 AM   #3
_flaab_
LQ Newbie
 
Registered: Oct 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 11-13-2003, 06:34 AM   #4
hulkt
Member
 
Registered: Oct 2003
Posts: 172

Rep: Reputation: 30
simply disable the service that search for new hardware!
(harddrake)
 
  


Reply



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
kernel-headers and custom compiled kernels jaakkop Slackware 2 11-22-2005 11:21 AM
problems booting compiled 2.6.11 kernel monkeyman2000 Debian 7 05-28-2005 07:16 PM
Just compiled a custom kernel no sound. Royle Debian 5 01-23-2005 05:10 AM
Custom kernel vulnerabilities verus Slack pre-compiled tank728 Slackware 1 09-04-2004 01:22 PM
Updating a custom-compiled kernel mooreted Linux - Software 2 03-01-2004 09:55 AM

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

All times are GMT -5. The time now is 10:51 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
Open Source Consulting | Domain Registration