From owner-freebsd-current@freebsd.org Sat Feb 17 15:15:41 2018 Return-Path: Delivered-To: freebsd-current@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 C2763F17763 for ; Sat, 17 Feb 2018 15:15:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 509FB845FD for ; Sat, 17 Feb 2018 15:15:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x232.google.com with SMTP id l12so1350579ioc.10 for ; Sat, 17 Feb 2018 07:15:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=aN+fQpNDtJgLfAExUZY5I7xbFmQXPAFk/5KCKVyxlTQ=; b=yDuP2oaM3NGEqxQGJruyO8YgxCb91nQa3AXc4Xpz0XtVoKWk2Hz55VomeNmFcjnpcp N9AvnFkm4WIK4MZJZhKV6zFdvxgfme/D4Fs56UYWM5a0EBlZgkjdh/PpO4+TiQ9fr/dL NArG7Mb5kfbYpSbuSLfXL/PHnX51GtDuScf9Q7l7K+HmVrdCmPMsR53pk7upnrK0ASOM sJAhsXfBlOZ0Q5x2VkU29DBbns8+J2FGPg/ZIxt9DinALJKNGwMJuZvvrHuMMMctQUJw izDpmn3+QMu1xenEtWNK8F1+wd25qTT4BJmyEwInG0dFyPCx4Q+f4OBaG2uM9mMtkwVA SrNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=aN+fQpNDtJgLfAExUZY5I7xbFmQXPAFk/5KCKVyxlTQ=; b=iqaCMW8Y2g4qqAs0OLvJcFCHv47vHk6pDIWKVI7Ga6PmsHRq7eOHWJQM/HALZcb7A3 ORqf5AJmgT17+Rb7OPI2PMCgSpIQjAPubrG5752oYJxKn4J0SQcb8iNKeSN7ARt/iypa Uh9eClWouNPr9gPJ6q4UR/AEtrJGI2vqtIQlS0n+qCdX6gHVE6Pw3XkePDjO44xl6ecq LFsMee0miCDm/J4bFf6XpJpttrpMqFUxV/JB7UvNJDyU7jM6ZqS8T81VLI/higdgzZSl eekRndWQYDKmBeOnyHzJ4tRJ+tk5B6VMoJSyVErTG4ENchnjuKWhkOvS4nGUIeCXf8lc IyBw== X-Gm-Message-State: APf1xPB3L4AAE5zw0GNwHQsi5eyLtXtKzfhlaLia7q1fqW9sCmSPXSgx u8HR0PWrk6GbA5mHgvtXuhio9XR/IeCZy8KQqhgPOQ== X-Google-Smtp-Source: AH8x225dU4o8i0i4KgfmaMMjfWXNxPr2dKAE27wyeOc4a5zXu7nxaxSoEzjHKiLZyRgtHr8vW77YCoVdsb8HwFAMh/g= X-Received: by 10.107.2.6 with SMTP id 6mr12694569ioc.117.1518880540655; Sat, 17 Feb 2018 07:15:40 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Sat, 17 Feb 2018 07:15:39 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <56adf14f-54d0-2669-cb12-139f06a370b5@selasky.org> References: <56adf14f-54d0-2669-cb12-139f06a370b5@selasky.org> From: Warner Losh Date: Sat, 17 Feb 2018 08:15:39 -0700 X-Google-Sender-Auth: uQ1g52uxHVEogD9x0PJueG1_AB8 Message-ID: Subject: Re: panic in daprobedone: Unholding 4 with cnt = 0 To: Hans Petter Selasky Cc: Warner Losh , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sat, 17 Feb 2018 15:15:42 -0000 On Sat, Feb 17, 2018 at 8:04 AM, Hans Petter Selasky wrote: > On 02/17/18 15:47, Warner Losh wrote: > >> That's interesting. What did you do to get there? There's some code path >> that's unholding the periph without first holding it. I've been trying to >> find a scenario. >> >> > I just booted into single user mode with a multi-card USB reader attached. > Seems like some kind of race. Doesn't happen during normal boot. I've done that with my systems here... If you can reliably reproduce it, booting a kernel with 'options DA_TRACK_REFS=2' in the kernel config and send me the output? Warner