post-5.1 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Discussions related to using VirtualBox on Solaris hosts.

post-5.1 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby kburtch » 13. Sep 2020, 22:08

It's been a while since I upgraded, since my (VirtualBox 5.1.x on Solaris 11.3) installation has been rock-solid stable.
I was doing some maintenance so decided to upgrade to the latest VirtualBox (6.1.14).

After upgrading, I cannot start my VMs, as it claims I don't have a network interface named "net0", which is my primary network interface.

Code: Select all   Expand viewCollapse view
vbox@server:/vbox/vm/arkserver/Logs$ VBoxManage startvm arkserver --type headless
Waiting for VM "arkserver" to power on...
VBoxManage: error: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
vbox@server:/vbox/vm/arkserver/Logs$ ifconfig net0
net0: flags=100001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,PHYSRUNNING> mtu 9000 index 2
        inet 192.168.26.14 netmask ffffff00 broadcast 192.168.26.255


In my searches, the closest I found was someone who was using a definition for an interface they didn't have. That's obviously not the issue here.
Ideas?

Here's the VM's log:

Code: Select all   Expand viewCollapse view
vbox@server:/vbox/vm/arkserver/Logs$ cat VBox.log
00:00:00.017432 VirtualBox VM 6.1.14 r140239 solaris.amd64 (Sep  4 2020 09:34:19) release log
00:00:00.017433 Log opened 2020-09-13T20:00:42.430670000Z
00:00:00.017434 Build Type: release
00:00:00.017436 OS Product: SunOS
00:00:00.017437 OS Release: 5.11
00:00:00.017437 OS Version: 11.3
00:00:00.017502 DMI Product Name: Z97X-SLI
00:00:00.017530 DMI Product Version: To be filled by O.E.M.
00:00:00.017532 Firmware type: failed - VERR_NOT_SUPPORTED
00:00:00.019033 Host RAM: 32549MB (31.7GB) total, 25113MB (24.5GB) available
00:00:00.019037 Executable: /opt/VirtualBox/amd64/VBoxHeadless
00:00:00.019038 Process ID: 8122
00:00:00.019038 Package type: SOLARIS_64BITS_GENERIC
00:00:00.022250 Installed Extension Packs:
00:00:00.022266   Oracle VM VirtualBox Extension Pack (Version: 6.1.14 r140239; VRDE Module: VBoxVRDP)
00:00:00.023088 Console: Machine state changed to 'Starting'
00:00:00.029003 SUP: seg #0: R   0x00000000 LB 0x00065000
00:00:00.029028 SUP: seg #1: R X 0x00065000 LB 0x0011f000
00:00:00.029033 SUP: seg #2: RW  0x00184000 LB 0x000151f0
00:00:00.029799 SUP: Loaded VMMR0.r0 (/opt/VirtualBox/amd64/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.029820 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.031538 Guest OS type: 'Ubuntu_64'
00:00:00.033519 fHMForced=true - No raw-mode support in this build!
00:00:00.039739 File system of '/vbox/vm/arkserver/Snapshots' (snapshots) is unknown
00:00:00.039752 File system of '/vbox/vm/arkserver/arkserver.vdi' is zfs
00:00:00.042113 File system of '/opt/VirtualBox/amd64/VBoxGuestAdditions.iso' (DVD) is zfs
00:00:00.052535 AssertLogRel /export/home/vbox/tinderbox/6.1-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5292) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool): <NULL>
00:00:00.052555 NetworkAttachmentType_Bridged: FindByName failed, rc=NS_ERROR_INVALID_ARG (0x80070057)VMSetError: /export/home/vbox/tinderbox/6.1-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5293) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool); rc=VERR_INTERNAL_ERROR
00:00:00.052574 VMSetError: Nonexistent host networking interface, name 'net0'
00:00:00.053074 Constructor failed with rc=VERR_INTERNAL_ERROR pfnCFGMConstructor=ffff80ffbbd1ac40
00:00:00.178241 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)}, preserve=false aResultDetail=-225
00:00:00.180495 Console: Machine state changed to 'PoweredOff'
00:00:00.184842 Power up failed (vrc=VERR_INTERNAL_ERROR, rc=NS_ERROR_FAILURE (0X80004005))


