Installation :: How To Install Kernel-source And Gcc?
Oct 21, 2010How 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 RepliesHow 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 RepliesI 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 Relatedcurrently 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.
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?
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....
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.
installed the fedora 12, but dont know how to use the source dvd to install the source package.
View 3 Replies View RelatedDuring 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...
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?
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.
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]...
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[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?
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
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
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 Relatedi 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 RelatedKernel 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! "
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.
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]....
I installed Ubuntu 9.04 on a Dell Latitude E6410 I have neither Ethernet connection or WIFI connection.
If I could figure out how to download the kernel source for ubuntu 9.04 then I can build the devices into the kernel and get them working.
Where can I find the source for Ubuntu 9.04, kernel 2.6.28-11-generic.
Also, there are names for the Ubuntu. How to figure out the name of my OS?
Note, I tried to install Ubuntu 10 but the screen was blank after I booted off the installation CD.
I am an extremely new Ubuntu Server user. I am trying to install NFS on a new Ubuntu Server 10.10 installation. When running the command sudo apt-get install nfs-kernel-server nfs-common portmap, I was previously getting the message:
E: unable to locate package nfs-kernel-server
I'm sure I don't have the correct sources for installation, I just don't know source I need to add.
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?
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]..
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 RelatedI'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 RelatedI downloaded the source code with the following command :
[code]...
Then, I run the autogen.sh script
[code]...
trying to install F13 onto an older HP a1610n, which uses an nvidia 6150LE chipset. While booting from the install media, the screen goes completely black. The machine isn't hung, as from the DVD activity LED, it's still dutifully doing its thing, just not letting me see any of it. I'm thinking/hoping some kernel parameters might help, but I can't seem to find out what they would be.
View 1 Replies View RelatedHow to build .deb package from deluge-1.3.0_rc1.tar.bz2 or from deluge-1.3.0_rc1.tar.gz downloaded source files?
and
How to install Deluge-1.3.0_rc from deluge-1.3.0_rc1.tar.bz2 or from deluge-1.3.0_rc1.tar.gz downloaded source files.
How to edit source.listfile with Deluge auto-update?
OS: Ubuntu 10.04 Lucid Linux
Desktop PC, Intel Core2 Due.
I'm new to linux and I'm using ubuntu 10.10 since it relished. I've download utorrent-server-3.0-25053.tar.gz. I configured intltool-0.41.1.tar.gz and libgraph-1.0.1.tar.gz using that very command installed them successfully.
View 3 Replies View Related