General :: How To Do Kernel Recompiling?

Jun 28, 2011

May i know how to do kernel recompiling.step by step explanation will help me. i am new to this.

View 1 Replies


ADVERTISEMENT

Fedora :: Rebuilding Kernel Without Recompiling Eveything

Dec 24, 2009

If I compile the kernel once fully and if I wan't to make a minor change how do I do that without having to go through the whole recomiliation? Commands like "rpmbuild -bb" and "make rpm" seem to recompile everything but it should just compile the changes I made.I'm using Fedora 12 with the latest stable kernel.

View 11 Replies View Related

Software :: Recompiling Kernel Required To Add Modules?

Jan 4, 2011

I only have basic experience recompiling a Linux kernel, and I have a question about adding dynamic modules.In case I want to add a brand new module, do I need to recompile the kernel to include a reference to that new module, or is simply compiling a kernel with generic support of dynamic modules all it takes to add whatever modules I need later on, without recompiling the kernel and rebooting the host?

View 2 Replies View Related

Red Hat :: Install A Module Without Recompiling Kernel In Centos?

Apr 24, 2011

if i wanted to just download and install a module, how does centos have it where i don't have download the source and recompile the whole kernel withthe module enabled? i read about install kernel-devel but nothing much more on using it. for instance, if i wanted to download ext4 module and have the kernel use it?

View 1 Replies View Related

Debian Configuration :: Wake Up Don't Work After Recompiling Kernel

Jul 30, 2010

i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?

View 7 Replies View Related

Debian :: Recompiling Changed Code When Building Kernel Debs

Jan 15, 2016

How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?

Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686
$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep

Calling the second command again does not recompile the modified code, just recreates the .deb packages.

If I use:

Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.

How can I force recompilation of the files/objects I changed (and dependencies)?

I use this guide: [URL] .... ('Building only a single kernel variant' section)

View 2 Replies View Related

OpenSUSE :: Recompiling VirtualBox Vboxadd Kernel Module, NOT. It Has Been Packaged

Jun 29, 2011

I just up-graded to the latest version of the stable 11.4 64bit kernel on my laptop and it appears that the repositories have not compiled the VirtualBox driver module for the current kernel ... When I make /vboxdrv setup the message is:

Recompiling VirtualBox vboxadd kernel module, NOT. It has been packaged

I think this means that the installed module will not recompile has it was packaged. My kernel version is the lattest :

2.6.37.6-0.5-1

And my VirtualBox was installed from the Virtualization repos (4.0.8.11-1) even made the Vendor change and all. The version Before the lattest (4.0.4-1.6) did not work either. With the same problem. It is very easy to install VirtualBox from the Sun site and every time there is a Kernel up-date one can always make /etc/vboxdrv setup.

View 9 Replies View Related

CentOS 5 Hardware :: Enable New Libata Library Without Recompiling Kernel?

Sep 9, 2009

I use CentOS 5.3 with kernel 2.6.18-128.1.6.el5 for Clonezilla. It would be simpler for me if any of IDE or SATA drives detects as /dev/sdX device. Because when I cloning computers with Clonezilla it is matter which type of drive connected to cloned computer. So I must firstly clone computers with IDE drives, after that with SATA drives. If all drives would detected as /dev/sda I would can clone all computers at once! Is there simple way to enable new libata library without recompiling kernel? Is there already compiled kernels with this feature?

View 7 Replies View Related

Ubuntu :: Recompiling Ubuntu Kernel

Mar 11, 2010

I am trying to compile a kernel 2.6.31-12 in my machine which is running ubuntu 9.0(kernel version 2.6.31-14). I don't have internet connection on that machine. I somehow downloaded the kernel sources on some other machine and copied it the my PC which is running ubuntu.I have installed the kernel sources (.gz file) by un-zipping and un-tarring the archive. For compiling the kernel I am following the traditional approach:

1. make oldconfig ( make menu config is not working )
2. make dep
2. make clean
3. make bzImage
4. make modules
5. make modules_install
6. make install
7. Modify the /boot/grub/grub.cgf

I didnt encounter any error in the above steps till step no. 6. However in the
step 7, I am not getting the /boot/initrd.img-2.6.31.12 file which is needed for the ramfs. However I am getting the vmlinuz file in the /boot.

View 5 Replies View Related

General :: Change Required Depen Version For .deb Without Recompiling?

Jan 7, 2010

I was wondering how/if it was possible to edit the min. version number of a depen for a .deb package. For example lets say my package says it needs libc6 2.7.1 or higher but I want it to be 2.5.1 or higher instead. Can I make this change with out having to recompile the .deb package?

View 1 Replies View Related

CentOS 5 :: Way To Recompiling A Program

Jul 27, 2009

I'm running CentOS 5 in a virtual machine, and the pound service no longer starts at system startup. So I have a few questions...

Is this an easy fix or do I need to recompile pound?
How do I recompile a program?(Would like to know regardless)
Any suggestions?

