Debian Configuration :: How To Load Own Kernel-module (KO) In Jessie

Mar 14, 2016

I built a kernel-module for a new usb wifi-card. This worked well and resulted in a 8821au.ko-file. But now I'm trying to load this kernel module since half an hour and it doesn't work. I copied the ko-file into /lib/modules/3.16.0-4-amd64/kernel/drivers/edimax. If I just type

Code: Select allsudo modprobe 8821au

I get a

Code: Select allmodprobe: FATAL: Module 8821au not found..

But if I enter the full path inside the /lib/modules/3.16.0-4-amd64-folder:

Code: Select allsudo modprobe -v ./kernel/drivers/edimax/8821au.ko

it seems to work:

Code: Select allbuiltin ./kernel/drivers/edimax/8821au.ko.

But lsmod doesn't show me the module after that.

I also added

Code: Select all./kernel/drivers/edimax/8821au.ko

to /etc/modules but this also doesn't seem to work. When booting I get an error-message, but it's too fast to read it and I can't find the right log-file, where the booting-part with the "[ OK ]"-messages is reported.

So my driver is ready, the onliest thing which I can't get working is loading it as a kernel-module.

View 3 Replies


ADVERTISEMENT

Debian Configuration :: Kernel 2.6.32-trunk Won't Load The Dkms Module And Virtualbox Will Not Run

Jan 22, 2010

My problem is that it won't load the dkms module and Virtualbox will not run.

View 14 Replies View Related

Debian Configuration :: OpenVPN - Cannot Load Tun Module

Dec 16, 2015

I have recently rented a VPS server so I can run a VPN. Unfortunately, I did not get far in this [URL] ....., I have encountered this error:

Code: Select allxaver@xaver:/$ sudo modprobe tun
ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

So I googled this error and found this: [URL] ....., however response of mine VPS was:

Code: Select allxaver@xaver:/$ ls /lib/modules/uname -r /kernel/drivers/net/tun.*
ls: cannot access /lib/modules/uname: No such file or directory
ls: cannot access /kernel/drivers/net/tun.*: No such file or directory

Code: Select allxaver@xaver:/$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.9 (wheezy)
Release:        7.9
Codename:       wheezy

xaver@xaver:/$ uname -a
Linux xaver 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux

View 2 Replies View Related

Debian :: Failed To Load Kernel Module

Jun 23, 2015

I'vd a problem with loading modules. Booting gives the this error:

Code: Select alllucas@debian8-1:~$ systemctl --failed
  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

[Code] ....

Always the same error when booting. After a period of time, (Graphical User Interface) the mouse click no longer operates, also text input isn't possible.

I had no access to the system at all, even crt alt F1 stopped working, also text input was no't possible. so reinstall was the only option. Maybe there is a connection with this two errors.

I've reinstalled Debian 8 several times. Still, both errors stay.

The same happend again (in the GUI) is nothing possible, no txt input, no mouse click), but now I have access to the system, ctr/alt F1 is working.

View 12 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

Debian Configuration :: Add New AMD PCI-IDs To Kernel Module

Jul 9, 2015

I recently bought an AMD R7 360 videocard and I'd like to use the free Radeon driver.

Problem is, PCI-ID 0x665f is not present in Jessie's 3.16 kernel sources. The hardware however is supported, it's just not recognized. So I'll have to get the Debain sources and patch include/drm/drm_pciids.h

From the 4.1rc1 kernel I know what to patch and where.

Debian page that explains how to use the Debian build system for recompiling the current kernel from Debian packages?

View 6 Replies View Related

Debian Configuration :: Building A Loadable Kernel Module?

Jul 30, 2010

I upgraded my kernel in my Debian Lenny to version 2.6.32-bpo.4-amd64 to fix a problem with a software and ALSA-related issues. The thing is that now, when I boot, eth1 is not enabled and I have to "load" (I guess) the driver each time. To do this, I go to the folder where all the files for the drivers are and I run:

modprobe lib80211
and then
insmod wl.ko

That I got from the readme file. That gets the wireless working perfectly again, but when I reboot the wireless is dead again and I have to run the commands above again. I imagine that what I should do is to build the driver again, for my new kernel. However, according to the readme file, before I need to install linux-headers-generic and build-essential. With build-essential, it says it's already the newest version, and with the linux-headers, I don't know which one should I install for my kernel! I thought it would be the linux-headers-2.6.32-bpo.4-xen-amd64, but when I tried that, this is what happened:

debian:/home/hernan/Programas/hybrid_wl# apt-get install linux-headers-2.6.32-bpo.4-xen-amd64
Reading package lists... Done
Building dependency tree

[code]....

So the warning says something about the MODULE_LICENSE being missing... how to build the driver again to make it load each time I boot?

View 3 Replies View Related

Debian Configuration :: New Kernel Requires WiFi Module Update

Jun 15, 2010

Squeeze's latest update has upgraded my kernel from 2.6.32-3-686 to 2.6.32-5-686.My wireless stopped working and then I realised that I had to rebuild the wifi modules. I had followed this earlier.URL...For this new kernel, which I step of the process should I repeat? Rebuild module? Or just do a modprobe?

View 4 Replies View Related

Debian Configuration :: Module Assistant Can't Find Kernel Headers / Work Around This?

Jul 25, 2010

I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specify were the headers were by using:
m-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/
but also doesn't work. Instead, I get the error:
Bad kernel version specification at /usr/bin/m-a line 566.
Anyone knows how to work around this?
By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get:
FATAL: Module vboxdrv not found.

View 2 Replies View Related

Debian Configuration :: Kernel Modules Won't Load Anymore

Jul 7, 2015

After a hiatus I found my machine to be down, but upon turning it on I get significant errors and dropped into emergency mode (see below). This machine wasn't very up-to-date to begin with, so I'm having difficulty determining the order in which to proceed. A couple naive checks and updates on my part are not working. The file system appears to be intact enough to "cd" around and "ls" to see that my files are all (seemingly) there. But the kernel modules aren't loading which is, you know, a problem.

The state I find it in is that it will begin booting to Linux 3.2 (which I know is no longer supported in testing, see below where I tried to update to 3.16), but fails quickly and puts me into emergency mode

Loading, please wait...
megasas: INIT adapter done
systemd[1]: Failed to insert module 'autofs4'
systemd[1]: Failed to open /dev/autofs: No such file or directory
systemd[1]: Failed to initialize automounter: No such file or directory
systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point.

...Then several drives show up as clean....

Running "journalctl -xb" shows that it can't mount the module even though it's there on the disk:
... systemd-modules-load[259]: could not open moddep file '/lib/modules/3.2.0-4-amd64/modules.dep.bin'
... systemd-modules-load[259]: Failed to lookup alias 'firewire-sbp2': Function not implemented
... systemd-modules-load[259]: could not open modeep file '/lib/modules/3.2.0-4-amd64/modules.dep.bin'
... systemd-modules-load[259]: Failed to lookup alias 'loop': Function not implemented

And yet, if I 'ls' that modules.dep.bin file, it's right where it's supposed to be, for the appropriate architecture and everything.

After that (in the journalctl output), it shows several things start up, but systemd-modules-load.service fails:
.. systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
.. systemd[1]: systemd-modules-load.service: Failed to start Load Kernel Modules

...and lots of things fail from systemd-udevd: failed to execute '/lib/udev/socket:@/org/freedesktop/hal/udev_ev_event': No such file directory.

"uname -a" shows
Linux <my hostname> 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux

I tried updating via apt to the Linux 3.16.0 kernel, but grub wasn't finding it in a way that effects the boot process, and no appropriate "vmlinuz-" file appears with the others on the boot partition. So, I tried switching to grub2 but the update-grub command produces many errors.... For now, grub2 still (attempts to) load the old kernel (3.2) with the same results as I was getting with the old grub-legacy.

Regarding the module-loading features, running "lsmod" shows about 30 lines:

