From nobody Sat Jun 24 15:02:22 2023 X-Original-To: virtualization@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 4QpHQR2gxxz4gsQ9 for ; Sat, 24 Jun 2023 15:02:23 +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 4QpHQQ72LBz3hW6 for ; Sat, 24 Jun 2023 15:02:22 +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=1687618943; 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=Q7WDCdMg7pBSMLkxfVfOixrJ4yw8pbaaa+e6wq6BvXM=; b=qCvulzG+Gx61o7ETitbDaYEzcKPRptE3eCZU+Ps4HNidYDvEcPGpdrBxtrA1XyyYEnGsn3 NTVofAmNMuhpUwAGMU6JTZ63CXCjLFthjY/kym4tFe65bw4YNudcNnNCD+jxrMAzouU0Ez LUXc+kU0sneSqxcpUuH6/Jmf4m7Np5mviy39MxF2FvZwMUq7b57k5ooG2zcHdJyfWjtMYz jFLlYu5wHGgmn2mghbS3WFgMI+OI47tTQzA+04gqwlvPGBUvOTF6C6fq0g+dc0sbP7h+iR /xRXFasjpX5LRHIXVLakmSrqAThybm9F6sDdyZbhbdGR7czqjZJi1jd+HxmhMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687618943; a=rsa-sha256; cv=none; b=bvzaUSgxA//RNPOFVvfYNpxUIIVasZATlVc6oFfMRWzfYrEd8JiGl+gPWRAnEn5Qj4QG57 e2MEVo7YceOn0jpErAKa5EYf5k0cIWIt0/GnWzuyhVLFqzg5Xg6sV43RtUGHwsPVSjTD9p SoMaiDacMIquN/Wp1jaEDaFOJhNau7C2U23oJi1eJ+mAAjf0UGlYHkHXTk7LepvO3B8JlB AFZVQkmr1rW5hZlLvKtRHsmHNwyS0z3KR/qc/JOoRmKJqbJ5wOCaaPJVhFUttupFfGbLmS ak96XFzJkvd91jP0buGlA+fidM67mZZ7NwT5yasYsEupgGgNIBFrrt48cy+ZTg== 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 4QpHQQ63XLzqnT for ; Sat, 24 Jun 2023 15:02:22 +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 35OF2MvT077757 for ; Sat, 24 Jun 2023 15:02:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35OF2MkY077756 for virtualization@FreeBSD.org; Sat, 24 Jun 2023 15:02:22 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: virtualization@FreeBSD.org Subject: [Bug 272182] [virtio-9p] git clone doesn't work from guest on virtio-9p shared file system Date: Sat, 24 Jun 2023 15:02:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: m.viey@wanadoo.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272182 Bug ID: 272182 Summary: [virtio-9p] git clone doesn't work from guest on virtio-9p shared file system Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: m.viey@wanadoo.fr I guess it comes with virtio-9p but maybe I am wrong. But I don't think it comes from the guest. STEP TO REPRODUCE (tested with debian 10 guest) run a vm with virtio-9p sharing: sudo bhyve -A -H -P -s 0:0,hostbridge \ -s 1:0,lpc \ -s 2:0,virtio-net,tap0 \ -s 3:0,virtio-blk,/dev/zvol/data/linuxdisk0 \ -s 15,virtio-9p,sharename=3D/home/mik/Dev \ -l com1,stdio \ -c 4 -m 4096M linuxdev from the guest mount the fs: mount -t 9p -w -o trans=3Dvirtio -o version=3D9p2000.u sharename /root/host then: cd ~/host root@debian:~/host# git clone https://github.com/grehan-freebsd/grub2-bhyve= .git Cloning into 'grub2-bhyve'... remote: Enumerating objects: 2013, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (8/8), done. remote: Total 2013 (delta 1), reused 2 (delta 1), pack-reused 2004 Receiving objects: 100% (2013/2013), 8.27 MiB | 8.32 MiB/s, done. Resolving deltas: 100% (598/598), done. error: index file /root/host/grub2-bhyve/.git/objects/pack/pack-4cb7b9db9e6119d1bee75527e6a9d= 91e82d67df0.idx is too small error: index file /root/host/grub2-bhyve/.git/objects/pack/pack-4cb7b9db9e6119d1bee75527e6a9d= 91e82d67df0.idx is too small error: index file /root/host/grub2-bhyve/.git/objects/pack/pack-4cb7b9db9e6119d1bee75527e6a9d= 91e82d67df0.idx is too small error: index file /root/host/grub2-bhyve/.git/objects/pack/pack-4cb7b9db9e6119d1bee75527e6a9d= 91e82d67df0.idx is too small ... 4cb7b9db9e6119d1bee75527e6a9d91e82d67df0.idx is too small error: index file /root/host/grub2-bhyve/.git/objects/pack/pack-4cb7b9db9e6119d1bee75527e6a9d= 91e82d67df0.idx is too small fatal: bad object a2a1a8f716a00a8f42b36a8b91ac5b3e2328d39c fatal: remote did not send all necessary objects root@debian:~/host# git clone https://github.com/freebsd/freebsd-src.git Cloning into 'freebsd-src'... remote: Enumerating objects: 4850989, done. remote: Counting objects: 100% (472/472), done. remote: Compressing objects: 100% (268/268), done. remote: Total 4850989 (delta 210), reused 397 (delta 195), pack-reused 4850= 517 Receiving objects: 100% (4850989/4850989), 2.62 GiB | 19.55 MiB/s, done. Resolving deltas: 100% (3318931/3318931), done. error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small ... error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small error: index file /root/host/freebsd-src/.git/objects/pack/pack-f1360eef024eaa91d66af5d169a7f= e0dde7b661d.idx is too small fatal: remote did not send all necessary objects root@debian:~/host# --=20 You are receiving this mail because: You are the assignee for the bug.=