Software :: Recompiling Kernel Required To Add Modules?
Jan 4, 2011
I only have basic experience recompiling a Linux kernel, and I have a question about adding dynamic modules.In case I want to add a brand new module, do I need to recompile the kernel to include a reference to that new module, or is simply compiling a kernel with generic support of dynamic modules all it takes to add whatever modules I need later on, without recompiling the kernel and rebooting the host?
View 2 Replies
ADVERTISEMENT
Jan 7, 2010
I was wondering how/if it was possible to edit the min. version number of a depen for a .deb package. For example lets say my package says it needs libc6 2.7.1 or higher but I want it to be 2.5.1 or higher instead. Can I make this change with out having to recompile the .deb package?
View 1 Replies
View Related
Mar 22, 2011
I have gone through a good number of distros all the way back to Slackware but I'm struggling to get my brain moving in the right direction again. I am working to enable sendmail and, from what I've read, it appears that newer version of sendmail are installed with milter but I can't seem to locate this. I am running v11.4 so I'm wondering if this is just not the case? I don't have a problem reconfiguring/recompiling the sendmail conf files but would rather not if it's not required. For the record my ultimate goal is to have the spamassassin and clamav milter's installed and using the home server as our primary email.
View 7 Replies
View Related
Jul 22, 2010
I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"
I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2
This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:
[Code]....
View 5 Replies
View Related
Mar 23, 2011
I was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
[code]...
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37.1-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
View 5 Replies
View Related
Jun 28, 2011
May i know how to do kernel recompiling.step by step explanation will help me. i am new to this.
View 1 Replies
View Related
Dec 24, 2009
If I compile the kernel once fully and if I wan't to make a minor change how do I do that without having to go through the whole recomiliation? Commands like "rpmbuild -bb" and "make rpm" seem to recompile everything but it should just compile the changes I made.I'm using Fedora 12 with the latest stable kernel.
View 11 Replies
View Related
Apr 24, 2011
if i wanted to just download and install a module, how does centos have it where i don't have download the source and recompile the whole kernel withthe module enabled? i read about install kernel-devel but nothing much more on using it. for instance, if i wanted to download ext4 module and have the kernel use it?
View 1 Replies
View Related
Jul 30, 2010
i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?
View 7 Replies
View Related
Jun 9, 2011
I'm update Python , but founde problem root@server [~]# yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.7 (r267:88850, Jun 7 2011, 12:25:26) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] If you cannot solve this problem yourself, please go to the yum faq at: [URL]...
View 10 Replies
View Related
Jan 15, 2016
How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?
Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686
$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep
Calling the second command again does not recompile the modified code, just recreates the .deb packages.
If I use:
Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.
How can I force recompilation of the files/objects I changed (and dependencies)?
I use this guide: [URL] .... ('Building only a single kernel variant' section)
View 2 Replies
View Related
Jun 29, 2011
I just up-graded to the latest version of the stable 11.4 64bit kernel on my laptop and it appears that the repositories have not compiled the VirtualBox driver module for the current kernel ... When I make /vboxdrv setup the message is:
Recompiling VirtualBox vboxadd kernel module, NOT. It has been packaged
I think this means that the installed module will not recompile has it was packaged. My kernel version is the lattest :
2.6.37.6-0.5-1
And my VirtualBox was installed from the Virtualization repos (4.0.8.11-1) even made the Vendor change and all. The version Before the lattest (4.0.4-1.6) did not work either. With the same problem. It is very easy to install VirtualBox from the Sun site and every time there is a Kernel up-date one can always make /etc/vboxdrv setup.
View 9 Replies
View Related
Sep 9, 2009
I use CentOS 5.3 with kernel 2.6.18-128.1.6.el5 for Clonezilla. It would be simpler for me if any of IDE or SATA drives detects as /dev/sdX device. Because when I cloning computers with Clonezilla it is matter which type of drive connected to cloned computer. So I must firstly clone computers with IDE drives, after that with SATA drives. If all drives would detected as /dev/sda I would can clone all computers at once! Is there simple way to enable new libata library without recompiling kernel? Is there already compiled kernels with this feature?
View 7 Replies
View Related
Feb 10, 2010
I installed openSUSE 11.2 on virtualbox. My host is windows 7. I tried to install the guest additions, but i get an error saying
Code:
Building VirtualBox Guest Additions Kernel Modules...Failed
(Your system does not seem to be set up to build kernel modules)
How should i go about to let my system build kernel modules?
View 7 Replies
View Related
Mar 11, 2010
I am trying to compile a kernel 2.6.31-12 in my machine which is running ubuntu 9.0(kernel version 2.6.31-14). I don't have internet connection on that machine. I somehow downloaded the kernel sources on some other machine and copied it the my PC which is running ubuntu.I have installed the kernel sources (.gz file) by un-zipping and un-tarring the archive. For compiling the kernel I am following the traditional approach:
1. make oldconfig ( make menu config is not working )
2. make dep
2. make clean
3. make bzImage
4. make modules
5. make modules_install
6. make install
7. Modify the /boot/grub/grub.cgf
I didnt encounter any error in the above steps till step no. 6. However in the
step 7, I am not getting the /boot/initrd.img-2.6.31.12 file which is needed for the ramfs. However I am getting the vmlinuz file in the /boot.
View 5 Replies
View Related
May 21, 2010
I have 2.6.18-8el5 kernel and I wants to update the kernel to PAE.From where I will get the PAE kernel ?
View 8 Replies
View Related
Sep 26, 2010
I have just compiled a new kernel. When I boot into this new kernel and do an lsmod it is only running two modules. The only thing I changed in the configuration file was to compile ext4 file system into the kernel. My computer is an HP Pavilion dv4. The two modules are lirc_ene0100 and lirc_dev. I am running Ubuntu 10.04. The new kernel is 2.6.32.15+drm33.5. The kernel seems to work fine but I need to know why and how it can only be running two modules.
View 1 Replies
View Related
Jun 24, 2010
I'm trying to install VMWare server on my Kubuntu box and it's telling me there are 3 "kernel modules" that it needs me to remove (apparently they were installed previously and VMWare isn't liking that).How do I remove them? Never messed with the kernel modules before.
View 4 Replies
View Related
Nov 28, 2010
I recently updated the kernel from SLES 11 to SLES 11 SP1 .However my kernel modules are not getting loaded and they throw an error such as shown below:"Errornserting mii : Unknown symbol in module, or unknown parameter (see dmesg)"
View 8 Replies
View Related
Apr 23, 2010
I am writing a kernel module which need to do something at some interval. Now this problem can be solved by using a user process, which will send signal to the kernel and the kernel would do accordingly. But it would be nice, i could do it within the kernel module itself. Is there any way to use SIGNALs inside the kernel module?
View 3 Replies
View Related
Jun 6, 2010
I am trying to write kernel modules. And am running Ubuntu 10.04 x64. I have downloaded both kernel source and headers. Unpacked kernel source and made a /usr/src/linux symbolic link pointing to the src. Here is the output of running make:
Code:
make -C /lib/modules/2.6.32-22-generic/build M= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
[code]....
I am taking both the module and the Makefile from Linux Kernel Module Programming Guide book. I don't know what am missing.
View 2 Replies
View Related
May 12, 2010
I have a unique setup on my hands..-local (LAN) dev system built on a via epia m6000 (uses the older via eden-samuel cpu). Latest kernels will not boot due to cpu issue.I'm running CentOS v3.9 for kernel compatibility and have managed to get my basic LAMP setup accomplished via yum but I'd like to run the curnet versions of everything while keeping the older kernel if possible.I'm considering setting up my yum repos to include v4 or v5 and use the yum --exclude kernel option.
View 4 Replies
View Related
Jul 4, 2009
How do I get modules in the Kernel to load automatically at boottime? I''m specifically trying to get i810fb to load during the boot process. In Ubuntu, I just had to edit a file and update my initramfs. How do I do this in Fedora?
View 5 Replies
View Related
Mar 26, 2011
The new kernel upgrade on Fedora 14 will not boot. lib/modules do not exist is the message. Grub was adjusted to match the old kernel, and the new kernel when booting says lib/modules do not exist. The old kernel has twice as many modules as the new kernel in lib/modules. How do I get the new modules to install so I can boot with the new kernel then? Should I reinstall the new kernel?
View 2 Replies
View Related
Feb 26, 2010
I am having some issues compiling kernel modules against the pre-built OpenSUSE kernel. Whenever I compile a module and try to load it, I get something like:
Code:
insmod fs/smbfs/smbfs.ko
insmod: error inserting 'fs/smbfs/smbfs.ko': -1 Invalid module format
It doesn't actually matter what the module is, they all do the same thing. I have tried the above mentioned smbfs, I've also tried:vmware kernel module
[Code]...
View 9 Replies
View Related
Sep 26, 2010
I have an x86 pc and installed lucid these are the details of my distribution version:
I am trying to build a kernel module i am getting the following error:
How to build kernel modules
View 3 Replies
View Related
May 8, 2011
I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:
sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage
System.map "/boot"
[code]...
View 5 Replies
View Related
Oct 25, 2010
It has been years since I have need to compile the kernel or its modules. Here goes: I recently upgraded to ubuntu 10.10 and needed the kernel source and its modules source. The relevant directories are in a mess. Several diff versions, broken links, the works. Is there a nice easy way, to remove all of the sources, there, and err "install" the ones for my latest kernel, in the correct places. Then I might have a chance at getting the two modules I need complied! Nvidia being one for the geforce 4 mx420 nv17
View 4 Replies
View Related
Aug 13, 2011
I'm having a problem getting firewire modules to load. Basically, I need firewire_core and firewire_ohci so I can use dvgrab. I tried the following:
Code:
[root@x:/]# modprobe firewire_core
[root@x:/]# modprobe firewire_ohci
But the modules aren't showing with lsmod:
[Code]...
View 5 Replies
View Related
Jun 13, 2011
I need to debug "ls". I downloaded coreutils and compiled them in debug mode."ls" uses readdir() kernel API to fetch files/directories from a file system. readdir() fetch data from any file system (suppose FAT or ext3).I have debug version of FAT/ext3 and installed, I also have debug version of coreutils (ls) as well.Now I want to debug from "ls" to "FAT/ext3 readdir()".How to do that?
View 6 Replies
View Related