General :: Compiling Kernel Sources Or Its Modules

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


ADVERTISEMENT

General :: Missing Modules After Compiling New Kernel?

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

General :: No Kernel Sources When Compiling Software

Feb 25, 2010

When compiling software I get the following notice : You do not appear to have the sources for the 2.6.31.5xls-domU kernel installed.

Yum says :
Package kernel-headers-2.6.18-164.11.1.el5.x86_64 already installed and latest version
Package kernel-devel-2.6.18-164.11.1.el5.x86_64 already installed and latest version

But uname says :
Code:
-bash-3.2# ls /usr/src/kernels/
2.6.18-164.11.1.el5-x86_64
-bash-3.2# uname -a
Linux vds.hosting.net 2.6.31.5xls-domU #4 SMP Fri Dec 4 12:17:04 CET 2009 x86_64 x86_64 x86_64 GNU/Linux

Extra info :
title CentOS (2.6.18-164.11.1.el5xen)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/xvda1 console=xvc0
initrd /boot/initrd-2.6.18-164.11.1.el5xen.img

This is a VDS I'm renting from my Hosting company. How can I get the right sources? RPMforge repo?

View 10 Replies View Related

General :: Compiling New Kernel - List Of Current Modules

May 25, 2011

I'm trying to compile a kernel for my Crux Linux install. I figured I'd do a 'make defconfig' to setup a .config file with the default configuration and then try to add anything I will need for my specific system. I found a script that scans my system and prints out a list of any current modules I am using. That way I can make sure to add these to my new kernel. It looks something like this:

Code:
ac.ko.gz
agpgart.ko.gz
ata_generic.ko.gz
ata_piix.ko.gz
battery.ko.gz
button.ko.gz
compal-laptop.ko.gz
dcdbas.ko.gz
dell-laptop.ko.gz
drm_kms_helper.ko.gz
drm.ko.gz
ehci-hcd.ko.gz

Is there a way to add these to my current configuration without having to go into 'make menuconfig' and search for each one? It's not too hard to search for many of them. But the ones with short names I'm not finding. Like ac.ko for example. 'ac.ko' returns 0 search results and 'ac' returns anything and everything with those 2 letters in it.

View 3 Replies View Related

OpenSUSE Install :: Compiling Modules Against Kernel?

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

Slackware :: Compiling Kernel Sources To Add Few Options

Apr 18, 2010

I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?

View 3 Replies View Related

Hardware :: ERROR: Unable To Determine The Version Of The Kernel Sources Located In '/lib/modules/2.6.35

Jan 11, 2011

I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:

ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.

ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at nvidia.com.

Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide.

This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source,

View 9 Replies View Related

OpenSUSE Install :: Installing Kernel Through RPMs Without Compiling Sources?

May 10, 2010

Is there any way to install a kernel using rpms and avoid compiling its sources? I am using OpenSUSE 11.2.

View 7 Replies View Related

Software :: Compiling Patch - Installing With Full Kernel Sources?

Apr 8, 2011

I am trying to compile a patch for HDMI audio, reference this thread [URL]

Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2

- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch

- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this

Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?

View 8 Replies View Related

Slackware :: ERROR: No /lib/modules/2.6.33.4-smp Kernel Modules Tree Found For Kernel "2.6.33.4-smp" ... For Mkinitrd - Encrypted Installation

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

OpenSUSE Hardware :: Unable To Start VirtualBox Kernel Modules - Error Stopping VirtualBox Kernel Modules

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

OpenSUSE :: Compiling XEN 4.0 From The Sources In 11.2.

Jun 9, 2010

I'm trying to build the latest XEN 4.0.0 from the tarball in xen.org.

After resolve the dependencies, I finalled compiled the xen kernel.

But the problem, it is not making the intrd for booting (and it is not suposed to do ), it just comments the following on the README source:

Depending on your config, you may need to use 'mkinitrd' to create an initial ram disk, just like a native system e.g.

# depmod 2.6.18-xen
# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen

[Code].......

I really want to test the pastrough and snapshot new features in XEN, since i really start to hate vmware eating all resources with more than 1 vm (I know, there is VirtualBox, but I used Vmware first since you can record videos and for portability).

I already used XEN 3.4 a lot in my own labs inside my laptop, (since I learned how to use virtual network in nat mode), and since is the default hypervisor on the job (we are migrating the lasts Vmware vms !!! cool!!! ) and I really really love XEN (is amazing, 4 vms, 1 host in a laptop turion 64 x2 with just 3GB ram!!! and my processor is not flaming!!!).

View 1 Replies View Related

General :: New Kernel Only Has Two Modules?

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

General :: How To Remove Kernel Modules?

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

General :: Kernel Modules Are Not Getting Loaded?

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

General :: Downloading Current Kernel Sources ?

Jan 19, 2009

I need to download the Kernel sources add a few lines and then recompile and install the new files. I found the following lines that are suppose to do it on nVidia's forums:

Code:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-17-rt
sudo apt-get source linux-image-2.6.24-17-rt[code]........

what the Kernel Module Source packages are called?... This guide I am trying to follow is obviously dated but it is the only solid lead I have been able to find towards making my ram work...This is the original thread on the NVNEWs boards: Unable to install Nvidia driver on 9500M + Ubuntu - Page 2 - nV News Forums,Read through that thread I linked to the NVidia forums for a detailed run down of what is wrong.

The semi short version: There is some sort of issue with the NVidia driver on the G1Sn (and several other Asus Models) and the way the Linux Kernel address memory, the issue results in not being able to use more than 2 Gigs of ram with the Nivida drivers. There is a patch (again check the nvidia forum link) that people said they had applied to fix this issue. At this point I am seriously considering Vista again if I can't get this working I love Ubuntu but I hate having my hardware limited by my software...where to download the files I need to recompile in the Kernel with the patch I need for my ram to work?

I tried posting there but it seems like the thread is long dead.. how I can download the needed files and maybe how I add these lines to it?I also started a thread on the ubuntu forums here: [ubuntu] Downloading Current Kernel Sources.

View 2 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?

View 2 Replies View Related

Debian :: Compiling Sources - Configure Shows Prog Missing

Apr 28, 2010

I have this problem constantly and it tells me to install such and so a prog, but I do locate [prog] and it shows up in 80 places so it's obviously installed. I just have no clue how to attach the two or to set up anything in the ./config set up so it leaves me completely stuck. So what's the trick when it's already in there? Also..it says I just joined? in 2008.

View 5 Replies View Related

General :: Kernel 3.0-ARCH VMWare Modules Wont Build

Aug 4, 2011

Since new kernel 3.0 update I cannot rebuild vmware modules

Quote:

sudo vmware-modconfig --console --install-all Unable to initialize kernel module configuration

how to do that. Where do I insert the "CONFIG_LOCALVERSION" line.

Quote:

Same here. This seems to be due to the kernel version being "3.0" instead of "3.0.0". Recompiling the Kernel (and all modules based on it, e.g. nvidia) with
CONFIG_LOCALVERSION=".0-ARCH" allows me to compile the modules and run VMware.

View 4 Replies View Related

General :: Loaded Kernel Modules On Virtual Server And CSF Confusion

Dec 24, 2010

what is happening on my Centos virtual server (ps I'm having a great time re-learning Linux after a large gap and usually try and find out myself but this has me confused) First thing I did was install Tomcat and try and change the port to 80 using iptables -nat and it complained a kernel module was missing. Instead setup Apache to redirect requests so that's now working I then tried to install CSF firewall and the validation perl script returned fatal errors so I assumed OK my virtual server Kernel is restricted and used denyhosts instead which is working great

Here's the confusion.. I later retried the csftest script and it now works including all the iptables and nat stuff that fataled before. I've not rebooted or changed anything except run denyhosts and the postgres daemon + ended a few daemons that I didn't need (eg pickup,tlsmgr,courier,postfix,qmgr,saslauthd) Running lsmod returns nothing and /proc/modules is zero bytes so I'm not able to tell what is loaded? I'm tempted to try and get Tomcat redirecting via iptables and see what happens but if it works I don't like that something seems to have changed.. before I ran it direct as root now I'm SU into root from another login

View 1 Replies View Related

General :: Compiling 2.6.23.4 Kernel On Fedora 11

Feb 24, 2010

I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.

I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install

Kernel is compiling. After doing make modules_install it says:

My grub.config looks like:

But after that the cursor only blinks nothing happens.

View 5 Replies View Related

General :: Compiling Kernel 2.6.32.2 Error

Jan 4, 2010

I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.

These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.

Code:
Downloaded kernel package 2.6.32.2 from www.kernel.org
untar archive
make menuconfig (no changes made, saved config file)
make

[Code]...

View 9 Replies View Related

OpenSUSE :: Kernel Module / Building VirtualBox Guest Additions Kernel Modules - Failed?

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

General :: Cannot Boot After Compiling And Installing Kernel

Apr 14, 2010

I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.

However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.

The steps I did was:

Code:

Code:

In my grub.conf I have the following:

Code:

When I try and boot I get the following problem:

Code:

View 11 Replies View Related

General :: Compiling A New Kernel 2.6.34-rc5 On RHEL 5 Beta?

Apr 29, 2010

I am in verse to compile a new kernel 2.6.34-rc5 on RHEL 6 Beta.I have been following [URL] for the same. how can i select all the options during :

Code:
make menuconfig/make gconf/make xconfig

I just saved it under .config and when I ran : make modules it threw errro saying "modules not included". So i want to select complete options during make xconfig.

View 3 Replies View Related

General :: Error During Kernel Module Compiling

Mar 13, 2011

I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.

View 1 Replies View Related

General :: How Much Size Should Give When Compiling And Installing A Kernel

Apr 13, 2010

I have downloaded the newest most stable Linux kernel, 2.6.33.2.

I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the minimum packages.

I setup the make menuconfig with just the default settings.

After that I ran make and got the following error:

The amount of space I have left is:

My virtual size is 4 GB, but the actual size is 3.5 GB.

How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.

View 2 Replies View Related

General :: Compiling Own Kernel - Error Message On Booting

Aug 7, 2010

These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below:
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs.
My distribution is UBUNTU 10.04 LTS
original kernel with the distribution is 2.6.32
My own kernel is 2.6.35

View 7 Replies View Related

General :: Compiling And Installing Kernel Into User's Own Folder

Mar 24, 2010

I am compiling kernel to learn it and as well as for edubook, a netbook I am working on. I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,

Quote:

'make o=/home/pbhat/temp/kcompile menuconfig'

Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out where I went wrong? I was compiling under /usr/src/linux and in Opensuse 11.2.I followed the README apparently written by Linus where I saw the above make syntax.Maybe that is old and hold good no more.

View 3 Replies View Related

General :: Compiling Latest Kernel On Older Distributions

Sep 28, 2010

I would like to add latest tc+esfq functionality to machines running older distributions, FC3, FC5 etc. I am told I should down load the latest kernel and recompile with the proper patches which I can do. Are there problems with using latest kernels with older distributions, they are all running 2.6.x, but the x has of course gone up since FC3.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved