You are not logged in.

#1 2023-02-23 22:18:56

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Laptop don't shutdown after latest kernel updates

Hi. I had to use `linux-lts` kernel on ny laptop since it don't turn off completely on `linux` kernel from a few month ago.
But now that `linux-lts` is also updated to version 6.1.12 I'm totally facing the issue.
The problem is When I try to turn the laptop off, the screen and everything turns off as normal. But the power led and the fan doesn't stop even after waiting for a long time.
There's no error in journalctl before shutdown. Since the issue is for after the journal log is stopped.
Where's the problem?

Kernel Version: 6.1.12-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook S15 X510UF

Journalctl log: http://0x0.st/HsgS.txt

Last edited by faded.solivagant (2023-02-24 19:25:56)

Offline

#2 2023-02-24 11:52:20

xerxes_
Member
Registered: 2018-04-29
Posts: 769

Re: Laptop don't shutdown after latest kernel updates

Do you have also Windows installed on this laptop? If yes, turn off fast startup in it.

Try to restart the system into Linux and after restart immediately poweroff (you may try even without login in).

Offline

#3 2023-02-24 15:50:13

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

xerxes_ wrote:

Do you have also Windows installed on this laptop? If yes, turn off fast startup in it.

Try to restart the system into Linux and after restart immediately poweroff (you may try even without login in).

No I don't have any other operation system on my laptop.
The thing is, it used to work with `linux-lts` but not `linux`. Now that the linux-lts is also updated, the issue happens with both of them.
It means the issue has appeared somewhere between two major lts versions of the kernel.

Last edited by faded.solivagant (2023-02-24 15:54:53)

Offline

#4 2023-02-24 16:01:07

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: Laptop don't shutdown after latest kernel updates

Which major version introduced the issue?  Can you downgrade the linux package to versions from previous major releases to find out?

Offline

#5 2023-02-24 16:44:39

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

loqs wrote:

Which major version introduced the issue?  Can you downgrade the linux package to versions from previous major releases to find out?

Unfortunately I clear Pacman cache regularly. But I'm sure it appeared somewhere between 6.0.0 and 6.1.1
I'm almost sure it was in December versions.
Is there any way to diagnose what the problem is? (any log or so?)

Offline

#6 2023-02-24 16:55:20

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: Laptop don't shutdown after latest kernel updates

This will install the last release of 6.0:

# pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.0.12.arch1-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/l/linux-headers/linux-headers-6.0.12.arch1-1-x86_64.pkg.tar.zst

Please post the journal for a boot with the issue even if it shows nothing.  If nothing is showing in the logs you may have to resort to bisecting the kernel.

Last edited by loqs (2023-02-24 16:55:45)

Offline

#7 2023-02-24 17:11:44

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

loqs wrote:

This will install the last release of 6.0:

# pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.0.12.arch1-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/l/linux-headers/linux-headers-6.0.12.arch1-1-x86_64.pkg.tar.zst

Please post the journal for a boot with the issue even if it shows nothing.  If nothing is showing in the logs you may have to resort to bisecting the kernel.

Thanks I'll check it.
I also added the journal of previous boot (in reverse order. first line is the last line of log)

Offline

#8 2023-02-24 17:15:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,142

Re: Laptop don't shutdown after latest kernel updates

That journal excerpt is a single pager page showing the tail of a shutdown, a complete unchangend

sudo journalctl -b-1

should be more fruitful.

Offline

#9 2023-02-24 17:20:14

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

V1del wrote:

That journal excerpt is a single pager page showing the tail of a shutdown, a complete unchangend

sudo journalctl -b-1

should be more fruitful.

Mmm... But that log is from the beginning of the boot. What's the difference? I used

sudo journalctl -b -1 -r

I also noticed something. It only happens when the system is turned on for a while. I couldn't reproduce it when I shut it down immediately after it's turned on.

Last edited by faded.solivagant (2023-02-24 17:28:53)

Offline

#10 2023-02-24 17:45:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,142

Re: Laptop don't shutdown after latest kernel updates

Use https://wiki.archlinux.org/title/List_o … n_services to properly upload the full output instead of copying out of the pager. I'm mostly looking for kernel messages,  however, according to that excerpt at least as far as system and the journal is concerned the entire shutdown process works until the journal goes down which is pretty late. So I'm assuming this is likely some ACPI/table difference. Maybe try whether there's a firmware update for your system that might fix things again.

Last edited by V1del (2023-02-24 17:48:05)

Offline

#11 2023-02-24 19:26:38

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

V1del wrote:

Use https://wiki.archlinux.org/title/List_o … n_services to properly upload the full output instead of copying out of the pager. I'm mostly looking for kernel messages,  however, according to that excerpt at least as far as system and the journal is concerned the entire shutdown process works until the journal goes down which is pretty late. So I'm assuming this is likely some ACPI/table difference. Maybe try whether there's a firmware update for your system that might fix things again.

Oh, so I added the link of whole log in the first post.

Offline

#12 2023-02-24 21:19:46

seth
Member
Registered: 2012-09-03
Posts: 58,456

Re: Laptop don't shutdown after latest kernel updates

Ftr, https://bbs.archlinux.org/viewtopic.php?id=282495
Try to add either

pcie_aspm=off
pcie_aspm=off acpi_osi=! acpi_osi="Windows 2009"
pcie_aspm=off acpi_osi=! acpi_osi="Windows 2012"

to the https://wiki.archlinux.org/title/Kernel_parameters

Offline

#13 2023-03-05 09:16:50

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

I tried different versions of kernels. It appears somewhere between 6.1-arch1-1 and 6.1.1-arch1-1.
It's still present in 6.2.2 but doesn't always happens. once in a two or three shutdowns.

Offline

#14 2023-03-05 09:35:04

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: Laptop don't shutdown after latest kernel updates

faded.solivagant wrote:

It appears somewhere between 6.1-arch1-1 and 6.1.1-arch1-1.

https://github.com/archlinux/linux/comp … v6.1-arch1 so the cause is https://github.com/archlinux/linux/comm … c7c819be85 ?

Offline

#15 2023-03-05 10:53:57

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

loqs wrote:
faded.solivagant wrote:

It appears somewhere between 6.1-arch1-1 and 6.1.1-arch1-1.

https://github.com/archlinux/linux/comp … v6.1-arch1 so the cause is https://github.com/archlinux/linux/comm … c7c819be85 ?

Hmm... So let me check 6.1 again for a day to see if it doesn't have any issues on shutdowns. Just to make sure!

Offline

#16 2023-03-09 11:53:27

faded.solivagant
Member
Registered: 2022-11-18
Posts: 15

Re: Laptop don't shutdown after latest kernel updates

I have to mention something. I tested again and it seems the problem is happened between 6.0.12-arch1-1 and 6.1-arch1-1.
(This time the difference is a lot of commits probably!)

Offline

Board footer

Powered by FluxBB