08-18-2010
Thx, under /etc/conf/cf.d there are a lot of drivers, but my questions is, howto find out which drivers were loaded succesfully.
for example, under freeBSD I can use kldstat.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to install a scientific program onto my mac and when i try and execute it this error comes up and i cant find any literature on the net to fix it...
dyld: Library not loaded: /usr/local/lib/libgfortran.2.dylib
Referenced from:... (4 Replies)
Discussion started by: olifu02
4 Replies
2. Shell Programming and Scripting
Hello
i have DB file load with this command
../SS-Tools/SSdbload -r 10 -il /export/specbackup_db/$b y
i should wait until the DB load completed then run the next command
$SPECROOT/bin/launchinstdbapp `/usr/bin/hostname` SS n VNM.OUT
how this can be done with shell scripting
NB:
i... (1 Reply)
Discussion started by: mogabr
1 Replies
3. Linux
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. Solaris
Hi
I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php.
My server is running xampp 0.9 and I know this library of mcrypt is already installed.
I changed the php.ini file in order to... (0 Replies)
Discussion started by: dahr
0 Replies
5. Solaris
Hi
When i m trying the boot the system with Primary HDD (c1t0d0s0) -- its solaris 10
I m getting an error "file just loaded does not appear to be executable".....So will anyone share the steps to recover from this stage
I also tried to build the corrupted superblock from below command but... (0 Replies)
Discussion started by: taruntan
0 Replies
6. UNIX for Advanced & Expert Users
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory.
(I know there is a way to do this with the ptrace interface but it is not an option.)
I know the only way to... (1 Reply)
Discussion started by: hopelessProgram
1 Replies
7. UNIX for Advanced & Expert Users
I am encountering the above error , even after setting the environment variables correctly AFAIK. I've found sources that say LIBPATH is the shared library variable , and others that say LIB_PATH, so I set both:
=========================
root@lipossrp01ga: # echo $gtm_dist ... (6 Replies)
Discussion started by: Clovis_Sangrail
6 Replies
8. Red Hat
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. BSD
Heyas
Since freebsd has set TERM to xterm when in terminal mode, i'm very curious what its value will be in GUI mode - seems its xterm (in x11/twm) as well.. how smart :eek: :(
So i've installed: awesome and xorg, but when calling awesome, it talks something about invalid display.
So i've... (1 Reply)
Discussion started by: sea
1 Replies
10. UNIX for Advanced & Expert Users
hi,
would like to know if anyone knows or could verify and give me an answer on when autosys does actually load the profile whether in Activated state or Running state.
Scenerio am trying to look for is
Lets say i have a profile variable DATE=Mar052015
Start jobA --> JobB depends on A -->... (0 Replies)
Discussion started by: veshwar
0 Replies
KLD(4) BSD Kernel Interfaces Manual KLD(4)
NAME
kld -- dynamic kernel linker facility
DESCRIPTION
The LKM (Loadable Kernel Modules) facility has been deprecated in FreeBSD 3.0 and above in favor of the kld interface. This interface, like
its predecessor, allows the system administrator to dynamically add and remove functionality from a running system. This ability also helps
software developers to develop new parts of the kernel without constantly rebooting to test their changes.
Various types of modules can be loaded into the system. There are several defined module types, listed below, which can be added to the sys-
tem in a predefined way. In addition, there is a generic type, for which the module itself handles loading and unloading.
The FreeBSD system makes extensive use of loadable kernel modules, and provides loadable versions of most file systems, the NFS client and
server, all the screen-savers, and the iBCS2 and Linux emulators. kld modules are placed by default in the /boot/kernel directory along with
their matching kernel.
The kld interface is used through the kldload(8), kldunload(8) and kldstat(8) programs.
The kldload(8) program can load either a.out(5) or ELF formatted loadable modules. The kldunload(8) program unloads any given loaded module,
if no other module is dependent upon the given module. The kldstat(8) program is used to check the status of the modules currently loaded
into the system.
Kernel modules may only be loaded or unloaded if the system security level kern.securelevel is less than one.
MODULE TYPES
Device Driver modules
New block and character device drivers may be loaded into the system with kld. Device nodes for the loaded drivers are automatically created
when a module is loaded and destroyed when it is unloaded by devfs(5). You can specify userland programs that will run when new devices
become available as a result of loading modules, or existing devices go away when modules are unloaded, by configuring devd(8).
FILES
/boot/kernel directory containing module binaries built for the kernel also residing in the directory.
/usr/include/sys/module.h file containing definitions required to compile a kld module
/usr/share/examples/kld example source code implementing a sample kld module
SEE ALSO
kldfind(2), kldfirstmod(2), kldload(2), kldnext(2), kldstat(2), kldunload(2), devfs(5), devd(8), kldload(8), kldstat(8), kldunload(8),
sysctl(8)
HISTORY
The kld facility appeared in FreeBSD 3.0 and was designed as a replacement for the lkm facility, which was similar in functionality to the
loadable kernel modules facility provided by SunOS 4.1.3.
AUTHORS
The kld facility was originally implemented by Doug Rabson <dfr@FreeBSD.org>.
BUGS
If a module B, is dependent on another module A, but is not compiled with module A as a dependency, then kldload(8) fails to load module B,
even if module A is already present in the system.
If multiple modules are dependent on module A, and are compiled with module A as a dependency, then kldload(8) loads an instance of module A
when any of the modules are loaded.
If a custom entry point is used for a module, and the module is compiled as an 'ELF' binary, then kldload(8) fails to execute the entry
point.
kldload(8) returns the cryptic message 'ENOEXEC (Exec format error)' for any error encountered while loading a module.
When system internal interfaces change, old modules often cannot detect this, and such modules when loaded will often cause crashes or myste-
rious failures.
BSD
November 8, 1998 BSD