Date: Tue, 21 Dec 2021 12:48:38 -0500 From: mike tancsa <mike@sentex.net> To: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: installkernel/world over readonly nfs generating warnings (RELENG_13) Message-ID: <a760cfc6-7078-f135-eb4a-eb041e07a208@sentex.net> In-Reply-To: <20dc973d-ecb0-27a8-4942-3c9dff7dedb4@sentex.net> References: <20dc973d-ecb0-27a8-4942-3c9dff7dedb4@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/20/2021 12:17 PM, mike tancsa wrote: > I made a new RELENG_13 buildserver that I want to nfs mount from > clients to update world. On RELENG_12 and below, I could do this on > read only nfs mounts. However, when I try on RELENG_13, I get a > constant spew of warnings for installkernel and world > > 0{git}# cd /crossbuild/src/ > 0{git}# setenv MAKEOBJDIRPREFIX /crossbuild/obj/ > 0{git}# make installkernel > make warning: /crossbuild/obj//crossbuild/src: Read-only file system. > make[1] warning: /crossbuild/src/: Read-only file system. > make[2] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: Read-only > file system. > -------------------------------------------------------------- > >>> Install check kernel > -------------------------------------------------------------- > Still trying to debug this and looking at tcpdump, I am not sure if this is just "normal" now (ie installkernel/world will always generate warnings) or its some different mount options I need to use ? Looking at the tcpdump where (I think) the warning is generated, any idea what might be going on ? This is a RELENG_13 client mounting a RELENG_13 server. Server is from 5 days ago 13.0-STABLE #0 stable/13-n248589-defb7da9772: 108 0.020492 192.168.135.72 → 192.168.153.29 NFS 314 V4 Call Lookup LOOKUP DH: 0x6c734290/Makefile.sys.inc 109 0.020905 192.168.153.29 → 192.168.135.72 NFS 574 V4 Reply (Call In 108) Lookup LOOKUP 110 0.020939 192.168.135.72 → 192.168.153.29 NFS 278 V4 Call Access ACCESS FH: 0x2509e63f, [Check: RD LU MD XT DL XE] 111 0.021228 192.168.153.29 → 192.168.135.72 NFS 362 V4 Reply (Call In 110) Access ACCESS, [NOT Supported: LU DL], [Access Denied: MD XT], [Allowed: RD XE] 112 0.021264 192.168.135.72 → 192.168.153.29 NFS 334 V4 Call Open OPEN DH: 0x6c734290/Makefile.sys.inc 113 0.021538 192.168.153.29 → 192.168.135.72 NFS 262 V4 Reply (Call In 112) Open OPEN StateID: 0x33ab 108 0.020492 192.168.135.72 → 192.168.153.29 NFS 314 V4 Call Lookup LOOKUP DH: 0x6c734290/Makefile.sys.inc 109 0.020905 192.168.153.29 → 192.168.135.72 NFS 574 V4 Reply (Call In 108) Lookup LOOKUP 110 0.020939 192.168.135.72 → 192.168.153.29 NFS 278 V4 Call Access ACCESS FH: 0x2509e63f, [Check: RD LU MD XT DL XE] 111 0.021228 192.168.153.29 → 192.168.135.72 NFS 362 V4 Reply (Call In 110) Access ACCESS, [NOT Supported: LU DL], [Access Denied: MD XT], [Allowed: RD XE] 112 0.021264 192.168.135.72 → 192.168.153.29 NFS 334 V4 Call Open OPEN DH: 0x6c734290/Makefile.sys.inc 113 0.021538 192.168.153.29 → 192.168.135.72 NFS 262 V4 Reply (Call In 112) Open OPEN StateID: 0x33ab Network File System, Ops(4): SEQUENCE PUTFH ACCESS GETATTR [Program Version: 4] [V4 Procedure: COMPOUND (1)] Status: NFS4_OK (0) Tag: Access length: 6 contents: Access fill bytes: opaque data Operations (count: 4) Opcode: SEQUENCE (53) Status: NFS4_OK (0) sessionid: 0300000000000000b1adc06103000000 seqid: 0x00000069 slot id: 0 high slot id: 63 target high slot id: 63 status flags: 0x00000001, SEQ4_STATUS_CB_PATH_DOWN .... .... .... .... .... .... .... ...1 = SEQ4_STATUS_CB_PATH_DOWN: Set .... .... .... .... .... .... .... ..0. = SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRING: Not set .... .... .... .... .... .... .... .0.. = SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRED: Not set .... .... .... .... .... .... .... 0... = SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED: Not set .... .... .... .... .... .... ...0 .... = SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED: Not set .... .... .... .... .... .... ..0. .... = SEQ4_STATUS_ADMIN_STATE_REVOKED: Not set .... .... .... .... .... .... .0.. .... = SEQ4_STATUS_RECALLABLE_STATE_REVOKED: Not set .... .... .... .... .... .... 0... .... = SEQ4_STATUS_LEASE_MOVED: Not set .... .... .... .... .... ...0 .... .... = SEQ4_STATUS_RESTART_RECLAIM_NEEDED: Not set .... .... .... .... .... ..0. .... .... = SEQ4_STATUS_CB_PATH_DOWN_SESSION: Not set .... .... .... .... .... .0.. .... .... = SEQ4_STATUS_BACKCHANNEL_FAULT: Not set .... .... .... .... .... 0... .... .... = SEQ4_STATUS_DEVID_CHANGED: Not set .... .... .... .... ...0 .... .... .... = SEQ4_STATUS_DEVID_DELETED: Not set Opcode: PUTFH (22) Status: NFS4_OK (0) Opcode: ACCESS (3), [NOT Supported: LU DL], [Access Denied: MD XT], [Allowed: RD XE] Status: NFS4_OK (0) Supported types (of requested): 0x2d .... ...1 = 0x001 READ: supported .... .1.. = 0x004 MODIFY: supported .... 1... = 0x008 EXTEND: supported ..1. .... = 0x020 EXECUTE: supported Access rights (of requested): 0x21 .... ...1 = 0x001 READ: allowed .... .0.. = 0x004 MODIFY: *Access Denied* .... 0... = 0x008 EXTEND: *Access Denied* ..1. .... = 0x020 EXECUTE: allowed > ... > > ===> aac (install) > make[4] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/aac: > Read-only file system. > install -T release -o root -g wheel -m 555 aac.ko /boot/kernel/ > install -T dbg -o root -g wheel -m 555 aac.ko.debug > /usr/lib/debug/boot/kernel/ > ===> aacraid (install) > make[4] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/aacraid: > Read-only file system. > install -T release -o root -g wheel -m 555 aacraid.ko /boot/kernel/ > install -T dbg -o root -g wheel -m 555 aacraid.ko.debug > /usr/lib/debug/boot/kernel/ > ===> accf_data (install) > make[4] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/sys/GENERIC/modules/crossbuild/src/sys/modules/accf_data: > Read-only file system. > install -T release -o root -g wheel -m 555 accf_data.ko /boot/kernel/ > install -T dbg -o root -g wheel -m 555 accf_data.ko.debug > /usr/lib/debug/boot/kernel/ > > and during installworld > > make warning: /crossbuild/obj//crossbuild/src: Permission denied. > make[1] warning: /crossbuild/src/: Permission denied. > make[1]: > "/crossbuild/obj/crossbuild/src/amd64.amd64/toolchain-metadata.mk" > line 1: Using cached toolchain metadata from build at > build13.sentex.ca on Mon Dec 20 04:05:34 UTC 2021 > make[2] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: > Permission denied. > make[2] warning: /crossbuild/src/: Permission denied. > make[3] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: > Permission denied. > make[3] warning: /crossbuild/src/: Permission denied. > make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: > Permission denied. > make[3] warning: /crossbuild/src/: Permission denied. > make[3]: > "/crossbuild/obj/crossbuild/src/amd64.amd64/toolchain-metadata.mk" > line 1: Using cached toolchain metadata from build at > build13.sentex.ca on Mon Dec 20 04:05:34 UTC 2021 > make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: > Permission denied. > make[3] warning: /crossbuild/src/: Permission denied. > make[4] warning: /crossbuild/obj/crossbuild/src/amd64.amd64: > Permission denied. > make[4] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib: Permission > denied. > make[5] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/csu: > Permission denied. > make[6] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/csu/i386: > Permission denied. > make[5] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libc: > Permission denied. > make[5] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libc_nonshared: > Permission denied. > make[5] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libcompiler_rt: > Permission denied. > make[5] warning: > /crossbuild/obj/crossbuild/src/amd64.amd64/obj-lib32/lib/libclang_rt: > Permission denied. > > > It seems to install OK, but every module generates a warning. Is > there a better way to installkernel / world over nfs on RELENG_13 ? I > dont want to make it RW if possible. > > 0{git}# mount -t nfs > 192.168.153.29:/crossbuild on /crossbuild (nfs, read-only) > 0{git}# > > ---Mike > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a760cfc6-7078-f135-eb4a-eb041e07a208>