From owner-freebsd-current@FreeBSD.ORG Tue Dec 17 00:18:51 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA08E1DD for ; Tue, 17 Dec 2013 00:18:51 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 905621F4E for ; Tue, 17 Dec 2013 00:18:51 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id i8so4360114qcq.10 for ; Mon, 16 Dec 2013 16:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=W6ssRTwH7piYwFkknXMgYDXgR4eySBHAzl1qH0GHhU8=; b=SSHKZtbY1BvvfLPuqZgdfRP/B9P29PtYeSXNGjbsxwWPWUfaW4ePSqZG5Q14P+FpiJ GK6NbumH97kKkkwPBDKyBbiExof+0m3EaQ+6zS+n32r4HLDQFIBIfVi45s/5g4tRWHYD YnuzHGPBXELFstDtG84CbO7xG+zRcIrkKa6N0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=W6ssRTwH7piYwFkknXMgYDXgR4eySBHAzl1qH0GHhU8=; b=ZNlsUg3DM5mzv138GzG8zMPwuSBtbt6wtlvzh03Xpr/oNhRCYpCYcAZU+8/aV+zPfG EZaBRYGn5+T8M9CqdU8r9boV+kHZ9LQOHKe2vHhZKj50PtvHJvAzX6ffp0D7NX1WmbZS nM8E7gu0bm28LrqGRXtmWNYzZ1THoGRPOYbQdIDmdQH3A85lD8p8HBdPhTGxEzjg2mwi sezjvat2geIt4lN6uycVgE7x2Fv1CEXP1gfPDcNDHaVUnTbAv0yRQbCuhcyS1H1dSuYn g/HfvolBpElIpq8NqE/iGqS3WOelBogRK/PwSUvdDcAP0ezja32qqSBjZB+tppoYmTIm ECJg== X-Gm-Message-State: ALoCoQny6CkfcuAg7WGt65ldp38YCCZM0dNO5oRxv+2bdl09V0FZYwx0vDs327nO29XcHLideULx X-Received: by 10.49.74.138 with SMTP id t10mr37588354qev.21.1387239530640; Mon, 16 Dec 2013 16:18:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.86.42 with HTTP; Mon, 16 Dec 2013 16:18:20 -0800 (PST) In-Reply-To: References: <52AEF86B.5080600@FreeBSD.org> From: Eitan Adler Date: Mon, 16 Dec 2013 19:18:20 -0500 Message-ID: Subject: Re: r259286 panic To: Aleksandr Rybalko Content-Type: text/plain; charset=UTF-8 Cc: Alexander Motin , freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 00:18:51 -0000 On Mon, Dec 16, 2013 at 6:41 PM, Aleksandr Rybalko wrote: > > Hi guys! > > I've investigate problem a bit. And can say that callout initialized with > callout_int(), w/o mpsafe flag: > callout_init(&vw->vw_proc_dead_timer, 0); > [sys/dev/vt/vt_core.c:1714] > And callout_init did not set CALLOUT_RETURNUNLOCKED flag, and assign it's > lock object to Giant, but where Giant lost on exit from callout I dunno :) > > seems some bug somewhere much deep. > > Eitan, do this 100% reproducible? If so, can you please try to replace > callout_init(&vw->vw_proc_dead_timer, 0); > with > callout_init(&vw->vw_proc_dead_timer, CALLOUT_MPSAFE); > at [sys/dev/vt/vt_core.c:1714] ? I can not reproduce it, despite trying. >From memory here is what I saw: - X seemed frozen so I VT switched to the terminal - this took a long time - I plugged in a USB mouse - instant panic I have no idea if any of those are related (in particular, was the mouse just a fluke?). -- Eitan Adler