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.

View 8 Replies


ADVERTISEMENT

Debian Configuration :: Compile A Custom Xen Dom0 Kernel?

Apr 21, 2011

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.

View 3 Replies View Related

Debian Configuration :: Compile Custom Kernel Without Debugging Symbols

Aug 3, 2010

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.

View 3 Replies View Related

Debian Configuration :: Change The Driver File And Compile Custom Kernel

May 3, 2011

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:

1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb

Is this way OK or do I miss something?

View 14 Replies View Related

General :: Division Of Logical Memory Space In To User Space And Kernel Space

Jan 4, 2010

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?

View 2 Replies View Related

Programming :: Passing Data Between Kernel Space To User Space In Asynchronous Way

Dec 13, 2010

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?

View 4 Replies View Related

General :: Calling User Space Callback Function From Kernel Space?

Sep 22, 2009

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.

View 1 Replies View Related

Programming :: Function In Kernel Space Called Form User Space

Jul 7, 2009

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.

View 2 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

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.

View 2 Replies View Related

Programming :: Call Socket Prog Code Written In User Space From Kernel Space?

Jul 14, 2009

How to use execv from kernel space to call a user space program writtenfor socket prog.

I tried to write code for socket in kernel but its not working.

Socket code in kernel is also needed.

View 2 Replies View Related

CentOS 5 :: Create A Custom Kernel Using 2.6.31.5 Kernel Source?

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

Programming :: Signal From Kernel Space To User Space?

Jul 21, 2011

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.?

View 4 Replies View Related

Fedora :: Find Kernel.spec File For Compile Vanilla Kernel?

Nov 29, 2010

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

View 4 Replies View Related

Fedora Installation :: Shrinking A Ntfs Partition - Free Up Space In Creating Custom Layout?

Nov 22, 2010

Im trying to shrink a 80 Gb ntfs partition. but when i clicked the shrink option the partition is like this:

"sda1(ntfs,0 mb)".

how to free up space in creating custom layout.

View 1 Replies View Related

Ubuntu :: Compile Ubuntu For Custom Distro?

Sep 6, 2010

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?

View 3 Replies View Related

Ubuntu :: 9.10 Custom Kernel V.2.6.33 Crash?

Apr 2, 2010

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.

View 5 Replies View Related

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

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

General :: Measure Kernel Space Time And User Space Time?

Nov 28, 2010

measure kernel space time and user space time?

View 1 Replies View Related

Ubuntu :: Way To Insert Custom Kernel Int Lubuntu Iso?

Dec 22, 2010

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?

View 1 Replies View Related

Fedora :: Custom Kernel HDA Or SDA?

Oct 14, 2010

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.

View 8 Replies View Related

Ubuntu Installation :: How To Make Live Cd With Custom Kernel

Jan 16, 2010

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.

View 1 Replies View Related

Ubuntu Installation :: Compiling A Custom Kernel With Kernelcheck?

Dec 18, 2010

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.

View 1 Replies View Related

Ubuntu Installation :: Make Custom Kernel With Localmodinfo

Jul 14, 2011

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.

View 3 Replies View Related

Ubuntu :: Match Custom Kernel Config To Laptop?

Feb 17, 2010

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

[Code]....

View 7 Replies View Related

Debian :: Custom Kernel Compiling.

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

Fedora :: Custom Kernel - Where To Pull RPM

Jun 18, 2011

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.

View 4 Replies View Related

General :: Custom Kernel Not Booting

Oct 7, 2010

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.

View 3 Replies View Related

Ubuntu :: Compile Kernel 2.6.31-20-generic-pae

Feb 24, 2010

I want to compile a custom kernel, because I need a path for a device. Here is what I've done:

Code:
$ cd /media/work/temp/
$ apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6.31

[Code].....

View 1 Replies View Related

Ubuntu :: Compile Symantec AV Against Kernel?

Apr 13, 2010

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?

View 2 Replies View Related

Ubuntu :: Kernel Compile On USB Pendrive?

Oct 28, 2010

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?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved