I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.
I'm having problems to compile XIllybus kernel module. As this guide explains, [URL] ..... (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make command in the proper path. When I compile the module with make command, I get the following error:
make -C /lib/modules/3.16.0-0.bpo.4-amd64/build SUBDIRS=/home/xillybus/module modules make: *** /lib/modules/3.16.0-0.bpo.4-amd64/build: No such file or directory. Stop. make: *** [default] Error 2
/lib/modules/3.16.0-0.bpo.4-amd64/build path does not exist. What does it mean? Should I have to install some kernel packet? www does not work for me.
I'm trying to set it up so that I don't have to recompile the driver for my RAID card manually every time there is a kernel upgrade.I found a thread on it, here and a help page here, and it looks like it builds the module fine, but for some reason it's not being inserted into the new kernel, or something. It's like the new kernel doesn't know it exists, even tho modprobe -l shows the newly built module exists (and is in the correct place)Here's the script that I wrote up to get the drivers set up in DKMS:
I`m trying to compile sources of kernel module which has been written for kernel 2.6.9. There were many changes in kernel headers since then in current kernel sources. I`ve found that old /asm/system.h was moved under architecture dedicated directory /arch/*/include/asm/system.h. Anyway during sources compilation I`m having errors related to kernel sources. It looks like there is something wrong with this /asm/system.h
Code:
../asm/system.h: In function �__cmpxchg�: ../asm/system.h:248: error: expected string literal before �LOCK_PREFIX� ../asm/system.h:254: error: expected string literal before �LOCK_PREFIX�
I have just started learning Device driver programming in Linux and am stuck in my first program. Its just to see init_module and cleanup_module calls to use printk and see results using dmesg. program is:
Code:
#define MODULE #include<linux/module.h> int init_module(void)
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
I am trying to figure out how to compile qcserial.c kernel module from the latest kernel source file located in the 2.6.37-rc8 kernel tree. I have installed the sources for my current kernel 2.6.35-24-generic on maverick and it seems that my includes are not in the right place to make the qcserial.c file happy.
I overcame this issue by passing the -I option to gcc that points to the directories that it is looking for. I am currently getting errors while compiling and I was wondering if it is impossible to compile qcserial.c on my current kernel? I am looking to get the diagnostic port and GPS port enabled for my built-in 3G card.
I havent built modules for quite some time and that was on opensuse with the fglrx module.
Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time
I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.
These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.
Code: Downloaded kernel package 2.6.32.2 from www.kernel.org untar archive make menuconfig (no changes made, saved config file) make
These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below: acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs. My distribution is UBUNTU 10.04 LTS original kernel with the distribution is 2.6.32 My own kernel is 2.6.35
I am trying to install atheros AR5007EG on my toshiba laptop -i figured out that best way to install this wireless card is through madwifi -while configuring madwifi i get this error
I am posting the output of different commands so you can understand better -i manually tried to link the build directories to kernel-source which failed - i am not sure exactly what kernel source is and how i can link to kernel source -
I need to install module u32 into the netfilter module for kernel 2.6.27.
I did not see the source code in the kernel version I have. where can I find the code for U32 module.
I have checked "netfilter.org" and looks like POM is discontinued. Is the u32 module committed to kernel version 2.6.27 or need to patch it. If yes, where can I find the patch?
I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.
HOSTCC -static scripts/basic/fixdep scripts/basic/fixdep.c: In function traps scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [Code].....
If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.
I am trying to perform a patch on the current kernel version that was included in SLES SP1 and do a compile of the kernel. However, after installing the new kernel and rebooting, I got a "Waiting for device" error. I tried just compiling the kernel after a fresh installation of SLES SP1 on a physical and virtual machine and got the same problem. When I was doing make rpm, I got errors something like (can't remember but it was something like not in gzip format, file format not recognized and exec format error). Also, what I noticed when performing mkinitrd was that there were errors like the following:
ERROR: modinfo :could not open /var/tmp/kernel-2.6.32.120.7paemod-root/lib/modules/2.6.32.12-0.7-pae-mod/kernel/drivers/char/agp/ali-agp.ko: No such file or directory
The files include others such as amd-k7-agp.ko, ati-agp.ko, efficeon-agp.ko and others. There are also 2 files in the usb direcotry that has this problem. This happened even after a fresh installation. What I did was the following:
cd /usr/src/linux make cloneconfig make menuconfig make rpm mkinitrd vim /boot/grub/menu.lst
Downloaded the stable kernel 2.6.36.4 from kernel.org/ (Current Kernel:2.6.18-92.el5) However i have extracted the source code .ran make mrproper copied the old configuration file and selected it by using make menuconfig .However after selecting it and clicking ok i m getting following error.
Code: .
config:656:warning: symbol value 'm' invalid for IP_DCCP_CCID3 .config:657:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB #config:1353:warning: symbol value 'm' invalid for FIXED_PHY # configuration written to .config 'm' invalid for IWL4965
I have downloaded latest version of sun vm virtual box foe Fedora 13 x64. After installing and creating a VM when I want to start vm I got this error. And when I enter this command on terminal : /etc/init.d/vboxdrv setup
I get this error: Code: [root@localhost arash]# /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [ OK ] Recompiling VirtualBox kernel module [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong) Log file:
Code: [root@localhost arash]# cat /var/log/vbox-install.log Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop. [root@localhost arash]#
for the last few releases, starting with 9.04 i've been having serious crashing problems with the nvidia driver. whether i installed it manually using the latest drivers directly from nvidia, or installing them through the restricted driver option. after a few hours CRASH. it's been awful. and i tried everything from this side to the moon to fix this issue, all to no avail. no idea why i've even stayed with ubuntu after all these issues. came from the debian world back in 5.04, and almost moved back a few times. but i did a clean install of 10.04, and thought i'd give the nvidia driver one last chance... if it didn't work i'd be moving back home to debian (with the suspicion the issue would stay).
so after i tried the restricted driver and CRASH. nothing to fix it. then i thought ok i'll try to use the latest driver from nvidia. but ran into this error when installing it:
Quote: ERROR: Unable to load the kernel module nvidia.ko. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release. so after googling around i found a fix to this error i was getting during the install:
Quote: sudo nano /etc/modprobe.d/blacklist.conf
blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv
I am running Lenny and using VirtualBox OSE 1.6.6. In order to try squeeze I installed it in a VM. I tried to install Guest Additions also, but i get this error:
VirtualBox 1.6.6 Guest Additions installation Building the VirtualBox Guest Additions kernel module... Building the shared folder support kernel module... Unable to build the kernel module.
I checked what /var/log/vboxadd-install.log had to say:
/usr/src/linux-headers-2.6.32-5-common/include/net/neighbour.h:115: error: variably modified a at file scope /tmp/vbox.0/utils.c: In function 'sf_path_from_dentry:
[code].....
I tried with 3 versions of the kernel 2.6.32-5-686,2.6.32-5-484,2.6.32-3-686 but I cannot get it to work using any of them. Also I tried to install version 2.6.30-2-686 but I couldn't since synaptic said that it Depends: linux-kbuild-2.6.30 but it is not installable.
I keep getting a warning messaged almost every time I reboot about Ubuntu running in low-graphics mode on a Macbook 5,1. This has been happening since Lucid Beta 1.
Quote:
Failed to initialize the NVIDIA kernel module. Please see the system's kernel log for additional error messages and consult the NVIDIA README for details.
[code]....
After I finish loading in low graphics mode I have to run "sudo nvidia-xconfig". Then, the next reboot the graphics card driver is loaded properly. Is anyone else experiencing this problem or have an idea how to correct it? I know it is a long shot, but do you think doing a fresh install of the stable release would work?
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?
I am in verse to compile a new kernel 2.6.34-rc5 on RHEL 6 Beta.I have been following [URL] for the same. how can i select all the options during :
Code: make menuconfig/make gconf/make xconfig
I just saved it under .config and when I ran : make modules it threw errro saying "modules not included". So i want to select complete options during make xconfig.
It has been years since I have need to compile the kernel or its modules. Here goes: I recently upgraded to ubuntu 10.10 and needed the kernel source and its modules source. The relevant directories are in a mess. Several diff versions, broken links, the works. Is there a nice easy way, to remove all of the sources, there, and err "install" the ones for my latest kernel, in the correct places. Then I might have a chance at getting the two modules I need complied! Nvidia being one for the geforce 4 mx420 nv17
When compiling software I get the following notice : You do not appear to have the sources for the 2.6.31.5xls-domU kernel installed.
Yum says : Package kernel-headers-2.6.18-164.11.1.el5.x86_64 already installed and latest version Package kernel-devel-2.6.18-164.11.1.el5.x86_64 already installed and latest version
But uname says : Code: -bash-3.2# ls /usr/src/kernels/ 2.6.18-164.11.1.el5-x86_64 -bash-3.2# uname -a Linux vds.hosting.net 2.6.31.5xls-domU #4 SMP Fri Dec 4 12:17:04 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
Extra info : title CentOS (2.6.18-164.11.1.el5xen) root (hd0,0) kernel /boot/vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/xvda1 console=xvc0 initrd /boot/initrd-2.6.18-164.11.1.el5xen.img
This is a VDS I'm renting from my Hosting company. How can I get the right sources? RPMforge repo?
I have downloaded the newest most stable Linux kernel, 2.6.33.2.
I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the minimum packages.
I setup the make menuconfig with just the default settings.
After that I ran make and got the following error:
The amount of space I have left is:
My virtual size is 4 GB, but the actual size is 3.5 GB.
How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.