Module
ext3
mbcache
jbd
dm_mod
usbhid
hid

[Code] ....

...I'm at the limit of what I know to check and/or try.

View 1 Replies View Related

Debian Configuration :: Failed To Load Firmware Iwlwifi With Kernel 4.1.0-trunk

Jul 14, 2015

I installed linux-image-4.1.0-trunk, when I boot into the kernel there's no wireless available. Dmesg indicates seems like the firmware is loaded, although firmware-iwlwifi is installed:
...
[ 11.047031] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-7265D-13.ucode (-2)
[ 11.047039] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-13.ucode failed with error -2

View 5 Replies View Related

General :: Automatically Load Kernel Module?

Aug 6, 2010

I'd like openSUSE to automatically load a kernel module (e.g. libsas) at boot time even no device requires it. In Ubuntu, you would add the module name to the file /etc/modules. Is this the correct place for openSUSE as well?

View 1 Replies View Related

Ubuntu :: Load Scsi_mod Kernel Module?

Sep 2, 2010

xubuntu 9.10 I have a Drobo, sort of RAID storage device. It makes use of volumes of 2TB. Only the first volume (LUN) is shown up. According this information;[URL]... that happens if the scsi_mod kernel module is not loaded.

View 1 Replies View Related

Fedora :: Unable To Load Kernel Module 'nvidia.ko'

Nov 29, 2009

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

View 11 Replies View Related

OpenSUSE Install :: Apparmor Module Does Not Load On Kernel-rt?

Aug 6, 2010

I have just reinstalled OS 11.2 but this time the 64bit system variant. I installed the real-time kernel and saw that the apparmor module reported an error and wasn't loaded. I have never looked into apparmor and only knows it has something to do with security, and thus I wonder if it is important to do something with this issue? I plan to use the kernel-rt and have more or less always used a variant of this kernel flavour, often self built. Though I can not recall having seen that error before and I have not used a 64bit system before

View 2 Replies View Related

Ubuntu :: Failed To Load NVIDIA Kernel Module?

May 11, 2010

My nvidia graphics driver was updated last night, and since then I've been unable to get into Gnome without resorting to low graphics mode. I have extensive knowledge of Windoze systems. Upon boot up, I get the following error:

(EE) NVIDIA(0): Failed to load NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration

I've tried some troubleshooting, including attempting to uninstall all nvidia drivers and reinstall (via synaptic).

Administration->Hardware Drivers reports that version 173 is installed loaded and active. Nvidia X Server Settings (nvidia-settings) gives me the "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server." error.

I've tried the nvidia-xconfig (both with gdm up and down) and it hasn't made any difference.

Oh, it's a GeForce 6200 wwith two Dell E193FPp monitors running on Ubuntu 10.04.

Here's my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Fri Mar 12 01:42:27 PST 2010
Section "ServerLayout"

[Code].....

View 9 Replies View Related

Ubuntu :: 10.04 - Failed To Load NVidia Kernel Module

Aug 8, 2010

My laptop broke beyond repair recently so I am stuck on a 6 year old hp pavilion zv5000 given to me by a friend and I thought I may as well give linux a go, I have been meaning to for years. I've installed xubuntu 10.04 as I heard it is less resource intensive than normal ubuntu but have been unable to configure the nvidia graphics card. I used the hardware drivers program which installed the nvidia accelerated graphics driver 96 (which was the recommended version) and then ran sudo nvidia-xconfig as instructed and got

Code:
Warning: Unable to locate/open X configuration file.
New X configuration file written to '/etc/X11/xorg.conf'

Which I presume means it worked correctly, but whenever I try to boot I get a message saying "failed to load nvidia kernel module", at which point I either have to restore the generic configuration or just start the session in low graphics mode. I have googled the problem and in a lot of peoples cases it seems to be linked to upgrading from a previous version whilst mine was a fresh install. I tried sudo modprode and it says the nvidia module isn't present. I tried installing the packages in synaptic which mentioned nvidia kernel modules but still no luck.

