Removing builtin modules in Linux

10,907

That means the module was compiled into the kernel. If you want to be able to unload it, you will have to compile a new kernel and have it built as a dynamically (un)loadable module instead.

Share:
10,907

Related videos on Youtube

sj755
Author by

sj755

Updated on September 18, 2022

Comments

  • sj755
    sj755 over 1 year

    I'm currently attempting to remove the usbserial module in order to install a new driver module. When I attempt to remove the module I get the following issue:

    [root@localhost xr21v141x-lnx-3.0-pak]# modprobe -r usbserial
    FATAL: Module usbserial is builtin
    

    How can I remove the usbserial module?

  • sj755
    sj755 over 11 years
    Does this mean it's impossible to install a new driver module which uses usbserial?
  • goldilocks
    goldilocks over 11 years
    A module which uses usbserial will be fine. One which is intended to replace usbserial -- I guess you can try, but as a guess I would say probably not.