Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    VMware optimalisation lost on upgrade.

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    4
    1610
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GrandmasterB last edited by

      During install when on VMware, a file is written (/var/IS_VMWARE) to the filesystem.
      Based on this file 2 special VMware tweaks are made:
      /etc/sysctl.conf:        -> kern.timecounter.hardware=i8254
      /mnt/boot/loader.conf  -> kern.hz="100"

      # If the platform is vmware, lets do some fixups.
      if [ -f /var/IS_VMWARE ]; then echo "" >> /mnt/etc/sysctl.conf; echo "kern.timecounter.hardware=i8254" >> /mnt/etc/sysctl.conf;  echo kern.hz="100" >> /mnt/boot/loader.conf; fi;
      
      

      But after an update only the tweak for loader.conf is still there, the sysctrl.conf tweak is lost.
      Anyone else having this?

      thx,
      Bas

      1 Reply Last reply Reply Quote 0
      • S
        salvor last edited by

        I installed "2.0-BETA5 (amd64) built on Sun Feb 6 07:01:51 EST 2011" as guest in vmware player 3.1.3 with Windows 7 x64 host.

        • /var/IS_VMWARE exists

        • /etc/sysctl.conf contains  kern.timecounter.hardware=i8254

        • /boot/loader.conf contains kern.hz="100"

        You might want to mention the exact version you installed. Just cut/paste from Status->Dashboard page.

        1 Reply Last reply Reply Quote 0
        • G
          GrandmasterB last edited by

          @salvor:

          I installed "2.0-BETA5 (amd64) built on Sun Feb 6 07:01:51 EST 2011" as guest in vmware player 3.1.3 with Windows 7 x64 host.

          • /var/IS_VMWARE exists

          • /etc/sysctl.conf contains  kern.timecounter.hardware=i8254

          • /boot/loader.conf contains kern.hz="100"

          You might want to mention the exact version you installed. Just cut/paste from Status->Dashboard page.

          Please read carefully.
          After install everything indeed is OK, as i mentioned in my first post. But when you do an upgrade after the first install, the sysctl.conf option is gone.
          Please try that.

          1 Reply Last reply Reply Quote 0
          • S
            salvor last edited by

            @GrandmasterB:

            @salvor:

            I installed "2.0-BETA5 (amd64) built on Sun Feb 6 07:01:51 EST 2011" as guest in vmware player 3.1.3 with Windows 7 x64 host.

            • /var/IS_VMWARE exists

            • /etc/sysctl.conf contains  kern.timecounter.hardware=i8254

            • /boot/loader.conf contains kern.hz="100"

            You might want to mention the exact version you installed. Just cut/paste from Status->Dashboard page.

            Please read carefully.
            After install everything indeed is OK, as i mentioned in my first post. But when you do an upgrade after the first install, the sysctl.conf option is gone.
            Please try that.

            Sorry I misunderstood what you meant by upgrade (I thought you replaced 1.2.3 with 2.0-BETA5.)

            I remember after updating to Feb 5 version from Feb 2 version, the console would get stuck before showing the menu.  And rebooting with extra logging enabled showed t_delta too long and t_delta too short messages.  Installing from scratch made the console get unstuck.  Maybe this is related?  I was going to try updating to see if I could reproduce your problem, but the snapshot server is down.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post