View 1 Replies View Related

Ubuntu :: 10.10 - Failed To Load NVidia Kernel Module

Feb 4, 2011

I am trying to fix my friends laptop and after the most recent upgrade she performed she got this error message when her laptop boots. Thing is that it stays frozen in that mode. I don't even see the grub boot loader. I know its the only operating system she has running on her laptop as well. The following error was encountered. You may need to update your configuration to solve this.

(EE) NVIDIA: failed to load the NVIDIA Kernel module.
please check your
(EE) NVIDIA: system's kernal log for additional error messages.
(EE) failed to load module "nvidia" (module-specific error, 0)
(EE) no drivers available
She is running ubuntu 10.10

View 5 Replies View Related

General :: How To Load A Kernel 2.6 Module With F Force Option?

Jan 21, 2010

I have a loadable module, simple enough I believe it should run on any 2.6 kernel. I want to force the load and test that assumption. How can I do it?

ismod does not seem to notice the -f in 2.7 modprobe has -f but cannot locate the module.No go. So I read the manpage for modprobe which says: modprobe looks in the module directory /lib/modules/'uname -r'.So I copied MYMODULE.ko to /lib/modules/2.6.(the only directory in here) and type: modprobe -f MYMODULE.ko.Still can't locate MYMODULE.ko.I notice there are no other .ko modules in that directory; so I go in deeper to kernel/drivers/char, guessing about the char directory, and copy MYMODULE.ko there.

View 1 Replies View Related

Software :: Failed To Load NVIDIA Kernel Module

Nov 26, 2010

So I just recently got my proprietary driver working yesterday (and enjoyed too many hours of Starcraft 2 afterwards) but today after I downloaded an Update Package and rebooted, it's telling me that it "Filed to load NVIDIA kernel module".So now I'm back to square one, I had to restart in the lower graphics mode or whatever it's called prior to logging in.When I go to System - Admin - Hardware Drivers, nothing shows up and it says no proprietary drivers are in use on this system.

When I try to change the resolution under System - Preferences - Monitors (since everything is so big) I get "It appears that your graphics driver does not support the necessary extensions to use this tool. Do you want to use your graphics driver vendor's tool instead?" I select "Yes" and I get "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."I'm a total loss here, I'm assuming something from the update package has caused everything to go haywire and I'm hoping that if/when I get this fixed I don't have to keep doing this fix every time I use the Update Manager.I'm still fairly new to this whole Ubuntu thing, so any step-by-step instructions would be appreciated

View 6 Replies View Related

Fedora :: Updated Kernel / Now Nvidia.ko Module Doesn't Load

Feb 26, 2010

I think I know quite well what my problem is. However, I'm still too much of a newbie to know how to solve it.My problem: I no longer get a login screen on my server after I ran a yum update which updated my kernel (thank god, vnc server still works).Cause: During startup Fedora complains that it can't load the module nvidia.ko. Reason: The module doesn't match the current kernel.

View 5 Replies View Related

Fedora Installation :: How And When To Load Kernel Module In Boot Up Process?

Jul 19, 2010

For a diskfull node (the OS installed in a disk), I can use the 'insmod' command to insert a kernel module into the kernel. And after the reboot, the module is still in the kernel. I have a question here: how, when and which kernel module will be loaded in the boot up process for a diskfull node?And for the diskless node, can I use the chroot or some other ways to install the kernel modules into ramdisk, so that kernel module can work when the diskless node boot up? I think it needs certain mechanism to load the kernel like the boot up of diskfull node.

View 8 Replies View Related

Ubuntu :: ERROR: Unable To Load The Kernel Module Nvidia.ko

May 16, 2010

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]...

View 5 Replies View Related

Ubuntu Multimedia :: Module Nvidia Failed To Load With Kernel 2.6.32-33

Jun 7, 2011

I am using Ubuntu 10.04 LTS.With the last update, I have installed the kernel 2.6.32-33.And I have the message "module nvidia failed to load" in Xorg.log.0 My "current" nvidia module is 195. I have tried without success to reinstall nvidia. What I must do ? Wait for a new update of nvidia ?

