Project

General

Profile

Bug #5048

panic on re-adding an interface to an aggr after removing it

Added by Rich Ercolani over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-07-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

ixgbe interfaces, illumos-gate as of 20140721 on OI.

I had an aggr of two ixgbe interfaces, configured in LACP mode active, with mtu set to 1500, and several VNICs atop that aggr.

I shutdown the interface for ixgbe1 on the switch end (b/c it refused to let me remove it or change e.g. MTU on ixgbe1 while in aggr0), did a dladm remove-aggr -l ixgbe1 aggr0; dladm set-linkprop -p mtu=9000 ixgbe; dladm add-aggr -l ixgbe1 aggr0;

The system panicked. As soon as savecore finishes, I'll include the dump and backtrace.

#1

Updated by Rich Ercolani over 6 years ago

Warning: 16 GiB vmdump unpacks to 62G core.
http://skysrv.pha.jhu.edu/~rercola/cores/aggr_dump.20140728


::panicinfo
             cpu                2
          thread ffffff27f7604780
         message assertion failed: tx->st_soft_rings[ ((mac_ring_t *)x_arg2)->mr_index] == NULL, file: ../../common/io/mac/mac_soft_ring.c, line: 213
             rdi fffffffffbf53ca8
             rsi ffffff00f6ca22f0
             rdx fffffffffba024a8
             rcx               d5
              r8                0
              r9                0
             rax ffffff00f6ca2310
             rbx ffffff2748952740
             rbp ffffff00f6ca2350
             r10             ffff
             r11             ffff
             r12               40
             r13 ffffff27f4853340
             r14               40
             r15 ffffff00f6ca23c0
          fsbase                0
          gsbase ffffff2329892580
              ds               4b
              es               4b
              fs                0
              gs              1c3
          trapno                0
             err                0
             rip fffffffffb869f10
              cs               30
          rflags              286
             rsp ffffff00f6ca22e8
              ss               38
          gdt_hi                0
          gdt_lo         600001ef
          idt_hi                0
          idt_lo         80000fff
             ldt                0
            task               70
             cr0         8005003b
             cr2         aec7f000
             cr3       207f4b2000
             cr4              6f8


> ::stack
vpanic()
0xfffffffffbe0bf48()
mac_soft_ring_create+0x248(10, 0, 40, 63, ffffff27f483a3d0, ffffff27f4853340)
mac_tx_srs_add_ring+0x8f(ffffff27f4853340, ffffff2748955e80)
i_mac_group_add_ring+0x361(ffffff382d2362f8, 0, 8)
mac_group_add_ring+0x3b(ffffff382d2362f8, 8)
aggr_add_pseudo_tx_ring+0xc5(ffffff23509b6008, ffffff27c77b6fb8, ffffff38ed00b7c8, ffffff00f6ca2a38)
aggr_add_pseudo_tx_group+0x1e3(ffffff23509b6008, ffffff27c77b6fb8)
aggr_grp_add_ports+0x1bf(d, 1, 0, ffffffa3718caba0)
aggr_ioc_add_remove+0xec(ffffff2862eba8c0, 807bbc0, a660004, 100003)
aggr_ioc_add+0x28(ffffff2862eba8c0, 807bbc0, 100003, ffffff38a83e8050, ffffff00f6ca2e58)
drv_ioctl+0x1e4(2b00000000, a660004, 807bbc0, 100003, ffffff38a83e8050, ffffff00f6ca2e58)
cdev_ioctl+0x39(2b00000000, a660004, 807bbc0, 100003, ffffff38a83e8050, ffffff00f6ca2e58)
spec_ioctl+0x60(ffffff232ccc4d00, a660004, 807bbc0, 100003, ffffff38a83e8050, ffffff00f6ca2e58)
fop_ioctl+0x55(ffffff232ccc4d00, a660004, 807bbc0, 100003, ffffff38a83e8050, ffffff00f6ca2e58)
ioctl+0x9b(3, a660004, 807bbc0)
_sys_sysenter_post_swapgs+0x237()

Anything else you want, anyone who doesn't want to download a 16 GB file?

Also available in: Atom PDF