Fresh install of 18.04.2 Server kernelspace takes > 1 hour to boot












0















I've got a fresh install of Ubuntu 18.04.2 server that takes over an hour to boot. I've looked into a few possible causes but haven't found anything definitive yet.



I'm using the new ubiquity installer with guided-lvm over the entire disk. I manually created a swap partition and activated it after the install finished. I tried the same setup on a VM with no issues, so I don't think it's the problem described in these links:




  • https://www.hiroom2.com/2018/05/01/ubuntu-1804-lvm-swap-wait-for-root-en/

  • https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html

  • https://ubuntuforums.org/showthread.php?t=2390618&page=2


systemd-analyze blame shows:



     18.661s apt-daily.service
10.376s systemd-udev-settle.service
10.260s dev-mapper-ubuntux2dx2dvgx2dsystemx2dx2dlv.device
9.639s cloud-init-local.service
9.214s snapd.service
7.875s lxd-containers.service


systemd-analyze shows:



Startup finished in 1h 2min 5.017s (kernel) + 1min 7.007s (userspace) = 1h 3min 12.024s


After POST, the normal messages fly by and then every 23 seconds I get this message:



Mar  7 15:02:19 server kernel: [   81.401001] floppy: error 10 while reading block 0
Mar 7 15:02:19 server kernel: [ 104.223783] print_req_error: I/O error, dev fd0, sector 0
Mar 7 15:02:19 server kernel: [ 104.224975] floppy: error 10 while reading block 0
Mar 7 15:02:19 server kernel: [ 127.323255] print_req_error: I/O error, dev fd0, sector 0


until 3725 seconds, when the system finally mounts the filesystem:



Mar  7 15:02:19 server kernel: [ 3723.824233] print_req_error: I/O error, dev fd0, sector 0
Mar 7 15:02:19 server kernel: [ 3723.825351] floppy: error 10 while reading block 0
Mar 7 15:02:19 server kernel: [ 3724.161930] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
Mar 7 15:02:19 server kernel: [ 3725.524789] ip_tables: (C) 2000-2006 Netfilter Core Team


The machine is and AMD FX-4100 on an AM3+ GA-78LMT-S2, if that helps. I didn't see any option to disable a floppy controller as I skimmed through the BIOS options.



Why haven't I blacklisted the floppy driver? Well, I'm a bit reluctant to try it since the end-to-end time to run a test is obviously 1 hour. I thought I'd ask here and see if I can pin down the root cause before trying the "blacklist everything" approach.










share|improve this question







New contributor




mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I've got a fresh install of Ubuntu 18.04.2 server that takes over an hour to boot. I've looked into a few possible causes but haven't found anything definitive yet.



    I'm using the new ubiquity installer with guided-lvm over the entire disk. I manually created a swap partition and activated it after the install finished. I tried the same setup on a VM with no issues, so I don't think it's the problem described in these links:




    • https://www.hiroom2.com/2018/05/01/ubuntu-1804-lvm-swap-wait-for-root-en/

    • https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html

    • https://ubuntuforums.org/showthread.php?t=2390618&page=2


    systemd-analyze blame shows:



         18.661s apt-daily.service
    10.376s systemd-udev-settle.service
    10.260s dev-mapper-ubuntux2dx2dvgx2dsystemx2dx2dlv.device
    9.639s cloud-init-local.service
    9.214s snapd.service
    7.875s lxd-containers.service


    systemd-analyze shows:



    Startup finished in 1h 2min 5.017s (kernel) + 1min 7.007s (userspace) = 1h 3min 12.024s


    After POST, the normal messages fly by and then every 23 seconds I get this message:



    Mar  7 15:02:19 server kernel: [   81.401001] floppy: error 10 while reading block 0
    Mar 7 15:02:19 server kernel: [ 104.223783] print_req_error: I/O error, dev fd0, sector 0
    Mar 7 15:02:19 server kernel: [ 104.224975] floppy: error 10 while reading block 0
    Mar 7 15:02:19 server kernel: [ 127.323255] print_req_error: I/O error, dev fd0, sector 0


    until 3725 seconds, when the system finally mounts the filesystem:



    Mar  7 15:02:19 server kernel: [ 3723.824233] print_req_error: I/O error, dev fd0, sector 0
    Mar 7 15:02:19 server kernel: [ 3723.825351] floppy: error 10 while reading block 0
    Mar 7 15:02:19 server kernel: [ 3724.161930] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
    Mar 7 15:02:19 server kernel: [ 3725.524789] ip_tables: (C) 2000-2006 Netfilter Core Team


    The machine is and AMD FX-4100 on an AM3+ GA-78LMT-S2, if that helps. I didn't see any option to disable a floppy controller as I skimmed through the BIOS options.



    Why haven't I blacklisted the floppy driver? Well, I'm a bit reluctant to try it since the end-to-end time to run a test is obviously 1 hour. I thought I'd ask here and see if I can pin down the root cause before trying the "blacklist everything" approach.










    share|improve this question







    New contributor




    mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I've got a fresh install of Ubuntu 18.04.2 server that takes over an hour to boot. I've looked into a few possible causes but haven't found anything definitive yet.



      I'm using the new ubiquity installer with guided-lvm over the entire disk. I manually created a swap partition and activated it after the install finished. I tried the same setup on a VM with no issues, so I don't think it's the problem described in these links:




      • https://www.hiroom2.com/2018/05/01/ubuntu-1804-lvm-swap-wait-for-root-en/

      • https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html

      • https://ubuntuforums.org/showthread.php?t=2390618&page=2


      systemd-analyze blame shows:



           18.661s apt-daily.service
      10.376s systemd-udev-settle.service
      10.260s dev-mapper-ubuntux2dx2dvgx2dsystemx2dx2dlv.device
      9.639s cloud-init-local.service
      9.214s snapd.service
      7.875s lxd-containers.service


      systemd-analyze shows:



      Startup finished in 1h 2min 5.017s (kernel) + 1min 7.007s (userspace) = 1h 3min 12.024s


      After POST, the normal messages fly by and then every 23 seconds I get this message:



      Mar  7 15:02:19 server kernel: [   81.401001] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 104.223783] print_req_error: I/O error, dev fd0, sector 0
      Mar 7 15:02:19 server kernel: [ 104.224975] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 127.323255] print_req_error: I/O error, dev fd0, sector 0


      until 3725 seconds, when the system finally mounts the filesystem:



      Mar  7 15:02:19 server kernel: [ 3723.824233] print_req_error: I/O error, dev fd0, sector 0
      Mar 7 15:02:19 server kernel: [ 3723.825351] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 3724.161930] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
      Mar 7 15:02:19 server kernel: [ 3725.524789] ip_tables: (C) 2000-2006 Netfilter Core Team


      The machine is and AMD FX-4100 on an AM3+ GA-78LMT-S2, if that helps. I didn't see any option to disable a floppy controller as I skimmed through the BIOS options.



      Why haven't I blacklisted the floppy driver? Well, I'm a bit reluctant to try it since the end-to-end time to run a test is obviously 1 hour. I thought I'd ask here and see if I can pin down the root cause before trying the "blacklist everything" approach.










      share|improve this question







      New contributor




      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I've got a fresh install of Ubuntu 18.04.2 server that takes over an hour to boot. I've looked into a few possible causes but haven't found anything definitive yet.



      I'm using the new ubiquity installer with guided-lvm over the entire disk. I manually created a swap partition and activated it after the install finished. I tried the same setup on a VM with no issues, so I don't think it's the problem described in these links:




      • https://www.hiroom2.com/2018/05/01/ubuntu-1804-lvm-swap-wait-for-root-en/

      • https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html

      • https://ubuntuforums.org/showthread.php?t=2390618&page=2


      systemd-analyze blame shows:



           18.661s apt-daily.service
      10.376s systemd-udev-settle.service
      10.260s dev-mapper-ubuntux2dx2dvgx2dsystemx2dx2dlv.device
      9.639s cloud-init-local.service
      9.214s snapd.service
      7.875s lxd-containers.service


      systemd-analyze shows:



      Startup finished in 1h 2min 5.017s (kernel) + 1min 7.007s (userspace) = 1h 3min 12.024s


      After POST, the normal messages fly by and then every 23 seconds I get this message:



      Mar  7 15:02:19 server kernel: [   81.401001] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 104.223783] print_req_error: I/O error, dev fd0, sector 0
      Mar 7 15:02:19 server kernel: [ 104.224975] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 127.323255] print_req_error: I/O error, dev fd0, sector 0


      until 3725 seconds, when the system finally mounts the filesystem:



      Mar  7 15:02:19 server kernel: [ 3723.824233] print_req_error: I/O error, dev fd0, sector 0
      Mar 7 15:02:19 server kernel: [ 3723.825351] floppy: error 10 while reading block 0
      Mar 7 15:02:19 server kernel: [ 3724.161930] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
      Mar 7 15:02:19 server kernel: [ 3725.524789] ip_tables: (C) 2000-2006 Netfilter Core Team


      The machine is and AMD FX-4100 on an AM3+ GA-78LMT-S2, if that helps. I didn't see any option to disable a floppy controller as I skimmed through the BIOS options.



      Why haven't I blacklisted the floppy driver? Well, I'm a bit reluctant to try it since the end-to-end time to run a test is obviously 1 hour. I thought I'd ask here and see if I can pin down the root cause before trying the "blacklist everything" approach.







      boot 18.04 lvm floppy






      share|improve this question







      New contributor




      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      mrlitstamrlitsta

      1012




      1012




      New contributor




      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      mrlitsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          mrlitsta is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123947%2ffresh-install-of-18-04-2-server-kernelspace-takes-1-hour-to-boot%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          mrlitsta is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          mrlitsta is a new contributor. Be nice, and check out our Code of Conduct.













          mrlitsta is a new contributor. Be nice, and check out our Code of Conduct.












          mrlitsta is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123947%2ffresh-install-of-18-04-2-server-kernelspace-takes-1-hour-to-boot%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          日野市

          GameSpot

          Tu-95轟炸機