View 3 Replies View Related

Ubuntu Multimedia :: Failed To Load Nvidia Kernel Module In Lucid

Oct 15, 2010

I am running my PC on Lucid. It has been working fine, but suddenly the other day I got an error message when booting, saying that Nvidia kernel module failed to load. I had to boot in low graphics mode. The only thing i can think of that had changed is that I had recently upgraded to latest Linux kernel 2.6.36-25.I have tried carefully following tips on numerous threads on this forum and others, but still no go. I have purged nvidia drivers and reinstalled nvidia-current (also tried nvidia-glx-185). However, when I then do <sudo modprobe nvidia>, I get this message:

WARNING: All config files need .conf: /etc/modprobe.d/lrm-vide, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/bad_list, it will be ignored in a future release.

[code]....

When I go to System>Administration>Hardware Divers, it shows Nvidia-current as present but not currently activated.I have blacklisted vga16fb and nouveau in blacklist.conf, done <sudo nvidia-xconfig> etc.I am at a loss as what to do next, and am still new enough to Linux to not be in a position to fiddle to try fix it myself.

View 1 Replies View Related

Debian :: How To Start Jessie Without Auto Load X Wind

Jul 25, 2014

I have just did a fresh install debian jessie today in virtualbox, the X window manager is fxce. By default the default runlevel is 5, and I tried to change the /etc/inittab content:

Code: Select allid:3:initdefault:

and reboot, but it didn't effect to the result, the X-window auto loaded again >.<

I need to change it that will boot in to console mode first, and can run startx if necessary, how can I change it permanently?

View 7 Replies View Related

Debian Installation :: Jessie 8.3.0 Installer Fails To Load Software

Mar 10, 2016

I am trying to clean install Jessie 8.3.0 onto an old PC, where I already have wheezy 7.7 working. I am using the 3 DVD- i386, which passed the integrity check.

Installation goes on smoothly till completing the "Select and Install SW" stage from 1st and 2nd DVD. At this point I get the warning that "Installation step failed, ..", giving the choice to repeat.

When repeated, the process gets completed (without asking for 2nd DVD), the new installation boots normally, but the KDE desktop opens irregularly, with some basic applications missing, and some flaws during certain operations.

The APT does not show any missing/broken link. I tried and repeat the installation with different choices as for kernels and/or desktops, but got the same result. I cannot guess where the problem originates, nor whether it is a known bug of the installer.

View 6 Replies View Related

Debian Hardware :: Jessie - Broadcom BCM57810 Fails To Load

Nov 4, 2015

My server has 4 1Gb eth interfaces, and an additional Broadcom dual 10Gb card. It runs Debian Jessie.Problem is, that the card fails to load, although it is identified, and its drivers is installed.I tried to update the driver with apt-get install firmware-bnx2x, but it was already up to date.

Code: Select allroot@pxe-server:~# lspci |grep -i broadcom
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
03:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
03:00.2 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
03:00.3 Ethernet controller: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10)
07:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10)

[code]....

View 1 Replies View Related

Debian :: Nvidia Module Sometimes Won't Load

Jul 25, 2010

I'm fairly new to Debian, but during the past I've used Mandrake, Slackware and Ubuntu. Few months ago I've migrated from Ubuntu to Debian - I like it a lot but there is one thing which keeps bugging me.Sometimes - one of the few boots - nvidia module won't load and GDM won't start. During the "bad" boot system freezes for a while after the message "PME# disabled" and gives the message about nvidia GPU not supported. Because of that GDM fails to start.Below are the boot logs (without the leading time for easy diff comparison) - the "bad log" when nvidia fails to load and the "good log" when everything is OK. Any help?

View 14 Replies View Related

CentOS 5 :: Create New RAM Image File To Get Server Load Raid1 Module Upon Start - Mkinited Error No Kernel Available For 'inited-2.6.18-128.el5"

Nov 12, 2009

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"

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved