06-24-2019
If you are just getting into this, I gently suggest you build a static kernel first and after you successfully build and deploy a static kernel you can move to dynamic.
People who learn to walk and crawl before they run generally make better and stronger runners
10 More Discussions You Might Find Interesting
1. SuSE
I'm using SuSE 9.2 Pro and trying to use a program call BestCrypt. I get it installed and type bctool and it says "Kernel modules not loaded". If you need to know anymore about it you can find it at http://www.jetico.com/linux/bcrypt-help/index.htm
linux:/home/chris/Desktop/Xtheater-0.9.2 #... (6 Replies)
Discussion started by: CTroxtell21
6 Replies
2. HP-UX
Hi all,
what do kernel modules libaudit, klog and strlog do?
Specifically I want to determine if it was possible for us to determine if kernel level auditing is enabled at all?
regards (0 Replies)
Discussion started by: slash_blog
0 Replies
3. Solaris
:rolleyes:make cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION="2.121\" -DXS_VERSION=\"2.121\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE Dumper.c make: cc: Command not found make: *** Error 127
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8... (0 Replies)
Discussion started by: priyophan
0 Replies
4. UNIX for Advanced & Expert Users
I installed in VM the Mandriva Linux with 2.6.27 kernel.
But presently when I fire make the modules .ko does not get built.
I get the following output on firing command in the kernel module folder.
$ make
Building first_driver.c ... make: Entering directory... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
5. Programming
I am aware of debugging linux applications using gdb and ddd.
Now I have written a simple kernel module having init_module, exit _module and some functions for tasklets and workqueues.
I want to debug these kernel modules like I used to debug applications setting breakpoints etc.
How can I debug... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
6. Emergency UNIX and Linux Support
Hi,
I need to set qlogic qla2xxx parameters in /etc/modprobe.conf
(Oracle Linux Server release 5.7, almost equal to RedHat 5.7)
two questions:
how can I pass this parameters to the module while it is loaded (fibre channel luns are in use), if possible at all
and how can I check the... (3 Replies)
Discussion started by: funksen
3 Replies
7. Web Development
Hi,
I am working on Linux Platform. I am just trying to port a CPP module to apache as a module. When I try to build the Apache , it throws an error as follows
libtool: unrecognized option `-DLINUX=2' Later I did some search and changed the config_vars.mk file under the "build" directory of... (0 Replies)
Discussion started by: ashabb
0 Replies
8. UNIX for Dummies Questions & Answers
This query is regarding the makefiles of linux kernel modules.
I saw at some sites on net it is suggesting to include the following path:
KERNEL_SOURCE := /usr/src/linux...
while at some places it is askibg to include /lib/modules path:
KERNEL_SOURCE := /lib/modules/2.6.27-7-generic/build... (0 Replies)
Discussion started by: rupeshkp728
0 Replies
9. Hardware
Hey everyone. I have a question, doing an lsmod gives me a list of all the loaded modules for my system. But how did they know to load? my /etc/modules files is empty, so how did these modules know to load themselves on boot time? If I were to take this hard drive to another computer with a... (6 Replies)
Discussion started by: Lost in Cyberia
6 Replies
10. Linux
Hi,
I am running CentOS 6.5 and I want to remove auto loading 8021q and garp modules, but there are no configure files in /etc/modprobe.d define bot modules.
I even added both module names to /etc/modprobe.d/blacklist.conf, both of them are still loaded after the reboot. How can I disable... (2 Replies)
Discussion started by: hce
2 Replies
kreg(8) System Manager's Manual kreg(8)
NAME
kreg - Maintains the system file that registers kernel layered products
SYNOPSIS
/sbin/kreg -d subset [-c NAME] | -l vendor subset path [-c NAME]
OPTIONS
Causes the specified layered product to be loaded or deleted from the NAME.list file for the given name in addition to the
/usr/sys/conf/.product.list file. Note that the NAME parameter is case sensitive and must exactly match the NAME prefix for the desired
NAME.list file. Deletes the entry for the specified layered product when you remove it from the system. Loads the data that controls how
to include the layered product in the kernel build process.
DESCRIPTION
The kreg command maintains the /usr/sys/conf/.product.list system file, which registers static kernel layered products. The kreg command
creates the file if it does not exist. The file enables system utilities or user supplied commands to locate the kernel parts of a layered
product, and it provides information about layered products.
The kernel tools use the /usr/sys/conf/.product.list file to build a layered product into the kernel. You can use the file to register a
static kernel layered product that has been loaded into the system. The file also can be used by the layered product's Software Control
Program (SCP), which is called by the setld command.
You copy the /usr/sys/conf/.product.list file into the file that is used to extend the kernel configuration files and that has the follow-
ing syntax: /usr/sys/conf/NAME.list
The NAME variable specifies the system name that also is used in the system configuration file that has the following syntax:
/usr/sys/conf/NAME
The doconfig command also will copy the /usr/sys/conf/.product.list file.
You can use the -c option to load or delete your layered product into a specific NAME.list file as well as the file. This is useful if you
want to load your layered product into a specific NAME.list file without requiring the user to either copy the entire file to the NAME.list
file or to manually edit the NAME.list file.
The kreg command must be invoked from the root (/) directory. The command can be used only for subsets that are loaded by using the setld
command. Also, you must be superuser to use the kreg command.
FILES
Contains kernel layered product information. Used to extend the kernel configuration files.
SEE ALSO
Commands: doconfig(8), setld(8)
System Administration
kreg(8)