From nobody Fri Jan 20 14:55:29 2023 X-Original-To: bugs@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 4Nz2c13JRxz2sl60 for ; Fri, 20 Jan 2023 14:55:29 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nz2c10M5Bz3xyl for ; Fri, 20 Jan 2023 14:55:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674226529; 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; bh=/AOjnVmumkcdIzfvT4D+cMtBJ10tEIBT51lr/uWRFfI=; b=ZkVT9kovQCApaqChGtRFsCkPKnXC2UaCYVVKQrW55g8/hNSJjvgfT2zOQeWqmd9T4u/CSy XG6UOmO95qRWRc9ePO74wz17nFBK3AaHjhYzRXIV46tPWElYkK8xKDfHBFqGVCxbSRZfO4 uEAh7T+4YWWZ+oq9+/1Vs+hiDIF5aGhVJb4tjlcdvQOLTni0e/TJgx2bpn/3V6Kgjc8asJ k31Yr4UkkV+bEVnsU0mUa72oFkBZLNQn6kmW9mkxOgs6w6i7zl+CpDQnCVFzASUqWb618P 9clVJ1zrlvpC34+SopKx89CthzJdKeIB4eY1Nsd0olEb5yDxecmnEynQNSh9Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674226529; a=rsa-sha256; cv=none; b=pB285PHB/jcxAwRcnF59tvnuKN5kYoh8ge9sxOObK5oQs5O7xRTopTTB+3gre7Q71Q/uyA 3sF7961REa5HUDzlBTcEjc6oqCzI+I7ItRv4cZzRR2ZCXQZhBjbEs6vnx+pkAKBVxnNn8M /Nm6lcG2c2OLh0qBn2HEIzgYhaF/vhB+DLq410f6qK9OxMgFxzImIHoNCmz2N8ToYey6jK //NsqVoAn33xcuZZCAosZ9iuXr2oe3nvkRW6Hy1MYdciqf1cl1WeYMi7xBOm08Uh0EIZdd 284pJ3Hakz6LGtxcgy3jA/VfLjnHB0za6iKsL4HiWR/UOMf17Of/dzDg8OGzcw== 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 4Nz2c06XwlzZB6 for ; Fri, 20 Jan 2023 14:55:28 +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 30KEtSRi092797 for ; Fri, 20 Jan 2023 14:55:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30KEtSeE092796 for bugs@FreeBSD.org; Fri, 20 Jan 2023 14:55:28 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: bugs@FreeBSD.org Subject: [Bug 269072] fstyp(8) does not recognize rpi2040 chip in update mode as fat16-drive Date: Fri, 20 Jan 2023 14:55:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nkoch@demig.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269072 Bug ID: 269072 Summary: fstyp(8) does not recognize rpi2040 chip in update mode as fat16-drive Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: nkoch@demig.de The rpi2040 chip's usb interface either works as serial device or as disk device for installing firmware updates. I've configured autofs=3DYES and verified that it works with some usb stick (KNOPPIX). When switching the rpi2040 to firmware update mode the kernel's dmesg output correctly reports a new mass storage device which I can manually mount as e.g. mount -t msdosfs /dev/da0s1 /mnt. But automounting does not work because fstyp /dev/da0s1 reports an unknown = file system type. Here is the output of file /dev/da0s1 for the rpi2040 and /dev/da1s1 for the working usb stick: /dev/da0s1: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSWIN4.1", sectors/cluster 8, root entries 512, Media descriptor 0xf8, sectors/FAT 129, sectors/track 1, heads 1, hidden sectors 1, sectors 262143 (volumes > 32 MB= ), serial number 0x0, label: "RPI-RP2 ", FAT (16 bit) /dev/da1s1: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "SYSLINUX", sectors/cluster 16, reserved sectors 2800, Media descriptor 0xf8, sectors/t= rack 63, heads 255, hidden sectors 2048, sectors 30717952 (volumes > 32 MB), FAT= (32 bit), sectors/FAT 14984, reserved 0x1, serial number 0x7cc17ec6, unlabeled Does the combination of FAT16 and (volume>32MB) confuse fstyp? --=20 You are receiving this mail because: You are the assignee for the bug.=