Ubuntu :: How Much Space Does It Take To Compile Custom Kernel
May 28, 2010
I've about 5.5GB of free space....whenever I try to compile the kernel my system runs out of space...says zero bytes remaining maybe I din't configure it that well I cant exactly figure out which drivers/modules I need in order to obtain a working kernel.
I would like to compile a custom xen dom0 kernel. I installed a Debian Squeeze with precompiled xen kernel, and it works fine, but i would like to compile a custom dom0 kernel from source. I tried install kernel source apt-get source linux-2.6 how can I patch this kernel source with xen? but i alway see only the domU kernel params.
I've compiled 2.6.35 for my eeepc, but I have noticed that resulting .deb file is 30mb large. After investigating i saw that modules (and maybe kernel) are compiled with debugging symbols enabled.I've checked my lenny router and modules there are without debugging symbols.So stock 2.6.26 from lenny comes without debugging symbols and linux-image .deb file is around 20mb.Stock 2.6.32-5-686 from squeeze comes with debugging symbols enabled - linux-image .deb here is 26mb. (I have used 2.6.32's .config file to build my kernel, then i did make oldconfig.)I guess this is what increase my kernel size, but how to disable it?Or maybe enable stripping of debugging symbols.
When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
I am developing a I2C CDROM client driver. The CDROM firmware supports TOC information read through a I2C command. It sends the TOC information in burst ( Interrupts a GPIO pin when it is ready ) and my CPU does a I2C read to read the TOC. When the CDROM firmware finishes sending the last data burst , it informs my CPU that it is done with the TOC, by a flag in the last data burst. I would like to know, which is the most efficinet way I can send these TOC information to userspace?
I am writing device driver in which i have to call callback function from kernel space, which are saving my data. But the callback functions are in userspace. While accessing them i am getting segmentation fault.
I wanna write a file in kernel space but from my searching I can to know that instead of writeing file in kernel space ,I can write data to user space by copy_to_user space.
But link is missing ...I dont know how will my user space will access kernel space means my function in kernel space which will do copy_to_user /....How my user space function will call my kernel level function ..
Can any one of you provide me with some example file which are doing this .I know every char driver is using it ...but i could not trace back how user level function is accessing it ...i m confused between user space and kernel space.
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
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.
I have the following requirement in my module. The driver gets some data from the external device. After getting 1MB of data it has to send it to the user space application. What is the best thing to implement for this in driver.? Is it ok to implement like, after getting data, the driver will send a signal to the user space application. Then the user space application sends an ioctl to read the data. Is there any alternate, that the driver directly sends the data without the user space application asks for it.?
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
I was wondering if there was a relativity easy way to take any version of Ubuntu, (lets say 10.04), and add some extra codecs, programs, and stuff, and then compile it to get a .iso, so I can use this on my computer(s). Any way I can do this that won't compile in gentoo hours?
I wasn't using my laptop for at least a few hours, but when I looked at it, it had seemed to crash. I am hoping to figure out what caused this, and to prevent it from happening again. I believe it has something to do with drm or b43 as that is what I could decipher from the screen. I have checked some logs and found nothing irregular. I do not want this to happen again. I am running kernel 2.6.33.1 with no patches and a custom config tailored to my processor. The reason I am running 2.6.33.1 is because of support for my Wifi.
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
All I want is a lxde based desktop to play with and tweak. The problem is that I am using rather esoteric hardware. An xcore86 device on chip to be precise. I have a custom kernel in deb format, and I managed to install UNR 9.10 and then install the custom kernel. Strip out as much obvious gnome stuff and install an lxde desktop. Now this is a quite good solution but still leaves me with a lot of junk that I am not sure I need. 2 ideas occurred to me. Install lubuntu and then install the custom kernel(this failed to work because lubuntu's kernel refused to play nicely with the xcore) or do a minimal install and work my way up adding the things that I wanted. (Again this ground to a halt when the screen went blank)
I looked at unetbootin to try and put in a custom kernel but to a novice like myself it did not work very well.Can anyone help, either a list of everything that can be removed safely from a UNR install to leave me with a minimal install, or a way to insert a custom kernel into a lubuntu iso?
a stock fedora 11 install on my embedded board results in the primary CompactFlash card being driven by the SCSI driver and is called SDA..running my custom kernel which i have slimmed down and yanked out the SCSI stuff because I dont need it, results in my CompactFlash card being called HDA of course driven by the ATA driver.which should I be using? both work just fine.. the CompactFlash card is on board and according to Soekris is actually run from an IDE controller, as there is no SCSI on board..
so im assuming the less amount of system overhead is to run it as IDE?I have no issues running it either way I just want to do whats right.. and what is going to be supported in kernels down the line, as im considering a bump from my current 2.6.30 kernel upwards for my project.
I am using ubuntu 8.04 and i am trying to make iso image cd with running kernel. i know that there is documentation in ubuntu website in"how to make live cd" but the thing is this is my custom kernel. i have my own configuration. so i want this kernel to be work in live cd.
I am thinking about compiling a custom kernel with Kernelcheck. I would like to know if I do compile my kernel will future kernel updates from Canonical replace my custom kernel? Please explain this in simple terms. This would be my first time compiling a kernel.
What are the best ways to make the kernel using git, and localmodinfo. and optimizing the kernel the best way on a laptop I have, which is a desktop laptop, so it is never really unplugged. Has a core 2 duo 2.53Ghz, 4GB DDR3 RAM, and an ATI HD 3870 GPU.so what things other than the obvious core 2 cpu type when making the kernel. It's on Ubuntu 11.04 64 bit. I also want to create it with the local mod info. and Also create this into a .deb package so it may be saved.
How do I discover which kernel config parameters are important for my laptop hardware and frequently used applications? I'm not looking for something that is 100(...)% optimized for my hardware. I would prefer to have modules for everything that I don't use at all or often. I would prefer to avoid modules (built-in) for things that I use all the time but then any updates might mean a kernel rebuild. I'm currently running the generic PAE edition of the repository kernel. I think that I'm running the 32-bit flavor at that.
Code: user@host:path$ uname -a Linux mumbles 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux I know the following from sysinfo
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.
This is (I'm sure) a silly question, but when reading the guide for custom kernel [url] it mentions I need to use yumdownloader to pull the source as an RPM.
How exactly do I find mirrors etc for this (and where do I configure it)?
I've already got the source locally along with the patches I want to use, and want to try this the 'fedora' way. I'd normally just use make/make modules etc, but I've never tried it via RPM.
Had a custom kernel (2.6.35.5) running under Slackware 12.1 and also the same kernel on an Ubuntu 10.04 machine just fine, however after a clean install of Slackware 13.1 this kernel no longer works (This kernel was re-compiled with the same .config file under Slack 13.1) as I keep getting the the following: -Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3) The strange thing is it keeps looking for the root file system in hda1, however the stock 13.1 kernel finds it in /dev/sda1 so the root partition is /dev/sda1 in lilo and the harddisk is known as /dev/sda.
Has anyone successfully compiled Symantec AV Autoprotect against the current Ubuntu Kernel?
I am using the kernel 2.6.24-27-generic. I'm following these instructions for Symantec Autoprotect: http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2009081214270148
and when I run the "build.sh" I receive the error message code...
Is there another option or really what am I doing wrong?
I'm using xubuntu 10.10 on usb, and i compile a new kernel but just i cannot access it. If I used harddisk instead of usb, simply, i can select my new kernel version in grub screen. However, there is no grub when booting from usb. So i cannot any selection.how can i reach the new kernel, when using xubuntu on usb?