Loading Drivers With Parameters; Using Uname; F.6 Using Uname - Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual

Table of Contents

Advertisement

Compiling the Module
To manually compile the module:
1 Install the source.
Follow the manufacturer's instructions to install the source.
Normally, the module source is in a directory under
come in the form of a gzipped tar file (
(
.bz2
2 To compile the source:
2a Change directories to the source.
2b If you
3 When you have your module compiled for ZENworks, take the generated
(make sure you select the proper module name and not a work
the
driver update method
F.5.3 Loading Drivers with Parameters
If there is a module that you want to load during the linuxrc processing time, and if linuxrc does not
recognize that it needs to be loaded or you want to specify the load parameters, you can enter a line
in the
linuxrc.config
You might need to load a LAN driver module with specific parameters. You can do this with a line
like:
insmod="moduleName parm=xxx"
This type of line is most commonly used to load a LAN driver with specific parameters, such as full
duplex or specific speed.

F.6 Using Uname

The
uname
However, you might need to modify the results from the
versions to match.
The following steps modify the
1 To obtain your current kernel version, enter:
uname -r
Write down the version number so you can use it in
15-smp from a SLES 9 SP2 installation.
2 To create a new directory, enter:
mkdir /bin/orig
3 To move the
mv /bin/uname /bin/orig/uname
4 Use a Linux editor (such as vi) to create the
658 Novell ZENworks 7.3 Linux Management Administration Guide
).
modified
to change to the proper kernel version, issue a
uname
or
placing it in the
or
file. This file then needs to be updated in the
/info
command enables you to find the current kernel version of your Linux environment.
uname
binary to the
uname
/usr/src
or
). The file might also be a bzipped file
.tar.gz
.tgz
file
system.
initrd
uname
command to provide the value you need:
Step
4. This example uses version 2.6.13-
directory that you just created, enter:
/bin/orig
file that contains the following lines:
/bin/uname
. Module source files usually
command.
make
module file
.ko
file) and install it by using
.ko
file system.
initrd
command to get your kernel

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents