From owner-freebsd-current@freebsd.org Sat Sep 12 07:54:40 2020 Return-Path: Delivered-To: freebsd-current@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 80C1A3F70D6 for ; Sat, 12 Sep 2020 07:54:40 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpPzM39D8z4Y26; Sat, 12 Sep 2020 07:54:39 +0000 (UTC) (envelope-from ohartmann@walstatt.org) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([89.14.98.0]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M5QF5-1kGB131HNt-001Tm5; Sat, 12 Sep 2020 09:54:16 +0200 Date: Sat, 12 Sep 2020 09:54:11 +0200 From: "Hartmann, O." To: Alan Somers Cc: "O. Hartmann" , Ryan Stone , Michael Butler , FreeBSD Current Subject: Re: buildworld: "cp: /dev/null: Invalid argument" Message-ID: <20200912095411.0c307601@hermann.fritz.box> In-Reply-To: References: <07df44dc-5635-121e-bcd0-f5bb6c70ee54@protected-networks.net> <20200911095723.12e10580@freyja> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/UmZ=MoMzw+g4VljsGTyMkvT"; protocol="application/pgp-signature" X-Provags-ID: V03:K1:Y16FWo7B336iHGZ5Jnx4OgYSKX81xFNzTKMgySNcdVepLBlZRum v4DfqMMWQTY9Ta4KfKNyzdEnlSY6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l/+ul0QbHiDYUka8Mexof1h KwziUZGa5agkgN0UdvR7jvcnubonBJfNmeeLCGZB8r/tYVKTVDLSBaOh+wNxUuiEanv4+oHoU QmqcjGXwT32JPcy5XYQjApHnocly0xeHKDO8vLKwFdR8nTlj5SVW5estCchJhWatOWKhmH6WI WpkGrGenn/XKd1/gvvgRQK7ZyIFSiQ8pcExavg0l7md1PqWrsKaIM9gEZ0df8m317dlaj9o3q Bexl7tXLEOxVrCoHuhEVQfNfZDVpb4f2DZbX4Kd1JP2fkCnr6fn+MDo0o+FTUmjmk3sIjJcrU QHqa0VNbkY7VzgbcUtq8B83sA1sDjVZ8wuf3ijo+MVFZigXjRMnviPOpkSmNRG3odnTIX9zlb Fv0YhADzryczvH/4pZFih4kFQTxgf6Enzqdi7YQ== X-Rspamd-Queue-Id: 4BpPzM39D8z4Y26 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.46 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.93)[-0.933]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; NEURAL_HAM_MEDIUM(-0.79)[-0.786]; RCPT_COUNT_FIVE(0.00)[5]; HAS_ORG_HEADER(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.24)[-0.238]; RECEIVED_SPAMHAUS_PBL(0.00)[89.14.98.0:received]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_CC(0.00)[walstatt.org,gmail.com,protected-networks.net,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 07:54:40 -0000 --Sig_/UmZ=MoMzw+g4VljsGTyMkvT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 11 Sep 2020 07:18:33 -0600 Alan Somers wrote: > On Fri, Sep 11, 2020 at 1:57 AM O. Hartmann > wrote: >=20 > > On Thu, 10 Sep 2020 10:44:08 -0600 > > Alan Somers wrote: > > =20 > > > No, it's devfs. I'll fix it. > > > > > > On Thu, Sep 10, 2020 at 10:18 AM Ryan Stone > > > wrote:=20 > > > > I'm curious: does this give a similar issue? > > > > > > > > touch /tmp/foo > > > > cp /tmp/foo /tmo/foo2 > > > > > > > > I'm wondering if the issue is that copy_file_range isn't > > > > handling empty files, or if it's a devfs issue. > > > > > > > > > > > > On Thu, Sep 10, 2020 at 11:45 AM Michael Butler > > > > wrote: =20 > > > > > > > > > > It seems that SVN r365549 broke "cp /dev/null ..." > > > > > > > > > > imb > > > > > > > > > > On 9/10/20 10:35 AM, Michael Butler wrote: =20 > > > > > > Is anyone else seeing failures like this in building world > > > > > > and, in =20 > > my =20 > > > > > > case, cron jobs as well? > > > > > > > > > > > > > > > > > > Building =20 > > /usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot/zfsboot.ldr =20 > > > > > > --- all_subdir_sbin --- > > > > > > Building /usr/obj/usr/src/amd64.amd64/sbin/bsdlabel/bsdlabel > > > > > > --- all_subdir_stand --- > > > > > > --- zfsboot.ldr --- > > > > > > cp: /dev/null: Invalid argument > > > > > > *** [zfsboot.ldr] Error code 1 > > > > > > make[5]: *** zfsboot.ldr removed > > > > > > --- all_subdir_kerberos5 --- > > > > > > Building =20 > > > > /usr/obj/usr/src/amd64.amd64/kerberos5/usr.sbin/iprop-log/iprop-log > > > > =20 > > > > > > --- all_subdir_stand --- > > > > > > > > > > > > make[5]: stopped in /usr/src/stand/i386/zfsboot > > > > > > .ERROR_TARGET=3D'zfsboot.ldr' > > > > > > =20 > > > > =20 > > .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot/zfs= boot.ldr.meta' > > =20 > > > > =20 > > > > > > .MAKE.LEVEL=3D'5' > > > > > > MAKEFILE=3D'' > > > > > > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes > > > > > > silent=3Dyes =20 > > > > verbose' =20 > > > > > > _ERROR_CMD=3D'cp /dev/null zfsboot.ldr;' > > > > > > .CURDIR=3D'/usr/src/stand/i386/zfsboot' > > > > > > .MAKE=3D'make' > > > > > > .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot' > > > > > > .TARGETS=3D'all' > > > > > > DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp' > > > > > > LD_LIBRARY_PATH=3D'' > > > > > > MACHINE=3D'amd64' > > > > > > MACHINE_ARCH=3D'amd64' > > > > > > MAKEOBJDIRPREFIX=3D'' > > > > > > MAKESYSPATH=3D'/usr/src/share/mk' > > > > > > MAKE_VERSION=3D'20200902' > > > > > > > > > > > > _______________________________________________ > > > > > > freebsd-current@freebsd.org mailing list > > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > > > To unsubscribe, send any mail to " =20 > > > > freebsd-current-unsubscribe@freebsd.org" =20 > > > > > > > > > > > > > > > _______________________________________________ > > > > > freebsd-current@freebsd.org mailing list > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > > To unsubscribe, send any mail to " =20 > > > > freebsd-current-unsubscribe@freebsd.org" > > > > =20 > > > _______________________________________________ > > > freebsd-current@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to " =20 > > freebsd-current-unsubscribe@freebsd.org" > > > > I still get this error on a couple of boxes, while others seem to > > buildworld > > fine. All boxes are at CURRENT revision 365625. It is a bit looking > > weird to > > me. Running now a make cleanworld/cleandir on the specific boxes > > and start building OS again. > > > > oh > > =20 >=20 > I don't know why it's intermittent, but in any case this patch should > fix it: > https://reviews.freebsd.org/D26395 > -Alan I checked on ALL CURRENT boxes. After "make cleanworld cleandir" (or just deleting usr/obj/) and starting a fresh build, those boxes with an newer kernel all fail at the very same point. We use META_MODE on some boxes, switched to WITHOUT_CLEAN these days and cleanded up on some systems therefore. That might be the reason why the problem occurs not consistently on all systems. When will the pacth be committed? Thanks in advance, oh --Sig_/UmZ=MoMzw+g4VljsGTyMkvT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX1x+pAAKCRA4N1ZZPba5 RzRvAQCiQmJaOrNz/ZCCchXNaUPd1xfTee5iUVZyb6hgbNmDggD9H1om0aVfAex3 6xebwewW+dwkNGR6f+ZdG/ghnBfkdAQ= =A6X8 -----END PGP SIGNATURE----- --Sig_/UmZ=MoMzw+g4VljsGTyMkvT--