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 16.04 Xenial Xerus

    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 Athlon II X4 620, 4gig ddr2-800, m/b MSI K9N6PGM2, 1T SATA, EVGA 9500GT, Brother MFC-240C prntr, LG DVD-rom GSA-H55N

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,371

    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
  •