NetBSD Problem Report #56690
From www@netbsd.org Sat Feb 5 22:08:37 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id CB54A1A9239
for <gnats-bugs@gnats.NetBSD.org>; Sat, 5 Feb 2022 22:08:37 +0000 (UTC)
Message-Id: <20220205220836.206071A923B@mollari.NetBSD.org>
Date: Sat, 5 Feb 2022 22:08:36 +0000 (UTC)
From: abs@absd.org
Reply-To: abs@absd.org
To: gnats-bugs@NetBSD.org
Subject: tar hangs extracting base.tar.xz on v7fs
X-Send-Pr-Version: www-1.0
>Number: 56690
>Category: bin
>Synopsis: tar hangs extracting base.tar.xz on v7fs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 05 22:10:00 +0000 2022
>Originator: David Brownlee
>Release: NetBSD 9.99.92
>Organization:
none
>Environment:
NetBSD forsaken.absd.org 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Mon Jan 24 16:56:26 GMT 2022 abs@iris.absd.org:/home/netbsd/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
Attempting to extract a NetBSD base.tar.xz onto a 2GB v7fs filesystem mounted via vnd0 hangs
First attempt hung on
./libdata/firmware/if_bwfm/brcmfmac43602-pcie.bin
Second and subsequent attempt hangs on
./lib/libc.so.12.220
Removing all files and restarting returns to hanging on brcmfmac43602-pcie.bin
Extracting rescue.tar.xz works fine (and a subsequent chroot /altroot /rescue/sh works)
>How-To-Repeat:
dd if=/dev/zero of=/tmp/fs bs=1m count=2048
newfs_v7fs -F -s 4194304 /tmp/fs
vndconfig vnd0 /tmp/fs
mount_v7fs /dev/vnd0d /altroot
tar xvzpf -C /altroot .../base.tar.xz
<watch hang>
hit ^C and try again
Running an rsync of /usr/X11R7 onto /altroot/usr/X11R7 also gives indications of a broken fs:
# ls /altroot/usr/X11R7/lib/X11/fonts
.uuid 75dpi Speedo Type1 encodings misc
100dpi CID TTF cyrillic local util
# du /altroot/usr/X11R7/lib/X11/fonts
24647 /altroot/usr/X11R7/lib/X11/fonts/100dpi
du: fts_read: No such file or directory
7# ls -alsd /altroot/usr/X11R7/lib/X11/fonts/75dpi
6 drwxr-xr-x 2 root wheel 6608 Feb 5 21:48 /altroot/usr/X11R7/lib/X11/fonts/75dpi
# du /altroot/usr/X11R7/lib/X11/fonts/75dpi
du: fts_read: No such file or directory
94# ls -als /altroot/usr/X11R7/lib/X11/fonts/75dpi| wc -l
414
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.