Project

General

Profile

Actions

Bug #12686

closed

dladm: vnic creation over bge0 failed: object already exists

Added by Chris Ridd about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Some changes between joyent_20200408T231825Z and joyent_20200424T174452Z from illumos have caused a critical regression.

Native and LX zones do not start up, and cannot be created. For example a new native zone:

# cat swift.json 
{
  "brand": "joyent",
  "image_uuid": "7b021460-73f9-11ea-a6da-07800cddb2ca",
  "alias": "swift",
  "hostname": "swift",
  "max_physical_memory": 512,
  "resolvers": ["8.8.8.8","4.4.4.4"],
  "nics": [
  {
    "nic_tag": "admin",
    "ip": "dhcp" 
  }
  ],
}

# vmadm create -f swift.json 
first of 1 error: first of 1 error: Command failed: zone '79b2c4da-3e85-c54f-c3a3-f099ba91b2c7': error creating VNIC net0 (global NIC admin)
zone '79b2c4da-3e85-c54f-c3a3-f099ba91b2c7': msg: dladm: vnic creation over bge0 failed: object already exists
zone '79b2c4da-3e85-c54f-c3a3-f099ba91b2c7': Failed cmd: dladm create-vnic -t -l bge0 -p mtu=1500,zone=79b2c4da-3e85-c54f-c3a3-f099ba91b2c7 -m 32:65:8c:63:a4:ee tmp90870
zone '79b2c4da-3e85-c54f-c3a3-f099ba91b2c7': destroying snapshot: No such zone configured
zoneadm: zone '79b2c4da-3e85-c54f-c3a3-f099ba91b2c7': call to zoneadmd failed

I would suspect one of these bge-related changes:

# prtconf -v /dev/bge
pci103c,2133, instance #0
    System software properties:
        name='bge-known-subsystems' type=int items=16
            value=108e1647.108e1648.108e16a7.108e16a8.17c20010.17341013.101402a6.10f12885.17c20020.10b71006.10280109.102801f8.1028865d.0e11005a.0e1100cb.103c12bc
        name='bge-rx-rings' type=int items=1
            value=00000010
        name='bge-tx-rings' type=int items=1
            value=00000001
    Driver properties:
        name='fm-accchk-capable' type=boolean dev=none
        name='fm-dmachk-capable' type=boolean dev=none
        name='fm-errcb-capable' type=boolean dev=none
        name='fm-ereport-capable' type=boolean dev=none
    Hardware properties:
        name='pci-msix-capid-pointer' type=int items=1
            value=000000a0
        name='pci-msi-capid-pointer' type=int items=1
            value=00000058
        name='pcie-link-supported-speeds' type=int64 items=2
            value=000000009502f900.000000012a05f200
        name='pcie-link-target-speed' type=int64 items=1
            value=000000009502f900
        name='pcie-link-maximum-speed' type=int64 items=1
            value=000000012a05f200
        name='pcie-link-current-speed' type=int64 items=1
            value=000000012a05f200
        name='pcie-link-current-width' type=int items=1
            value=00000001
        name='pcie-link-maximum-width' type=int items=1
            value=00000002
        name='pcie-aspm-state' type=string items=1
            value='disabled'
        name='pcie-aspm-support' type=string items=1
            value='l0s,l1'
        name='pcie-serial' type=byte items=8
            value=f8.07.d8.06.51.64.00.00
        name='assigned-addresses' type=int items=15
            value=c3030010.00000000.fab30000.00000000.00010000.c3030018.00000000.fab40000.00000000.00010000.c3030020.00000000.fab50000.00000000.00010000
        name='reg' type=int items=20
            value=00030000.00000000.00000000.00000000.00000000.43030010.00000000.00000000.00000000.00010000.43030018.00000000.00000000.00000000.00010000.43030020.00000000.00000000.00000000.00010000
        name='compatible' type=string items=15
            value='pciex14e4,165f.103c.2133.0' + 'pciex14e4,165f.103c.2133' + 'pciex14e4,165f.0' + 'pciex14e4,165f' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci14e4,165f.103c.2133.0' + 'pci14e4,165f.103c.2133' + 'pci103c,2133,s' + 'pci103c,2133' + 'pci14e4,165f.0' + 'pci14e4,165f,p' + 'pci14e4,165f' + 'pciclass,020000' + 'pciclass,0200'
        name='model' type=string items=1
            value='Ethernet controller'
        name='power-consumption' type=int items=2
            value=00000001.00000001
        name='devsel-speed' type=int items=1
            value=00000000
        name='interrupts' type=int items=1
            value=00000001
        name='subsystem-vendor-id' type=int items=1
            value=0000103c
        name='subsystem-id' type=int items=1
            value=00002133
        name='unit-address' type=string items=1
            value='0'
        name='class-code' type=int items=1
            value=00020000
        name='revision-id' type=int items=1
            value=00000000
        name='vendor-id' type=int items=1
            value=000014e4
        name='device-id' type=int items=1
            value=0000165f
        name='vendor-name' type=string items=1
            value='Broadcom Inc. and subsidiaries'
        name='device-name' type=string items=1
            value='NetXtreme BCM5720 2-port Gigabit Ethernet PCIe'
        name='subsystem-name' type=string items=1
            value='NC332i Adapter'
    Device Minor Nodes:
        dev=(116,1)
            dev_path=/pci@0,0/pci8086,1c18@1c,4/pci103c,2133@0:bge0
                spectype=chr type=minor
                dev_link=/dev/bge0
        dev=(116,1002)
            dev_path=<clone>
            Device Minor Layered Under:
                mod=udp accesstype=chr
                    dev_path=/pseudo/udp@0
        dev=(116,1003)
            dev_path=<clone>
            Device Minor Layered Under:
                mod=udp accesstype=chr
                    dev_path=/pseudo/udp@0

Files

bge-bad.out.gz (53.9 KB) bge-bad.out.gz Chris Ridd, 2020-05-02 05:41 PM
bge-good.out.gz (55.5 KB) bge-good.out.gz Chris Ridd, 2020-05-02 05:41 PM
bge.out_vmadm_create__when_on_single_dl.zip (1.51 KB) bge.out_vmadm_create__when_on_single_dl.zip Olivia Mocellini Merbeller, 2020-05-05 02:03 PM
bge.out_dladm_create-vnic__when_on_single_dl.zip (1.49 KB) bge.out_dladm_create-vnic__when_on_single_dl.zip Olivia Mocellini Merbeller, 2020-05-05 02:03 PM
bge.out_vmadm_create__when_on_aggr.zip (1.76 KB) bge.out_vmadm_create__when_on_aggr.zip Olivia Mocellini Merbeller, 2020-05-05 02:03 PM
bge.out_dladm_create-vnic__when_on_aggr.zip (1.64 KB) bge.out_dladm_create-vnic__when_on_aggr.zip Olivia Mocellini Merbeller, 2020-05-05 02:03 PM

Related issues

Related to illumos gate - Bug #12713: Network error after udating to 2020.04 / bge0: DL_BIND_REQ failedDuplicateRobert Mustacchi

Actions
Related to illumos gate - Feature #12450: Add support for BCM57765 family devices to bgeClosedRobert Mustacchi

Actions
Related to illumos gate - Bug #12496: bge mac address initialization is wrongClosedRobert Mustacchi

Actions
Related to illumos gate - Bug #12497: bge ape locking left always disabled after 7513ClosedRobert Mustacchi

Actions
Related to illumos gate - Bug #12498: bge ring interrupt masking logic is brokenClosedRobert Mustacchi

Actions
Has duplicate illumos gate - Bug #12713: Network error after udating to 2020.04 / bge0: DL_BIND_REQ failedDuplicateRobert Mustacchi

Actions
Actions

Also available in: Atom PDF