From owner-freebsd-questions@freebsd.org Tue Mar 17 19:08:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11A342700D3 for ; Tue, 17 Mar 2020 19:08:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hjPS40MPz4d2m for ; Tue, 17 Mar 2020 19:08:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MOiLv-1ivxeA2ytj-00QFuq; Tue, 17 Mar 2020 20:08:17 +0100 Date: Tue, 17 Mar 2020 20:08:16 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: SD card formatting Message-Id: <20200317200816.bb09a7d4.freebsd@edvax.de> In-Reply-To: <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> <20200317174827.d6fd1548.freebsd@edvax.de> <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K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5osMhaeDXH/yMQeIVPzA1O06K49E9WS1 1PA8wsCR7EJnCGNmxrBzId23/CWXOhcMEbX8CqboBI4XW5oUqZ2yGMi7NJF4og8CflRY0vZ X-Rspamd-Queue-Id: 48hjPS40MPz4d2m X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.61)[ip: (1.99), ipnet: 212.227.0.0/16(-1.12), asn: 8560(2.18), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 19:08:31 -0000 On Tue, 17 Mar 2020 11:47:15 -0600, Gary Aitken wrote: > On 3/17/20 10:48 AM, Polytropon wrote: > > On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: > >> hmmm, strange. > >> I did a pkg install of autoconf and automake and they installed ok, > >> was then able to make both fusefs-exfat and exfat-utils. > >> > >> Attempting to mount a known good card formatted in the camera: > >> > >> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > >> FUSE exfat 1.2.8 > >> fuse: failed to open fuse device: No such file or directory > >> > >> grrr. > >> > >> # dumpexfat /dev/da0s1 > >> Volume label > >> Volume serial number 0x50478f5b > >> FS version 1.0 > >> Sector size 512 > >> Cluster size 131072 > >> Sectors count 124702720 > >> Free sectors 31074560 > >> Clusters count 486992 > >> Free clusters 121385 > >> First sector 32768 > >> FAT first sector 16384 > >> FAT sectors count 16384 > >> First cluster sector 32768 > >> Root directory cluster 4 > >> Volume state 0x0000 > >> FATs count 1 > >> Drive number 0x80 > >> Allocated space 255% > >> > >> I don't understand the "No such file or directory" error, given that > >> dumpexfat found it. > >> I also don't understand the allocated space number... > > > > You need to enable FUSE functionality in /boot/loader.conf: > > > > fuse_enable="YES" > > > > And in /etc/rc.conf: > > > > fusefs_enable="YES" > > > > The "No such file or directory" probably refers to something > > missing for FUSE to work. > > I added > fuse_enable="YES" > to /boot/loader.conf.local > and > fusefs_enable="YES" > in /etc/rc.conf > Then rebooted. That should be okay. > Should "fuse" show up in a sysctl -a? Yes. > # sysctl -a | grep -i fuse > shows nothing That's the problem. In kldstat output, you should see a fuse.ko module, and the sysctl command should also show various entries related to fuse (vfs.fuse.*). > # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > FUSE exfat 1.2.8 > fuse: failed to open fuse device: No such file or directory FUSE still isn't running. > # ls -dl /dev/da0* > crw-rw---- 1 root operator 0x9a Mar 17 11:26 /dev/da0 > crw-rw---- 1 root operator 0x9b Mar 17 11:26 /dev/da0s1 > # gpart show -r /dev/da0 > => 63 124735425 da0 MBR (59G) > 63 32705 - free - (16M) > 32768 124702720 1 7 [active] (59G) > > If I put the SD card in a win7 system it says it is an exFAT filesys, > so at least we're on the right track. Definitely. Now it's just a matter of getting FUSE running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...