CentOS 5 :: How To Install Kernel Source
Jul 15, 2011
I am a newbie to CentOS. I use CentOS5 for NetFPGA project.
I installed everyone except building driver for NetFPGA hardware. When I enter the "make" command, it gives an error like:
make: *** /lib/modules/2.6.18-238.12.1.el5.centos.plusxen/build: No such file or directory. Stop.
In the manual, it says that:
-If you get an error message such as "make: * /lib/modules/2.6.9-42.ELsmp/build: No such file or directory. Stop.", then kernel sources are need to build the driver.
But I don't know which package I have to install. My kernel version is 2.6.18-238.12.1.el5.centos.plus-i686.
View 3 Replies
ADVERTISEMENT
May 19, 2010
how to install redhat 6 beta kernel source rpm under CentOS 5.5? I just download the kernel source rpm-- kernel-2.6.32-19.el6.src.rpm. And I tried run "rpm -i ", it was failure. The error message is "error: unpacking of archive failed on file /home/xliang/rpmbuild/SOURCES/Fedora-KVM-allow-userspace-to-adjust-kvmclock-offset.patch;4bf439e4: cpio: MD5 sum mismatch"
View 7 Replies
View Related
Oct 31, 2009
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
View 6 Replies
View Related
Jun 25, 2010
I am running an Hp Pavillion dv6000 with the Broadcom card that never seems to work for Linux. I recently talked with my friend who said he found a way to get it work.following his instructions I opened Synaptic and checked the package bmcwl-kernel-source to be installed.I went through the process of it all and it said it had install successfully. I restarted the computer and when I tried to enter my operating system I got this error "Kernel panic - not syncing : VFS : Unable to mount root fs on unknown - block(8,1)"
I have previous versions of Linux on my computer so I can still get in to those if need be but I don't know how to undo what I did or why it isn't working for that matter. Does anyone have any ideas as to why I am getting this error and how I can fix it?
View 2 Replies
View Related
Jun 22, 2010
I am trying to install set up of wanpipe for E1/T1 card. First of all downloaded the source code from [URL] and did all step needed for rpmbuild and copy the source code into /usr/src/kernels. Below is kernel information uname -r 2.6.18-194.3.1.el5
rpm -q kernel-devel
kernel-devel-2.6.18-194.3.1.el5
uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
Now point is when I run the ./Setup install for wanpipe its ask for path of kernel source which is present in /usr/src/kernels. its show : Kernel source 2.6.18-prep in /usr/src/kernels/kernel-2.6.18/linux-2.6.18.i686 is not supported! and set up is halted.So can somebody guide me why kernel source is not supported.
View 7 Replies
View Related
Mar 1, 2011
uname -r prints 2.6.18-164.el5
Yum install kernel-headers/kernel-devel gives me 2.6.18-194
When trying to run virtualbox I get an error:
Kernel Driver not installed: (rc=-1908)
Please reinstall the kernel module by running "/etc/init.d/vboxdrv setup" as root...
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [OK]
Uninstalling old VirtualBox DKMS kernel modules [OK]
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.18-164.el5 cannot be found at /lib/modules/2.6.18-164.el5/build or /lib/modules/2.6.18-164.el5/source. [FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
I'm assuming the setup program is using the output from uname -r to determine the kernel, the problem is the kernel sources I've got from yum do not jibe with the uname value.
View 4 Replies
View Related
Nov 19, 2010
i was not able to install alsa...showing the error checking for directory with kernel source... 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.18-194.el5xen/source). my friends installed the alsa for cent os 5.4...how to rectify this...
View 3 Replies
View Related
Feb 23, 2011
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
View 6 Replies
View Related
Oct 21, 2010
How to install kernel-source and gcc? Because if i want to compile module for installing Linux* Base Driver i've to install them first.
View 5 Replies
View Related
Nov 12, 2010
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error code...
View 6 Replies
View Related
Jan 20, 2010
Which is the best way to install kernel from source?
I want to download it here:
http://kernel.org/
But it is tar.bz2
How can I install it to my debian?
I know I have kernels in backports and repos, but I want to test and install it from source.
It is good idea to convert it to deb and install it with dpkg -i kernel.deb?
O maybe there are better way?
View 9 Replies
View Related
Sep 4, 2010
I had somewhat of a simple questioned I tried out the latest revision to the Kernel of Day for Opensuse 11.2 built against the master. kernel-default-2.6.36-rc3.10.1.i586.rpm however looking at the tree it appears Novell/Suse doesn't release the source.rpm thinking I could recompile it to support the dependencies that I'm missing. See the message below-
Kernel image: /boot/vmlinuz-2.6.36-rc3-10-default
Initrd image: /boot/initrd-2.6.36-rc3-10-default
Root device: /dev/disk/by-id/ata-MAXTOR_6L020J1_6612-part1 (/dev/sda1) (mounted on / as ext4)Resume device: /dev/disk/by-id/ata-MAXTOR_6L020J1_661-part2 (/dev/sda2)
modprobe: Module via82cxxx not found.
[Code]...
View 1 Replies
View Related
Sep 5, 2011
New to SuSE, but not Linux. Trying to install the source for 2.6.37.1-1.2, but YAST only has a different kernel version. Try downloading Kernel 2.6.37.1-1.2.2 rpm, but am getting into dependency hell.
View 2 Replies
View Related
Jun 12, 2010
[root@sharpblade ~]# yum repolist enabled
Loaded plugins: presto, refresh-packagekit
repo id repo name status
fedora Fedora 13 - x86_64 20,840
fedora-source Fedora 13 - Source 0
updates Fedora 13 - x86_64 - Updates 2,736
repolist: 23,576
why status of fedora-source is 0, dose this means there's no available packages in this repo? kernel-headers and kernel-devel have been installed, how can i install the kernel-source package?
View 1 Replies
View Related
Apr 19, 2010
i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5. i installed succeffully above src.rpm using command .. rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpm it created a directory in /usr/src/redhat
then i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed. saying: error:cannot create %sourcedir /usr/src/redhat/sources error:kernel-2.6.18-53.el5.src.rpm cannot be installed
View 1 Replies
View Related
Feb 17, 2011
While I trying to install Linux cable driver following error occurred.
"checking for linux kernel source... not found
configure: error: please install the kernel source or specify alternate location"
I tried by "yum install kernel-devel" and headers but still problem continues. How to set the path or where it installed in default.
CentOs 5.5
uname -r :2.6.18-194.el5
View 3 Replies
View Related
Apr 11, 2011
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
View 1 Replies
View Related
Jun 18, 2011
In order to configure a dual display in a fresh 11.4 installation, I am attempting to install the nVidia driver according to the instructions in SDB:NVIDIA the hard way - openSUSE. I have not previously compiled or configured a kernel so I largely followed the instructions from OpenSUSE 11.2 - How to compile a Kernel for Newbies.The currently installed kernel is 2.6.37.1-1.2-desktop. The graphics card is an ASUS EN9600GSO (512MB).
In Yast, I installed gcc, make, kernel-devel (v. 2.6.37.1-1.2) and kernel-desktop-devel (v. 2.6.37.1-1.2). Per the "hard way" instructions, I did not install kernel-source.
View 9 Replies
View Related
May 12, 2010
So after getting around the Fakeraid bug, and the grub bug, and all the other bugs killing my system fixed and then i moved on to install my video driver. There was nothing in Administration>Hardware Drivers, so i downloaded the latest driver for my two 8600m gt cards. Did the whole ctrl+alt+f2 and then stopping xserver and then running the driver install only to run into yet another damn bug(see log below)
I have tried fixing it by doing what other threads have said to do e.g:[URL] still nothing. Below is the Nvidia log.
[Code]....
View 9 Replies
View Related
Sep 12, 2010
currently I'm using a kernel from kernel-mainline [url], because thermal won't work satisfying with the shipped kernel from ubuntu and would like to install tp_smapi (including modules hdaps and thinkpad_ec), but the installation failed, because the system pretending, that kernel-headers missing.
Code:
Results in telling the system, that kernel-headers are installed.
Code:
But then the upcoming dialog-box of module-assistant telling me, that the kernel-headers are not installed and therefore installation of tp_smapi fails.
View 2 Replies
View Related
Jun 27, 2011
When trying to install the nvidia graphics driver I get the following error-message:
ERROR: The kernel header file '/usr/src/linux/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured. How do I configure the kernel source files?
View 3 Replies
View Related
Jul 9, 2009
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
View 1 Replies
View Related
Apr 21, 2010
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.6
Deleting module version: 3.1.6
completely from the DKMS tree.
Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source ->
/usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found
at
/lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12.
code....
View 6 Replies
View Related
Mar 11, 2010
I've been trying to install nvidia drivers yesterday, so I went to runlevel 3, ran the .bin installer and it came up with error: missing kernel-devel and kernel-source.
So I go yum install kernel-devel, it does, but it doesnt find anything like kernel-source.
How do I fix this issue? I have Fedora 12, and I ran drivers from:[URL]..
View 14 Replies
View Related
Oct 1, 2010
I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.
I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.
View 1 Replies
View Related
Jul 3, 2011
It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
View 3 Replies
View Related
Nov 9, 2009
New Centos and linx. I am trying to install VMware. The kernel I am running is 2.6.18-128.el5xen. The installation says that it can't find the directory of C header files that match my running kernel.
I friend of mine that is helping learn all this says that I need to install the RPM for my kernel. Can anyone tell me where I might be able to find that?
View 3 Replies
View Related
May 10, 2011
I would like to install kernel-PAE to be able to work woth more than 4 Gb RAM but I am unable to find it using yum ? Is it normal ? I am in 2.6.18-238.9.1.el5 x86_64
View 3 Replies
View Related
Feb 19, 2010
installed the fedora 12, but dont know how to use the source dvd to install the source package.
View 3 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