From owner-freebsd-stable@freebsd.org Fri Dec 4 16:06:49 2020 Return-Path: Delivered-To: freebsd-stable@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 51E414A4A9F for ; Fri, 4 Dec 2020 16:06:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Cncyw6qPyz4vBb for ; Fri, 4 Dec 2020 16:06:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 0B4G6etp005754 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 4 Dec 2020 18:06:43 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 0B4G6etp005754 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 0B4G6etR005753; Fri, 4 Dec 2020 18:06:40 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 4 Dec 2020 18:06:40 +0200 From: Konstantin Belousov To: =?utf-8?B?w5Z6a2Fu?= KIRIK Cc: freebsd-stable Subject: Re: msdosfs umount problem Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4Cncyw6qPyz4vBb X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 16:06:49 -0000 On Fri, Dec 04, 2020 at 04:39:43PM +0300, Özkan KIRIK wrote: > # ps alxww | grep umount > 0 13556 1360 0 20 0 10716 2076 mntref D+ 1 0:00.00 umount > -vf /mnt > > checkedout version: > commit e7cae3d24a3e8d036c763f294bcd9883a180c36a (freebsd/stable/12) > https://github.com/freebsd/freebsd/commits/stable/12 (still it's the last > commit) > > On Fri, Dec 4, 2020 at 4:26 PM Konstantin Belousov wrote: > > > On Fri, Dec 04, 2020 at 03:19:31PM +0300, Özkan KIRIK wrote: > > > Hello, > > > > > > I've just checkedout stable/12 branch. Unmounting msdosfs blocks > > > > > > # newfs_msdos -C 40M efiboot.img > > > efiboot.img: 81800 sectors in 10225 FAT16 clusters (4096 bytes/cluster) > > > BytesPerSec=512 SecPerClust=8 ResSectors=1 FATs=2 RootDirEnts=512 > > > Media=0xf0 FATsecs=40 SecPerTrack=63 Heads=255 HiddenSecs=0 > > > HugeSectors=81920 > > > # mdconfig ./efiboot.img > > > md0 > > > # mount -t msdosfs /dev/md0 /mnt > > > # umount -vf /mnt (uninterruptable wait) > > > > > > On other termial: > > > # ps ax | grep umount > > > 1333 0 D+ 0:00.00 umount -vf /mnt > > > > > > There is not such a problem on 12.1 stable > > Which revision did you checked out ? > > Show the mchan of the umount process, like 'px alxww | grep umount'. > > This should be fixed by r368339. Thank you for the report.