Fedora :: Unable To Build Kernel Module
Aug 6, 2011My VMWare Player was working fine After updating the kernel it is throwing the error "Unable to build kernel module" my kernel is 2.6.40-4.fc15.x86_64 what to do?
View 2 RepliesMy VMWare Player was working fine After updating the kernel it is throwing the error "Unable to build kernel module" my kernel is 2.6.40-4.fc15.x86_64 what to do?
View 2 RepliesI have a fresh installation of Fedora14_x64 and after that I have updated the OS also.
Then I have installed VMware-Player-3.1.2-301548.x86_64.
All the installation procedure has completed successfully without any error.
But when I am going to run VMWare It is throwing some error.
I am attaching all the needed screenshot and log file also.
before i get a lot of annoyed responses, I did check the forum and found a couple older previous threads on this topic, but they don't seem to really explain any real solutions to the problem im having.Here's the story- I was looking around for instructions and found this "howto guide" on installing nvidia display driver [URL]I went through the steps he listed:
downloaded the driver packages, install the dependencies from the shell, and then i pressed CTRL+ALT+F2 to get out of X and into text mode. I stopped my gdm with the command: sudo /etc/init.d/gdm stopand then i tried to install the driver using: sudo sh (on my NVIDIA driver- his version was a bit outdated compared to the one I downloaded)But here is where the problem starts, as I go through the installation process and click yes, i reach the "progress bar" then the screen says "unable to build the NVIDIA kernel module". and then it just exits. What is going on here? Am I missing some other package or file?
I started slax in cli mode and tried to install nvidia driver before running X but it won't install. My log:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jan 10 04:21:14 2010
option status:
license pre-accepted : false
Update : false
Force update : false
Expert : false
uninstall : false
Driver info : false ....
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details.
I'm trying to install the nVidia driver for a fresh Installation of OpenSUSE 11.4 (32-bit) but I'm running into some issues. I followed the instructions (SDB:NVIDIA the hard way - openSUSE) using the driver binary mentioned in the workaround link (NVIDIA DRIVERS 256.53 Certified) but the installer fails while building the kernel module with the following errors:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Mar 13 17:32:56 2011
[code]....
when i try and run the latest vmware workstation, i get an error at compiling virtual machine monitor it says: Unable to build kernel module. See log file /tmp/vmware-root/setup-7625.log for details. When i try and go to the folder vmware-root it says i do not have the required permissions. I'm on the latest 11.04, i really need this working.
View 2 Replies View RelatedI am using the 13.1 build scripts from slackbuilds.org. I modified the scripts to build 3.2.12 rather than 3.2.10.
In 13.1 the main VirtualBox 3.2.12 OSE package built and installed without errors. The VirtualBox GUI starts without errors.
Running the virtualbox-kernel-mksrctarball.sh script built a kernel source package without errors.
Yet the VirtualBox kernel module won't build. I receive the following error:
Code:
]*** Building 'vboxdrv' module ***
make[1]: Entering directory `/dev/shm/virtualbox-kernel-3.2.12/vboxdrv'
make KBUILD_VERBOSE= -C /lib/modules/2.6.33.11-smp-2/build SUBDIRS=/dev/shm/virtualbox-kernel-3.2.12/vboxdrv SRCROOT=/dev/shm/virtualbox-kernel-3.2.12/vboxdrv modules
[Code].....
I can't get the nVidia kernel module built. Each time DKMS runs to install it (I'm trying to install it with the nvidia-kernel-legacy-173xx-dkms package on ), the build fails with a different error. Here is an exemple /var/lib/dkms/nvidia/173.14.27/build/make.log (I have a geForce FX 5200 on the computer I'm trying to install the nVidia driver):
DKMS make.log for nvidia-173.14.27 for kernel 2.6.32-5-686 (i686)
dimanche 24 avril 2011, 17:28:09 (UTC+0200)
make: entrant dans le r©pertoire /var/lib/dkms/nvidia/173.14.27/build
[code]....
That's it guys. I have successfully installed the proprietary ati drivers in past 6.34 and 6.35 kernels but not in latest .6.36. I'm wondering if this have something to do with compatibility or not.
Installation log shows me some errors I can't recognize:
Code:
I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).
The UML kernel I downloaded is 2.6.38.2. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).
Now I'd like to build said module against these headers. How can I do it?
Here's the makefile for my module code...
I had an issue with the module build for vbox 3.1.2 breaking on the latest kernel ( /etc/rc.d/rc.vboxdrv setup ). Apparently the issue is that a kernel header (autoconf.h ) has changed its location in the module tree and hence the issue.
2 options:
1. upgrade to 3.1.4
2. create a symlink as follows
cd /usr/src/linux/include/linux
ln -s ../generated/autoconf.h autoconf.h
im trying to install the driver for my nvidia GeForce 7300 GS.i have Fedora 12 installed in an Intel duo core 2 processor 64 bits.kernel installed is 2.6.31.5-127.fc12.x86_64...i followed leigh's guide i did the 4 steps but after reboot screen goes blanck and X dont work.the log says:
-> Kernel module load error: insmod inserting './usr/src/nv/nvidia.ko'
-1 no such device
i am using Ubuntu 8.10 inside VMWare Workstation 6.i need to use folder sharing feature with my host OS XP2 but when i tried installing VMWareTools i cant build several modules including vmhgfs and vmblock.Code:Trying to find a suitable vmhgfs module for your running kernel.None of the pre-built vmhgfs modules for VMware Tools is suitable for yourrunning kernel. Do you want this program to try to build the vmhgfs module foryour system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmhgfs module.
View 1 Replies View RelatedI 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 -
My output:
I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:
[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read
djmack-5/19/2011-I have purchased an ASUS K52J (intel i7) laptop. I have installed Centos 5.5 (64 bit) from CDs. The I got all the updates and it's now up to 5.6. I have two problems.
(problem-1) - Using the GUI (System->Administration->Hardware) I can get to a Device Manager screen. It shows a JMC250 PCI Express Gigabit Ethernet Controller. Using the GUI (System->Administration->Network) I can only see the wireless (wlan0) as configured and active. The ethernet card is not seen as ether 0. I've seen there are downloads to solve this problem, however I've been 100% unable to do and or understand them. I don't know how to build the kernel and I don't have any source code. I only have the binaries (I think). Is there a version of the kernel that I can put on CDs that has understanding of the ether card I referenced above?
P.S. I've downloaded a binary fix and it says it needs 20 or so dependencies (I have zero idea how to get those).
P.S. I've downloaded a source fix and I couldn't get it to install (I'm not a linux kernel build knowlegable person). I don't have the source either.
(problem-2):As stated above I need direct (RJ45) access to the laptop. I currently have the wireless card working but I have no idea how to get this to work with httpd, ssh, scp.I can access things via a web browser right on the laptop. I cannot access this laptop via a web browser from any other box. I cannot access this box via ssh or scp.I disabled the firewall and I disabled the SELinux security.I am stumped as to why I cannot see this ASUS laptop via httpd and/or ssh/scp.I can ssh and scp to other linux servers but these servers cannot ssh or scp into this laptop.
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
[Code]...
I want to add some code in existing linux2.6.33.2 to enhance kernelI want to know how to start and where to add code.
View 2 Replies View RelatedI need to build a new kernel. I was directed toI tried following the instructions but I think I may have ended up with way more than I wanted. After just over 3 hours the build exhausted the 5.2GB I had available and fell over. The .config file used was nearly twice the size of the one I supplied. Why was it changed?I don't need an rpm.Are the patches supplied with the 2.6.38 sources required or nice to have?
View 3 Replies View RelatedI 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 building the kernel for a MIPS processor.
I'd like to compile a generic kernel for my netbook on my desktop. They are both F12 64bit. On my desktop can I do:
make xconfig
make
make modules_install
Then copy the folder to my netbook then:
make install? Is there a better way? I don't really want to make .rpms.
The problem I'm facing is that I can't use my headphone. Sound works, but not the headphone. See my ealier thread. It was suggested to edit the module options, but I don't quite know which buttons to push.
View 6 Replies View RelatedI'm building a Kernel on System A to use on System B. I've followed the walkthrough on [URL], and I get the following rpms:
kernel-debuginfo-common-i686-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-firmware-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
What I don't get are any
kernel-headers-<version>.<arch>.rpm
Files. Don't I need them to rebuild modules and drivers on System B? Otherwise, how should I copy my new headers to System B? BTW, System B crashes when I try to build the Kernel on it, that's why I'm building debugger Kernels on System A.
Sound disappears as soon as I try to use an application e.g. News Video Fox, CNN, BBC or playing a video disk or cd disk, and a kernel module crash is reported (listed below from logs) After this happens no sound, and the desktop freezes (X11 only Linux is fine). Restarting X obviously do not solve the problem.
It seems that Fedora 12 has sever problems with Intel Sound cards.
I guess it is not really a Kernel developers problem but more the authors for the sound module causing the crash. I already reported it through the popup to "kernel-oops" by clicking on the "black screen" popup reporting the crash on FC12.
Here follows the logs containing the crash info.
WARNING: at sound/pci/hda/hda_intel.c:565 azx_send_cmd+0x36/0x1df [snd_hda_intel]() (Tainted: G W )
Hardware name: Macmini2,1
BUG?
[Code]....
getting KVM Kernel modules installed under Fedora 14? I'm trying to do a post-installation setup of KVM. I'm getting the "No package kmod-kvm available." error, when doing "yum install kmod-kvm".
View 1 Replies View RelatedI am having problems install VirtualBox and followed the errors to see that the link for Build (2.6.29) links to a non existent folder.
I also find it weird that there is actually a 2.6.30 kernel folder as well.
Not sure if this is just n00b issue, but VBox won't install and I was wondering why one of the kernels listed would link to nothing...
I had no problems up to the newest kernel version. But for 2.6.40-4 akmods fails to build the kmod with the following error:
Code:
Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 2.6.40-4.fc15.x86_64 /usr/src/akmods/VirtualBox-OSE-kmod.latest'
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-4.fc15.x86_64/vboxnetflt/vboxnetflt.mod.o
LD [M] /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-
[Code]...
I had the 180.xxx nvidia drivers on my FC10 setup.I installed the 185.xxx and am running into issues. It gives me the fatal server error: no screens found message. Before that it says that the nvidia kernel module is 180.xxx and the driver component has 185.xxx. I can't seem to figure out how to uninstall the previous module to make this work. I removed the yum kmod nvidia. I'm running this using sh nvidia.185xxx.xxxx.run . The weird thing is that it sometimes would work but then I would restart and it would break again.
Thanks in advance,
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]#
since the release of the 2.6.32.14-127 kernel a couple of days ago I can't use my wireless adapter (rt2870 based) since there isn't a kmod-rt2870 package released for this kernel.Normaly I found that the kmod package was available the same day as the kernel. Does anyone know why there is such a delay this time? Or if there is a workaround
View 3 Replies View Related