whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.
I'm running 11.2 with standard repositories (plus packman). I want to install a recent kernel and then compile some variations of it (to investigate a hardware problem).
So I took these steps:
(1) add the 11.2 Kernel:/HEAD repository (2) enable multiversion in zypp.conf (3) use YaST software management to select the kernel development pattern
Note that at the moment, the standard 11.2 kernel ( 220.127.116.11-0.6-desktop) is in use and I have not selected any packages from HEAD. But it has installed 2.6.37-41.1 versions of all the kernel packages I didn't already have (source & docs etc) instead of the 2.6.31 versions. /usr/src/linux symlinks to linux-2.6.37-41 instead of to a directory for the running kernel!
(1) it should have loaded the packages corresponding to the running kernel (2) it's not supposed to switch repositories
our prof wants us to make some measurable changes in the kernel as a part of our assignment. I'm new to linux (started using linux only day b4 yest)... till now i've built a new kernel using cloneconfig and ended up with a rpm package (since i couldnt find any other option).and here's the prob
1. how to make changes in the kernel code? 2. do i have to create an rpm everytime after a change? (it jus takes too long )
This is completely baffling me..I have a Lenovo Thinkpad X301, which has been running OpenSUSE 11.1 for a while, with vanilla kernels from kernel.org, built and installed in the standard (i.e. not SUSE) way.
A week ago, I dupped to 11.2, and also installed kernel 18.104.22.168 . This was compiled with the gcc-4.3 available under 11.2. Everything worked fine (after the necessary messing around to get X working again).
This weekend, I dupped to 11.4 (via 11.3, of course). After more messing around to get X working again, things were working ok - using the same 22.214.171.124 kernel I'd built under 11.2. I then re-built the kernel. It appears to compile and install ok, and I haven't changed the configuration or the grub configuration. However, it doesn't load. Normally, I just get a blank screen after grub starts it loading. If I boot in basic VGA mode 0, then I get a few lines of messages before it hangs - it hangs complaining about APIC not connected to io bios, and if I boot noapic, it gets a few lines further before hanging after some message I don't know about (allocating 4 HET). I don't suppose that's relevant, anyway.
I've tried three different gcc versions, and two different linux versions (2.31 as well), and the same thing happens. This sounds like something going badly wrong with ld or as or something - but I don't see how anything could have happened that wouldn't have been noticed by thousands of others.
Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below
[root@localhost linux-126.96.36.199]# make menuconfig [root@localhost linux-188.8.131.52]# make [root@localhost linux-184.108.40.206]# make modules
I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?
I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.
i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot
also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd
A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?
so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-220.127.116.11, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,
i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 18.104.22.168-127.fc12.i686.PAE
I installed a fedora with kernel 2.6.15-1 (quite old, isn't it ?) on my vmware workstation and try to compile a new kernel with 22.214.171.124 just for testing. I download the kernel and compile with that:make menuconfig make modules-install install
then I reboot the server but if i choose the new kernel. the system poped up the error msg like : Unable to find device-mapper major/Minor No volume groups found unable to find volume group "VolGroup00" Unable to access resume devices (/dev/VolGroup00/Logvol01)mount: could not find filesystem '/dev/root'
yes. I am using LVM to setup the fedora.
i search online and find some possible causes: 1) the .config does not contain support for LVM. then i choose to enclude the support for LVM
2) need to re-create initrd i use commond initrd --force-lvm-probe to generate the .img file
But both the method do not work. and i notices that the new '126.96.36.199.img' is about 1.5M which is smaller than the current 188.8.131.52 img (1.7M)
I am new to kernel development,and I have to compile a kernel with some specific features and then install it on some machines.The problem is that these machines are slow,and hence I want to compile them on a fast desktop once and then install them on the machines.I am following this guide from Ubuntu wiki.
So what I plan to do is, download the source and generate a config file on one of the slow machines, copy both to the faster machine, generate the image on the faster machine and then install it on all the slow machines. The slow machines are almost identical (same cards, processors, OS etc.) but different from the fast machine(different OS and processor). So will this work or not?
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).
got: The UTS Release version in include/linux/version.h"" does not match current version: "2.6.35-xxx" Please correct this make:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2 make:***leaving directory `/usr/src/linux-2.6.35' make:*** [kernel_image] Error 2
Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?
ERROR: modinfo: could not find module ip6t_REJECT ERROR: modinfo: could not find module nf_conntrack_ipv6 ERROR: modinfo: could not find module ip6table_filter ERROR: modinfo: could not find module ip6_tables ERROR: modinfo: could not find module ipv6 ERROR: modinfo: could not find module fuse
however it gives initramfs,vmlinuz-184.108.40.206 and System.map-220.127.116.11 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 18.104.22.168 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init
I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.
I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?
I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:
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'm runing FC11 and have compiled the vanilla kernel 22.214.171.124 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.
i: how to install tar.gz i use the method like ./configure. make make install but most of the time i got the message nothing to make .in lots of tar.gz there is no installation document no make file no .configure file that make me quite confused how to install them or run them.now i got sample source code of cuda i got them in tar.gz form when i extract them i found a folder in folder i found folder like c ,doc,shared etc when i open each folder i found more folder n file like that src, doc common ,lib, in these folder i found source code file header files libraries file make files .i don't know how to run this kind of project can the be installed on the system .how to run them they don't have .run file or script they don't have configure file .how to compile them ,how to run them & how to install them
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?
I am going to compile and install my first linux application from the command line. The program is the port scanner program NMAP, and I am looking at the documentation to learn how to do it. I saw this thread [URL], and I just want to make sure I understand what it is I'm doing.
bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf - cd nmap-5.35DC1 ./configure make su root make install
"bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -" Here I am calling the bzip2 program to work with a specified file. look for the file nmap-5.35DC1.tar.bz2 in the current diretory (-cd) and to pipe (redirect) something, this is where I get lost, I think. And I know what x & v mean but not f, or what that has to do with the previous commands.
cd nmap-5.35DC1 Chage to the named directory. ./configure I assume this is a command? make Builds an executable su root make install not sure what the difference is between this and the above.