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
ADVERTISEMENT
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
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
May 29, 2011
i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command
Code:
make xconfig
and there were no errors so far so good
then i ran
Code:
make in the mix of all the command line and characters one of the lines said
Code:
stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze
View 9 Replies
View Related
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
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
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
Jun 22, 2011
I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.
However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?
View 2 Replies
View Related
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
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
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 hard disk of 4 GB. And installed CentOS 5.3 with just the minimum packages, just the development libs and development tools. I unzipped in the /usr/src directory. I setup the make menuconfig with just the default settings.
After that I ran make and got the following error:
Code:
net/bluetooth/hci_sysfs.o: final close failed: No space left on device
make[2]: *** [net/bluetooth/hci_sysfs.o] Error 1
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2
The amount of space I have left is after it give that error is:
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.3G 3.3G 0 100% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 125M 0 125M 0% /dev/shm
So my virtual harddisk size is 4gb and the actual size if 3.5gb. So what happened to the other 500mb? 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 1 Replies
View Related
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
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
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
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
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
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
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
May 31, 2011
I'm trying to compile programs under Solaris in my Home directory.
Ive had experience with simple installs which work with just
But with more involved programs, with dependencies on special libraries, how do I have the system look into my home directory for these? and how would I compile them into my home dir?
View 2 Replies
View Related
Nov 8, 2010
I have a linux system which has a NAND flash. The compressed kernel is flashed into the NAND flash. On boot up, the kernel is uncompressed, copied to RAM and runs from RAM. Is it possible for me to read the kernel information from NAND flash such as size, start and end location and version?
I have been looking for this in the net, but did not find any answers so far...
I have tried the following: The compressed kernel lies in the 4MB partition of the flash. So I tried: dd if=/dev/mtdblock1 of=zImage But this copies the complete 4MB partition. I need to copy only the zImage. So I need to know its size.
View 1 Replies
View Related
Mar 2, 2011
so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.
i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.
View 7 Replies
View Related
Jun 18, 2010
i want to compile and make kernel 1.0.0(the first kernel sources of linux) but its asking gas..... yup gnu assembler. i am using ubuntu 9.10 and if you ask why i am compiling this kernel.... because the truth is to study complete linux kernel.
View 2 Replies
View Related
May 23, 2010
I tried to compile an x86 linux kernel from amd64 machine. It is giving errors even after installing "gcc-multilib" But I wonder, it should be simply doable becuase "gcc -m32" creates 32 bit binary . I would prefer to compile it natively on x86_64 rather than creating an exclusive x86 chroot for that. Has anyone tried this on native x86_64?
View 4 Replies
View Related
Feb 23, 2010
I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.
View 5 Replies
View Related
Apr 9, 2010
I am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.
Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.
Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?
Also, the guest Fedora OS is 64-bit, if that is relevant.
View 2 Replies
View Related
Aug 1, 2010
I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".
Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1
[Code]...
View 1 Replies
View Related
Sep 6, 2010
In tryng to compile a kernel 2.6.35.4 the compile fails with this message.
[Code]...
View 3 Replies
View Related
Mar 12, 2010
I'm tryin to run this script to make me a aufs/squashfs/lzma patched kernel and I keep getting this
Code:
root@slackware:/usr/src# ./build.kernel
* Unpacking archives
aufs
lzma457
squashfs3.4
[Code]...
View 1 Replies
View Related
Feb 6, 2011
I haven't used slackware for many years. There used to be a sticky thread with a great kernel compiling guide for slackware. It feels somewhat unnatural to me to use slackware without a shiny new kernel. Does that guide still exist? I'm working from memory right now.
View 3 Replies
View Related