From owner-svn-src-head@freebsd.org Wed May 9 17:47:19 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01B7CFC66FE; Wed, 9 May 2018 17:47:19 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0ADC7DDEF; Wed, 9 May 2018 17:47:18 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 6986DB8B3; Wed, 9 May 2018 17:47:18 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-it0-f54.google.com with SMTP id q72-v6so11509929itc.0; Wed, 09 May 2018 10:47:18 -0700 (PDT) X-Gm-Message-State: ALKqPwdMsrEVIbd6c4/y+yvDCNrQuk+LCZ0689J1KrybOYqXNc3XK+Ch jjJ4UcXL1zfMCRLkndFCqB5V3frZbq9EsVk9eiw= X-Google-Smtp-Source: AB8JxZq71la03saaMgZyQrQU+s20N8+72Hp+SMH1daCTWZt89uHMtaQkT/h/EFxxJcFUO9RYNMT6YUuSa6jL9nL+O6o= X-Received: by 2002:a24:4455:: with SMTP id o82-v6mr10802043ita.4.1525888037736; Wed, 09 May 2018 10:47:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:b0c3:0:0:0:0:0 with HTTP; Wed, 9 May 2018 10:47:17 -0700 (PDT) In-Reply-To: <20180509124820.GA34572@tom-desk.erg.abdn.ac.uk> References: <201805062034.w46KYDUY088148@repo.freebsd.org> <20180509124820.GA34572@tom-desk.erg.abdn.ac.uk> From: Matthew Macy Date: Wed, 9 May 2018 10:47:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r333309 - in head/sys: net netinet netinet6 To: Tom Jones Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 17:47:19 -0000 Can you tell me anything more about your workload? On Wed, May 9, 2018 at 5:48 AM, Tom Jones wrote: > On Sun, May 06, 2018 at 08:34:13PM +0000, Matt Macy wrote: >> Author: mmacy >> Date: Sun May 6 20:34:13 2018 >> New Revision: 333309 >> URL: https://svnweb.freebsd.org/changeset/base/333309 >> >> Log: >> r333175 introduced deferred deletion of multicast addresses in order to permit the driver ioctl >> to sleep on commands to the NIC when updating multicast filters. More generally this permitted >> driver's to use an sx as a softc lock. Unfortunately this change introduced a race whereby a >> a multicast update would still be queued for deletion when ifconfig deleted the interface >> thus calling down in to _purgemaddrs and synchronously deleting _all_ of the multicast addresses >> on the interface. >> >> Synchronously remove all external references to a multicast address before enqueueing for delete. >> > > Hi Matt, > > I am getting periodic panics on a FreeBSD CURRENT guest running bhyve on > a 11.1 Host. An idle guest will panic after about 5 minutes. Reverting > this commit stops the panics. > > Fatal trap 9: general protection fault while in kernel mode > cpuid = 0; apic id = 00 > instruction pointer = 0x20:0xffffffff80db01ac > stack pointer = 0x28:0xfffffe00121827d0 > frame pointer = 0x28:0xfffffe0012182800 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 12 (swi4: clock (0)) > [ thread pid 12 tid 100023 ] > Stopped at in6m_disconnect+0x13c: cmpq %r13,(%rcx) > db> bt > Tracing pid 12 tid 100023 td 0xfffff8000322d000 > in6m_disconnect() at in6m_disconnect+0x13c/frame 0xfffffe0012182800 > mld_fasttimo() at mld_fasttimo+0x62b/frame 0xfffffe00121828d0 > pffasttimo() at pffasttimo+0x54/frame 0xfffffe0012182900 > softclock_call_cc() at softclock_call_cc+0x150/frame 0xfffffe00121829b0 > softclock() at softclock+0x7c/frame 0xfffffe00121829e0 > intr_event_execute_handlers() at intr_event_execute_handlers+0x99/frame 0xfffffe0012182a20 > ithread_loop() at ithread_loop+0xb7/frame 0xfffffe0012182a70 > fork_exit() at fork_exit+0x84/frame 0xfffffe0012182ab0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0012182ab0 > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > - [tj] >