Results 1 to 3 of 3

Thread: Once compiled is a module or driver removable?

  1. #1
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Once compiled is a module or driver removable?

    I have compiled a driver for LM-Sensors into my kernel. However, it doesn't work, or I haven't correctly compiled it.

    How do I uncompile or remove it from the kernel so that I can try again?

    Is this safe?

    Would another compile -overwrite- the existing file?
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,783

    Re: Once compiled is a module or driver removable?

    Howdy,

    Modules are, well, modular. You can list, load and unload them with lsmod, insmod and rmmod.

  3. #3
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Once compiled is a module or driver removable?

    The preferred method is to use modprobe, as its a more intelligent program. The default behavior (no flags) is to insert a module. Specify the '-r' flag to remove a module.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •