From nobody Mon Sep 16 01:04:37 2024 X-Original-To: fs@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 4X6RX72dgqz5W1Qd for ; Mon, 16 Sep 2024 01:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6RX64MHsz4dpw for ; Mon, 16 Sep 2024 01:04:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726448678; a=rsa-sha256; cv=none; b=yz71Yx156AOn/K4M3+zPjsjMG2+pXZyr5yTj93zj1/2Z2ZgSPsmqOjbWAyUt3+3dKoxKmv Y2N/WxCc5ZhUP0vqOKU4UAJ/wy88ErcHivb4HXAtiYdt8o3OGPACHAYSFXkHIR1KmAD+zt A9hz6nX/014/KGhnav81cNmAMaKC2RI4zO6SMyjks5FysqS1IygklMAYwnS9Qm2UiTLTXz QvmDOddPDYGDpylIEngt4EBGl8YRcfeuJBgmA6zcT899fBmQL8UrBIzNx7Zs2cgbA/mhI9 ccX73TLS981RoqM6a0O2uCvTDMDELtLl5Qd5V8sklJmTrrMbQG2rDyoZye4CuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726448678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dEtBipvHSSrtosjZ3jEykO09BS+bF+G4pAicym+otY4=; b=HEIFuD4T3TFv94LhTK8Ut51+SXD4K3wZhTTuYKifHDaaCb1bo49S0coSRNG7WBnm9QY3Nx q20ga8kmVHNNLu+UWKzOO59Ut935S45Niee3AzbCiiqK26FUjphEXfJYIUj+D/g4ylowIX 9cZlPxL6Ait41NUG/EisRRn5LBfD2k10jtZuRqdhctQTl29m/rpUISUSLc9kFe/EIhfKbm qEHWqLTfegIacQ1a8+EHeHFJkkAOM1hGdSLn59JVvrFJ9zVvfrmTadUhTsgJBYpG9cl4tk mCXULRzjcevHyEP+mmGY7lz7LoQWrfv2PhlvC0/0K8ZwdRByfASr3XSGd7hN0Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X6RX63rw3zZ5s for ; Mon, 16 Sep 2024 01:04:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48G14ct6049366 for ; Mon, 16 Sep 2024 01:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48G14cxq049356 for fs@FreeBSD.org; Mon, 16 Sep 2024 01:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 281524] msdosfs error over USB causes a kernel panic Date: Mon, 16 Sep 2024 01:04:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281524 Tomasz "CeDeROM" CEDRO changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomek@cedro.info --- Comment #1 from Tomasz "CeDeROM" CEDRO --- Does the problem occur when you use different mount_msdosfs (8) options for= the filesystem? For instance try -o longsnames/shortnames/nowin95 and/or -s / -9 flags. These embedded FAT12/16 emulation implementations are usually limited and m= ay not support all calls (i.e. metadata access). For instance some time ago I was playing with DAPLink FAT12 implementation.= . it only supported single sector due RAM limitations in MCU but was sufficient store a firmware file.. and partition table was not compatible with some FAT implementations (for instance Android always try fsck on disk attach and th= at failed).. etc etc. Are you sure nothing in the background (i.e. gvfs / file manager) tries to access the drive, write anything on it (i.e. trashbin), check metadata? Can= you try using the disk with no Xorg WM in plain terminal, mount, read files, wr= ite files, and see if that helps? Maybe this macOS / msdosfs issue is somehow related? https://github.com/adafruit/circuitpython/issues/8449 They had problems with slow writes and IO errors.. but the solution was not= to fix the CircuitPython (CP) FAT emulation implementation but the host side. Looks like something similar happens here? I am not sure but if FreeBSD msdosfs provided some sort of trace / debug it could be possible to pinpoint the issue and fix the CP? --=20 You are receiving this mail because: You are the assignee for the bug.=