Buildresult: linus/micro32r2_defconfig/mips-gcc11 built on Jul 5 2023, 07:39
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 5 2023, 07:39
Duration:
0:01:00.150821
Builder:
ka4
Revision:
afs: Fix accidental truncation when storing data (
03275585cabd0240944f19f33d7584a1b099a3a8)
Target:
linus/micro32r2_defconfig/mips-gcc11
Branch:
linus
Compiler:
mips-gcc11
(mips-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
micro32r2_defconfig
(
download
)
Log:
Download original
Possible errors
{standard input}:5079: Error: branch to a symbol in another ISA mode make[5]: *** [scripts/Makefile.build:243: arch/mips/kernel/smp-cps.o] Error 1 make[4]: *** [scripts/Makefile.build:477: arch/mips/kernel] Error 2 make[3]: *** [scripts/Makefile.build:477: arch/mips] Error 2 make[2]: *** [Makefile:2024: .] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2
Possible warnings (2)
./.config.micro32r2_defconfig:94:warning: override: CPU_BIG_ENDIAN changes choice state .config:93:warning: override: CPU_BIG_ENDIAN changes choice state
Full Log
# git rev-parse -q --verify 03275585cabd0240944f19f33d7584a1b099a3a8^{commit} 03275585cabd0240944f19f33d7584a1b099a3a8 already have revision, skipping fetch # git checkout -q -f -B kisskb 03275585cabd0240944f19f33d7584a1b099a3a8 # git clean -qxdf # < git log -1 # commit 03275585cabd0240944f19f33d7584a1b099a3a8 # Author: David Howells <dhowells@redhat.com> # Date: Tue Jul 4 20:22:15 2023 +0100 # # afs: Fix accidental truncation when storing data # # When an AFS FS.StoreData RPC call is made, amongst other things it is # given the resultant file size to be. On the server, this is processed # by truncating the file to new size and then writing the data. # # Now, kafs has a lock (vnode->io_lock) that serves to serialise # operations against a specific vnode (ie. inode), but the parameters for # the op are set before the lock is taken. This allows two writebacks # (say sync and kswapd) to race - and if writes are ongoing the writeback # for a later write could occur before the writeback for an earlier one if # the latter gets interrupted. # # Note that afs_writepages() cannot take i_mutex and only takes a shared # lock on vnode->validate_lock. # # Also note that the server does the truncation and the write inside a # lock, so there's no problem at that end. # # Fix this by moving the calculation for the proposed new i_size inside # the vnode->io_lock. Also reset the iterator (which we might have read # from) and update the mtime setting there. # # Fixes: bd80d8a80e12 ("afs: Use ITER_XARRAY for writing") # Reported-by: Marc Dionne <marc.dionne@auristor.com> # Signed-off-by: David Howells <dhowells@redhat.com> # Reviewed-by: Jeffrey Altman <jaltman@auristor.com> # Reviewed-by: Marc Dionne <marc.dionne@auristor.com> # cc: linux-afs@lists.infradead.org # cc: linux-fsdevel@vger.kernel.org # Link: https://lore.kernel.org/r/3526895.1687960024@warthog.procyon.org.uk/ # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 03275585cabd0240944f19f33d7584a1b099a3a8 # make -s -j 40 ARCH=mips O=/kisskb/build/linus_micro32r2_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- micro32r2_defconfig Using /kisskb/src/arch/mips/configs/generic_defconfig as base Merging /kisskb/src/arch/mips/configs/generic/micro32r2.config Merging /kisskb/src/arch/mips/configs/generic/eb.config ./.config.micro32r2_defconfig:94:warning: override: CPU_BIG_ENDIAN changes choice state Merging /kisskb/src/arch/mips/configs/generic/board-boston.config Merging /kisskb/src/arch/mips/configs/generic/board-marduk.config Merging /kisskb/src/arch/mips/configs/generic/board-ocelot.config Merging /kisskb/src/arch/mips/configs/generic/board-ranchu.config Merging /kisskb/src/arch/mips/configs/generic/board-sead-3.config Merging /kisskb/src/arch/mips/configs/generic/board-virt.config .config:93:warning: override: CPU_BIG_ENDIAN changes choice state # < make -s -j 40 ARCH=mips O=/kisskb/build/linus_micro32r2_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 40 ARCH=mips O=/kisskb/build/linus_micro32r2_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 40 ARCH=mips O=/kisskb/build/linus_micro32r2_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- {standard input}: Assembler messages: {standard input}:5079: Error: branch to a symbol in another ISA mode make[5]: *** [/kisskb/src/scripts/Makefile.build:243: arch/mips/kernel/smp-cps.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:477: arch/mips/kernel] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:477: arch/mips] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2024: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 40 ARCH=mips O=/kisskb/build/linus_micro32r2_defconfig_mips-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_micro32r2_defconfig_mips-gcc11 # Build took: 0:01:00.150821
© Michael Ellerman 2006-2018.