You are not logged in.

#1 2019-11-18 16:36:09

Pask
Member
Registered: 2019-11-18
Posts: 5

[SHUTDOWN] very slow laptop shutdown

Hello all,
sorry for my bad English
here I am installing an archlinux32bits on an old laptop (Acer Aspire 1680). Everything works startup, reboot, wifi, touchpad etc ... except the shutdown of the pc which is incredibly long.
I managed to copy the messages that are displayed before the shutdown of the laptop:

INFO: task shutdown:1 blocked for more than 120 seconds.
Tainted: G W 4.19.81-1.0-lts #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Call Trace:
__schedule+0x264/0x8e0
schedule+0x2e/0x80
schedule_timeout+0x2a5/0x420
? acpi_ut_delete_internal_object_list+0x2a/0x2e
wait_for_common+0x9e/0x130
? wake_up_q+0x60/0x60
wait_for_completion+0x17/0x20
flush_workqueue+0xf9/0x3d0
acpi_os_wait_events_complete+0x2b/0x30
acpi_power_off_prepare+Ox1c/0x20
kernel_power_off+040/0x70
sys_reboot+0x104/0x200
? do_iter_write+0xc2/0x190
? vfs_wrtiev+0x7d/0xe0
do_fast_syscall_32+0x87/0x1f0
entry_SYSENTER_32+0x6b/0xbe
EIP: 0xb7ee2d19
Code: Bad RIP value.
EAX: ffffffda EBX: fee1dead ECX: 28121969 EDX: 4321fedc
ESI: 00000000 EDI: bfee8c1c EBP: bfee8d18 ESP: bfee8b78
DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
? nmi+0x8b/0x198



My problem is that peeling the web I have not found a solution to this problem!

I ask for a hand in order to be able to solve this recurring problem. Do not hesitate to ask me logs or others because I do not know what to provide.

Thank you for your help.

Last edited by Pask (2019-11-18 16:37:10)

Offline

#2 2019-11-18 17:45:19

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 987
Website

Re: [SHUTDOWN] very slow laptop shutdown

Hi,

Looks like an ACPI issue. Try if setting acpi=off in the kernel boot parameter changes something.

Offline

#3 2019-11-19 14:22:26

Pask
Member
Registered: 2019-11-18
Posts: 5

Re: [SHUTDOWN] very slow laptop shutdown

Thank you for your response and sorry for my late response.
I already test 'acpi = off' but this function blocks me the keyboard and the touchpad. Then, with this option, the laptop is not fully done I must press the power button to finish the shutdown.

Offline

#4 2019-11-24 18:55:30

Pask
Member
Registered: 2019-11-18
Posts: 5

Re: [SHUTDOWN] very slow laptop shutdown

Hello everyone,
I performed a debug of the system shutdown by following the instructions of https://freedesktop.org/wiki/Software/s … n_Problems.

I post the result so that a charitable soul can analyze it: http://www.mediafire.com/file/jfzgif4l4 … g.txt/file.

For my part I think it would be a problem acpi but just for kernel 4.x and 5.x.
Indeed I managed to compile the kernel-lts 3.16.78 recovered on https://www.kernel.org and everything works perfectly.
This solution is, I think, not a fix because I do not know if a system is sustainable in time with a downgrading kernel.
What do you think ?
I tested various options as well as the dsdt recompiler but that does not change anything.
Now I am running out of ideas.
If someone with notions of kernel compilation could look into this problem or tell me if there is a patch or how to isolate or identify this problem it will be extremely cool.
I thank you in advance for any help you could give me and do not hesitate to ask me logs or other files that might advance in this problem.

Offline

#5 2019-11-24 22:08:48

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SHUTDOWN] very slow laptop shutdown

Hmm, I'm slightly surprised at all of those 'Found redundant job' lines, but it's fair to say I've never watched that kind of log when shuttdown down, only the messages spat out at the screen when the system's heading downwards.  Looking at the important end of the log I see it's happy that it's successfully mounted sda3, I think in a read-only manner, which I think is your root file system.

I'm again curious at the 'Successfully forked off '(sd-remount)' as PID 1328.' between the announcement of 'Reached target power-off' which I reckognise as amogst the final dozen messages whenever I turn my machine off and the first message about it trying to remount root.  Is it some kind of automounter you have running?


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB