Tagged Questions
0
votes
1answer
50 views
Enable kernel module for VPN
I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 .
But the features I've turned on using make menuconfig seem not to be enabled.
(the features I ...
1
vote
1answer
160 views
Kernel headers for VMware tools
I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
2
votes
1answer
128 views
Build kernel in one machine, install in another
I want to build my Linux kernel on my host and use it in my VWware virtual machine. They both use the same Ubuntu kernel now.
On my Host, I do make and make configure. Then, what files should I copy ...
0
votes
1answer
188 views
Building kernel module
I have a 3rd party device driver which I am trying to cross-compile. When I build the driver everything goes smooth but I don't see any driver.ko file, however driver.o file is generated fine and I ...
1
vote
1answer
585 views
Unable to mount root fs after new kernel compile in VMware
So, I'm attempting to compile and use the 3.6.2 kernel on my Debian 6 VM (running under Windows 7 in VMware Workstation 9). I've already had several hick ups, but I am slowly getting through them but ...
0
votes
0answers
47 views
Help compiling Fedora kernel [closed]
I wan to know how to compile the kernel image which is under the CDROM:isolinux/ dir named vmlinuz and how to make the other files like initrd.img in the same directory.
0
votes
1answer
1k views
Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory
I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem:
I could not find any explanation through Google. Can you point me in the right direction? ...
0
votes
0answers
318 views
Install CentOS in a VirtualBox to a Compact Flash and use it on a mini PC
I got into a very specific situation and want to get to know your opinions.
I have got a mini PC with Intel Atom processor which should run CentOS with an upgraded kernel to 3.x and some ...
0
votes
0answers
26 views
Loading a custom library [duplicate]
Possible Duplicate:
Entry point of linux kernel
I'm compiling my own linux kernel and I was wondering how I could make the kernel load a library that I made when it first boots up.
2
votes
2answers
214 views
stuck at “make install”
I'm building the kernel (3.5) from /media/src_prog/linux-3.5/ to /media/sda5_k/. I've gone through the following steps:
make O=/media/sda5_k/ menuconfig
make -j2 O=/media/sda5_k/
make ...
1
vote
1answer
133 views
How are Linux Kernel compile config's determined?
I am compiling my first Kernel (3.5 rc1) from source through menuconfig.
Certain configs are pre-set; who / what determines if they are pre-set? Does the make menuconfig somehow detect my computer ...
3
votes
2answers
650 views
Booting a newly compiled linux kernel
I have started reading the book Essential Linux Device Drivers. I am following the process for compiling and booting into a new kernel. However I am unable to boot into the newly compiled kernel - I ...
4
votes
1answer
1k views
How do I convert a kernel .config file from 32-bit to 64-bit?
At this page you can download a configuration file that lets you target a particular notebook architecture during the compilation of a new 32-bit Linux kernel.
I need a 64 bit version.
What do I ...
1
vote
1answer
147 views
Edit the .config file when en/disabling a particular option like CONFIG_CPU_FREQ?
From here: http://www.xenomai.org/index.php/FAQs#Which_kernel_settings_should_be_avoided.3F
Which kernel settings should be avoided?
Note that Xenomai will warn you about known invalid ...
4
votes
0answers
663 views
WARNING: modpost: Found 10 section mismatch(es)
Is this error message something that I should be worried about?
linux-y3pi:/usr/src/linux-2.6.38.8 # make modules
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
...
1
vote
1answer
121 views
how to enable sound support in linux kernel without recompile?
I have recently compiled linux kernel 3.2. But at time of compiling in make menuconfig, I had disabled sound support.
Now, I want to enable it without recompile it. I don't want to use stock kernel ...
2
votes
1answer
968 views
No vmlinuz and initrd after building the kernel?
After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
-2
votes
1answer
390 views
FreeBSD source and how to build
A few questions about FreeBSD
Where/how should I obtain the source code (ex. through terminal, Download off website)
How (on ubuntu) should I build it?
Before I build it can I customize it (in other ...
0
votes
3answers
229 views
Am I in the right direction for a linux os?
I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper.
Then I use "make menuconfig" to ...
2
votes
2answers
2k views
Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile
So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
2
votes
2answers
1k views
Undefined reference to symbol 'acs_map' when running makeconfig
I get a linker error when I try to configure the Linux kernel with menuconfig:
# make menuconfig
HOSTLD scripts/kconfig/mconf
/usr/local/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined ...
5
votes
1answer
669 views
Why is my initial ramdisk so big?
I'm running Ubuntu 11.10, which came with kernel version 3.0.0-14. I downloaded and built a kernel from the 3.1.0 branch. After installing the new kernel, I see that my /boot/initrd.img-3.1.0 file is ...
1
vote
1answer
624 views
Compiling a distribution unspecific kernel on two different distributions
I downloaded kernel 3.2.1 from the kernel.org.
Compiled it "successfully" on OpenSuse 11.3 64 bit.
When I tried to compile the same kernel source on Ubuntu 11.10, I got:
ERROR: ...
1
vote
1answer
1k views
__modver_version_show undefined error during make
Platform: Ubuntu 11.10 64bit
Kernel to be compiled: 3.2.1
Error after make:
ERROR: "__modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined!
To solve this I copied the .config file of ...
1
vote
2answers
974 views
modprobe: Module ext4 not found. WARNING: no dependencies for kernel module 'ext4' found
I rebooted a compiled kernel 3.1.0, and those are the errors that I am getting:
linux-dopx:/usr/src/linux-3.1.0-1.2 # make install
sh /usr/src/linux-3.1.0-1.2/arch/x86/boot/install.sh 3.1.0 ...
2
votes
2answers
180 views
Precautions to be taken while make oldconfig
If a previous kernel (assuming it is not from the stone age) compiles successfully, does it make sense to assume that old config file if copied to the new kernel, will compile successfully too?
What ...
4
votes
2answers
4k views
How to create an initrd image on OpenSuSE linux?
/usr/src/linux-3.2.1 # make install
scripts/kconfig/conf --silentoldconfig Kconfig
sh /usr/src/linux-3.2.1/arch/x86/boot/install.sh 3.2.1-12-desktop arch/x86/boot/bzImage \
System.map ...
3
votes
2answers
298 views
Compiling the kernel with default configurations
Assumptions:
The platform:
anisha@linux-dopx:~/> uname -a
Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
The kernel downloaded is the ...
3
votes
2answers
2k views
Kernel Panic - Can't find root filesystem / error mounting /dev/root
From here: http://fedoraproject.org/wiki/Common_kernel_problems#Can.27t_find_root_filesystem_.2F_error_mounting_.2Fdev.2Froot
A lot of these bugs end up being a broken initrd due to bugs in
...
3
votes
1answer
339 views
Compiling and installing a kernel.org kernel to a custom volume on disk
I want to compile and install a kernel.org kernel on a custom HDD volume, say /dev/sda5, instead of being merged with my current Ubuntu's directories.
I can find information about configuration and ...
2
votes
4answers
607 views
Stripped down Kernel for a Laptop
I am a Linux noob, but I am willing to learn. My immediate objective is to compile a small kernel for my laptop without sacrificing usability. I am familiar with the kernel compilation steps (don't ...
0
votes
1answer
519 views
Linux kernel 2.6.38 compilation error
When I try to compile the Linux 2.6.38 kernel on my Linux PC, I get:
$ make defconfig
$ make
I get:
ubuntu/ndiswrapper/iw_ndis.c:1966:2: error: unknown field ‘num_private’ specified in initializer
...
2
votes
3answers
509 views
How can I reconfigure my Ubuntu PC's 2.6.37.6 kernel to shrink it to 950 KB or less?
I need to recompile the kernel with minimum configuration so that after compiling its size stay below 950 KB and it should boot correctly after compilation. I need to compile with minimum possible ...
6
votes
1answer
319 views
Grubby fatal error in Linux kernel installation
I have compiled Linux kernel 2.6.24.6 from source (without problem) and tried to install it. Specifically, after unpacking the Linux source code, I did
make && make modules
to compile. ...
5
votes
2answers
2k views
How to include local header files in linux kernel module
Say I have a module mymod with source files as follows:
src/mod/mymod.c
src/inc/mymod.h
I try to include mymod.h as follows
#include <mymod.h>
My makefile contains EXTRA_CFLAGS= ...
0
votes
1answer
212 views
“ unsupported for `ljmp' ” error while compiling minimal bootloader and kernel
I'm using gmake to compile this code, but I'm stuck on this error message:
+ as kern/entry.S
kern/entry.S: Assembler messages:
kern/entry.S:55: Error: unsupported for `ljmp'
gmake: * ...
4
votes
1answer
149 views
How do I know which files will be included in a linux kernel before I build it?
I am working on a project that includes building an old kernel version of linux. This is fine, but I still need to patch the kernel of all previously found security vulnerabilities based on CVEs. I ...
2
votes
1answer
240 views
How to compile a decent kernel from kernel.org?
I tried compiling a kernel from sources that I got from kernel.org (mainline) with make allyesconfig and make allmodconfig, but both builds resulted in a kernel, that won't boot.
I was thinking, that ...
2
votes
2answers
5k views
I am failing to build VirtualBox driver for Linux 2.6.38
I am running Debian 6, and decided to install 2.6.38 kernel from Unstable. I also installed the headers so that I can later on :
sudo apt-get install --target-release=unstable ...
1
vote
1answer
495 views
Where is CONFIG_COMPAT_VDSO in make menuconfig?
I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1.
I'm using the guide given here: ...
4
votes
1answer
254 views
NetBSD 5.1 NDIS Kernel Compile Error
I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). I've ...
1
vote
1answer
744 views
Creating new initrd without installing kernel
How can i create initrd image for a new(experimental) kernel without actually installing it.
(Existing tools to create initrd based on config and details from installed kernel.)
Say i compile a new ...
1
vote
1answer
274 views
How can I use my server to compile a kernel for my laptop?
My laptop, an HP pavilion with an nVidia card, has some issues with suspending. Namely firewire breaks on suspend and the nvidia drivers cause Xorg to hang on resume. I'd like to compile my own kernel ...
2
votes
5answers
2k views
Kernel can't find /dev/sda file during boot
I configured a gentoo kernel (kernel-2.6.36-gentoo-r5), but when I boot it can't mount /dev/sda1:
ALERT! /dev/sda1 does not exist . Dropping to a shell .
I use the shell to go to the /dev ...
1
vote
0answers
282 views
error booting the custom compiled kernel 2.6.37 on ubuntu 10.04 : gave up waiting on root device [duplicate]
Possible Duplicate:
Kernel can't find /dev/sda file during boot
Hi,
I know this is very common problem and there are many threads discussing it. However after trying many solutions ...
1
vote
0answers
216 views
kernel compilation error [duplicate]
Possible Duplicate:
Kernel can't find /dev/sda file during boot
I got the following errors after new kernel compilation (linux-2.6.25.tar.bz2)
mount: could not find filesystem ...
4
votes
3answers
862 views
Recompile Kernel to Change Stack Size
I need to recompile my kernel on RHEL WS5 with only two changes.
Change stack size from 4k to 8k
Limit usable memory to 4096.
How do I recompile the kernel without changing anything else but ...
7
votes
5answers
1k views
Benefit of kernel module compiled inside kernel?
What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
2
votes
1answer
261 views
Kernel memory allocator patch
Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?
9
votes
5answers
3k views
Compiling GNU/Linux with -O3 optimization
It's said that compiling GNU tools and Linux kernel with -O3 gcc optimization option will produce weird and funky bugs. Is it true? Has anyone tried it or is it just a hoax?