Bug 2263692 - NetworkManager fails to boot on recent Fedora images when debugfs=off is set
Summary: NetworkManager fails to boot on recent Fedora images when debugfs=off is set
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2263770 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-10 23:53 UTC by secureblue
Modified: 2024-03-07 17:55 UTC (History)
27 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
previous boot logs (2.19 MB, text/plain)
2024-02-12 16:22 UTC, secureblue
no flags Details

Description secureblue 2024-02-10 23:53:32 UTC
To repro:

1. set karg "debugfs=off" on the latest Fedora 39
2. reboot
3. Observe that NetworkManager fails to start (times out)



Reproducible: Always

Steps to Reproduce:
1. set karg "debugfs=off" on the latest Fedora 39
2. reboot
3. Observe that NetworkManager fails to start (times out)


Actual Results:  
 NetworkManager fails to start (times out)


Expected Results:  
 NetworkManager starts fine

Comment 1 Beniamino Galvani 2024-02-12 08:41:29 UTC
I can't reproduce the problem, please set the logging level to trace in /etc/NetworkManager/NetworkManager.conf, add kernel command line "rd.debug", reproduce the problem and attach the output of `journalctl -b`.

Comment 2 Henning 2024-02-12 15:28:09 UTC
*** Bug 2263770 has been marked as a duplicate of this bug. ***

Comment 3 secureblue 2024-02-12 16:21:46 UTC
Attached the full log. The relevant portion appears to be this:

```
Feb 12 08:09:00 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=usbguard comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 12 08:09:00 fedora audit: BPF prog-id=61 op=UNLOAD
Feb 12 08:09:00 fedora kernel: iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
Feb 12 08:09:00 fedora kernel: BUG: kernel NULL pointer dereference, address: 0000000000000027
Feb 12 08:09:00 fedora kernel: #PF: supervisor read access in kernel mode
Feb 12 08:09:00 fedora kernel: #PF: error_code(0x0000) - not-present page
Feb 12 08:09:00 fedora kernel: PGD 0 P4D 0 
Feb 12 08:09:00 fedora kernel: Oops: 0000 [#1] PREEMPT SMP PTI
```

To repro, it looks like you'll need to use a machine with hardware that has iwlwifi in combination with the karg.

Comment 4 secureblue 2024-02-12 16:22:29 UTC
Created attachment 2016469 [details]
previous boot logs

Comment 5 Beniamino Galvani 2024-02-12 16:28:29 UTC
It's a kernel crash, I'm reassigning it to the right component.

Comment 6 secureblue 2024-03-07 17:55:41 UTC
Adding some additional details here. On kernel 6.7.7 on an iwlwifi machine with debugfs=off, it no longer causes a boot failure, but it still causes erratic behavior. Wifi is completely broken and programs frequently and sporadically lock up until the system freezes altogether. I have several other users who are able to repro as well. Please let me know if I can provide any additional context or if help is needed getting a repro. Thanks!


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