pfSense Gold Subscription

Author Topic: ESXi 6.5.0 Guest OS errors...  (Read 1683 times)

0 Members and 1 Guest are viewing this topic.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #15 on: October 10, 2017, 03:11:17 pm »
@Jimp

So you stated "I'm on 6.5.0 (Build 5310538) and though I do see that guest OS difference message"

Then you updated to "6.5.0 Update 1 (Build 6765664)"  Did this make the OS message go away?

No, that message is still there, and there is no OS option in the ESX settings for the VM to make it match. Not sure if that's something that FreeBSD or VMware is going to have to fix.

I should also add that the exact same message shows up on a FreeBSD 11.1 VM, so it isn't specific to pfSense. It does go away if you stop the tools guestd daemon, so maybe an update to the open-vm-tools package will eventually fix it.
« Last Edit: October 10, 2017, 03:14:32 pm by jimp »
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jasonsansone

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
    • Sansone Howell
Re: ESXi 6.5.0 Guest OS errors...
« Reply #16 on: October 10, 2017, 03:14:06 pm »
I don't think that warning really matters.  VMWare is simply not properly identifying the Guest OS but you already manually selected FreeBSD, so the drivers and hardware emulation is accurate.  The same occurs when I update to brand new releases of macOS or Ubuntu builds.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14466
  • Karma: +1339/-200
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #17 on: October 10, 2017, 03:43:49 pm »
I have not seen this OS message.. Curious why some people are and I am not.. Guess I could try a clean install.. I am running current open-vm-tools..

I am not using zfs that is for sure.. But I could try installing pfsense clean and freebsd clean and see if I can get it to come up..
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline jasonsansone

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
    • Sansone Howell
Re: ESXi 6.5.0 Guest OS errors...
« Reply #18 on: October 10, 2017, 03:47:52 pm »
Here is the warning

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14466
  • Karma: +1339/-200
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #19 on: October 10, 2017, 03:50:09 pm »
Yeah I do not get that.. Wow 8 cpus for your pfsense - bit of overkill ;) heheeh

- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline jasonsansone

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
    • Sansone Howell
Re: ESXi 6.5.0 Guest OS errors...
« Reply #20 on: October 10, 2017, 03:52:18 pm »
Yeah I do not get that.. Wow 8 cpus for your pfsense - bit of overkill ;) heheeh

Smoke'm if you got'em?

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14466
  • Karma: +1339/-200
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #21 on: October 10, 2017, 03:57:18 pm »
I just bumped pfsense to

2.4.0-RC (amd64)
built on Mon Oct 09 17:58:12 CDT 2017
FreeBSD 11.1-RELEASE-p1

And now I am getting it.. Hmmmmmm?

edit:
I just closed that notice with its little x, and then logged out of esxi, then back in.. And doesn't seem like its coming back??  Huh... Wonder if it only comes up if your watching pfsense boot on esxi?
« Last Edit: October 10, 2017, 04:00:49 pm by johnpoz »
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline zxvv

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #22 on: October 10, 2017, 04:13:49 pm »
Looks like it could be a FreeBSD issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220923 and/or https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217282

Seems intermittent and doesn't appear to happen to everyone, not many hits out there for it.

Maybe something in the video/console settings of the virtual hardware itself.

I'm seeing this vga_bitblt_text() bug as well in VMs.

I had no success varying most of the guest VM vga configuration - ram from 4M to 256MB, with or without 3d support, etc.

It occurs in VMs with both legacy bios and EFI bios.

On the bright side, it is intermittent -- about 1/4 of reboots.  It seems to occur early enough that file system damage doesn't seem to be an issue when invoking a reboot in the debugger.

Offline C0RR0SIVE

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +8/-0
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #23 on: October 10, 2017, 07:39:27 pm »
Yeup the hangs I mentioned earlier are from that vga_bitblt_text() issue...  Tried all sorts of things...

One VM is an upgrade from 2.3.x, another was installed using a snapshot image a while back, accepting the defaults all the way through.  The third one is a copy of the first VM.

The hanging at boot is very random for me, but thankfully it happens before disk access occurs from the looks of things.

