Rmmod,modprobe or dracut?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Rmmod,modprobe or dracut?
# 1  
Old 06-09-2015
Rmmod,modprobe or dracut?

I am making few changes inside modprobe.d directory, now there are two options to make them effective
1) rmmod module, make changes and modprobe module
2) dracut -f
I was wondering what's the difference between two, in terms of result, dracut makes kernel image again though and the other unplug and then plug the changed module.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modprobe error message

Hi anyone knows what this error message means and how to fix it? igb 0000:01:00.0: enabling device (0000 -> 0002) igb 0000:01:00.0: PCI INT D -> GSI 16 (level, low) -> IRQ 16 igb 0000:01:00.0: setting latency timer to 64 igb 0000:01:00.0: Hardware Initialization Failure igb 0000:01:00.0: PCI... (1 Reply)
Discussion started by: h0ujun
1 Replies

2. Red Hat

Modprobe prepare new IP address

Hello, I m working on virtualization and saved the templates in virtual server. On creating the new Virtual machine or linux system, is there a way where during booting, it should prompt for new IP address, gateway, DNS and hostname? Or is there any configuration in linux where we can modify... (5 Replies)
Discussion started by: alnhk
5 Replies

3. Red Hat

modprobe: Can't locate module usbcore

Hello Linux forum! I am working on an older Red hat Linux version(kernel) 2.4.21 and I have compiled the kernel and I select it on startup, but I get the following errors: Mounting Local Filesystems: Modprobe: modprobe: Can't locate module usbcore modprobe: modprobe: Can't locate module udf... (1 Reply)
Discussion started by: mr.rhtuner
1 Replies

4. Red Hat

problems after modifying modprobe.conf

Hey Guys, I am having a problem after modifying the modprobe.conf. I added a few entries for the HBA drivers. When I noticed that it would not boot after this, I mounted a knoppix disk and removed those lines from the modprobe.conf. Now after removing those lines, it is still stuck at the same... (2 Replies)
Discussion started by: s ladd
2 Replies

5. UNIX for Dummies Questions & Answers

modprobe spi_bitbang results in error messages

Hi, I'm having a problem with the voyage linux distribution. I've been busy to include a CAN driver, which uses the SPI bus to communicate. While I was busy debugging the code, everything worked fine while performing a modprobe of the SPI driver to get it all running. But the... (1 Reply)
Discussion started by: nistap
1 Replies

6. Linux

Modprobe problem

I'm trying to get a watchdog module working on a server. (Watchdog timers are little hardware devices that reboot the system if it becomes unresponsive.) The module takes some options like the timeout til reboot, what power action to take, etc. I've set these options up in... (4 Replies)
Discussion started by: vertigo23
4 Replies

7. Filesystems, Disks and Memory

"modprobe -r cdrom" error.

hello all, i used modprobe -r usb-storage its working properly but when i use the same command with cdrom module as modprobe -r cdrom it is giving error as Fatal error:module cdrom in use, but i dont have any thing in rom and not using it. thanx. (9 Replies)
Discussion started by: zius_oram
9 Replies

8. BSD

BSD equivalent of rmmod

In Linux if you want to get rid of the PC speaker (beep!) without rebooting you can type rmmod pcspkr I'm looking for a way to remove (if possible) the BSD equivalent of the "pcspkr" module. I scrolled quickly through GENERIC and didn't see any entries that looked conspicuously like the... (2 Replies)
Discussion started by: uiop44
2 Replies

9. UNIX for Dummies Questions & Answers

how can I run something as root (modprobe, to be exact) every time computer starts.

I have the root password for my box, but I'm ignorant. So, every time I start my computer, I have to run this command /sbin/modprobe fuse as su, so that I can do other stuff (like mount remote directories locally using sshfs) I guess there's some file, like .bashrc, only it's applicable... (4 Replies)
Discussion started by: tphyahoo
4 Replies
Login or Register to Ask a Question
discover-modprobe.conf(5)					File Formats Manual					 discover-modprobe.conf(5)

NAME
discover-modprobe.conf -- configuration file for discover-modprobe(5) Description discover-modprobe.conf is the configuration file for discover-modprobe, which is responsible for retrieving and loading kernel modules. Warning: This file is a shell script, and as such is subject to a string variable assignment syntax. No space is allowed between the variable name, the equal (=) sign, and the value(s) assigned. If multiple values are to be assigned, the list must be space-delimited with surrounding quotes. Two directives can be used in this file: types and skip. Both can be defined multiple times. types This describes the classes of hardware that should be scanned and queried. skip These modules should never be loaded. See the ``Files'' section for details on the mechanism for generating these entries auto- matically. Files /var/lib/discover/crash A crash file written and erased each time discover-modprobe attempts to load a module. If the file lingers, the computer is assumed to have crashed while loading that module, and the module name is added to discover-modprobe.conf as a module to skip in the future. See Also discover-modprobe(8), modprobe(8), discover(1) discover-modprobe.conf(5)