Edit: changed the subject line to match the fact that this affects anything post-5.1.
Last edited by kburtch on 13. Sep 2020, 22:28, edited 1 time in total.
kburtch
 
Posts: 13
Joined: 8. Apr 2013, 22:49

Re: VBox 6.1.14 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby kburtch » 13. Sep 2020, 22:15

I just downgraded to 6.0.24 and get the same error:

Code: Select all   Expand viewCollapse view
vbox@server:/vbox/vm/arkserver/Logs$ cat VBox.log
00:00:00.017730 VirtualBox VM 6.0.24 r139119 solaris.amd64 (Jul  9 2020 20:03:12) release log
00:00:00.017732 Log opened 2020-09-13T20:13:13.116152000Z
00:00:00.017732 Build Type: release
00:00:00.017734 OS Product: SunOS
00:00:00.017735 OS Release: 5.11
00:00:00.017735 OS Version: 11.3
00:00:00.017800 DMI Product Name: Z97X-SLI
00:00:00.017827 DMI Product Version: To be filled by O.E.M.
00:00:00.019324 Host RAM: 32549MB (31.7GB) total, 25225MB (24.6GB) available
00:00:00.019328 Executable: /opt/VirtualBox/amd64/VBoxHeadless
00:00:00.019329 Process ID: 10115
00:00:00.019329 Package type: SOLARIS_64BITS_GENERIC
00:00:00.022531 Installed Extension Packs:
00:00:00.022547   Oracle VM VirtualBox Extension Pack (Version: 6.0.24 r139119; VRDE Module: VBoxVRDP)
00:00:00.023367 Console: Machine state changed to 'Starting'
00:00:00.029820 SUP: Loaded VMMR0.r0 (/opt/VirtualBox/amd64/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.029842 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.031324 Guest OS type: 'Ubuntu_64'
00:00:00.033064 fHMForced=true - Lots of RAM
00:00:00.033080 fHMForced=true - SMP
00:00:00.033085 fHMForced=true - 64-bit guest
00:00:00.038649 File system of '/vbox/vm/arkserver/Snapshots' (snapshots) is unknown
00:00:00.038662 File system of '/vbox/vm/arkserver/arkserver.vdi' is zfs
00:00:00.040839 File system of '/opt/VirtualBox/amd64/VBoxGuestAdditions.iso' (DVD) is zfs
00:00:00.051076 AssertLogRel /export/home/vbox/tinderbox/6.0-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5317) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool): <NULL>
00:00:00.051097 NetworkAttachmentType_Bridged: FindByName failed, rc=NS_ERROR_INVALID_ARG (0x80070057)VMSetError: /export/home/vbox/tinderbox/6.0-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5318) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool); rc=VERR_INTERNAL_ERROR
00:00:00.051160 VMSetError: Nonexistent host networking interface, name 'net0'
00:00:00.051578 Constructor failed with rc=VERR_INTERNAL_ERROR pfnCFGMConstructor=ffff80ffbbf0fd50
00:00:00.176789 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)}, preserve=false aResultDetail=-225
00:00:00.187285 Console: Machine state changed to 'PoweredOff'
00:00:00.192484 Power up failed (vrc=VERR_INTERNAL_ERROR, rc=NS_ERROR_FAILURE (0X80004005))
kburtch
 
Posts: 13
Joined: 8. Apr 2013, 22:49

Re: VBox 6.1.14 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby kburtch » 13. Sep 2020, 22:26

It looks like 5.2.44 is also broken.

I've reverted all the way to (unsupported) 5.1.38, and it works fine.

Ideas? Is there a specific changelog I missed?

