You are not logged in.

#1 2024-02-06 07:20:53

codeandfire
Member
Registered: 2023-12-31
Posts: 11

[SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Hi,

I have been using Arch Linux with no issues on this laptop for almost a year now. However, around 2 weeks back, I started seeing some weird behaviour after shutdown. The laptop seems to have shut down (the screen is totally dark), but after some minutes, you find that the laptop fans are blaring and the laptop is quite warm. I have to hold the power button manually for 10 seconds to stop it.

I don't know what started this behaviour. The only thing I remember is that 1 or 2 days before I started seeing this, I did a system update, i.e.

# pacman -Syu

and I believe the Linux kernel was updated to version 6.7.0 in that update.

I have been waiting out these 2 weeks, hoping that some update or the other would fix this issue, but even after installing Linux 6.7.3 and a recent update of linux-firmware, the issue is still there.

I would be really grateful to get some help on this.

Thanks.

Last edited by codeandfire (2024-02-19 03:04:09)

Offline

#2 2024-02-06 07:29:42

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

I think somebody had a similar issue here. However they say that it turned out to be related to their display manager. In my case I'm just running a bare TTY on this laptop, so there's no display manager, display server etc.

EDIT: I'm adding the output of

# journalctl -b -1

from the first shutdown-related message.
http://0x0.st/Hkx8.txt
I've cut out the hostname from the output and replaced it with <hostname>.

EDIT: I've also tried rebooting. Rebooting doesn't work: the laptop appears to shut down but doesn't start again on its own; again, a few minutes later, it is warm and fans are blaring. Here is the output of again

# journalctl -b -1

for a reboot, from the first reboot-related message.
http://0x0.st/HkxS.txt

Last edited by codeandfire (2024-02-06 11:54:48)

Offline

#3 2024-02-06 15:39:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,677

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Nothing in those logs jumps out at me.   What processor do you have?  What is your GPU?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2024-02-06 16:09:24

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Hi, thank you for your reply.

The CPU is an Intel i7 and the GPU is an NVIDIA RTX. If you need more details, /proc/cpuinfo says:

11th Gen Intel(R) Core(TM) i7-11800H @ 2.30 GHz

and lspci says:

NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile]

I want to add that the GPU is lying totally idle at present. I have nothing installed for it, no drivers, no CUDA, etc. Nothing related to nvidia is installed.

Offline

#5 2024-02-06 17:11:15

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

The journal is less than a minute and journald stops at the end, this won't reveal anything - other than the watchdog doesn't stop.
For a wild guess, replace dbus-broker-units w/ dbus-daemon-units and test teh LTS kernel (first one, then the other) - otherwise you'll have to post the complete system journal.

Offline

#6 2024-02-06 17:16:27

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Thanks for your reply! I'll try what you are suggesting and get back soon.

Offline

#7 2024-02-07 14:06:28

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

I just tried dbus-daemon-units instead of dbus-broker-units and it doesn't seem to have worked.

Here is the shutdown log:
http://0x0.st/Hk0G.2
and the reboot log:
http://0x0.st/Hk0D.2
just in case.

I'm trying Linux LTS next.

Offline

#8 2024-02-08 08:16:39

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Linux LTS works, thank you for the help!

Though I'd really like to understand what was the cause of my issue, especially since nothing was showing up in the shutdown and reboot logs. I'd really be grateful if anyone could kindly tell me what you think could have been causing the problem, or if you could give me some pointers to try and investigate the cause myself.

Thanks!

Offline

#9 2024-02-08 09:13:49

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

We'd have to see at least a complete system journal (ideally for both kernels) to even possibly ballpark the cause.
You can also compare lsmod for both - whatever causes this is probably not during the shutdown but might show up w/ errors/warnings before.

Offline

#10 2024-02-08 10:54:46

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Okay. By complete system journal do you mean the complete output of:

# journalctl -b -1

rather than the truncated ones I have given, that start only from the first shutdown- or reboot-related messages? Or do you mean something else?

I'll upload the output for lsmod as well.

Offline

#11 2024-02-08 14:09:15

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

do you mean the complete output

Yup.

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

will feed it directly into 0x0.st and hand you a link to share - there's hopefully going to be a suspicious piece of HW or a (new) kernel module causing this.

There's also https://bbs.archlinux.org/viewtopic.php?id=292563 Dell/XPS, too?

Offline

#12 2024-02-11 14:43:54

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Really sorry for the delay. Got stuck up in something.

Here’s the full system journal for regular Linux: http://0x0.st/Hde-.log
And for Linux LTS: http://0x0.st/Hdeo.log

I also have the output of lsmod for regular Linux: http://0x0.st/HdeH.log
And for Linux LTS: http://0x0.st/HdeX.log

Yeah I saw that post … I have a Dell/Inspiron.

Offline

#13 2024-02-11 22:16:56

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

LTS  < Main

> bpf_preload
< des3_ede_x86_64
< drm_gpuvm
> ecb
< nvme_auth
> nvme_common
< processor_thermal_power_floor
< processor_thermal_wt_hint
< processor_thermal_wt_req
Feb 11 19:55:47 <hostname> systemd[1]: systemd-sysusers.service: Deactivated successfully.
Feb 11 19:55:47 <hostname> systemd[1]: Stopped Create System Users.

doesn't happen in the main kernel?

systemctl status systemd-sysusers.service

Finally try to blacklist nouveau or deactivate the nvidia GPU
"module_blacklist=nouveau",  https://wiki.archlinux.org/title/Kernel_parameters

Offline

#14 2024-02-18 11:25:56

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

Hey, apologies again for the delay in responding.

Feb 11 19:55:47 <hostname> systemd[1]: systemd-sysusers.service: Deactivated successfully.
Feb 11 19:55:47 <hostname> systemd[1]: Stopped Create System Users.

doesn't happen in the main kernel?

systemctl status systemd-sysusers.service

I think you’ve found the problem indeed. Here’s the output:

○ systemd-sysusers.service - Create System Users
     Loaded: loaded (/usr/lib/systemd/system/systemd-sysusers.service; static)
     Active: inactive (dead)
  Condition: start condition unmet at Sun 2024-02-18 11:11:32 GMT; 1min 27s ago
             ├─ ConditionNeedsUpdate=|/etc was not met
             └─ ConditionCredential=|sysusers.extra was not met
       Docs: man:sysusers.d(5)
             man:systemd-sysusers.service(8)

Feb 18 11:11:32 <hostname> systemd[1]: Create System Users was skipped because no trigger condition checks were met.

Offline

#15 2024-02-18 14:39:10

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

That just means there was no need for the service to activate, likely a red herring and specific to the very two boots?

Offline

#16 2024-02-18 18:47:20

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

That just means there was no need for the service to activate, likely a red herring and specific to the very two boots?

You’re right … I just checked

# systemctl status systemd-sysusers.service

for the LTS kernel, and I get the same output. I’m kind of new to this so I just saw “inactive (dead)” in the output and took that to be an error.

Finally try to blacklist nouveau or deactivate the nvidia GPU
"module_blacklist=nouveau",  https://wiki.archlinux.org/title/Kernel_parameters

I just tried this, it works! Though I really want to understand why … I’ve had a lot of issues due to the Nvidia GPU on this laptop, with Arch Linux and other distros too, and they often happen to be related to Nouveau. However, those issues always cropped up at the time of installing the distro, whereas my current setup was working fine for me for quite a long time, so I thought it would be something else - not related to the GPU. Also, currently, the GPU is just sitting idle - I don’t even have the “nvidia” package installed - so I was assuming that the GPU wouldn’t have a hand in this issue.

Clearly I don’t understand these things completely. Would you mind shedding some light on this? Again I’m sort of new to this so it would be really nice if someone could explain.

Offline

#17 2024-02-18 20:12:36

seth
Member
Registered: 2012-09-03
Posts: 48,398

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

nouveau has some history blocking the PCI bus and recently showed up causing trouble - more or less a wild guess because of that and since we know it's a kernel regression.
If you don't want to disable the nvidia GPU you could simply install the binary nvidia driver - otherwise you'd test whether the issue is gone with upcoming kernels (might be) and in doubt would have to file an upstream bug.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#18 2024-02-19 03:07:23

codeandfire
Member
Registered: 2023-12-31
Posts: 11

Re: [SOLVED] Weird shutdown behaviour: laptop fans blare after shutdown

nouveau has some history blocking the PCI bus and recently showed up causing trouble - more or less a wild guess because of that and since we know it's a kernel regression.
If you don't want to disable the nvidia GPU you could simply install the binary nvidia driver - otherwise you'd test whether the issue is gone with upcoming kernels (might be) and in doubt would have to file an upstream bug.

Okay, thank you.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Sure. Thanks for telling me - it’s my first time on this forum so I wasn’t aware of this rule.

Offline

Board footer

Powered by FluxBB