View 2 Replies View Related

CentOS 5 :: Default Configuration Options For Upgrading And Recompiling Apache?

Oct 23, 2009

I'm currently upgrading my clients' CentOS 5 installation to use httpd-2.2.14 as we need it for the server to past some of the Hardware checks used in the PCI [Payment Card Industry] security test. I was basically wondering if anyone had the standard CentOS 'configure options' for building httpd/Apache so I could copy them to ensure it is a straight replacement for my existing 2.2.3?

[Code]...

View 1 Replies View Related

OpenSUSE Network :: Reconfiguring / Recompiling The Sendmail Conf Files But Would Rather Not If It's Not Required + Milter?

Mar 22, 2011

I have gone through a good number of distros all the way back to Slackware but I'm struggling to get my brain moving in the right direction again. I am working to enable sendmail and, from what I've read, it appears that newer version of sendmail are installed with milter but I can't seem to locate this. I am running v11.4 so I'm wondering if this is just not the case? I don't have a problem reconfiguring/recompiling the sendmail conf files but would rather not if it's not required. For the record my ultimate goal is to have the spamassassin and clamav milter's installed and using the home server as our primary email.

View 7 Replies View Related

General :: Debian 686 Kernel Total Networking Failure On IbmX60 But 486 Kernel Works

Feb 11, 2011

The 486 kernel works just fine, and while I have only 1GB of RAM at the moment I hope to have 2GB someday and would like to take advantage of the dual core CPU, so I would like to configure grub to run the 686 kernel by default. For whatever reason, it runs the 486 right now and the 686 fails in a major way: there is no network connectivity at all. It could be plugged into my cable modem router and it shows no wired connections. The fact that one works and the other doesn't puzzles me since I haven't touched either since the install and a few rounds of upgrades.

I should mention I'm newbie but getting better; I managed to install debian on this x60, yet while preserving the factory install rescue & recovery partition and preserving the factory install MBR so that ibm-specific hardware functions (thinkvantage button, etc.) still work. This required me to use dd to copy the first 512 bytes of my debian partition to a file in the windows partition, etc., and modifying the windows bootloader. (I wish I had learned dd long ago--it rocks). I did this because if I ever resell the X60, the fact is most people use MS Windows and having that partition adds a perception of value to some potential buyers; not to mention I paid $ for it (I was young & stupid) so why should I delete it. I also backed up the recovery partition on another drive using dd over NFS in case the hd ever heads south.

Anyway, I've never been comfy with messing with the kernel. I did once recompile a module for ALSA because it had a bug in it for an old Yamaha integrated sound card on an old PIII and the newer version worked [alsa fails on this x60 too but I think I found a post on here that has a solution I will try later]. But I'm clueless as to networking modules, not to mention the correct module is installed already from Intel for this chipset. So what is there to do?

Here's a clue: the ifconfig output is radically different from the 686 and 486 kernels. Looks like hardware is not being detected since eth0 fails to show:

I would show the diff output below if it weren't so long--and not allowed--upon 2 text files, the first holding the output of modprobe -l under the 486 kernel and the second under the 686 kernel.

View 14 Replies View Related

General :: Extracting Kernel Config From Kernel Image -- Extract-ikconfig

Jan 22, 2010

I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:

Quote:

ERROR: Unable to extract kernel configuration information.

This kernel image may not have the config info.

Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..

View 1 Replies View Related

General :: Kernel Panic In 64bit Arch Linux After Kernel Recompile - 2.6.35-rc3

Jun 15, 2010

I have recompiled a few kernels, but all on 32bit systems so not sure if that has anything to do with it.

Running Arch Linux 64bit, most recent version.

Kernel Output:

Code:

My first thoughts was that it might be my grub bootloader configuration, so had a big play around with that but it didn't fix it. Also made sure support was built for filesystems. However almost all that Fstab mounts are ext3 anyway, and certainly the root and /boot are. Now thinking it may be a memory error so will run a check when I shutdown.

View 3 Replies View Related

General :: Getting Info On Kernel On Another Disk - Kernel Panic Error 6 Ext3

Feb 13, 2011

Dell laptop booting from a USB stick with a CentOS 5.5 minimum installation.

Uncompressing Linux...OK, booting the kernel.
Red Hat nash version 4.2.1.13 starting
sda: assuming drive cache: write through
sda: assuming drive cache: write through
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd-dev failed: 2
Kernel panic - no syncing: Attempted to kill init!

1. Does minimum installation not drop on a kernel or initrd with ext3 support? I can't imagine that's true, but have to ask.

2. The USB stick is single partition ext3. Maybe there is some limitation specifically related to USB stick booting that requires boot to be FAT16 or FAT32? Except the CentOS 5.5 installer refuses to let me install on either FAT.

3. How can I do the equivalent of lsmod on a linux installation that will not boot? i.e. I have CentOS x86_64 running in VirtualBox, I can plug the USB stick in there, so how do I get information on the USB stick's kernel and initrd if I can't boot from it?

