Bug 1218480 - NetworkManager: stuck at "NetworkManager state is now CONNECTING", using wlan0, booting laptop with battery
Summary: NetworkManager: stuck at "NetworkManager state is now CONNECTING", using wlan...
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Network (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jonathan Kang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 11:12 UTC by Antonio Feijoo
Modified: 2024-02-27 08:45 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Feijoo 2024-01-02 11:12:43 UTC
Issue detected after upgrading laptop Lenovo ThinkPad P15 G2 from Leap 15.4 to 15.5.
When trying to boot the laptop using only the battery, NetworkManager is not able to connect to the wifi and the system bus (dbus-daemon) becomes unresponsive, leaving the system unusable, and the only way to shut down the laptop is holding the hardware power button.
I'm not sure if this is a kernel bug, so please reassign it accordingly if you find that, but it's reproducible with kernel 5.14.21-150500.55.39-default (kernel-firmware-20230724-150500), and also with kernel 6.6.7 (kernel-firmware-all-20231214-lp155) from Kernel:stable:Backport.
Comment 3 Andrea Manzini 2024-01-05 14:40:05 UTC
Looks like something related to the TLP package and the feature that disables wi-fi card while on battery. Uninstalling the package the problem the problem does not occur anymore.
Comment 4 Antonio Feijoo 2024-01-05 14:44:28 UTC
(In reply to Andrea Manzini from comment #3)
> Looks like something related to the TLP package and the feature that
> disables wi-fi card while on battery. Uninstalling the package the problem
> the problem does not occur anymore.

After removing the tlp package (kudos to Andrea), the NetworkManager is able to connect using the laptop battery only. So, we have 2 problems here:

- The default installation of the tlp package from the hardware repo in Leap 15.5 (tlp-1.6.1) blocks the usage of the wifi when the system is battery powered only. This didn't happen in Leap 15.4 (I can't remember if I was using the default tlp-1.4.0 or the package from the hardware repo...). I guess the package from the 15.5 main repo (tlp-1.5.0) should not have this issue, but after a week with continuous problems to be able to work with my laptop, this is something I don't want to test right now..

- The NetworkManager floods the system bus in that case, leaving the system in an unusable state.
Comment 5 Jonathan Kang 2024-01-08 06:22:31 UTC
Verbose NetworkManager logs will be helpful for further debugging. To collect them, add the following to /etc/NetworkManager/NetworkManager.conf, restart NetworkManager, reproduce this issue and attach the output of "journalctl -b" here.

> [logging]
> level=trace
Comment 6 Antonio Feijoo 2024-02-27 08:45:46 UTC
Sorry, I don't have time to brick the laptop I use for work. Thanks anyway for your support.