0
votes
1answer
89 views

I'm trying to compile the latest kernel from source but I am getting an error

So I am following this guide: http://kernelnewbies.org/OPWfirstpatchSetup I followed the steps and installed the kernel from source. When I boot into the new kernel, Ubuntu loads up but then I only ...
0
votes
0answers
48 views

kernel make zImage error - No rule to make target vmlinux

I've been searching for a couple of days and I can't find anything on google about an interesting error I get when compiling a linux kernel. I initially thought this problem had something to do with ...
1
vote
0answers
26 views

How to build kernel with different flags?

Following the instructions here (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild) I built a development version of the kernel. I copied the old config, called make oldconfig and then modified ...
0
votes
1answer
95 views

Error while installing kernel from source

I get the following error when I try to compile kernel version 3.17.0-rc5: Error! Bad return status for module build on kernel: 3.17.0-rc5+ (x86_64) Why do I get this error and what does it mean? ...
0
votes
0answers
25 views

When building kernel dbg package with ubuntu kernel repo, got this error “Can't read private key”

When building kernel dbg package with ubuntu kernel repo, got this error: make[1]: Leaving directory `/git/nsx-thirdparty/linux-3.14.17' # Add .gnu_debuglink sections to each stripped .ko # pointing ...
0
votes
0answers
21 views

Warnings during kernel compiling

I'm compiling custom kernel and during the process I'm getting warnings such as: drivers/isdn/hardware/eicon/message.c:6115:1: warning: the frame size of 1184 bytes is larger than 1024 bytes ...
1
vote
2answers
209 views

How to install needed Qt packages to build kernel on 14.04?

I'm going to compile kernel on Ubuntu 14.04 64-bit, so I start with installing packages that I need: sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget ...
1
vote
0answers
28 views

Build identical ubuntu kernel packages

I compile my own patched version of the upstream linux-kernel. Until now I have always used make-kpkg, by running CONCURRENCY_LEVEL=9 fakeroot make-kpkg --initrd --append-to-version=-patched ...
0
votes
0answers
116 views

kernel module build fails on 14.04: sys/types.h: No such file or directory

I'm unable to build a kernel module in Ubuntu 14.04. This is the make file I use: $ cat Makefile obj-m += my_module.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
3
votes
1answer
294 views

How (recipe) to build only one kernel module?

I have a bug in a Linux kernel module that causes the stock Ubuntu 14.04 kernel to oops (crash). That is why I want to edit/patch the source of only that single kernel module to add some extra debug ...
2
votes
0answers
97 views

How to compile a Linux kernel? [duplicate]

How do I compile a Linux kernel and how do I use the output file generated?
0
votes
0answers
120 views

iscsitarget suddenly broken after upgrade of the 12.04 Hardware Stack

After an upgrade to the latest Hardware Stack using Ubuntu 12.04, my iscsi service is not longer operational. The error from the service is such: FATAL: Module iscsi_trgt not found. I have learned ...
1
vote
1answer
46 views

Error compiling Kernel-aodv for ARM

I'm about to implement AODV on ARM board SabreLite and I'm facing some problems. So, I use the latest version of AODV located here (http://sourceforge.net/projects/aodvuu/). I've follow the ...
0
votes
1answer
70 views

Built kernel won't boot, missing AHCI driver?

I need to apply a kernel patch and so I set about building a kernel. First I fetched the source and build dependencies with # apt-get source linux-image-`uname -r` # apt-get build-dep ...
0
votes
0answers
37 views

Kernel compilation

I'm trying to compile a source Linux kernel (version linux-3.10.48). Using the make menuconfig command, all the configurations are done and the .config file is saved, but when I'm compiling the main ...
0
votes
1answer
833 views

3.15.5 stable kernel not building, “gzip: stdout: no space left on device”, /boot is NOT full

Running into an issue building the 3.15.5 stable kernel on Ubuntu 14.04 LTS. Relevant portion of sudo make modules_install install INSTALL /lib/firmware/edgeport/down2.fw INSTALL ...
0
votes
1answer
28 views

cannot find command added to Path - sail_align

I'm trying to build sail_align programm by following these instructions. So far everything went OK and I've completed the last fourth step without errors: 4) sudo ./Build install This command will ...
0
votes
1answer
174 views

I'm trying to create a makefile when I get the following errors

I'm am trying to compile USB drivers. Here is the result of my make file attempt: user@ubuntu1310:~/Downloads/Linux_Driver$ sudo make -o cp210x make -C /lib/modules/3.11.0-12-generic/build M= modules ...
2
votes
1answer
2k views

linux-3.14.4 kernel install problem in ubuntu 14.04

I am trying to install the latest kernel 3.14.4 on my Ubuntu 14.04. But it gives me an error when I try to install using make file. I have also done the make oldconfig, it took more than 3 hours to ...
0
votes
1answer
245 views

unable to run make during installation of kernel 3.3.6

desktop:~/Desktop/linux-3.3.6$ make xconfig make[1]: Warning: File `scripts/kconfig/.zconf.tab.o.cmd' has modification time 1.7e+04 s in the future CHECK qt * Unable to find the QT4 tool qmake. ...
0
votes
0answers
107 views

