You are not logged in.

#1 2023-12-13 14:17:22

00euclid
Member
Registered: 2023-12-13
Posts: 2

[SOLVED] Issue with udev-worker preventing shutdown on Zephyrus M16

Hi guys, I am come to you in a time of great need. I do not know what went wrong and I have no idea how to solve it. So here is the entire context.

I have been trying to solve an issue with battery life in my Zephyrus M16 for months now. I switched to arch few months ago and I have been adding one package after another to get the best possible battery life. I have installed 'envycontrol' for GPU control, 'powertop' for system tuning and have also installed some asus specific packages, namely 'asusctl', 'supergfxctl' and 'rog-control-center'.

In order to get squeeze more battery life, I recently opted to try out 'tlp', which completely crashed and burned. It not only failed to start at all, it also made it so that I could not shutdown my laptop normally. Everytime I tried to restart or shutdown the system, it showed the following message:

systemd-shutdown[1]: Waiting for process: udev-worker[XXX]

This went on until either the laptop battery runs out or I force shutdown using the power button. And that was that, I gave up and removed the 'tlp' package from my system never to look back again. I did uninstall the asus packages before I installed and ran tlp, that was not the problem.

Then I went on to 'auto-cpufreq' which did not show any problem when I added the package. After a few days I realized that 'auto-cpufreq' was not running, so I ran the following command:

$ ~ sudo auto-cpufreq --install

That is when shit hit the fan. It brought back all the same issues that I had with 'tlp' but also there are like 50 'udev-worker' processes running on my system which was not the case before. Now the power draw is even worse than with GPU enabled, around 65.0 W which has me frustrated to the point of committing physical violence against my laptop.

All the comments and posts I read said that it is supposed to give me a relatively better battery life than windows but even at the best in with arch, I have not reached close to half of the battery life my windows install provides. It has gotten so bad that I am actually considering moving back to windows after 9 years in linux.

Can anybody help me fix this? Even if you can't me with the battery life issue, please guys just help me with the shutdown issue.

Here are some outputs from my diagnosis and checks:

1. 'ps' check for 'udev-worker': https://pastebin.com/xjncbgb4
2. 'journalctl -b-1': https://pastebin.com/LZeGjmn8
3. 'sudo dmesg': https://pastebin.com/6AT47PW6

Here is a peculiar bit from my dmesg output that might be relevant:

An ACPI BIOS Error in dmesg

Last edited by 00euclid (2023-12-14 19:18:08)

Offline

#2 2023-12-14 18:57:57

00euclid
Member
Registered: 2023-12-13
Posts: 2

Re: [SOLVED] Issue with udev-worker preventing shutdown on Zephyrus M16

Nevermind, fixed it! Just removed the linux kernel and replaced it with linux-lts and it worked like a charm. All the udev-worker related issues are gone. I assumed it might have something to do with the SD card, the external SSD or DAS that I leave connected to the system but those don't seem to be problem. I guess it was just the version of kernel I was using but that does not completely explain it either. For now I am just gonna forget about it until if or when it happens again.

Also regarding the ACPI Bug, skimmed through the manual on ACPI specs, all of them are mostly related to cooling and since I am already on the latest BIOS not really something I can do about. Looked at my friends Asus laptop and its there as well, so I am assuming, it is not a biggie.

Last edited by 00euclid (2023-12-14 19:20:35)

Offline

Board footer

Powered by FluxBB