Compile Linux kernel module without Module.symvers

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have this embedded Linux devices. I would like to add kernel-level functionality to it, but would highly prefer not to compile my own kernel to do so. (If the kernel doesn't load and get to user space the device is bricked; I can't access the bootloader to recover it. The current kernel doesn't have kexec support so I couldn't use that to test a kernel image of my own.)



The device's kernel has support for modules, but I do not have a copy of the corresponding Module.symvers file.



My question: if I do not have the Module.symvers file for a Linux kernel but do have the kernel image and a module compiled for it, can I compile more modules that can be inserted into that kernel, maybe by generating the missing Module.symvers file?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I have this embedded Linux devices. I would like to add kernel-level functionality to it, but would highly prefer not to compile my own kernel to do so. (If the kernel doesn't load and get to user space the device is bricked; I can't access the bootloader to recover it. The current kernel doesn't have kexec support so I couldn't use that to test a kernel image of my own.)



    The device's kernel has support for modules, but I do not have a copy of the corresponding Module.symvers file.



    My question: if I do not have the Module.symvers file for a Linux kernel but do have the kernel image and a module compiled for it, can I compile more modules that can be inserted into that kernel, maybe by generating the missing Module.symvers file?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have this embedded Linux devices. I would like to add kernel-level functionality to it, but would highly prefer not to compile my own kernel to do so. (If the kernel doesn't load and get to user space the device is bricked; I can't access the bootloader to recover it. The current kernel doesn't have kexec support so I couldn't use that to test a kernel image of my own.)



      The device's kernel has support for modules, but I do not have a copy of the corresponding Module.symvers file.



      My question: if I do not have the Module.symvers file for a Linux kernel but do have the kernel image and a module compiled for it, can I compile more modules that can be inserted into that kernel, maybe by generating the missing Module.symvers file?










      share|improve this question













      I have this embedded Linux devices. I would like to add kernel-level functionality to it, but would highly prefer not to compile my own kernel to do so. (If the kernel doesn't load and get to user space the device is bricked; I can't access the bootloader to recover it. The current kernel doesn't have kexec support so I couldn't use that to test a kernel image of my own.)



      The device's kernel has support for modules, but I do not have a copy of the corresponding Module.symvers file.



      My question: if I do not have the Module.symvers file for a Linux kernel but do have the kernel image and a module compiled for it, can I compile more modules that can be inserted into that kernel, maybe by generating the missing Module.symvers file?







      kernel-modules






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      Billy

      186116




      186116

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473749%2fcompile-linux-kernel-module-without-module-symvers%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473749%2fcompile-linux-kernel-module-without-module-symvers%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?