Adding new network module to kernel: FATAL: ... Invalid argument
location: ubuntuforums.com - date: April 17, 2013
I am trying to compile and install the UMTS network module (http://lagarcavilla.org/software/rrc.html) for my Ubuntu 10.04 (kernel 126.96.36.199) box but I am having issues when I try to load the load the (modprobe sch_rrc) into the kernel.
The above UMTS network module was designed for kernel 2.6.18, so I had to report the sch_rrc.c patch file to be compatible with the current kernel I am using. I believe I successfully did this and managed to build a new kernel with the patches added.
The problem is that whenever I try to add the sch_rrc module i get the following error:
sudo modprobe -b sch_rrc
FATAL: Error inserting sch_rrc (/lib/modules/188.8.131.52-rrc/kernel/net/sched/sch_rrc.ko): Invalid argument
On checking dmesg, I simply get:
[11605.541430] rrc: version 0.1
like the module has been added, but it hasn't. It is not under lsmod.
I then tried adding the module by using insmod:
/lib/modules/184.108.40.206-rrc/kernel/net/sched$ sudo insmod sch_rrc.ko
insmod: error inserting 'sch_r
Adding new network card
location: ubuntuforums.com - date: December 4, 2011
I'm running 11.10 server edition and I decided to put in a new network card. I'm having some trouble with that so I'm hoping that you guys can give me a hand. I purchased the LAN card at this web address:
I downloaded the driver for it and tried installing it. I've copied and pasted the README from the driver below. I have completed all of the commands in bold but I can't get any further.
<Linux device driver for Realtek Ethernet controllers>
This is the Linux device driver released for RealTek RTL8169S/8110S, RTL8169SB/8110SB, and RTL8110SC.
- kernel source tree (supported Linux kernel 2.6.x/2.4.20 and latter)
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko(or r8169.o for linux kernel 2.4.x), is inst
Problem Adding New Network Interface Card
location: linuxquestions.com - date: September 4, 2015
I'm a newbie regarding Linux and networking, so I will really appreciate any help provided.
I have installed a second Network Interface Card in a computer. The computer runs CentOS 6.6 Minimal (so there is not GUI). I have configured it using the "system-config-network" command, and the new interface is up, but I can't access that inteface from my LAN (and vice versa). The other interface runs OK. I attach the ifconfig command result:
Problem with kismet "FATAL: channel get ioctl failed 22:Invalid argument"
- date: November 9, 2010
I installed kismet but i couldn't run it. Also google couldn't help me more. Here is my problem:
:~$ sudo kismet
Launching kismet_server: //usr/bin/kismet_server
Suid priv-dropping disabled. This may not be secure.
No specific sources given to be enabled, all will be enabled.
Non-RFMon VAPs will be destroyed on multi-vap interfaces (ie, madwifi-ng)
Enabling channel hopping.
Enabling channel splitting.
NOTICE: Disabling channel hopping, no enabled sources are able to change channel.
Source 0 (Intel): Enabling monitor mode for iwl3945 source interface wlan0 channel 6...
FATAL: channel get ioctl failed 22:Invalid argument
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11abg ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thrff Fragment thrff
* lshw -C network
Fails to build driver from kernel source Invalid module format
- date: March 10, 2014
I'm running Ubuntu 12.04 with kernel 3.2.0-59-generic.
I'm trying to build ixgbe 3.6.7 kernel driver from kernel sources as follows:
1) get the sources:
sudo apt-get source linux-image-$(uname -r)
2) untar and patch:
tar xvzf linux_3.2.0.orig.tar.gz
gzip -d linux_3.2.0-59.90.diff.gz
mv linux-3.2 linux-3.2.0
patch -p0 -i linux_3.2.0-59.90.diff.gz
3) prepare and build:
however, the kernel module fails loading and contain the wrong vermagic:
:~/source/temp3/linux-3.2.0# insmod drivers/net/ethernet/intel/ixgbe/ixgbe.ko
insmod: error inserting 'drivers/net/ethernet/intel/ixgbe/ixgbe.ko': -1 Invalid module format
:~/source/temp3/linux-3.2.0# modinfo drivers/net/ethernet/intel/ixgbe/ixgbe.ko | grep ver
description: Intel(R) 10 Gigabit PCI Express Network Driver
adding a simple module to linux kernel
location: ubuntuforums.com - date: May 20, 2012
I'm trying to upload a simple module to linux kernel.
I want to know where to put the makefile and the module file, in which directory.
I'm using linux version 3.0.0.
I have an example for makefile but it fits old version of linux :
KERNELDIR = /usr/src/linux-2.4.18-14custom
CFLAGS = -D__KERNEL__ -DMODULE –I$(KERNELDIR)/include –O -Wall
What should i change in this makefile (except fo the linux version) in order to compile the module it in the current linux version (3.0.0)?
My module is only printing a Hello string,nothing special.
error adding new module in ns2
location: linuxquestions.com - date: July 26, 2012
I'm not sure if i have to post this thread here or in the NS2 website, but i will post on both to see if am lucky to get some help.
i was trying to add a new routing protocol (rumor routing) . i modified the makefile and after that i tried to compile again. but am having an error message and am not quiet sure what its mean. the error is the one below
make: *** No rule to make target `rumor/rumor_packet.o', needed by `ns'. Stop
is the error with NS2 or Ubuntu?
Cross Compiling Linux Arm Kernel with new driver module
location: linuxexchange.com - date: January 21, 2014
I am trying to include a driver for use on my arch linux arm machine. I tried using these steps to include the driver module, but my cross-compiled kernel with the added driver doesn't load.
1) Include the driver I want to add by making it have < M > beside it's
name in make ARCH=arm menuconfig
2) run: make ARCH=arm CROSS_COMPILE=/home/z3/bin/arm- (the path for my cross-compiling toolchain)
3) run: make ARCH=arm CROSS_COMPILE=/home/z3/bin/arm- modules
4) run: make ARCH=arm CROSS_COMPILE=/home/z3/bin/arm- install
5) run: make ARCH=arm CROSS_COMPILE=/home/z3/bin/arm- modules_install
6) copy my uImage from: arch/arm/boot
to my boot location: /tftpboot/
Then when my embedded linux arm tries to load the kernel uImage, it hangs with:
EDIT: Changed the entry point address to 80008000, so now it hangs with:
Load address: 0x81800000
Adding new System Call to Linux Kernel 3.13 on 64 bit system
location: linuxexchange.com - date: April 6, 2015
I'm trying to add a simple helloworld System Call to kernel 3.13.0-37-generic on 64 bit system.
I'll try to show what I did so far step by step :
1- I've downloaded kernel source by :
sudo apt-get source linux-image-3.13.0-37-generic
After that, kernel source files extracted to /usr/src/
2- Define a new system call sys_hello() :
I've created a directory with hello name in the kernel source directory in /usr/src/linux-3.13/
And I created a hello.c file in hello directory with below content :
asmlinkage long sys_hello(void)
Then I created a Makefile in the hello directory with following content :
obj-y := hello.o
3- Add the hello directory to the kernelâ€™s Makefile
I changed following line in /usr/src/linux-3.13/Makefile:
core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ hello/
4- Add the new system call sys_h
Wordpress network admin builds wrong path when adding new blog
location: linuxexchange.com - date: December 30, 2013
I am running wordpress 3.2.2 on debian, which was installed via aptitude install wordpress. For some time, I used wordpress with a single blog, which worked fine. Then I "upgraded" to the new network of blogs feature via the wordpress dashboard. The semi-automatic procedure seemed to run fine and i made the suggested changes to /etc/wordpress/config-xxx.php, /etc/wordpress/htaccess, etc.
Now, if I create a new blog via the network administrator, even the building of a correct path to the new blog fails. If i add a blog named "test", the following URL is generated: hxxp://xxx.comwordpresstest/wp-admin/
Subsequently, all access to the new blog fails.
After some googeling and checking .htaccess I am stuck. Could anybody please give me some pointer in the right direction?
Page: 1 2 3 4 5 6 7 8 9 10