From nobody Tue Jun 08 15:46:47 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5DD4A7ED6DA for ; Tue, 8 Jun 2021 15:47:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FzvkD0b3gz3Mv7 for ; Tue, 8 Jun 2021 15:46:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2c.google.com with SMTP id u14so8109197qvq.6 for ; Tue, 08 Jun 2021 08:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Of80+3XD5i02jKNK6RPQtvSUoBWLQiZ2w8aDkE0397Q=; b=CY/2PY+yvqyvDMbGi/DJ6/ibxOl2JtnIcUqjd3v6Sr+20Ic0MxfiTK0FV+f36cqw7u vKNsN5zadMfWiBtPBI3rLrvc4P861KkBxezt1DhO6rBuLFH+5jR2a4llq667Fboa6M/c oG4lACq0Ec0h3DwkMryg9u0/8uKLwHspF6/ow9UJYvIM3EL9Tsoez0iSKcxrOT0Mh7bC kiF7fcQ8ZIcDmHQEf68uxjqrhZyw4kaMbxH+9wEshTnHVk/5JJmJe37NAHNBnWa3hgTL VjzfYqAAUIFoJ0BoP7VYBWntZblEtakIidQsOa9ocmU/TAIMerTK963DLYeFdHKqDb/+ UP+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Of80+3XD5i02jKNK6RPQtvSUoBWLQiZ2w8aDkE0397Q=; b=DTDTfApMfVrYms0sLCxmbn2w1b+BsOBS7WftYahZLUgcuVMnNCrEIdVlqr+B11FxFL GjGBMgzGo6SYN0n3hLjsmQJmZNXE2XPBtIVw3LC66SEJzAG3fm2TI4AQAMq+leuJ7vTi /X91WayjX3+WpxoodIsDpg301sfgiU+ZWuOQRusZKAiYgm124u5Ff4gz1FZxrmJn7JlK 5s2bci8UT15qhuUajhS6ck5L2GT1sYzJznkndr9JDoaU8N/owHzAcj1n0aFLJWotpg+k YkE7yOJyNBVjjWhXGHVVMxXj8W54tjurMGs1M23HxuzlYqmzCrQw5sSgeghqJFcp4Bpg xFrg== X-Gm-Message-State: AOAM531zuvIrzjy4WhNKSq2P6spPdgvGIqpEkwOfBJ7hV2iee8EYVDVr AJAu6fx6RaR1crKFF+MzK7+3gUf3+IMzAG0N+QamwQ== X-Google-Smtp-Source: ABdhPJwDzriOS5sggHy1KF0VxooRE/TNpIwdvl9xaPUEVm453aMSW/c4fsmLn2dE1r0PMj0+oWzFy0HQvHqM6b/E5xM= X-Received: by 2002:a05:6214:16c1:: with SMTP id d1mr656827qvz.62.1623167218674; Tue, 08 Jun 2021 08:46:58 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210607090109.08ecb130@ernst.home> <20210608084646.6a7e1bc7@ernst.home> <20210608144158.542d03be@ernst.home> In-Reply-To: <20210608144158.542d03be@ernst.home> From: Warner Losh Date: Tue, 8 Jun 2021 09:46:47 -0600 Message-ID: Subject: Re: kernel panic while copying files To: Gary Jennejohn Cc: Mark Johnston , FreeBSD Current , "Edward Tomasz Napiera?a" Content-Type: multipart/alternative; boundary="0000000000007b270105c44311ea" X-Rspamd-Queue-Id: 4FzvkD0b3gz3Mv7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000007b270105c44311ea Content-Type: text/plain; charset="UTF-8" On Tue, Jun 8, 2021 at 8:42 AM Gary Jennejohn wrote: > On Tue, 8 Jun 2021 06:48:19 -0600 > Warner Losh wrote: > > > Sorry to reply to myself... had a thought as my brain rested while making > > tea... > > > > I think we may need to consider reverting (or at least not yet enabling) > > the uma stuff. > > > > I tested and enabled the UMA CCB stuff immediately after trasz had > committed it. I was able to copy files panic-free over USB until > recently AFAICR. > > I also have had the kern.cam.ada.enable_uma_ccbs=1 set since > then and have never seen a problem there. Only with USB. > Yes. This specific bug only affects SCSI. And it only affects it when there's an error that requires a restart. I've not yet had the time to do an audit for where else the copying is done... > I'll try booting a new kernel with the uma_ccb sysctl's set to 0 > and see what happens. > > BTW I now have a kernel compiled with -O0 ready to test. > Great! Warner --0000000000007b270105c44311ea--