# git rev-parse -q --verify d02d21ea007b6b33cdaf15c2f84fb1fea996ecc2^{commit} d02d21ea007b6b33cdaf15c2f84fb1fea996ecc2 already have revision, skipping fetch # git checkout -q -f -B kisskb d02d21ea007b6b33cdaf15c2f84fb1fea996ecc2 # git clean -qxdf # < git log -1 # commit d02d21ea007b6b33cdaf15c2f84fb1fea996ecc2 # Author: Linus Torvalds # Date: Wed Jul 4 18:17:51 2018 -0700 # # autofs: rename 'autofs' module back to 'autofs4' # # It turns out that systemd has a bug: it wants to load the autofs module # early because of some initialization ordering with udev, and it doesn't # do that correctly. Everywhere else it does the proper "look up module # name" that does the proper alias resolution, but in that early code, it # just uses a hardcoded "autofs4" for the module name. # # The result of that is that as of commit a2225d931f75 ("autofs: remove # left-over autofs4 stubs"), you get # # systemd[1]: Failed to insert module 'autofs4': No such file or directory # # in the system logs, and a lack of module loading. All this despite the # fact that we had very clearly marked 'autofs4' as an alias for this # module. # # What's so ridiculous about this is that literally everything else does # the module alias handling correctly, including really old versions of # systemd (that just used 'modprobe' to do this), and even all the other # systemd module loading code. # # Only that special systemd early module load code is broken, hardcoding # the module names for not just 'autofs4', but also "ipv6", "unix", # "ip_tables" and "virtio_rng". Very annoying. # # Instead of creating an _additional_ separate compatibility 'autofs4' # module, just rely on the fact that everybody else gets this right, and # just call the module 'autofs4' for compatibility reasons, with 'autofs' # as the alias name. # # That will allow the systemd people to fix their bugs, adding the proper # alias handling, and maybe even fix the name of the module to be just # "autofs" (so that they can _test_ the alias handling). And eventually, # we can revert this silly compatibility hack. # # See also # # https://github.com/systemd/systemd/issues/9501 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902946 # # for the systemd bug reports upstream and in the Debian bug tracker # respectively. # # Fixes: a2225d931f75 ("autofs: remove left-over autofs4 stubs") # Reported-by: Ben Hutchings # Reported-by: Michael Biebl # Cc: Ian Kent # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 d02d21ea007b6b33cdaf15c2f84fb1fea996ecc2 # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh7724_generic_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- sh7724_generic_defconfig # make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh7724_generic_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1326:2: warning: #warning syscall statx not implemented [-Wcpp] :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_sh7724_generic_defconfig_sh4 # Build took: 0:00:21.578288