recompiling ubuntu problem

I want to use fault_injection framework. When I use this script: ./failcmd.sh it show this error: failslab not available So I want to enable fault_injection with menuconfig After change ...
0
votes
1answer
79 views

compile and install modified kernel

I have made some changes to the vmx.c file of the kernel. Now I am using make menuconfig followed by make -j 5 command to compile the modified kernel(No errors just a warning..) Now I am using ...
2
votes
0answers
113 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
1
vote
1answer
438 views

Compiling Intel-phc says I don't have headers

Trying to follow an online tutorial "Intel-phc with latest kernel on Ubuntu". My ubuntu kernel version is 3.2.0-38-generic (Ubuntu 14.04). Following the instructions I downloaded kernel 3.14.2 from ...
0
votes
0answers
21 views

Workoflow for regularly updating custom compiled kernels

Suppose you want a kernel with additional features such as the grsecurity patches which are not included in the ubuntu standard kernel images. Doing this once is not a big deal but when you update it, ...
0
votes
0answers
16 views

Recompiling the kernel after modifying the “irq.c” Module

I modified the irq.c file in the kernel by including several printk() statements to trace some values that I wanted to recovered. Logically, after modifying the irq.c file I attempted to recompile the ...
0
votes
1answer
27 views

Can i recompile kernel in dualboot environment?

I need to fix a value hid-ids.h and compile kernel so that my device will work. But i'm on dualboot with windows 8. If this goes wrong can it damage grub or will this just affect my ubuntu ...
0
votes
1answer
204 views

Realtek RTL8188CUs

I am trying to use an airlink wifi dongle with RTL8188CUs chip. It has not been going very well. I found a link to a driver installer Download rtl8192cu-tjp-dkms_1.6_all.deb 1.0 MB When I run ...
1
vote
1answer
35 views

I want to change some of the linux files, how to recompile the linux and reinstall it [duplicate]

I want to make changes to the kernel files /linux/net/ipv4/ip_output.c in my case. I want to add a script to be run that changes the payload of the data whenever a packet passes through the ...
0
votes
0answers
597 views

Unable to Cross Compile Hello World Device Driver for ARM

I've been trying to build a basic hello world device driver on my Virtual Box installation of Ubuntu 13.10 for a development board running an ARMv5 processor. I know I need to cross compile the ...
0
votes
0answers
81 views

Where I can find /sbin/hotplug in my kernel source

I am reading hotplug events. And I want to enable automatic loading unloading module, when a new device is added. For that I read that kernel does it using /sbin/hotplug script, but I am not able to ...
0
votes
0answers
192 views

Cannot fine syscall_32.h , header missing

