View previous topic :: View next topic |
Author |
Message |
hedgehog703 n00b
Joined: 18 Sep 2003 Posts: 28 Location: San Jose, CA
|
Posted: Tue Oct 14, 2003 10:41 pm Post subject: custom kernel and modules problem |
|
|
I am trying to complile my own custom kernel, but am having problems.
Here is what I am doing:
# emerge gentoo-sources
# cd /usr/src/linux
# mv .config /tmp/oldconfig
# make menuconfig
[I specify the necessary items to be built in, inluding the items listed in the Gentoo Install Guide under the manual kernel config section]
[I specify IDE, sound, network, usb as modules]
# make dep && make clean bzImage modules modules_install
# mount /dev/hda1 /boot
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
# emerge -k nvidia-kernel
# emerge e100
[Grub is already setup properly]
# reboot
[Select custom kernel]
Here is the problem. All of my modules fail to load.
I read in the docs that devFS will auto load my modules. Is this correct?
Do I have to manually enter their names in /etc/autoload.d/kernel-2.4?
I tried this and it did not work.
As a workaround, I compile everything into kernel, with no modules. This works fine, with the exception of nvidia stuff, which I can fix later. But I want to learn how to compile a kernel that will load my modules. I just can't get the kernel to load them.
[Hardware]
Intel P4 2.4 GHz
1 GB RAM
Intel Brand 845 Motherboard
Maxtor 80 GB IDE
52X CDROM
Onboard AC97 Audio
Onboard Intel Pro 100/VE NIC |
|
Back to top |
|
|
tobimat80 Apprentice
Joined: 27 May 2003 Posts: 272 Location: Trier - Germany
|
Posted: Wed Oct 15, 2003 11:33 am Post subject: |
|
|
Have you select autoloader in your kernel-configuration? |
|
Back to top |
|
|
hedgehog703 n00b
Joined: 18 Sep 2003 Posts: 28 Location: San Jose, CA
|
Posted: Wed Oct 15, 2003 3:07 pm Post subject: |
|
|
yes i have.
i am trying to use genkernel --config today instead. i am sure that will work, and I know I can always compile everything into a monolithic kernel and stuff will work fine. i will have to play with modules on another box at another time.
thx. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|