Debian Configuration :: Modules Get Mismatched With The Running Kernel Version?
Sep 30, 2010
is 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
ADVERTISEMENT
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
Feb 10, 2011
I just installed Squeeze on a 4 disk system, each disk set up identically with 4 partitions, with the last partition of each disk used for a raid 5 array. I used the squeeze installer, and chose the 'manual' partition option for this setup.
After installation, fdisk reports the ending cylinder number of each of the 4 disks as one more than the total number of cylinders for the disk. I've never seen this before. In the past when I've used fdisk to manually partition disks, the final cylinder number was always equal to the total number of cylinders.
For example:
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000937dd
[Code]...
The disk has 60801 cylinders, and the 'End" cylinder number for /dev/sdd4 is reported as 60802. I would have expected it to be 60801. Is this a bug or problem? It's working OK, but I don't know if it will cause instability in the future.
View 1 Replies
View Related
Feb 10, 2010
kernel with which most version number may be compiled in Debian 5 stable without updating to testing? 2.6.32.8 can't compile, if not turn off virtualization, since Documentation/least/least.c
contains
#include <sys/eventfd.h>
which is present in libc6-dev from testing, but is absent in stable.To drivers compiling kernel used own linux/eventfd.h.
View 6 Replies
View Related
Mar 15, 2011
Laptop Amilo L1300, installed Debian Squeeze from netinstall from scratch a month ago. Installed Xfce as a DE afterwards.
This laptop usually has problem with: ACPI, Wifi and tons of other stuff usually Kernel related and is really picky about kernel version!
Now - with Lenny it worked without problems, but it had gnome and ext3 so I took a gamble and did a fresh install of Squeeze with Xfce with Ext4 filesystem and overall performance of the computer was faster and more responsive.
For wireless I have to use[url]
It all worked 100% until a week ago (roughly).
I do not use synaptic nor update manager, so I updated the system via terminal (as root of course) "apt-get update" and "apt-get upgrade". And I noticed it will upgrade kernel. I went through the upgrade process, as I thought it's all a 2.6.32-5-686 kernel version and it will not brake anything since it IS a stable branch of Debian and it will not install new kernel. Of course it did not install 2.6.34 or anything like that...
After the update I began experiencing problems, first with mouse pointer, it became invisible and goes back visible and resume from suspend, also wireless randomly disconnects and sometimes won't reconnect to wifi network, as I found out it's all kernel related problems (googled it up). I do not know how to go back to previous kernel version, since in Grub2 menu it only points to one and only kernel version, as I reckon it's the same version but with bugfixes? Or should I say buy UNfixes. I tried using a liquorix kernel 2.6.32 but as he works, has problem with ACPI as I presume since it freezes the system on random occasions.
Please, what EXACT version of kernel was in Squeeze like 3 weeks ago? And how can install that particular version of kernel, since it was the only one that worked besides the one from Lenny.
"uname -r" says: 2.6.32-5-686
That's what it always said.
Is it possible I had, dunno 2.6.32.28 and it was updated to, dunno, 2.6.32.29 or some later one?
I managed to google up this:[url]
And how can I go back to 2.6.32.28 kernel for instance?
Should I use some of the snapshots from [url]?
View 2 Replies
View Related
Aug 31, 2011
When a real kernel version is upgraded, like say 2.6.32 to 2.6.38, the old kernel is left intact and is ready to be used in case of a problem with a new one, but when only a debian patch version is updated, like 2.6.32-30 to 2.6.32-35, the old kernel is replaced with a new one. More then this, aptitude shows that older version is not in repository either, so how do you supposed to revert back? Well, i did found -30 in apt cache when i got hit by a nasty regression in -35 yesterday, but what if i had cleaned apt cache?
View 1 Replies
View Related
Jul 31, 2011
I 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]....
View 2 Replies
View Related
Sep 26, 2010
I have an x86 pc and installed lucid these are the details of my distribution version:
I am trying to build a kernel module i am getting the following error:
How to build kernel modules
View 3 Replies
View Related
Jan 11, 2011
I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:
ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at nvidia.com.
Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide.
This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source,
View 9 Replies
View Related
Nov 25, 2010
I have installed VMware (VMware-Player-3.0.1-227600.x86_64.bundle) on my laptop. When I open Vmware from Applications/System Tools/VMware Player.I get a window that says: VMware Kernel Module Updater Before you can run VMware, several modules must be compiled and loaded into the running kernel.When I click on install and after putting in my passwd.a window comes up with a list:
Compiling:
Virtual Machine Monitor
Virtual Network Device
VMware Blocking Filesystem
Virtual Machine Communication Interface
VMCI Sockets
But it just try the first one and show an error (window) that says.unable to build kernel module see log file /tmp/vmware-root/setup-9572.log for details.I cannot even go into the folder vmware-root because it says I do not have permissions even though am an administrator.
View 9 Replies
View Related
Jul 22, 2010
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]....
View 5 Replies
View Related
Mar 23, 2011
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?
View 5 Replies
View Related
Sep 16, 2010
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?
View 2 Replies
View Related
Aug 29, 2010
I have to load the ip_conntrack modules every time I reboot. How do I get the iptables modules to load automatically at boot. It seems they are supposed to auto load when they are needed but they are not doing that. I have to do modprobe on them. also does anyone know where I can download all the modules available for iptables? I looked on the netfiler site and did not learn much.
View 1 Replies
View Related
May 7, 2011
I have installed an images using debbootstrap command. The problem is there is no module in /lib/modules.For example I have installed lm-sensors but when I run sensors-detect, in the middle of detection I get these:FATAL: Could not load /lib/modules/2.6.32-24-server/modules.dep: No such file or directoryFailed to load module i2c-piix4
View 6 Replies
View Related
Jun 10, 2011
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 Related
Sep 17, 2015
i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error
Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/2.6.32-5-686/build'
i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.
View 2 Replies
View Related
Apr 14, 2011
My new laptop works out of the box except for the video and the ethernet. For this, I have to use a later kernel than the Debian kernel (debian squeeze is currently 2.6.32). Upgrading to the new kernel (without moving to the testing dist itself) was pretty easy. I just installed linux-image-2.6.38-2-amd64 and linux-base from the testing distribution by manually downloading and using dpkg. After that, ethernet and video started working.
However, my virtualbox installation no longer works because the drivers do not match the kernel. I am used to this; whenever debian upgrades the kernel on me, I have to run "/etc/init.d/vboxdrv setup". This rebuilds the drivers. This failed for me, however, because it could not find the headers. So, I installed some more packages:
linux-kbuild-2.6.38
linux-headers-2.6.38-2-common
linux-headers-2.6.38-2-amd64
Now, when I rebuild it, I get this:
# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
[code]....
View 14 Replies
View Related
Aug 21, 2010
trying 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 Replies
View Related
Mar 8, 2011
Sometimes a kernel image seems to have the same version as the backported kernel image, for example:
linux-image-2.6.32-bpo.5-amd64
linux-image-2.6.32-5-amd64
What are the differences between the two?
View 5 Replies
View Related
Jun 26, 2010
I'm running a Xen VDS from a hosting company.
I'm trying to update the kernel, because the one that is running is rather "old":
Code:
I try to update the kernel with yum, but fail :
Code:
No Packages marked for Update
Code:
No Packages marked for Update
Code:
So where to get a more up to date kernel?
View 11 Replies
View Related
Sep 15, 2015
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] .....
View 0 Replies
View Related
Jul 17, 2009
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.
View 3 Replies
View Related
Mar 10, 2011
0 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.
View 1 Replies
View Related
Sep 21, 2010
im running suse 11.3_x64 clean install along side with Win7 Pro _x64 had a big fight installing Vbox 3.2.8 PUEL edition but i need to test some VMWare products like 'VMWare vShpere (ESXi 4..0.1 - which i couldn't install in a vm in Vbox) ' before putting it in production enviroment in some of my clients. version: VMware-Workstation-Full-7.0.0-203739.x86_64 The installation of vmware was quite simple with no errors. the problem kicks in after the first reboot when i try to run it. before installing vmware i installed the following:
[Code]..
When i try to run vmware workstation the 1st error kicks in: Before you can run vmware, several modules must be compiled and loaded into the running kernel:
[Code]...
View 9 Replies
View Related
May 23, 2011
I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?
View 1 Replies
View Related
Jan 24, 2010
I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?
View 12 Replies
View Related
May 13, 2011
I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
View 1 Replies
View Related
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
Feb 10, 2010
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?
View 7 Replies
View Related