Moving on from where we left off last time, this article isn't so much the next in the series as much as it's just tidying up some random loose ends. And so, to business.
I'm trying to find the kernel address space where my loadable kernel module is relocated by insmod.
I came to know that by using the -m, -O switches while insmod'ing the module, we can only see the symbol table and the executable's sections' addresses from the view-point of the module and not their relocated addresses, as that process of relocation is carried out when we do an insmod.
Can anyone
I've built a kernel with loadable module support for various reasons, one of them the possibility to compile modules and load them without rebooting. This is supposed to be useful when I need a module that I had not enabled in the kernel config.
Now, with drivers like nouveau, it's as easy as going to the source directory, and running make M=drivers/gpu/drm/nouveau.
I want to add a particular new system call in the linux kernel 3.2.x but as a loadable kernel module.(as i don't want to recompile the kernel again and again)
I read through many posts on internet and also on SO, and got an impression that implementing System calls as a loadable module is not possible and some places it is said to be possible.
I am really confused now.
I have tried install drivers of Ati ,9.10 and 9.11 always same result black screen, i think problem is information on installation system is on glibc 2.1 but, I have tested and glibc 2.3 and 2.2 are installed, for that the result is :
Unloading radeon module...
Unloading drm module...
[Message] Kernel Module : Trying to install a precompiled kernel module.
I've attempted to install drivers for an FPGA device, but require that I remove the usbserial module. This happens to be impossible because usbserial is a built-in module. It was suggested that I compile a new kernel to make usbserial dynamically loadable and unloadable.
I'm now trying to compile a custom kernel w/ Fedora.
I'm trying to rebuild an arm kernel rpm and add a patch for a new kernel module following the instructions on the wiki. When I get to "rpmbuild -bp --target=armv7hl kernel.spec" rpmbuild starts compaining that my kernel module is not set in .newoptions for archs that I don't want like armv5tel-kirkwood, etc.
While upgrading a server from kernel 3.2.9 to kernel 3.5 I had a problem with the network (ifconfig eth0 up won't work) so I updated the system to get a newer userspace, but in the process something seemed to go wrong with modprobe, so the HID kernel module didn't come up, although I know it is compiled and ready to be used.
Since I can't log in through SSH and only USB keyboards can be used I go
My last kernel development was in version 2.6~
Now I try to compile a module, and I get the following error when compiling outside the kernel tree.
/bin/sh: 1: /home/blabla/workspace/kernel35/linux-3.5/scripts/recordmcount: not found
The object file is created properly, however the problem is within the kernel Makefile itself, something has changed and I wasn't updated ?
I'm using vanilla kern