General :: Kernel Source Cannot Install Using Rpmbuild
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
ADVERTISEMENT
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
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
Apr 20, 2011
Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time
View 13 Replies
View Related
Apr 19, 2010
kernel source cannot install using rpmbuild Dear all, here is my problemi 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.rpmit created a directory in /usr/src/redhatthen 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/sourceserror:kernel-2.6.18-53.el5.src.rpm cannot be installed may i know the reason why it is failing
View 1 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
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
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
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
Nov 25, 2010
I have managed to get it to install the files in the BUILDROOT directory correctly but when I add the directories under the file it seems to try and install the files from root. my rpmmacros is as follows:
Code:
%_topdir /home/rpmbuild
# The directory where buildroots will be created.
%_buildrootdir %{_topdir}/BUILDROOT
[code]...
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
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
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
Oct 19, 2010
I have RHEL 5.3.
I am trying to build a e1000 network card driver rpm with particular requirement to have cpio.gz inside rpm.
But after i build my rpm driver it has cpio.lzma inside. I simply build using command from the readme: rpmbuild -tb *.tar.gz.
I have googled and found that from around 5.0 RHEL includes lzma and uses it as a default setting. Is there any way to force to use cpio.gz or somehow repackage my rpm correctly?
I have searched through makefile and other files but was not able to find a clue.
View 11 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
Oct 21, 2010
yesterday i downloaded source of my virtual linux kernel and tried to compile it. It compiled indeed but could not boot from the new kernel. Then today i decided to re-downloading after removing the folder where source files are located but it said "linux source is already the newest version"
I use the command below: sudo apt-get install linux-source What should i do to be able to re-download the source.
View 2 Replies
View Related
Aug 2, 2011
how to upgrade or install a updated kernel version (3.0).I am using RHEL 5 with kernel 2.6.18-8.I am trying to upgrade through source downloaded at [URL.Also will it be a good practice to upgrade the existing kernel?
View 3 Replies
View Related
Feb 6, 2011
Want to know where the source code of Linux is located
View 2 Replies
View Related
Apr 14, 2011
where can i find linux kernel source code?
View 4 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
Aug 31, 2010
Kernel Panic.
I am using
"HP Pavilion dvb 111x"
"AMD Turion X2"
"ATI RADEON Graphic Card"
And "RHEL5"
I am not register user of Redhat. I am trying to switch kernel form linux-2.6.18.X To linux-2.6.27.53. I had download source of kernel and install it as per README file. During installation everything was fair but as I am trying to boot from my new kernel it shows me "Kernel Panic" error. It Displays
" ide_generic :I/O resorce 0x1F0-0x1F7 not free.
ide_generic :I/O resorce 0x170-0x177 not free.
Redhat nash version 5.1.19.6 starting.
mount : Could not find filesystem. '/dev/root'
setuproot : mounting /dev failed : no such file or directory
setuproot : mounting /proc failed : no such file or directory
setuproot : mounting /sys failed : no such file or directory
switchroot : mount failed : no such file or directory
Kernel Panic not Synching:
attempt to kill init! "
View 14 Replies
View Related
Aug 3, 2010
What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?
View 2 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