Debian :: How To Reset Kernel Modules Load To Default
Aug 21, 2010trying to install the wi-fi drivers for RaLink rt3090. How can I reset the kernel modules to default so I can try again?
View 3 Repliestrying to install the wi-fi drivers for RaLink rt3090. How can I reset the kernel modules to default so I can try again?
View 3 RepliesAfter 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.
I have this kind of error:
Code: Select allr@prime:~$ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Чтв 2015-08-20 08:07:38 EEST; 13min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 150 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
[Code] .....
I was wondering how can I determine among the modules loaded at boot which of them are really necessary and which are not, in order to reduce the boot process time and have a more "elegant" system start.
I know this theme is a little bit of complicated because it depends of the user's point of view and demand a high knowledge of which things are happening in your system but I need somewhere to start improving the performance of my debian system.
How do I get modules in the Kernel to load automatically at boottime? I''m specifically trying to get i810fb to load during the boot process. In Ubuntu, I just had to edit a file and update my initramfs. How do I do this in Fedora?
View 5 Replies View RelatedI want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"
I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2
This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:
[Code]....
I was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
[code]...
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37.1-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
I can choose which kernel I want to boot by default, instead of having to hold the shift key down every time I want to choose the kernel I want to boot into. I am running multiple kernels.
View 1 Replies View RelatedTonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
i want to do is dual boot windows, Slackware, and Debian. I don't care if i use lilo or grub, they are both equally familiar to me, just above nort. i have made attempts at editing the lilo.conf file, which said it had warnings but i didn't know how to view the warnings. It made it so i could select it, but when i did it booted the slack kernel with debian with no modules. get slack, debian and windows all running on my machine the way they're intended?
View 5 Replies View Relatedis there a common reason why modules get mismatched with the running kernel version?why do I always get that uneasy feeling like I'm headed in the wrong direction?
View 4 Replies View Related0 down vote favorite
share [fb] share [tw]
This is the problem I run lspci -v which checks all drivers on my system and more. It says kernel driver in use is nouveau. Then under that it says kernel modules: nvidia recent, nvidia-96, nouveau, nvidiafb. So what it looks like I have 3-4 drivers for my video card loaded and one, nouveau, being used. I think they conflict with each other.
I'm trying to add drivers other then nouveau, because the mouse freezes with it. At this point I can't seem to get rid of nouveau, I go to terminal and type:
sudo apt-get --purge remove xserver-xorg-video-nouveau
And it says that it's not loaded so I can't dump it. lspci-v says nouveau is the driver being used and trying to dump it. It says it isn't installed. I'm confused. I want to dump nouveau, what should I do? I also go into Synaptic package manager and it isn't listed as being installed.
I installed openSUSE 11.2 on virtualbox. My host is windows 7. I tried to install the guest additions, but i get an error saying
Code:
Building VirtualBox Guest Additions Kernel Modules...Failed
(Your system does not seem to be set up to build kernel modules)
How should i go about to let my system build kernel modules?
my error when trying to run a VB (Virtualbox). Error as copied from error box. install the virtualbox-ose-modules package for your kernel and execute 'modprobe vboxdrv' as root. VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
[code]...
I get this when trying to launch a VB after making one with wizzard.
I have rtl8187se linux driver, during installation in debian linux it tells that "the kernel is not a generic". How can i install this driver in default debian kernel (without generic)?
View 1 Replies View RelatedI recently started having this odd behaviour while using and loading cpufrequtils on boot, I don't know if it is happening to someone else.During boot I'm getting( when /etc/init.d/cpufrequtils invokes /etc/init.d/loadcpufreq to load the proper module):
Loading cpufreq kernel modules...FATAL: Error inserting speedstep_centrino (/lib/modules/3.0.0-1-amd64/kernel/drivers/cpufreq/speedstep-centrino.ko): No such device
FATAL: Error inserting pcc_cpufreq (/lib/modules/3.0.0-1-amd64/kernel/drivers/cpufreq/pcc-cpufreq.ko): No such device
[code]....
i try update new kernel and got this error when i try to actived tun/tap
Quote:
-bash-3.2# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-164.15.1.el5.028stab068.9PAE/modules.dep: No such
[code]....
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.
Yet another problem I have. Suse is taking a while to learn but I swear I'm getting there. Can pritty much do everything by CLI now. I'm trying to run VMware Workstation 6.5 on OpenSuse 11.2, Gnome. I had it running fine but then needed to do a system re-install and upon installation this time I get a error saying it's is Unable To Build Kernel Module and reffers me to a error log. The error log says:
Code:
Mar 14 22:07:51.420: app| Log for VMware Workstation pid=6136 version=6.5.0 build=build-118166 option=Release
[code]....
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.
I compiled a 2 custom kernels so far (many custom kernels just 2 that I have used) however, both of the kernels display an error message about EXT3-Fs and unable to load custom options even though all my partitions are ext4.
I have looked around and the only reason I find for those are that the file systems are corrupt beyond repair,However the problems always ments EXT3-fs is a ext3 file system problem and EXT4-fs is a ext4 file system poblem. Why is mine saying EXT3 and some times EXT2 when im using EXT4?
Custom Kernels
Debian 2.6.26.Something with RT patch
Debian 2.6.33 with Rt patch
Af few isssues arised after nessisary kernel upgrad to 2.6.32 bpo.5-686 to allow new wireless card to work. Synaptic will not allow the 5 install CD's to load when I do "reload" It reports
[Code]....
So far I've tried to add a number to 'GRUB_DEFAULT=', but it wouldn't want to boot in anything other than Debian or Windows, same with StartUp-Manager...
I currently have the liquorix kernels installed, but I can't get to use them as the standard Debian kernel is always picked. So is there any way to change this behaviour?
I recently installed Squeeze. I noticed there are 2 main kernels installed. One first one at the top is 2.6.32-trunk-686 and the other is 2.6.32-3-686. At the time, I did not know or think much about it. Now when I try to get linux headers to compile drivers, I am not finding them. I also read some problems with trunk kernels.
How can I assign the 2.6.32-3-686 kernel to be the default in grub? Is it OK to use it as the main kernel?
Do I need to upgrade the trunk kernel to rid of trunk or just don't use it?
I updated alsa to the latest 1.0.22, however now the alsa modules refuse to load! When I do
Code:
rcalsasound restart
I get:
Starting sound driver: hda-intelWARNING: Error inserting snd_timer (/lib/modules/2.6.31.5-0.1-desktop/updates/alsa/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.31.5-0.1-desktop/updates/alsa/acore/snd-pcm.ko): Invalid module format
[code]....
My audio codec is IDT 92HD81B1C5 and the problem is I can't get the mic to work properly with the stock alsa.
I've been playing with some intel server board and they provide a type of fakeraid which is called Embedded Server Raid Technology 2. Since Intel officially support RHEL and SLES on their servers, they provide drivers/modules for this fake raid (which supports raid 0, 1, 5 and 10). I have installed RHEL before on these severs and redhat's installer has the ability to load additional modules (via a boot command linux dd).
While intel doesn't provide the modules for other operating systems, they provide a library where people can build their own module for their kernel. I managed to build this module called 'megasr' (for now I've built it for kernel 2.6.32-24-generic which is my testbed at the moment but I would eventually build it for box i386 and amd64 for both server and desktop versions) and load it on a system which is installed on a single drive.
We are able to load it successfully and see the raid 5 as a single volume and access it (partition, format and copy data to it) and all its functions (work in degraded mode, rebuild, etc) work fine but my main goal is to actually install such volume as my main boot volume (similar to how its possible with RHEL or SLES). Is this possible? Load additional modules during the installation that will be present after the installation is finished?
My apache and wordpress were running fine till this morning. I ran updates via webmin,though I wasn't sure what those updates were for.
Then when I tried to access mysite.com, index.php downloads instead of opening.
I tried some troubleshooting and followed a form where it was advised to enable mod php5, so I did a2enmod php5 and tried to restart apache. Since I get this error Cannot load /usr/lib/apache2/modules/libphp5.so into server.
Code...
The problem is to get sound out of my PC. I've executed alsaconf few times and every time it generates following errors to /var/log/messages code...
Tried to get my VDR working again, but the dvb modules refuse to load code...
View 7 Replies View Related