Did you build your new kernel starting with the same options your original kernel was built with? They may be available in /proc/config.gz. They may also be stored under /boot somewhere, as config-kernelname. Kernel settings can drastically alter the way the kernel works so, if you don't build the kernel with the right options, the module won't match the kernel, and the kernel will rightly refuse to load it.
Hi
I'm trying to change the configuration of the adapter, especially values revelant with Tx and Rx. Following appropiate manual i tried insmod command , but as a result i've got:
insmod: a module named e1000 already exists
Does anyone know the solution? (0 Replies)
I'm using Linux-2.6.14. My application is having one kernel module of large size(approx 8MB), insmoding of that kernel module is taking pretty much time(approx 8Mins). Is there a way to reduce the insmod time? I tried even by modprobe also. (0 Replies)
Hi Everyone,
I am relatively new to Linux. After about three months of trying to compile a driver for a ESDCAN card, I finally found a version and kernel that worked. I am running Slackware V12.0 with kernel version 2.6.24.5-smp. When I use insmod to insert the driver file (esdcan-pci331.ko),... (1 Reply)
Hello everybody:
I have a trouble running an application which connects to an Oracle server, I got this message:
Dependent module /opt/oracle/product/10.2/lib/libclntsh.so could not be loaded.
The module has an invalid magic number.
Running ldd MyApp doesn't report missing symbols, I've... (1 Reply)
I have Apache v2.0.63 on Solaris 10 (x86 on VM). While starting the apache server, facing the following exception -
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Googling says to add the entry LoadModule authz_host_module... (0 Replies)
When I try to insert a simple kernel module I get the following error
> insmod: error inserting 'test.ko': -1 Invalid module format
> in dmesg I see:
disagrees about version of symbol module_layout
I have following kernel which I downloaded using apt-get:
uname -r
2.6.32-24-generic
... (0 Replies)
Hi Folks,
I have written a perl script that reads data from excel sheet(.xls) using Spreadsheet::ParseExcel module. But the problem is this module doesn't work for excel sheets with extension .xlsx.
I have gone through Spreadsheet::XLSX module with which we can read from .xlsx file directly.... (1 Reply)
Hello Folks,
Monitor took a crap on me so I bought a new flat screen. Im running Ubuntu 12 recieving an invalid format after the GUI login screen. How do I go about trying to change the resolution. FYI old monitor blew smoke so reconnecting it is not an option. From I understand their is no... (3 Replies)
Hello :
I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it... (1 Reply)
Discussion started by: 915086731
1 Replies
LEARN ABOUT HPUX
mk_kernel
mk_kernel(1M)mk_kernel(1M)NAME
mk_kernel - load a kernel configuration from a system file
SYNOPSIS
path_name] system_file]
DESCRIPTION
reads configuration information from the system file (see system(4)) and applies those changes to a kernel configuration (see kconfig(5)).
performs a function similar to that of but has some semantic differences in order to preserve compatibility with previous releases. will
build a new kernel executable only if needed to effect the requested changes. may reuse existing kernel executables when possible.
Options
recognizes the following options.
Specify the target kernel path.
If the target kernel path specified is changes are applied to the currently running kernel configuration. They will take effect
immediately if possible; otherwise, they will take effect at next boot.
If the target kernel path specified is of the form changes are applied to the saved kernel configuration named config. The
changes will not take effect at next boot unless that saved kernel configuration was already marked for use at next boot.
If the target kernel name is a single word containing no slashes, that name is used as the name of a saved kernel configuration.
The changes are applied to that saved kernel configuration. The changes will not take effect at next boot unless that saved ker-
nel configuration was already marked for use at next boot.
If the target kernel path is not one of the forms specified above, then exits with an error. Other locations for kernel exe-
cutable files are no longer supported.
If the option is not specified, the changes are applied to the kernel configuration called The changes will not take effect at
next boot unless that kernel configuration was already marked for use at next boot.
Specify the HP-UX system description file.
If this option is not specified, the system file is used. For details see system(4).
Verbose mode. (Has no effect; retained for backward compatibility.)
RETURN VALUE
returns 0 upon normal completion; it returns 1 if an error occurred.
DIAGNOSTICS
Messages and warnings are sent to Messages from and other commands are displayed when invoked from Errors cause to halt immediately; warn-
ings allow the program to continue.
EXAMPLES
Uses the default HP-UX system description file
The changes are applied to the currently running kernel configuration, marked to take effect at next boot.
Uses the system description file
Uses the system description file
The changes are applied to the saved kernel configuration called
WARNINGS
Do not manually modify the contents of the kernel configuration directories.
FILES
Default HP-UX system description file
SEE ALSO kconfig(1M), system(4), kconfig(5).
mk_kernel(1M)