Bug 218665 - nohz_full=0 prevents kernel from booting
Summary: nohz_full=0 prevents kernel from booting
Status: NEW
Alias: None
Product: Process Management
Classification: Unclassified
Component: Scheduler (show other bugs)
Hardware: AMD Linux
: P3 normal
Assignee: Ingo Molnar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 14:14 UTC by Friedrich Oslage
Modified: 2024-04-04 05:55 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: Yes
Bisected commit-id: 5797b1c18919cd9c289ded7954383e499f729ce0


Attachments
Output when booting with nohz_full=0 (12.79 KB, text/plain)
2024-03-31 14:15 UTC, Friedrich Oslage
Details
Output when booting with nohz_full=1 (23.25 KB, text/plain)
2024-03-31 14:15 UTC, Friedrich Oslage
Details
Output when booting with isolcpus=nohz,0 (25.40 KB, text/plain)
2024-03-31 14:15 UTC, Friedrich Oslage
Details

Description Friedrich Oslage 2024-03-31 14:14:27 UTC
Hello,

booting the current kernel (6.9.0-rc1, master/712e1425) on x86_64 with nohz_full=0 cause a page fault and prevents the kernel from booting.

Steps to reproduce:
- make defconfig
- set CONFIG_NO_HZ_FULL=y
- set CONFIG_SUSPEND=n and CONFIG_HIBERNATION=n (to get CONFIG_PM_SLEEP_SMP=n)
- make
- qemu-system-x86_64 -nographic -cpu qemu64 -smp cores=2 -m 1024 -kernel arch/x86/boot/bzImage -append "earlyprintk=ttyS0 console=ttyS0 root=/dev/dummy rootwait nohz_full=0"

I have attached the output of a failed nohz_full=0 boot as nohz_full_0.txt and - for reference - the output of a nohz_full=1 boot as nohz_full_1.txt.

Interestingly enough, using the deprecated isolcpus parameter to enable NO_HZ for cpu0 works. I've attached the output as isolcpus_nohz_0.txt.

Bisecting showed 5797b1c18919cd9c289ded7954383e499f729ce0 as first bad commit.
Comment 1 Friedrich Oslage 2024-03-31 14:15:02 UTC
Created attachment 306068 [details]
Output when booting with nohz_full=0
Comment 2 Friedrich Oslage 2024-03-31 14:15:17 UTC
Created attachment 306069 [details]
Output when booting with nohz_full=1
Comment 3 Friedrich Oslage 2024-03-31 14:15:41 UTC
Created attachment 306070 [details]
Output when booting with isolcpus=nohz,0
Comment 4 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-04-02 08:29:37 UTC
Forwarded by mail:
https://lore.kernel.org/all/5be248c6-cdda-4d2e-8fae-30fc2cc124c0@leemhuis.info/
Comment 5 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-04-04 05:55:51 UTC
This looks like another report about the problem: https://lore.kernel.org/all/20240402105847.GA24832@redhat.com/

#regzbot monitor https://lore.kernel.org/all/20240402105847.GA24832@redhat.com/

Note You need to log in before you can comment on or make changes to this bug.