4. Is it possible to rebuild the i386 based initrd on this USB stick, when the computer is not booted from that stick, with a system that's x86_64 based?

System Info:
Dell Latitude i686 Laptop which has run CentOS 5.5 and Fedora 12,13,14 in the past, and boots from Fedora 14 Live CD transferred to a USB stick. So I know USB booting is possible on this machine, and this stick.

The process of creating the stick:

CentOS 5.5 i386 on a USB stick. Old Dell i686 laptop which has previously run CentOS 5.5 installed from DVD, and has successfully booted from this same USB stick holding transferred Fedora 12,13,14 Live CDs. CentOS 5.5 was installed onto the USB drive directly by the CentOS 5.5 DVD installer (running virtualized in VirtualBox 4.02 on Mac OS X 10.6.5.). No errors or complaints during installation.

For whatever reason, the installer did not do some things correctly. First Grub wasn't working correctly, I got that sorted out and have the Grub+CentOS splash screen, it finds vmlinuz and the initrd, and then I get a kernel panic.

Ext3 was built into the kernel and that's why I'm getting this message. I do not know how the installer would have dropped a kernel or initrd during instalation that that don't contain such a basic thing that obviously comes in linux kernel 2.6.18-89 EL.

View 3 Replies View Related

General :: Get The Matching Kernel Headers Automatic On A Regular Kernel Update Via The Ubuntu Packed Manager?

Nov 26, 2010

Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`

View 1 Replies View Related

General :: Tried To Install Bcmwl-kernel-source And Now Getting Kernel Panic

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

General :: Just Tried To Install New Kernel / Get Kernel Panic When Try To Boot From It

Jul 17, 2010

this is what i did i downloaded the latest stable kernel archive from kernel.org and extracted the archive into the download directory (i don't think that matters though) then i downloaded and installed the ncurses archive (needed for menuconfig) then i opened a terminal and navigated to the directory that was extracted from the archive and issues the floowing commands

View 9 Replies View Related

General :: Dd Another Kernel 2.4 In Grub While Kernel 2.6.31 Of Ubuntu 9.10 Presence ?

Jun 29, 2010

Can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 exists

View 10 Replies View Related

General :: Integrate AODV Kernel With Kernel 2.6?

Jun 1, 2011

how to integrate AODV with linux kernel 2.6...im using the make command but it shows so many errors..

errors: gcc -O3 -DMODULE -D__KERNEL__ -DLINUX -DMESSAGES -DAODV_GATEWAY -DAODV_SIGNAL -I/lib/modules/`uname -r`/build/include/ -c aodv_dev.c -o aodv_dev.o In file included from /lib/modules/2.6.38-8-generic/build/include/linux/list.h:7:0,
from /lib/modules/2.6.38-8-generic/build/include/linux/module.h:9,
from aodv_dev.h:12,
from aodv_dev.c:9:
[Code]...

View 2 Replies View Related

General :: Use Of Kernel-devel & Kernel-header?

Jul 4, 2011

I need help in understand how the kernel-header and kernel-devel works. Pretty new to Linux.

View 1 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

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

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related

General :: First Install One Of Distribution And Then Update It's Kernel Or Can Just Install Kernel Itself

Jan 18, 2010

If I want to just install Linux kernel for educational objects on a fresh computer, should I first install one of Linux distribution and then update it's kernel or I can just install kernel itself?

View 6 Replies View Related

Fedora :: Change Kernel From Kernel-PAE To Kernel?

Jan 18, 2010

My laptop has only 2GB of RAM so I don't think I need the PAE kernel, also there are some drivers that I want to install, they were built for non-PAE kernel.

So far I read that I have to change the :

/etc/sysconfig/kernel
---------
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

[Code]....

View 3 Replies View Related

Debian Configuration :: Is It 64bit Kernel Or 32bit Kernel Optimized For Amd64 Architecture?

Jan 24, 2010

I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?

View 12 Replies View Related

Fedora :: Nvidia 8600m Gt Driver Fc12 - Kernel Automatically Will Change To Be A Pae Kernel?

Jul 4, 2010

my problem is on installing nvidia driver on fc12 32bit but, first of all, as i understood the pae kernel requires more than 4gb of ram,i have a 2.2 ghz cpu with 2 gb ram,but when i run command:uname -r it answers: 2.6.31.5-127.PAE [i have fc12 32 bit] when we try to download linux we have a 32bit edition or 64bit edition,do we have an edition which is only for pae? or when we install for example the 32bit edition on a computer with more than 4gb of ram then the kernel automatically will change to be a pae kernel??

View 10 Replies View Related

OpenSUSE :: Virtualbox Problems (Error Kernel Headers For Kernel 2.6.34-12-desktop Cannot Be Found At)?

Jan 2, 2011

I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:

Code:
Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.

[code]....

View 9 Replies View Related







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