VirtualBox

Ticket #3034 (new defect)

Opened 5 years ago

Last modified 4 years ago

Can't create Host Interface Network on Solaris 10 non-global zone

Reported by: tallpaul Owned by:
Priority: major Component: network/hostif
Version: VirtualBox 2.1.0 Keywords:
Cc: Guest type: Windows
Host type: Solaris

Description

VBox 2.1.0 on S10U6 in a non-global zone is unable to instantiate a host interface network. VBox.log is attached from the first startup of a new Windows guest showing the error.

If there is a privilege attribute setting for a zone that would provide a workaround that would help.

Attachments

VBox.log Download (27.5 KB) - added by tallpaul 5 years ago.
VBox.log from guest that failed to start with host interface network on Solaris

Change History

Changed 5 years ago by tallpaul

VBox.log from guest that failed to start with host interface network on Solaris

comment:1 Changed 5 years ago by ramshankar

Could you please give the output of "ifconfig -a" from your non-global zone and also the output of VBoxManage list hostifs from your non-global zone?

comment:2 Changed 5 years ago by tallpaul

# ifconfig -a
lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bcme1:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.65.171.68 netmask ffffff00 broadcast 192.65.171.255


# VBoxManage list hostifs
VirtualBox Command Line Management Interface Version 2.1.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Name:            bcme1 - Ethernet
GUID:            656d6362-0031-4000-8000-000000000000
IPAddress:       0.0.0.0
NetworkMask:     0.0.0.0
IPV6Address:     0000:0000:0000:0000:0000:0000:0000:0000
IPV6NetworkMask: 0000:0000:0000:0000:0000:0000:0000:0000
HardwareAddress: 00:00:00:00:00:00
Type:            Ethernet
Status:          Unknown


comment:3 Changed 5 years ago by frank

  • Component changed from network to network/hostif

comment:4 Changed 5 years ago by ramshankar

Could you please give me /var/adm/messages log (namely i'm looking for messages with 'vboxflt' and 'vboxdrv' in them).

comment:5 Changed 5 years ago by tallpaul

These entries appeared on the global zone's syslog (/var/adm/messages):

Jan 10 16:20:39 velociraptor vboxdrv: [ID 337921 kern.notice] vboxflt:vboxNetFltSolarisOpenStream Failed to open '/dev/bcme1' rc=19 pszName='bcme1'
Jan 10 16:20:39 velociraptor vboxdrv: [ID 574432 kern.notice] vboxflt:vboxNetFltSolarisAttachToInterface vboxNetFltSolarisOpenStream failed rc=-3602
Jan 10 16:20:39 velociraptor vboxdrv: [ID 709899 kern.notice] vboxflt:vboxNetFltSolarisAttachToInterface failed. rc=-3602
Jan 10 16:45:51 velociraptor vboxdrv: [ID 337921 kern.notice] vboxflt:vboxNetFltSolarisOpenStream Failed to open '/dev/bcme1' rc=19 pszName='bcme1'
Jan 10 16:45:51 velociraptor vboxdrv: [ID 574432 kern.notice] vboxflt:vboxNetFltSolarisAttachToInterface vboxNetFltSolarisOpenStream failed rc=-3602
Jan 10 16:45:51 velociraptor vboxdrv: [ID 709899 kern.notice] vboxflt:vboxNetFltSolarisAttachToInterface failed. rc=-3602 

There is no /dev/bcme1 device, just /dev/bcme. (Although there are two bcme network devices):

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone trivet
        inet 127.0.0.1 netmask ff000000
lo0:2: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone urufoundry
        inet 127.0.0.1 netmask ff000000
bcme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.65.171.65 netmask ffffffc0 broadcast 192.65.171.127
        ether 0:e0:81:44:d3:96
bcme1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 0.0.0.0 netmask 0
        ether 0:e0:81:44:d3:97
bcme1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone trivet
        inet 192.65.171.75 netmask ffffffc0 broadcast 192.65.171.127
bcme1:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone trivet
        inet 192.65.171.76 netmask ffffffc0 broadcast 192.65.171.127
bcme1:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        zone urufoundry
        inet 192.65.171.68 netmask ffffff00 broadcast 192.65.171.255

The bcme1 device is only used by non-local zones, so it is not plumbed in the global zone.

comment:6 Changed 5 years ago by ramshankar

Could you provide ls /dev/net/* output if any? Also ls /dev/bcme* please.

comment:7 Changed 5 years ago by tallpaul

$ find /dev/net /dev/bcme -ls
find: stat() error /dev/net: No such file or directory
620100    1 lrwxrwxrwx   1 root     other          30 Dec 28 20:40 /dev/bcme -> ../devices/pseudo/clone@0:bcme

$ ls -l /devices/pseudo/clone\@0\:bcme
crw-rw-rw- 1 bin bin 11, 221 Jan 16 09:22 /devices/pseudo/clone@0:bcme

comment:8 Changed 5 years ago by ramshankar

Could you try with the latest VirtualBox 3.0.4? bcme appears to be a DLPI-style2 driver.

comment:9 Changed 5 years ago by tallpaul

Unfortunately because of the 3.0.x host hang problems I've moved back to 2.2.4 and won't be able to verify this until the hang problem is resolved. I'll check this out as soon as I can run 3.0.x.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use