When I run 'make', i get an error saying: make[1]: *** No rule to make target `/usr/src/linux-headers-3.8.0-29-generic/arch/x86/syscalls/syscall_32.tbl', needed by ...
4
votes
1answer
366 views

Why 'make gconfig' does not work while compiling the kernel?

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
0
votes
0answers
29 views

Kernel compiling question about “.config” file

I am in the middle of compiling a new linux kernel targeted at my Acer Aspire One Laptop with an Intel Atom processor. I'm just playing as a self teach exercise. So far, I have made my new config, ...
1
vote
1answer
92 views

What is the minimal amount of RAM to built an 3.11.0 x86_64 kernel on 13.10 with 8 cores? [closed]

I have configured a KVM virtual machine (VM) with 8 processor cores and 256 MB of RAM and no swap. A minimal text based Ubuntu Saucy 13.10 amd64 was done. The essential packages to build/recompile the ...
0
votes
1answer
34 views

what if i remove .config file from the linux source

I was just curious whether i can remove the .config file. Actually i am learning how to edit the config (from make menuconfig) and recompile the kernel. So if i remove the .config file from the source ...
0
votes
1answer
31 views

Which extra packages or modules should i remove at compiling time

I'm a newbie in compiling the kernel from kernel.org sources.when i compile kernel at my machine which extra or old packages or modules should i remove? thanks in advance.
0
votes
0answers
265 views

Compile and loading kernel module without compiling the kernel

I am trying to get hostapd working and it does not recognize the current wl driver, searching in internet I found that I need to use the new nl80211 driver. I found that my current system does not ...
1
vote
0answers
23 views

Using kernel headers in my program

I have seen an answer about the usage of kernel headers in how to use kernel headers appropriately?. I have a similar set of errors, and the solution of using a -I/path/to/kernel headers is not ...
0
votes
0answers
58 views

Why does Ubuntu make larger compiled kernel file (.deb) than Debian does?

When I compile a kernel in Ubuntu, it is 40% bigger than in Debian (with the same .config). Why? Is it because of little different versions? 40% seems too much to me. Both are up to date, Ubuntu 13.10 ...
0
votes
0answers
33 views

Compiling in Ubuntu 12.10 ARM 7

I am fairly lost in compiling drivers (Modules) for Ubuntu from here these drivers work on the older 3.0.36 kernel so i would like to compile it for 3.0.8 by using the driver source provided. I have ...
0
votes
1answer
977 views

How to backport a patch to my current kernel?

I used to download compat-wireless-3.6.8-1 on Ubuntu 12.04 And successfully compile it into target files for compat.ko, cfg80211.ko, mac80211.ko, ath.ko, ath9k_hw.ko, ath9k_common.ko ath9k.ko . Now I ...
0
votes
0answers
108 views

Compiling kernel with yaffs2, error ubutnu/aufs/magic.mk no such file or directory

I am following steps to compile the kernel, I have made changes using make menuconfig But I get this error about ubutnu/aufs/magic.mk no such file or directory I tried running make-kpkg clean (which ...
0
votes
1answer
2k views

Missing modversions.h

I`m trying to compile a program, which was actually designed for Linux OS based on kernel 2.4. When I run the make command, I get the following error ...
0
votes
0answers
146 views

How to compile ralink drivers on newer kernels?

The "official" rt2800 module in the kernel causes low signal, always reconnect, or broke the connection.(crap) Ages ago I compiled some ralink drivers for Linux, theese had rt2860 modules, and my wlan ...
0
votes
0answers
136 views

having difficulty while compiling kernel 2.6.33 for ubuntu 12.04 LTS

After running menuconfig, I tried "make" command and I get this.. End of Linux kernel configuration. Execute 'make' to build the kernel or try 'make help'. ...
0
votes
0answers
336 views

DAHDI 2.6.1 does not build in Linux kernel 3.8.0-29-generic

I downloaded source codes of DAHDI 2.6.1 and Linux Kernel 3.8.0-29-generic. When I typed 'sudo apt-get install linux-headers-$(uname -r)' to install linux kernel header I got the message shown below: ...
0
votes
1answer
228 views

Is is possible to use two kernels at the same time?

After upgrading from Ubuntu 13.04 to Ubuntu 13.10 Intel VTune Amplifier stopped working. As recommeded by developer I tried to reinstall the program and manually compile the needed drivers. However I ...
1
vote
1answer
207 views

FOG & Compiling a Kernel

We have been using FOG installed on Ubuntu to image computers and have now started creating an image as a Hyper-V virtual machine (an image created as a virtual machine was a recommendation to us, and ...
1
vote
0answers
130 views

Is it possbile to load module compiled under kernel 2.6.x to a system with kernel 3.8.x

I have Marvell USB wireless driver src which only supports up to kernel 2.6.8. Now my system is Ubuntu 13.04 with kernel 3.8 and I can not compile the src under the new kernel anymore. I found the ...