Loading Kernel module at boot


 
Thread Tools Search this Thread
Operating Systems Solaris Loading Kernel module at boot
# 1  
Old 07-23-2010
Loading Kernel module at boot

Is there any link/tutorial on loading Solaris kernel modules at boot time??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Nvidia Module Not Loading (Desktop Gone)

Well, I followed the steps in the Debian wiki here to install the drivers for the following video card: $ lspci | grep VGA 03:00.0 VGA compatible controller: NVIDIA Corporation GF104 (rev a1)I confirmed the correct driver is installed. As you probably see I've tried this a few times and a few... (1 Reply)
Discussion started by: Azrael
1 Replies

2. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

3. UNIX for Advanced & Expert Users

Problem loading cpufreq module

I'd like to install cpufreq modules on my server . I tried sudo modprobe acpi-cpufreq but got the error FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device cat /proc/cpuinfo gives this ... (11 Replies)
Discussion started by: vishwamitra
11 Replies

4. SCO

stage 1 boot failure: error loading hd (40)/boot

hi SCO Unix 5.0.6 doesn't boot due to this problem: not a directory boot not found cannot open stage 1 boot failure: error loading hd (40)/boot Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies

5. Shell Programming and Scripting

Perl - Error loading module.

Hi, I have a strange issue in my script. When script is run from command prompt it runs fine,but when run from cron it exist with error message. I narrowed down the issue and found that " use Mail::Sender;" is the culprit. If I comment the statment the code runs fine in both command and... (9 Replies)
Discussion started by: coolbhai
9 Replies

6. Linux

problem with kernel module loading

Hi masters, I am new to linux and unix forum and this is my first forum. So please excuse if I am not giving sufficient information. I will give them on request. I have created a bandwidth manager module. I am using a 2.6.9 kernel and in Red Hat 3.4.3 distribution. But when i run make... (1 Reply)
Discussion started by: iamjayanth
1 Replies

7. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

8. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies

9. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

10. Programming

Dynamically loading a module

Hi there: Thanks for clicking in first. I have a question here. I have a module that needs to be dynamically loaded when another piece of code needs it at runtime. I know that I will have to make a soname file before I can use it dynamically. My question is what commad I should use to make... (2 Replies)
Discussion started by: yanhu
2 Replies
Login or Register to Ask a Question
KLDLOAD(8)						    BSD System Manager's Manual 						KLDLOAD(8)

NAME
kldload -- load a file into the kernel SYNOPSIS
kldload [-nqv] file ... DESCRIPTION
The kldload utility loads file.ko into the kernel using the kernel linker. Note that if multiple modules are specified then an attempt will be made to load them all, even if some fail. The .ko extension name is not mandatory when loading a given module using kldload. It does not hurt to specify it though. If a bare filename is requested it will only be loaded if it is found within the module path as defined by the sysctl kern.module_path. To load a module from the current directory it must be specified as a full or relative path. The kldload utility will warn if a module is requested as a bare filename and is present in the current directory. The following options are available: -n Do not try to load module if already loaded. -v Be more verbose. -q Silence any extraneous warnings. NOTES
The kernel security level settings may prevent a module from being loaded or unloaded by giving Operation not permitted. FILES
/boot/kernel directory containing loadable modules. Modules must have an extension of .ko. EXIT STATUS
The kldload utility exits 0 on success, and >0 if an error occurs. EXAMPLES
To load by module name: > kldload foo To load by file name within the module path: > kldload foo.ko To load by relative path: > kldload ./foo.ko To load by full path: > kldload /boot/kernel/foo.ko AUTOMATICALLY LOADING MODULES
Some modules (pf, ipfw, ipf, etc.) may be automatically loaded at boot time when the corresponding rc.conf(5) statement is used. Modules may also be auto-loaded through their addition to loader.conf(5). SEE ALSO
kldload(2), loader.conf(5), rc.conf(5), security(7), kldconfig(8), kldstat(8), kldunload(8) HISTORY
The kldload utility first appeared in FreeBSD 3.0, replacing the lkm interface. AUTHORS
Doug Rabson <dfr@FreeBSD.org> BSD
March 18, 2012 BSD