Sponsored Content
Full Discussion: Dynamically loading a module
Top Forums Programming Dynamically loading a module Post 49957 by yanhu on Wednesday 14th of April 2004 12:34:06 PM
Old 04-14-2004
Computer Could not thank you enough

Thanks Dirver...
 

10 More Discussions You Might Find Interesting

1. HP-UX

Loading shared Libraries dynamically

HI, I am dynamically loading shared libraries using shl_load(). There are multiple processes (50 or more) which loads the same shared library. Will Unix internally load only one copy of the shared library or it will load multiple copies. Can I have memory issues if this is done. Thanks,... (1 Reply)
Discussion started by: Debasisb2002
1 Replies

2. Shell Programming and Scripting

Function loading in a shell scripting like class loading in java

Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ... thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies

3. 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

4. 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

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. Solaris

Loading Kernel module at boot

Is there any link/tutorial on loading Solaris kernel modules at boot time?? (0 Replies)
Discussion started by: unisolin
0 Replies

7. 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

8. Red Hat

PAM module pam_passwdqc module

Hello friends Today i have changed my passwd policy for strong password Everything is working correctly but when i changed my password , it did not ask me my old password my /etc/pam.d/system-auth file is (only passwdqc.so module line) password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies

9. 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

10. UNIX for Dummies Questions & Answers

When loading Linux "loading please wait.." then nothing?

Hi everyone, I have a problem but I have never installed a separate OS before so my lingo and understanding may not be as good as some of you. I will try and explain my problem best I can. I am trying to instead of loading Windows 7 when my computer starts up, for it to start linux specifically... (2 Replies)
Discussion started by: markhow30
2 Replies
modload(2)							System Calls Manual							modload(2)

NAME
modload - load kernel modules on demand SYNOPSIS
DESCRIPTION
allows processes with appropriate privilege to demand-load a kernel module into the running kernel. The module must be of a supported type and must have been registered via kcmodule(1M) before it can be loaded. The module to be loaded is specified by pathname. pathname may be either a module name or an absolute path name. If pathname is a module name, a list of directories specified by modpath is searched for a match. If pathname is absolute, only pathname is used to access the object file. The file must be an ELF64 relocatable object file. Notes is currently implemented as a macro. Security Restrictions is restricted to superuser processes and privileged processes. A privileged process requires the privilege to execute the system call. See privileges(5), for more information about the privilege. RETURN VALUE
On successful completion, returns a module identifier that can be passed to or On failure it returns -1 and sets to identify the error. ERRORS
fails if one or more of the following are true: A component of pathname denies search permission. The file named by pathname does not exist. The module being loaded is not currently registered. The file named by pathname is not appropriately pre-configured or has invalid dependency on other modules. The caller is not a superuser process or a privileged process. A relocation error occurred during the attempt to load the module, or the module references symbols not defined in the running kernel, or the module references symbols in another loadable mod- ule but it did not declare its dependence on this module in its module metadata. pathname is more than characters long. The module wrapper has an incorrect version number. The Dynamically Loadable Kernel Module feature is not initialized. SEE ALSO
kcmodule(1M), modstat(2), moduload(2), privileges(5). modload(2)
All times are GMT -4. The time now is 08:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy