http://bugs.winehq.org/show_bug.cgi?id=58669
Bug ID: 58669 Summary: wine wakes up sleeping HDDs Product: Wine Version: 10.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: aliaksei.urbanski@gmail.com Distribution: ---
Hello everyone,
I have a couple of auxiliary HDDs in my machine that are in standby mode most of the time (hdparm -y /dev/sd{b,c}). Those HDDs contain file systems that aren't mounted automatically. The system runs mostly silently using an SSD.
When I start wine or winecfg, it somehow immediately touches those HDDs so they wake up and start spinning loudly for no purpose.
Why does it happen? Is there a way to prevent this behavior?
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=58669
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
http://bugs.winehq.org/show_bug.cgi?id=58669
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- What are the permissions on the partition devices?
Can you attach a log with WINEDEBUG=+mountmgr please?
http://bugs.winehq.org/show_bug.cgi?id=58669
--- Comment #2 from Aliaksei Urbanski aliaksei.urbanski@gmail.com --- Created attachment 79280 --> http://bugs.winehq.org/attachment.cgi?id=79280 WINEDEBUG="+mountmgr" winecfg
(In reply to Zeb Figura from comment #1)
What are the permissions on the partition devices?
$ ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 Sep 9 2025 /dev/sda brw-rw---- 1 root disk 8, 1 Sep 8 22:58 /dev/sda1 brw-rw---- 1 root disk 8, 16 Sep 9 2025 /dev/sdb brw-rw---- 1 root disk 8, 17 Sep 9 2025 /dev/sdb1 brw-rw---- 1 root disk 8, 32 Sep 9 2025 /dev/sdc brw-rw---- 1 root disk 8, 33 Sep 8 22:58 /dev/sdc1
Can you attach a log with WINEDEBUG=+mountmgr please?
Sure! Here it is.
http://bugs.winehq.org/show_bug.cgi?id=58669
--- Comment #3 from Aliaksei Urbanski aliaksei.urbanski@gmail.com --- Created attachment 79281 --> http://bugs.winehq.org/attachment.cgi?id=79281 WINEDEBUG="+mountmgr" wine notepad
One more log file, just in case.
http://bugs.winehq.org/show_bug.cgi?id=58669
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Thanks. Yeah, you have enough permissions to open the partition devices (which is a bit dangerous and I wouldn't recommend it in general, but that's neither here nor there).
If we can, we try to read partition devices directly in order to determine the file system type. That maybe made sense twenty years ago, but I don't think it does anymore. We should just rely on udisks, or whatever.