You are not logged in.

#1 2022-02-19 05:50:02

alexeusgr
Member
Registered: 2022-02-19
Posts: 2

Issue with hard drive and power management

Hi!

I am experiencing what seems to be power management issue.
If I unplug the power cable, the HDD falls into endless cycle of spinning up and down (I can hear the sound of it)

dmesg confirms, spamming repeatedly

[ 1599.721077] sd 0:0:0:0: [sda] Starting disk
[ 1605.007258] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1605.007698] sd 0:0:0:0: [sda] Stopping disk

Rebooting or shutting down freezes the machine.


also from dmesg, dunno if it is related:

[ 1474.408168] INFO: task laptop_mode:19007 blocked for more than 614 seconds.
[ 1474.408170]       Tainted: P           OE     5.14.10-arch1-1 #1
[ 1474.408171] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1474.408172] task:laptop_mode     state:D stack:    0 pid:19007 ppid: 17299 flags:0x00000000
[ 1474.408175] Call Trace:
[ 1474.408176]  __schedule+0x333/0x1530
[ 1474.408180]  ? do_truncate+0xa5/0xf0
[ 1474.408185]  ? mntput_no_expire+0x4a/0x280
[ 1474.408192]  schedule+0x59/0xc0
[ 1474.408195]  schedule_preempt_disabled+0x11/0x20
[ 1474.408199]  __mutex_lock.constprop.0+0x2db/0x4a0
[ 1474.408203]  autosuspend_delay_ms_store+0x63/0xb0
[ 1474.408206]  kernfs_fop_write_iter+0x11c/0x1b0
[ 1474.408208]  new_sync_write+0x159/0x1f0
[ 1474.408213]  vfs_write+0x1db/0x270
[ 1474.408216]  ksys_write+0x67/0xe0
[ 1474.408218]  do_syscall_64+0x5c/0x80
[ 1474.408222]  ? handle_mm_fault+0xd5/0x2a0
[ 1474.408225]  ? do_user_addr_fault+0x1f2/0x690
[ 1474.408231]  ? exc_page_fault+0x72/0x170
[ 1474.408234]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 1474.408236] RIP: 0033:0x7f3498b04907
[ 1474.408238] RSP: 002b:00007ffd1aa3e518 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1474.408240] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f3498b04907
[ 1474.408241] RDX: 0000000000000002 RSI: 000056086c3bb1e0 RDI: 0000000000000001
[ 1474.408242] RBP: 000056086c3bb1e0 R08: 000000000000000a R09: 00007f3498b9a4e0
[ 1474.408243] R10: 00007f3498b9a3e0 R11: 0000000000000246 R12: 0000000000000002
[ 1474.408245] R13: 00007f3498bd6520 R14: 0000000000000002 R15: 00007f3498bd6700

and it seems to stop after:

[ 1659.918895] usb 3-9: reset full-speed USB device number 4 using xhci_hcd
[ 1675.492032] usb 3-9: device descriptor read/64, error -110
[ 1691.065451] usb 3-9: device descriptor read/64, error -110

but also not sure it its related

$uname -a 
Linux m3800alex 5.14.10-arch1-1 #1 SMP PREEMPT Thu, 07 Oct 2021 20:00:23 +0000 x86_64 GNU/Linux

Any advice?

Many thanks.

Last edited by alexeusgr (2022-03-22 12:05:04)

Offline

#2 2022-02-19 16:47:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,409

Re: Issue with hard drive and power management

Welcome to the forums.  Please use BBCode code tags when posting file content and program output.   There is a reference link under every message post box; provided here for convenience:
https://bbs.archlinux.org/help.php#bbcode

Have you seen this article?
https://wiki.archlinux.org/title/Hdparm … figuration


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

Online

#3 2022-03-22 12:12:18

alexeusgr
Member
Registered: 2022-02-19
Posts: 2

Re: Issue with hard drive and power management

Hello.

Thank you for the link to BBs help page. I was looking for formatting guide, but didn't find.
I have edited the post as suggested.

Installing hdparm seems to have improved the behavior, testing.

Thank you, ewaller

Offline

Board footer

Powered by FluxBB