Code: Select all   Expand viewCollapse view
vbox@server:/vbox/vm/arkserver/Logs$ cat VBox.log.1
VirtualBox VM 5.2.44 r139111 solaris.amd64 (Jul  9 2020 18:57:49) release log
00:00:00.017334 Log opened 2020-09-13T20:19:41.774402000Z
00:00:00.017335 Build Type: release
00:00:00.017338 OS Product: SunOS
00:00:00.017338 OS Release: 5.11
00:00:00.017339 OS Version: 11.3
00:00:00.017401 DMI Product Name: Z97X-SLI
00:00:00.017428 DMI Product Version: To be filled by O.E.M.
00:00:00.018944 Host RAM: 32549MB (31.7GB) total, 24656MB (24.0GB) available
00:00:00.018949 Executable: /opt/VirtualBox/amd64/VBoxHeadless
00:00:00.018949 Process ID: 11037
00:00:00.018950 Package type: SOLARIS_64BITS_GENERIC
00:00:00.021799 Installed Extension Packs:
00:00:00.021818   Oracle VM VirtualBox Extension Pack (Version: 5.2.44 r139111; VRDE Module: VBoxVRDP)
00:00:00.022531 Console: Machine state changed to 'Starting'
00:00:00.028478 SUP: Loaded VMMR0.r0 (/opt/VirtualBox/amd64/VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX
00:00:00.028504 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:00.029863 Guest OS type: 'Ubuntu_64'
00:00:00.031750 fHMForced=true - Lots of RAM
00:00:00.031766 fHMForced=true - SMP
00:00:00.031771 fHMForced=true - 64-bit guest
00:00:00.037531 File system of '/vbox/vm/arkserver/Snapshots' (snapshots) is unknown
00:00:00.037546 File system of '/vbox/vm/arkserver/arkserver.vdi' is zfs
00:00:00.039743 File system of '/opt/VirtualBox/amd64/VBoxGuestAdditions.iso' (DVD) is zfs
00:00:00.055494 AssertLogRel /export/home/vbox/tinderbox/5.2-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5310) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool): <NULL>
00:00:00.055514 NetworkAttachmentType_Bridged: FindByName failed, rc=NS_ERROR_INVALID_ARG (0x80070057)VMSetError: /export/home/vbox/tinderbox/5.2-sol-rel/src/VBox/Main/src-client/ConsoleImpl2.cpp(5311) int Console::i_configNetwork(const char*, unsigned int, unsigned int, INetworkAdapter*, CFGMNODE*, CFGMNODE*, CFGMNODE*, bool, bool); rc=VERR_INTERNAL_ERROR
00:00:00.055570 VMSetError: Nonexistent host networking interface, name 'net0'
00:00:00.182261 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)}, preserve=false aResultDetail=0
00:00:00.185047 Console: Machine state changed to 'PoweredOff'
00:00:00.189659 Power up failed (vrc=VERR_INTERNAL_ERROR, rc=NS_ERROR_FAILURE (0X80004005))
kburtch
 
Posts: 13
Joined: 8. Apr 2013, 22:49

Re: post-5.1 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby scottgus1 » 14. Sep 2020, 18:28

I have no experience with Solaris so this is fwiw:

It appears you are trying to Bridge to a physical network card. Can you open the main Virtualbox window and check the 'Name:' dropdown to be sure that the correct exsting physical network card is showing?

ALso, see if the "Virtualbox NDIS6 Bridged Networking Driver is installed correctly (if such a thing is used in Solaris). The WIndows network card Properties box showing the Virtualbox NDIS driver is this:

Image

Does Solaris have something like this you can check?
scottgus1
Site Moderator
 
Posts: 12016
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: post-5.1 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby fth0 » 14. Sep 2020, 23:43

scottgus1 wrote:Can you open the main Virtualbox window and check the 'Name:' dropdown to be sure that the correct exsting physical network card is showing?

Additionally, the output of the following command may help:

Code: Select all   Expand viewCollapse view
VBoxManage list bridgedifs
fth0
Volunteer
 
Posts: 1972
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: post-5.1 upgrade: Nonexistent host networking interface, name 'net0' (VERR_INTERNAL_ERROR)

Postby kburtch » 15. Sep 2020, 00:53

