From nobody Sat Jul 27 04:20:45 2024 X-Original-To: freebsd-current@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 4WWBJK1RG9z5RHVH for ; Sat, 27 Jul 2024 04:21:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4WWBJH6lNfz4VcS for ; Sat, 27 Jul 2024 04:21:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=hJ5gLexm; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722054061; bh=Q+AWwuV4WL3zKiu4XP6WbGGeIER+J/cl/iIspA2irgU=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=hJ5gLexmPAJucGNg7QmMBnb8oPmBJ27PfYu1JD70YlYalmIlss8ueyt76loSILWeVpmWZsrzU7Hi0nr87SVo9j82LAJWw//vNBtjeRydfqjTWcmPY4hebmvReynJ9Pv4OSFG4KvCg1m59BQWmym9yM3f1Q8ya8ybmL36NWRLRbc8UZSCBmPh56+uDAlgfFmDgKcx0kMag6NyPwIxXcC5CWgzsYAIvBSVdxMwZZAwo5dzlBZivHnV6ooBChqHE/3eMJVs85x9Q0lQhoMkHDCV//fXHfJL5IGFHG16DGJIUR2yq6FQof0xdjWWrM3RhNQMN9yg63T1LjMXP37tLE7Gmw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1722054061; bh=Rv2t41zsZKYDeGQX0odzrsMdd+DOfCtgdV7AcprNzFT=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=l+mkuZpPUzo/RCiKQAGKG89bk+QwPKWsCwrVey/nDSUhrYgPnFCiAZn5nCN25mLfTjRxrGCctJnZi3URsMOTzzFNE55aMXs1Gx8XnaZg70b029FjS1jyu3icoRLQHlR8ftkjaPViHTAWiAMChpB56bNl9cM4C/mNc6zWDneJg0JjnqIo7De+lSyJDQLiiqSKY6ERVJ/WB3vaPi4n5Kgagd6V8e6FBWo5+A1v+Ol3abjtNHeuKBvbSIEZeaRHqBUZBQmj004iTQkzZZQ8Bv8KWws5h2VLFIle00D+s3IBPiOxgW+V+n9a2hQMd1T8KMvkjId2YeL31+z+pcLvufRHSQ== X-YMail-OSG: F339B.cVM1mLZMlV9O5J88sIYj8rsF0MKgQnPNLj4hTtKE.B4ytObkrFoDtKjFp S5YOqgnTZ_XcBpnJU9jeyWkUlNpwvedD3SJcidjBj_1WL66YjB4.saFHxK5DJQZvYCJQO4B84ir. VsVJlLLyqd2BIpG2DCRFuL_Zl7sUFuk091GEdHWnu1bW8UiePcn8N.Is_UOTh7AYv8JcgI0AtSGr T_JlrGASujkP46cyRA6TqzSrwpnQyULuSynBIF07fa8Z5NOca6tPQefWpamoKPYlVL1xRFE96yL8 l1hZdPWyuQkbX8zDWz4QX.Slsx.tpM9l5kcu1Sp1jeYnD6swjkN6.altTZ.jI.ndkVUv9bmR.THS KChI3S6tvCc0K02DVADUsYKArNtllelUDijJ0WgWPN3.VLUhJea08c7NP5IRVv9VvUr5QEZzQsEg VSHa7bylQ11JbIJQq8IQIy3becJSRwA4lnvYvpqBJRxb3M08bX9b9.WoSlShrVtnzgeesslKE0aS TWg.rOyDpYgvyDW_lTahmLQdL2OpiBGKto.5aGXFf19JC2V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uD0LGpPfJuhnmDw4pBOog5Vf7IA8.8 qI6in_K5zup3sA.Av3B2kGbLgbFhz7fD0O3_PKUprqqTOT78Bc8ZRi3I4tfaC_dAnzhPDCGpuq3t IPJml6ViSA__qrspgAykQfFfzmodfyv4CuH1b_j2RJUblSpDSYKVFCF1xmY_tJeJOZZznGEOqQZ_ yOCqL2VLKNHExrDCArEadq47aMv1un9l4FBe0jIBHWyPAjJpDc1HCtYkzzyMP6WKIqX4ewMjQghE dseXsimjl_fzYOd4a39Pzx.qdPXkWcwggC1aN3iOobzPVCmgNBKsJEAsy.x62VSQnVzhW2ebEm1z kHrEbHyCfqYo49cUWo9LHPvLC_HUrKun.qkaOddbPcczs9hstwAAj4r4e0Z6jZrqB4iEgk1.Q9OT SG1vcKWxyky5qKhz9B.1JHajPmPNRoEwWndGwcn4T8QVtcrqfPJ8cwMgiwV4pO4SoCpAqvLAQfr3 hGp3DbjF0l9ccFAlz4s4AqvK9nITQR3.8ZdNrHaUpECwd5TbNbWq0rIFTi9_uAap3Hze8mykjXTf 0o2BCIkusTNy1aKU_bXlEnmqDnNKt8GT0Eir3CNwavygmaBccu6lxHErJzzmgD0poYmCemjlb4l8 04DwHQCqQc6mrLy7YhCG1z59k37MM07y.zcCXubnSn74bTbAmkkjB5Yrj79zQ6ABdXz_hS0pG02f Bww-- X-Sonic-MF: X-Sonic-ID: e87e8892-2b10-4936-b94d-93005d0c2833 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 27 Jul 2024 04:21:01 +0000 Received: by hermes--production-gq1-799bb7c8cf-mlhxz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8f1f9e752d62df4942add574c97ffc40; Sat, 27 Jul 2024 04:20:56 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: armv7 chroot on aarch64 is getting "nfssvc() ERR#78 'Function not implemented'" for "umount /mnt" of a nfs mounted UFS file system Message-Id: <87D92513-97C9-4CFC-8A11-9819375FACAF@yahoo.com> Date: Fri, 26 Jul 2024 21:20:45 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3774.600.62) References: <87D92513-97C9-4CFC-8A11-9819375FACAF.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from] X-Rspamd-Queue-Id: 4WWBJH6lNfz4VcS The original mount was: mount -onoatime 192.168.1.140:/ /mnt For reference: 192.168.1.140:/ on = /usr/obj/DESTDIRs/main-armv7-chroot-ports-official/mnt (nfs, noatime) gdb reports: Reading symbols from /sbin/umount... Reading symbols from /usr/lib/debug//sbin/umount.debug... [New LWP 100137] Core was generated by `umount /mnt'. Program terminated with signal SIGSYS, Bad system call. Sent by kernel. #0 nfssvc () at nfssvc.S:4 warning: 4 nfssvc.S: No such file or directory (gdb) bt #0 nfssvc () at nfssvc.S:4 #1 0x00021be8 in umountfs (sfs=3Dsfs@entry=3D0xffffce90) at = /home/pkgbuild/worktrees/main/sbin/umount/umount.c:396 #2 0x00022400 in checkname (mntname=3D0xffffddfb "/mnt", = typelist=3Dtypelist@entry=3D0x0) at = /home/pkgbuild/worktrees/main/sbin/umount/umount.c:327 #3 0x000218a4 in main (argc=3D, argv=3D) = at /home/pkgbuild/worktrees/main/sbin/umount/umount.c:195 truss's output ends with: . . . = mmap(0x0,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-= 1,0x0) =3D 537321472 (0x2006e000) statfs("/mnt",{ = fstypename=3Dnfs,mntonname=3D/usr/obj/DESTDIRs/main-armv7-chroot-ports-off= icial/mnt,mntfromname=3D192.168.1.140:/,fsid=3D18ff003a3a000000 }) =3D 0 = (0x0) fstatat(AT_FDCWD,"/mnt",{ mode=3Ddrwxr-xr-x = ,inode=3D2,size=3D1536,blksize=3D4096 },0x0) =3D 0 (0x0) fstatat(AT_FDCWD,"/mnt/..",{ mode=3Ddrwxr-xr-x = ,inode=3D73557804,size=3D512,blksize=3D32768 },0x0) =3D 0 (0x0) = mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1= ,0x0) =3D 537219072 (0x20055000) = mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-= 1,0x0) =3D 537341952 (0x20073000) nfssvc() ERR#78 'Function not implemented' SIGNAL 12 (SIGSYS) code=3DSI_KERNEL process killed, signal =3D 12 (core dumped) For reference: if (nfssvc(NFSSVC_DUMPMNTOPTS, &dumpmntopts) >=3D 0) { armv7 chroot: # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n271408-4fab5f005482 GENERIC-NODEBUG arm armv7 1500021 1500021 # ls -lodTt /var/cache/pkg/*.snap*.pkg | grep -v "^l" | sed -E = 's@^[^/]*(/.*/pkg/([^-]*-)(.*)(\.snap[^~]*)~[^.]*\.pkg)$@\2\4@' | sort = -ru FreeBSD-.snap20240726110821 aarch64 host: # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n271408-4fab5f005482 GENERIC-NODEBUG arm64 aarch64 1500021 1500021 # ls -lodTt /var/cache/pkg/*.snap*.pkg | grep -v "^l" | sed -E = 's@^[^/]*(/.*/pkg/([^-]*-)(.*)(\.snap[^~]*)~[^.]*\.pkg)$@\2\4@' | sort = -ru FreeBSD-.snap20240726112037 After exiting the chroot, the aarch64 environment did the unmount /mnt = just fine. =3D=3D=3D Mark Millard marklmi at yahoo.com