General :: Lib/module/build And Set Kernel Path Error While Configuring Madwifi
Jul 25, 2010
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 have just started to work with BeagleBoard and built the Linux kernel (version 2.6.30.5) and download to the board and it start. I have also connected to the board over serial to Putty terminal.
Now I want to connect to the Beagle Board using USB instead of serial and I am looking for some info on how to do this.
My goal would be to connect to board over USB and then be able to: * Download my own binary files/programs from PC over USB to BeagleBoard * Communicate over USB instead of UART/Putty to get log and execute commands
Question: How do I build the Linux kernel with USB support, meaning what settings should be ticked in menuconfig? Or is it already included?
How do I enable USB OTG in menu config?
I assume I would need some driver on my PC with Windows XP to connect to my BeagleBoard over USB. Were can I find this USB driver?
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.
My 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?
I have probably a stupid question. How do I add an include path for kernel module makefile? I want to include "test_kernel.h" in test_module.c test_kernel.h resides in a different directory with relative path "../../common/" . I can include the file specifying the relative path, which works OK:
#include "../../common/test_kernel.h"
I would like include it without the relative path and specify path in Makefile similar to -I option available in application makefiles. I have tried EXTRA_CFLAGS += -I../../common/ in the makefile but no use.
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):
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:
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?
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
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'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
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 running Ubuntu 10.04.1 and am trying to get packet capturing working for my Bluetooth dongle using hcidump.From what I've read, libpcap must be compiled to enable Bluetooth sniffing and given that hcidump isn't finding a single packet, I'm guessing the version Ubuntu has installed for me isn't compiled with bluetooth support.So I downloaded a newer version of libpcap and installed the bluez header files. Configured libpcap and it gave a "Yes" for bluetooth support. It is now installed and sitting in /usr/local/lib/. Now I'm trying to compile hcidump to use this lib rather than the system default but I can't figure out how...I've read that GCC can be passed the -lpcap flag to set the path but I haven't figured out how to do this.
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 know this has been asked in a previous post:[URL]...BUT, i am not using the package assistance module that was used in this case. Im running Backtrack 4 R2, with a PCMCIA Netgear WPN511 card on a 16gig USB flash drive (dell inspiron 2200, 256MB pc333 RAM, 70 gig HD - i know this sounds minimal but it is running great, and will stay minimalist). The current kernel version is 2.6.35.8.
I am having problems with any version of madwifi i download/guide i follow. And, because madwifi.org is down (as usual), im having a hard time finding current sources. I am aware that there is the atheros 9000 driver, but am clueless as to install that as well, and from what i've read, madwifi suits my needs better. Once again, i am new, so if this is also incorrect, i'd love to know why! Im rather unfamiliar with how kernels/headers interact with drivers, so feel free to low-ball replies.
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 am trying to compile the kernel version 2.6.20-15 on my Linux 10.10 with 2.6.35-22 kernel. Additionally, this is my assignment.After I download kernel, extract it and create a new .config file for the new kernel I am trying to command;make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers.after the second command I get an error an it says "nothing to be done" but I expect to have some .deb files for the new kernel. In addition this I have added a new system call to the kernel 2.6.20-15.
I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"