I have just compiled a new kernel. When I boot into this new kernel and do an lsmod it is only running two modules. The only thing I changed in the configuration file was to compile ext4 file system into the kernel. My computer is an HP Pavilion dv4. The two modules are lirc_ene0100 and lirc_dev. I am running Ubuntu 10.04. The new kernel is 2.6.32.15+drm33.5. The kernel seems to work fine but I need to know why and how it can only be running two modules.
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:
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'm trying to install VMWare server on my Kubuntu box and it's telling me there are 3 "kernel modules" that it needs me to remove (apparently they were installed previously and VMWare isn't liking that).How do I remove them? Never messed with the kernel modules before.
I recently updated the kernel from SLES 11 to SLES 11 SP1 .However my kernel modules are not getting loaded and they throw an error such as shown below:"Errornserting mii : Unknown symbol in module, or unknown parameter (see dmesg)"
It has been years since I have need to compile the kernel or its modules. Here goes: I recently upgraded to ubuntu 10.10 and needed the kernel source and its modules source. The relevant directories are in a mess. Several diff versions, broken links, the works. Is there a nice easy way, to remove all of the sources, there, and err "install" the ones for my latest kernel, in the correct places. Then I might have a chance at getting the two modules I need complied! Nvidia being one for the geforce 4 mx420 nv17
I'm trying to compile a kernel for my Crux Linux install. I figured I'd do a 'make defconfig' to setup a .config file with the default configuration and then try to add anything I will need for my specific system. I found a script that scans my system and prints out a list of any current modules I am using. That way I can make sure to add these to my new kernel. It looks something like this:
Is there a way to add these to my current configuration without having to go into 'make menuconfig' and search for each one? It's not too hard to search for many of them. But the ones with short names I'm not finding. Like ac.ko for example. 'ac.ko' returns 0 search results and 'ac' returns anything and everything with those 2 letters in it.
Since new kernel 3.0 update I cannot rebuild vmware modules
Quote:
sudo vmware-modconfig --console --install-all Unable to initialize kernel module configuration
how to do that. Where do I insert the "CONFIG_LOCALVERSION" line.
Quote:
Same here. This seems to be due to the kernel version being "3.0" instead of "3.0.0". Recompiling the Kernel (and all modules based on it, e.g. nvidia) with CONFIG_LOCALVERSION=".0-ARCH" allows me to compile the modules and run VMware.
what is happening on my Centos virtual server (ps I'm having a great time re-learning Linux after a large gap and usually try and find out myself but this has me confused) First thing I did was install Tomcat and try and change the port to 80 using iptables -nat and it complained a kernel module was missing. Instead setup Apache to redirect requests so that's now working I then tried to install CSF firewall and the validation perl script returned fatal errors so I assumed OK my virtual server Kernel is restricted and used denyhosts instead which is working great
Here's the confusion.. I later retried the csftest script and it now works including all the iptables and nat stuff that fataled before. I've not rebooted or changed anything except run denyhosts and the postgres daemon + ended a few daemons that I didn't need (eg pickup,tlsmgr,courier,postfix,qmgr,saslauthd) Running lsmod returns nothing and /proc/modules is zero bytes so I'm not able to tell what is loaded? I'm tempted to try and get Tomcat redirecting via iptables and see what happens but if it works I don't like that something seems to have changed.. before I ran it direct as root now I'm SU into root from another login
I 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've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.
Recently I downloaded the latest 2.6.33 kernel from kernel.org. I had earlier 2.6.29 kernel version installed through Fedora 11 Leonardos.I followed simple steps through url.html and it went fine.I could see new Kernel during grub.conf splash display during dual-boot option.But there are few doubts like as shown below:
though the process went fine....Is it fine with the last line?Though I can easily boot into New Kernel and can see everything there. why it says "No modules.."
Also, Just for information - "Why we compile kernel?Say I have two kernels now- 2.6.33 and 2.6.29. Whats the difference?
I am writing a kernel module which need to do something at some interval. Now this problem can be solved by using a user process, which will send signal to the kernel and the kernel would do accordingly. But it would be nice, i could do it within the kernel module itself. Is there any way to use SIGNALs inside the kernel module?
I am trying to write kernel modules. And am running Ubuntu 10.04 x64. I have downloaded both kernel source and headers. Unpacked kernel source and made a /usr/src/linux symbolic link pointing to the src. Here is the output of running make:
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?
The new kernel upgrade on Fedora 14 will not boot. lib/modules do not exist is the message. Grub was adjusted to match the old kernel, and the new kernel when booting says lib/modules do not exist. The old kernel has twice as many modules as the new kernel in lib/modules. How do I get the new modules to install so I can boot with the new kernel then? Should I reinstall the new kernel?
I am having some issues compiling kernel modules against the pre-built OpenSUSE kernel. Whenever I compile a module and try to load it, I get something like:
Code: insmod fs/smbfs/smbfs.ko insmod: error inserting 'fs/smbfs/smbfs.ko': -1 Invalid module format It doesn't actually matter what the module is, they all do the same thing. I have tried the above mentioned smbfs, I've also tried:vmware kernel module
I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:
sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage System.map "/boot"
I only have basic experience recompiling a Linux kernel, and I have a question about adding dynamic modules.In case I want to add a brand new module, do I need to recompile the kernel to include a reference to that new module, or is simply compiling a kernel with generic support of dynamic modules all it takes to add whatever modules I need later on, without recompiling the kernel and rebooting the host?
I need to debug "ls". I downloaded coreutils and compiled them in debug mode."ls" uses readdir() kernel API to fetch files/directories from a file system. readdir() fetch data from any file system (suppose FAT or ext3).I have debug version of FAT/ext3 and installed, I also have debug version of coreutils (ls) as well.Now I want to debug from "ls" to "FAT/ext3 readdir()".How to do that?
I upgrade my slackware to slackware-current. But, when I look /etc/rc.d/rc.modules, it's still symlink to old kernel. Is this normal? Or i must change the symlink manually?
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?
I upgraded to the latest -current just like always. I do the kernel packages last. This time, the machine failed to boot, telling me that it could not find the kernel modules. Well, rats.
I booted with a slackware dvd, passed the huge.s kernel, and booted into /dev/sda7, which is my main partition. I mounted /dev/sda7, and installed the kernel-modules-2.6.35.11 pkg. Rebooted, and got the same error?
I booted again with the dvd, mounted the partition, and navigated to /lib/modules - no 2.6.35.11 in there!
but i already do yum groupinstall "Development Tools" yum install kernel-devel commands.
I just reinstall my centos, and in the previous installation I used the virtual box without problems. that is giving wrong this time? (i had tried the .run installer and the rpm installer but all lead the same.)
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.
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.
The other day I installed VMware Player on the system when the Kernel was 2.6.38.8-32.fc15.x86_64. On running VMware player after installing the kernel-headers and gcc files the program ran fine (I did not try to install the VMware Tools). I also have not loaded the guess OS as yet.
toady I did and update in which the kernel was updated. I checked to ensure the Kernel-headers were also updated for the latest kernel.
After rebooting the machine the running kernel was then 2.6.40-4.fc15.x86_64. I then tried to start VMware Player. It indicated because the kernel was changed it needed to install new kernel modules, OK, It open the module screen and then crashed.
The log says it can not compile Vmmon which is the first module. it does not go any further.
Tried to installed a new copy of VMware Player over the old one but this only resulted in the same error messages.