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
ADVERTISEMENT
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
View Related
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
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
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
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
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
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
Jan 6, 2011
I need to rebuild a kernel module and I'd like the module to be compatible with the ubuntu distributed kernel.I tried something along these lines:
* get the sources via: apt-get source linux-image-2.6.35-24-generic
* cd to the unpacked (and patched, I believe) directory: cd linux-2.6.35
* take kernel config that I'm currently running (I'm running 2.6.35-24-generic): cp /boot/config-2.6.35-24-generic .config
* build the module I care about: make drivers/usb/class/usblp.ko
The module is built, but when I try to load it, insmod fails and I see this in dmesg: usblp: no symbol version for module_layoutI tried to generate the kernel config via debian/rules genconfigs, which resulted in the same config file (with the exception of the local version string). I tried building some other modules and loading them, but I always get that error on loading.
View 4 Replies
View Related
Jan 2, 2011
Here are 2 questions
1.In the last line of the debian kernel handbook 4.2.2 Applying patches
It is possible to apply extra patches to the source before starting the build. First, you should apply the existing patches by running:
You will then find the patched source in the subdirectories debian/build/source_arch_none (default) and debian/build/source_arch_featureset (featuresets added).
You should apply the extra patches in the appropriate subdirectory. where can I find the "extra patchies" and how to do?
2.Even though More than 8 hours have passed, 4.2.3 Building many packages
To build all possible packages for this architecture, run:
To build all architecture-dependent packages, run:
To build all architecture-independent packages, run:
The 1st command still working. what is the all possible packages? and what I am doing?
I am just trying to rebuild debian linux kernel 2.6.26-2, Did I misunderstand?
View 3 Replies
View Related
Jun 23, 2011
I'm trying to bring my Slackware system back to life as my XP HDD is dying... I've got everything working except for my audio. I got a new motherboard (ASRock P43DE3) and it has a VIA VT1708S as the onboard audio. Is there any way I can get this working without rebuilding the kernel?
View 5 Replies
View Related
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
Nov 30, 2010
I'm trying to install the latest version of Ubuntu Studio. I tried it a few months ago with my HP... a live system worked fine, but when I installed it, it would go blank after the splash screen. I assumed it was some sort of incompatible graphics driver and gave up since I don't know enough about Ubuntu yet.Now I have a spare Dell XPS desktop sitting around and I got the latest version of Ubuntu Studio and tried it again. The install goes by erfectly, this time the welcome screen actually comes up and I can see my username. As soon as I hit enter, which I imagine should bring up the password prompt, the entire screen goes black and won't respond to anything.
View 7 Replies
View Related
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
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
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
Nov 25, 2010
After installing openSUSE 11.3 (retaining my old /home) and attempting to upgrade to KDE 4.5, failing to get KDE to run, downgrading to 4.4 I've now got nothing in the KDE Application menu.
[Code]...
View 5 Replies
View Related
May 27, 2010
It appears the liblphp.so and liblpssl.so files that have been added to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ and the php.ini are 32 bit libraries. This is preventing them from loading as PHP and it's other modules are all built as 64 bit libraries. To resolve this error, I would recommend re-building the libraries as 64bit. Most likely this can be done using Easyapache to re-build PHP (and Apache) to support these modules. Additionally, libcrypto and libssl are on the server in /usr/lib/ folder. However, they are 64bit libraries which may not work on the 32bit .so files you have provided.
View 3 Replies
View Related
Aug 18, 2010
so i built my computer with a 32 bit system and I was wondering if it might run on a 64bit. how can i tell and how do you upgrade to a 64?in aix i can just relink the /unix file to a 64bit file and reboot.oh ya do i gain that much by going to a 64bit system? this will be a mail and www and may be a spacewalk system may be use it as a media system too to serve up my mp3/dvd or store them. home system not work related.
View 8 Replies
View Related
Jul 17, 2009
I have a 9x320G RAID5 array that I am migrating over to a 3x1.5T RAID5 array.Intermittently, a drive would drop out of the older array and it would automatically start rebuilding. I thought it was a bad cable or controller somewhere, so when I bought the three new drives, I bought a new controller for them all, too. I'm running both arrays side by side until I'm happy the new hardware is stable (one drive was DOA). Then I noticed one morning that both arrays were rebuilding themselves. This was in /var/log/messages:
Quote: Jul 5 00:30:19 mnemosyne -- MARK --
Jul 5 00:50:19 mnemosyne -- MARK --
Jul 5 01:06:02 mnemosyne kernel: md: syncing RAID array md0
[code]....
View 4 Replies
View Related
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
Jan 19, 2010
I have/had a working system that took maybe 20seconds to boot. However due to an oops with hardware (power cable fell out) I lost 2 disks in a raid5...so I had to rebuild it, now the new partition wont mount on boot and it takes 180seconds Plus to get a control-d prompt. If I remove the mount from fstab and reboot and then mount manually after a normal boot its perfect and works....so it appears something in the boot/mount process is confused....
The q is where do I start looking to fix this?
I suspect its the LVM looking at the ext4 system and getting upset that its isnt LVM'd? Is that possible? The original partiton was /dev/i2o/hda1 and was not lvm'd and neither is the new....so i dont see why.. multiple 180 second timeouts!
View 2 Replies
View Related
Jun 15, 2010
I had run out of space on a 30GB raid1 partition so I rebuilt it as I had three 30GB partitions on a pair of 120GB drives. I stopped the array and used gparted to create a single 120GB partition on one of the disks. I then copied the data from all three partitions on the other drive onto this newly cleared space, before zapping that too. So I now had two drives with identical single partitions, one of which had all my data and lots of space. I used mdadm to create a new array from the two disks, which looked good. It immediately started to resync the data onto the second drive. However, when I tried to mount the new array this is what I get:
Code:
bob@zaphod:~$ sudo mount -t ext4 /dev/md0 /media/raid/
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
[code]....
I can mount the drives independently and GOOD NEWS the data is there! However, how can I get round this problem and mount the raid array.
View 7 Replies
View Related
Sep 16, 2010
This isn't exactly Ubuntu specific, but I do plan on using Ubuntu to try to recover this array. I've been using a Freedom9 freestor 4020 for the past few years and other than it totally blowing up last week it's been pretty good. I was on vacation for almost a month and a few days after I returned my NAS (freestor 4020) started acting up. I tried a few power cycles, but was dismayed to see that I could not log in via browser or SSH (SMB shares were no accessible either). A drive failure light is supposed to illuminate if a disk fails, but no dice.
I plugged all 4 drives from the NAS into an Ubutnu 9.04 Desktop system and one started throwing out all kinds of errors. Thinking that it would be a simple rebuild, I went to my local computer shop and picked up another 500GB drive (same manufacturer/part #), replaced the failed drive, and powered up the NAS again... Nothing. I left it for 12 hours then powered it down, plugged the new drive into my linux box again to see if it rebuilt... the drive was a virgin. What gives me hope that I can still recover the data is Ubuntu sees "RAID components" on the drives (through disk manager and parted), and gives me the option of initializing the array.
My plan of attack is to plug all of the drives back into my Ubuntu box, initialize the RAID array via LVM, and pretty much hope for the best. The data is not uber critical, but it would be a pretty big pain in the behind to rip/upload all the software that was on it (ripping hundreds of DVD/CD images is not fun). If my Ubuntu box can make sense of this newly initialized/mounted RAID set... I'll plug in a 2TB external drive, copy the data over, and rebuild the NAS from scratch, then put my data back on (perhaps a different unit, or something running openfiler).
View 2 Replies
View Related
Nov 21, 2010
through a series of mistakes i have managed to take a working system and make it unable to boot. my two objectives right now are to back up my data, and to make my system bootable. here's how i got here. i used the Upgrade Manager to upgrade to 10.04 thinking it would solve a problem i was having with my previous installation. when that had completed i found I was unable to boot into 10.04. The system would hang after echoing the message "checking battery state." I attempted to rebuild my grub file, thinking this would solve the 'battery state' problem. this was a mistake. I ended up deleting it, and now there's no menu.lst file in its place.
currently when i boot up normally (i.e., with no Live CD) I automatically go into the rescue mode. so far i haven't managed to enter a command that rescue mode recognizes. alternatively, i can boot from the installation CD for Ubuntu 10.04. per this page: [URL] I take these steps:
1. boot from the installation CD.
2. go into terminal
3. type these commands:
[Code]....
View 9 Replies
View Related
Jul 13, 2011
I have been able to successfully build a live Linux CD, the problem is during the course of setting up my new linux instance on my latop I had to install a few items (intel drivers). So got all the files and everything worked after manually installing, but wanted to try to rebuild the CD with all the files in the CD, rather than having to use a USB drive to put the file onto my laptop. When I made the changes to the configuration that I previously used(just edited the chroot file and did lh_build again) nothing happened the binary was no rebuilt. So some questions: If I am wanting to add files into a live CD build how do I do this? How do I rebuild a CD? or Is it possible? (i.e. I have to continually start from scratch each time).
View 2 Replies
View Related
Feb 1, 2010
I started out with a RAID 0 of 3x 500GB drives. Partitioned to a 200gb Windows 7 install (plus the 100mb partition), a 50gb partition I was going to use for Ubuntu 9.10, and the around 1081GB NTFS storage partition. It wouldn't work, I tried a bunch of things, EasyBCD, ect, rebuilding grub, and everything else... wouldn't work for me. So I gave up, backed up everything and then rebuilt my RAID into to "separate" drives so that I could just change the booting drive depending on the flavour of frustration I was looking for at the time. Installed W7 back, installed Ub9.10 back. Windows loaded through it's drive fine. Ubuntu will not freaking load. So I ran a script I found laying around on one of the many.... MANY posts I read and will attach the outcome.
[Cide]...
View 4 Replies
View Related
Jul 11, 2011
I'm hoping, now that I've recovered my partition tables, how to rebuild my LVM volume group. The trouble is that one of the volumes lost its partition table, and after rebuilding the table, LVM can no longer identify the drive. I'm trying to rebuild the 'fileserver' volume group.
pvscan produces the following:
Couldn't find device with uuid 'jsZAMq-LSa1-87Zb-WoGs-oi6v-u1As-h7YZMl'.
PV /dev/sdc5 VG dev lvm2 [232.64 GiB / 0 free]
PV unknown device VG fileserver lvm2 [1.36 TiB / 556.00 MiB free]
PV /dev/sda1 VG fileserver lvm2 [1.36 TiB / 556.00 MiB free]
Total: 3 [2.96 TiB] / in use: 3 [2.96 TiB] / in no VG: 0 [0 ]
View 2 Replies
View Related
Sep 2, 2009
I've got a mailserver set up in a raid1 array.I shut down the system to install a CD-ROM drive but forgot to change the master/slave settings (I know, don'tt say anything) and didn't realize it before Centos started booting up, so it booted the hdc drive from the array.I rebuilt the array using mdadm without any apparant issues but on subsequent bootup, I get the following error :
kernel: hdc: dma_intr: status=0x51 { DriveReady SeekCompleteError }
kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
kernel: ide: failed opcode was: unknown
[code]....
There doesn't seem to be any side effects to this but since that didn't happen prior, I figure there's probably something I didn't do properly since I'm fairly new to the linux world.My raid array was originally set up by the Centos instal software and is set up like this :
hda1 + hdc1 = md0 (boot)
Hda3 + hdc3 = md2 (/)
The other partitions are of the same size on each drive and are swap partitions.
PS : The drive is SMART capable and no errors appear during a self-test.
edit : Clonezilla also fails to boot properly although I don't know if its due to a software raid array in the first place or the errors in the filesystem. When only one drive was detected because of the jumpers, it booted properly.
View 2 Replies
View Related
Jan 17, 2010
I was unable to boot my computer because bad blocks in my drive 'appeared' over my current and most used partition, for 9.10. I discovered there were 101 bad blocks on the drive, so I called western digital and had them send me a new one. In the meantime, running fsck on the drive managed to sort out the bad blocks for the time being. The replacement drive arrived on Friday, and since then, I've been trying to clone my current drive to the replacement. Using Clonezilla, I kept getting the error "bad partition table on /dev/sdb". Alright, I tried a bit-by-bit transfer using dd, but for some reason, the transfer fails on the last partition, leaving the replacement drive unbootable. What do you think I should do? Does it sound likethet sent me another faulty drive, or am I just doing something stupid? I've copied my drive before, but ive never had these problems- i just popped in Clonezilla and away it went.
I'm really leary about this drive, I have many important files for school and TONS of music. The school files, I can back up, and the music could be shuffled to another external drive, but I reallydo no want to go through all of the time and effort to move it to a new drive that may already be failing. Does anyone know what I should do? Is there some way to test the 'health' of the drive before I spend hours rebuilding my filesystem?
View 3 Replies
View Related