-
newbie kernel comiling questions
I've reently been muching around with the new 2.6 test kernels with sucess for the most part, but there are some questions I do have pertaining to compiling and installing new kernels.
#1 If my video card is listed in the Framebuffer mode, do I as well need to include support for generic VGA?
#2 modules vs. direct kernel support. this is the biggie for me. I notice when I did the knoppix HD install it loads most of my hardware via modules. When I recompile the 2.6 kernels I try to stay away from modules and just check things I know my machine has. Is this a good or a bad practice? What are the advantages/disadvantages of modules vs hardcoded support? The only snafu I have run into with compiling built in support has been with my old school Micrsoft Intellimouse. The default knoppix install loads it as a module and the wheel button works fine, however when compiling it directly into the kernel the mouse works fine except for the wheel button (even after tinkering with Xfree86 config). I'm guessing that the module may be more configurable but as I've said I haven't had much experience with modules.
And on the subject of modules and compiling them.... does make-kpkg take into account modules configured for the kernel, or does one as well have to do a make modules for debian installs as well?
I used this site as a guide for helping me install and compile the kernel
http://www.osnews.com/story.php?news_id=2949&page=1
but it says little about modules.
any help would be appreciated
-
I've always heard that good practice is to compile as many things as you can as modules unless your sure you need to build it into the kernel. Realize that everything built into the kernel increases it's size and memory use. If there's some piece of hardware you very rarely use why not support it with a module rather than build it in the kernel?
-
module building
with building modules then, I know how to add module support into the kernel whel configuring it, that's the easy part (a dot as opposed to a check mark).
My question now is after selecting all these modules will a make kpkg for the kernel include and "install" these modules, or is there some sort of make modules procedure I need to follow?
-
Senior Member
registered user
Re: module building

Originally Posted by
Hayabusa
with building modules then, I know how to add module support into the kernel whel configuring it, that's the easy part (a dot as opposed to a check mark).
My question now is after selecting all these modules will a make kpkg for the kernel include and "install" these modules, or is there some sort of make modules procedure I need to follow?
Any of the modules that you are selecting in the make [menuconfig xconfig] screens will be made when you compile the kernel with make-kpkg you would only have to add the modules_image to the compile line when you have unpacked additional source code for something like alsa or lm-sensors to the /usr/src/modules directory tree. Then it would make the additional .deb(s) for you to install along with the kernel_image and if you build (and you should) kernel_headers .deb files.
Similar Threads
-
By EricCartman in forum General Support
Replies: 3
Last Post: 06-08-2005, 07:47 PM
-
By cabobrett in forum General Support
Replies: 3
Last Post: 11-30-2004, 03:20 AM
-
By Hermes02 in forum General Support
Replies: 2
Last Post: 04-14-2004, 02:50 PM
-
By pez_king in forum General Support
Replies: 1
Last Post: 11-01-2003, 05:38 PM
-
By Xeogears13 in forum General Support
Replies: 5
Last Post: 10-29-2003, 05:57 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99

Lenovo ThinkPad L14 Gen 3 14" FHD Laptop i5 12th Gen 16GB RAM 256GB SSD Win 11
$329.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI
$144.00

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99