From nobody Tue Jun 8 11:34:21 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 A4274F7F13F for ; Tue, 8 Jun 2021 11:34:25 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 4Fzp6n4130z4XlY; Tue, 8 Jun 2021 11:34:25 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id a20so21254578wrc.0; Tue, 08 Jun 2021 04:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=6Np4zj3yujKOkch/ksmscP/gKp0fmRrNWHm5c3o4ikw=; b=TLCbxqAY9KACBryLTxyyCkFFQiYD0AzDQVRFezcxCYYrTeXbJmSs16ioRpzezouD8N P8GQQKALJbl8Xv1VA0a9vD1DufSZoUipFbwAZUCsXcMgnLXMKLxRIeDSG+LhUntGPphb VgS6WnuPMsm6LD4Jlv1NZqbjZ3jSg27L4/jY8v4felAd6O9cJ0kOj7bkppfSEBFrjeym b1Ya6zW2fai7OC7FgTqb6fBqA6C2mNM8px3+TcyF0C3S6QaeIWskzvSMiyjya4YFw+kz 8BKsyt/Y0KLL+jvXf12cQ0Vsjn1zqPidsaFd93NPGAkN0bFfWik+B4VlCx9UuKq9ebb4 2EWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=6Np4zj3yujKOkch/ksmscP/gKp0fmRrNWHm5c3o4ikw=; b=FWBTOEwZNKCAbMvY3v05RhamH7+vlAotS/6rRjs4UsXKeqNpmU3xnUAB/DXdq5OvL/ 5siRwmXOCMEiLsCi8FHmJbcs366YqhAzZzw6r91wdC/UwvYXk29E2wW6eTI1Hze+AEpB TpMqmyYqyb3ykWLEeZwPNxO5VPl3pswa4I7jFdOhJ8oAuRfVvd6E8loUkynF1iVHW4vV BH53Mb2NgCl02OF1ev37/ZamvRNYiqD2mqk9UueUgBy+YRoq55TBTFNgLtFCbR3ysLcG BPVwKH0Mkx6vI+DgLJwGWijNGWqFfTzBqCiBMYmrxJo6rJHAAgLISmYvYYZgg5LGM1gY uG2Q== X-Gm-Message-State: AOAM530q5tZBebxZbj80sRpQpxyL+JvZ+gPUKJAgbgwIZ2mB2nVVPEsW cWWKjsBn1abdSGV4fPv4cT8= X-Google-Smtp-Source: ABdhPJyB9xFkj5fVPLm01balDViNJSM5Gi95reMmoH+je3trSwn+vvIYqui5CVLcHuYjoxpBCjxPWQ== X-Received: by 2002:adf:f7d2:: with SMTP id a18mr22939334wrq.111.1623152063785; Tue, 08 Jun 2021 04:34:23 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id p5sm20401472wrd.25.2021.06.08.04.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 04:34:22 -0700 (PDT) Date: Tue, 8 Jun 2021 13:34:21 +0200 From: Gary Jennejohn To: Hans Petter Selasky Cc: Mateusz Guzik , Mark Johnston , freebsd-current@freebsd.org Subject: Re: kernel panic while copying files Message-ID: <20210608113421.5da38371@ernst.home> In-Reply-To: <7f47fcca-eafe-59c0-40ff-de3426f3b754@selasky.org> References: <20210607090109.08ecb130@ernst.home> <20210608084646.6a7e1bc7@ernst.home> <7f47fcca-eafe-59c0-40ff-de3426f3b754@selasky.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Fzp6n4130z4XlY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 8 Jun 2021 11:20:37 +0200 Hans Petter Selasky wrote: > On 6/8/21 11:04 AM, Mateusz Guzik wrote: > > Apparently caused by recent changes to CAM. > > > > Let me know if you want more information. > > Maybe you can print the *ccb being freed and figure out which device > it belongs to. > I'm now running a kernel without INVARIANTS, so I can check: Jun 8 13:23:52 ernst kernel: ugen2.4: at usbus2 Jun 8 13:23:52 ernst kernel: umass0 on uhub5 Jun 8 13:23:52 ernst kernel: umass0: on usbus2 Jun 8 13:23:52 ernst kernel: umass0: SCSI over Bulk-Only; quirks = 0xc101 Jun 8 13:23:52 ernst kernel: umass0:6:0: Attached to scbus6 Jun 8 13:24:37 ernst kernel: da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 Jun 8 13:24:37 ernst kernel: da0: Fixed Direct Access SPC-4 SCSI device Jun 8 13:24:37 ernst kernel: da0: Serial Number 000000000001 Jun 8 13:24:37 ernst kernel: da0: 400.000MB/s transfers Jun 8 13:24:37 ernst kernel: da0: 7630885MB (15628053168 512 byte sectors) Jun 8 13:24:37 ernst kernel: da0: quirks=0x2 The only USB device which I turned on. Fields in the ccb like periph_name, unit_number and dev_name are filled with zeroes. The ccb is enormous and really hard to parse. -- Gary Jennejohn