For the most part, the message is an annoyance in my log files, a very big one, the real issue now seems to be more or less vga_bitblt_text() causing a hang which is outside of the hands of PFSense it seems... :(

Going to have to find a snapshot and use that one till I know this is fixed as this (the hanging issue more specifically now) is (I know it shouldn't be...) in a production environment and we kill everything at night to save money on the light bill and everything auto-starts in the mornings.

I just closed that notice with its little x, and then logged out of esxi, then back in.. And doesn't seem like its coming back??  Huh... Wonder if it only comes up if your watching pfsense boot on esxi?

If you switch views a few times, or log in a day later it usually pops right back up, and when viewing your VM's it will keep bouncing between Warning and Normal on the status for it.

I wonder if whoever maintains the VM Tools Package for PFSense could make modifications to report the "proper" OS?
« Last Edit: October 10, 2017, 07:53:17 pm by C0RR0SIVE »

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14466
  • Karma: +1339/-200
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #24 on: October 11, 2017, 03:57:06 am »
"we kill everything at night to save money on the light bill and everything auto-starts in the mornings."

Wow... what a BAD idea that is!  So did you do the math on that?  What exactly is your host drawing at night when cpus are all idle anyway?

So how many watts this host drawing?  Now how much you pay per kwh, do the math for it being off at night.. What you save a $1.20 a month? ;)  You eat up 10 years worth of saving with 1 oh shit this didn't boot..
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline C0RR0SIVE

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +8/-0
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #25 on: October 11, 2017, 08:22:35 am »
The closet pulls ~650w minimum at all times, under load, the closet will reach about 1300w, it's not just the host that gets killed at night either.  Switches (that's about 140w alone), 4 satellite modems (between 20w and 45w each depending on weather conditions, signal quality and other factors), and other devices all get powered off shortly after the host shuts down and back on automatically when the host starts back up. 

It also keeps the AC from having to run as much at night even though it's easier to cool at night, it still saves on the bill.

No need to do the math, real world testing I average between $20 to $45 lower on the bill on months that I kill everything.  While that doesn't seem like a lot per month, over the course of a year, that's a nice savings that can go to other things :)
« Last Edit: October 11, 2017, 08:26:27 am by C0RR0SIVE »

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #26 on: October 11, 2017, 08:41:39 am »
I wonder if whoever maintains the VM Tools Package for PFSense could make modifications to report the "proper" OS?

The pfSense package only uses the FreeBSD port. This issue also affects FreeBSD, so any fix needs to happen on FreeBSD and then it will make its way into our package after.

Maybe it just hasn't shown up yet, but I used "Upgrade VM Compatibility" to upgrade two VMs to "VM version 13", or ESX 6.5 level, and they no longer report the version mismatch warning.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #27 on: October 11, 2017, 08:44:52 am »
I wonder if whoever maintains the VM Tools Package for PFSense could make modifications to report the "proper" OS?

The pfSense package only uses the FreeBSD port. This issue also affects FreeBSD, so any fix needs to happen on FreeBSD and then it will make its way into our package after.

Maybe it just hasn't shown up yet, but I used "Upgrade VM Compatibility" to upgrade two VMs to "VM version 13", or ESX 6.5 level, and they no longer report the version mismatch warning.

Spoke too soon, it just hadn't shown back up yet. Disregard.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #28 on: October 11, 2017, 08:50:23 am »
Anyone that can reproduce that vga_bitblt_text() crash relaibly (I still can't), try adding this to your /boot/loader.conf.local:

Code: [Select]
debug.debugger_on_panic=0
It won't stop the crash but it should allow the VM to restart itself automatically if it happens, rather than sitting at a debug prompt. Though that would also stop it from gathering panic data if you have an actual crash later. Could add a tunable in the GUI to set it back to 1 at boot time which should be late enough to work around that.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: ESXi 6.5.0 Guest OS errors...
« Reply #29 on: October 11, 2017, 09:22:41 am »
Another possible workaround is to set kern.vty=sc in /boot/loader.conf.local since this appears to be a race condition in the VT console, according to the FreeBSD bug report.

I did manage to make one of my VMs crash once, finally.

I opened a bug report for it here: https://redmine.pfsense.org/issues/7925
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!