@fth0:
Thanks for the command line.
I did a diff of the output from VB 5.1 and VB 6.1 and they are nearly identical. The only difference is in the format of one of the IPV6Address lines (one uses :: notation instead of long notation full of zeros). So it gave a clue since it's seeing interfaces I wouldn't expect it to see (ones that don't show up in ifconfig, for example), more on that below.

@scottgus1:
Thanks for the suggestion.
I normally don't use a GUI on the server, but was able to throw an X display back (thankfully, the font bugs I saw in the past appear to be gone now) so I was able to try what you suggested. For some reason, it had selected the net0 interface within one of the zones (even though it's not running within a zone) instead of the net0 from the global. Maybe I should consider isolating it within a zone. :) In case you aren't familiar, zones are an OS virtualization technique (much more advanced than Linux Containers) and the network stacks, themselves are virtualized (see Project Crossbow) so each zone (global being the host zone) has its own network stack. Trying to grab the wrong one (one that's not in your zone) is essentially impossible, hence the crash.

It looks like the format of the config file changed between 5.1 and 5.2, and it changed how it selects the interface.

In short, this looks like a pair of bugs:
1. It went from being able to detect it was running in the global zone and using the correct interface to just grabbing the first one that matched the name in the list, even though it was zone-specific
2. a breaking config file format change should be detected after an upgrade.
These were introduced in 5.2.


Here's a diff of the config file between the one that works in 5.1 and the one that works in later versions:

Code: Select all   Expand viewCollapse view
vbox@server:/vbox/vm/arkserver$ diff -u arkserver.vbox.5.1 arkserver.vbox.6.1
--- arkserver.vbox.5.1  Mon Sep 14 18:11:30 2020
+++ arkserver.vbox.6.1  Mon Sep 14 18:23:07 2020
@@ -6,7 +6,7 @@
 ** Use VBoxManage or the VirtualBox Manager GUI to make changes.
 -->
 <VirtualBox xmlns="http://www.virtualbox.org/" version="1.16-solaris">
-  <Machine uuid="{34877d44-d0bb-48b2-bb3c-26510f70a88e}" name="arkserver" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2020-09-14T22:11:30Z">
+  <Machine uuid="{34877d44-d0bb-48b2-bb3c-26510f70a88e}" name="arkserver" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2020-09-14T22:23:07Z">
     <MediaRegistry>
       <HardDisks>
         <HardDisk uuid="{5d5580ca-3d9c-4499-97b4-ccf03a518356}" location="arkserver.vdi" format="VDI" type="Normal"/>
@@ -25,7 +25,7 @@
       </CPU>
       <Memory RAMSize="8192"/>
       <HID Pointing="USBTablet"/>
-      <VideoCapture screens="1" fps="25"/>
+      <VideoCapture screens="1" file="." fps="25"/>
       <BIOS>
         <IOAPIC enabled="true"/>
       </BIOS>
@@ -40,15 +40,8 @@
             <InternalNetwork name="intnet"/>
             <NATNetwork name="NatNetwork"/>
           </DisabledModes>
-          <BridgedInterface name="net0"/>
+          <BridgedInterface name="net0 - Ethernet"/>
         </Adapter>
-        <Adapter slot="1" type="82540EM"/>
-        <Adapter slot="2" type="82540EM"/>
-        <Adapter slot="3" type="82540EM"/>
-        <Adapter slot="4" type="82540EM"/>
-        <Adapter slot="5" type="82540EM"/>
-        <Adapter slot="6" type="82540EM"/>
-        <Adapter slot="7" type="82540EM"/>
       </Network>
       <LPT>
         <Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
@@ -58,6 +51,7 @@
       <SharedFolders>
         <SharedFolder name="hostshare" hostPath="/vbox/shared/arkserver" writable="true" autoMount="true"/>
       </SharedFolders>
+      <Clipboard/>
     </Hardware>
     <StorageControllers>
       <StorageController name="SATA Controller" type="AHCI" PortCount="30" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
kburtch
 
Posts: 13
Joined: 8. Apr 2013, 22:49


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 3 guests