Re: [PATCH 4.4.y-cip] ARM: shmobile: defconfig: Restore debugfs support


Pavel Machek
 

Hi!

From: Geert Uytterhoeven <geert+renesas@...>

commit fa2cdb1762d15f701b83efa60b04f0d04e71bf89 upstream.

Since commit 0e4a459f56c32d3e ("tracing: Remove unnecessary DEBUG_FS
dependency"), CONFIG_DEBUG_FS is no longer auto-enabled. This breaks
booting Debian 9, as systemd needs debugfs:

[FAILED] Failed to mount /sys/kernel/debug.
See 'systemctl status sys-kernel-debug.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
...
You are in emergGive root password for maintenance
(or press Control-D to continue):

Fix this by enabling CONFIG_DEBUG_FS explicitly.

See also commit 18977008f44c66bd ("ARM: multi_v7_defconfig: Restore
debugfs support").
Do we rely on these defconfigs? I can take it as it should not break
anything, but it should not really be too important for -cip project.

[It is "defconfig", not "suitable-config-for-debian-9" :-)].

Best regards,
Pavel

+++ b/arch/arm/configs/shmobile_defconfig
@@ -226,3 +226,4 @@ CONFIG_NLS_ISO8859_1=y
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
# CONFIG_ARM_UNWIND is not set
+CONFIG_DEBUG_FS=y
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Join cip-dev@lists.cip-project.org to automatically receive all group messages.