diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 80a6f0fb7..f5a0f964a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2020-05-21 + + + [pierre] - Fix a crash at early boot when using + CONFIG_STACK_PROTECTOR_STRONG=y in kernel configuration. + + + + 2020-05-16 diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 0033028cf..5bacd11a1 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -54,6 +54,16 @@ kernel compilation. Do not rely on the source tree being clean after un-tarring. + + When using CONFIG_STACKPROTECTOR_STRONG=y, and + compiling with GCC 10 and later, the default optimization is too + aggressive, and generates a kernel panic when booting. This can be + fixed with: + +sed -e '/cpu_startup/a asm("");' \ + -i arch/x86/{kernel/smpboot.c,xen/smp_pv.c} + Configure the kernel via a menu-driven interface. For general diff --git a/general.ent b/general.ent index 37dfee90c..604b3139b 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - +