[Beta][Bug] USB management problem with V1.80

Aperta
#626 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, shell

Direzione di ricerca

The report identifies ZimaOS 1.8.0 and shows smartctl results for four USB drives, but names no source files or failing test. Start by locating the USB drive power-management code and comparing its behavior with the previous version. Done means confirming the cause and restoring automatic sleep for idle external drives; the report provides no test command.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened?
Have 4 different disks on USB 3.0, and some of them 100% not want to sleep auto after update to 1.8.0:

sdb 8:16 0 7.3T 0 disk
sdc 8:32 0 3.6T 0 disk
└─sdc1 8:33 0 3.6T 0 part
sdd 8:48 0 953.9G 0 disk
└─sdd1 8:49 0 953.9G 0 part
sde 8:64 0 1.8T 0 disk
└─sde1 8:65 0 1.8T 0 part

smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.18.9] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

3.5 HDD in USB bay
sudo smartctl -i -n standby /dev/sdb

=== START OF INFORMATION SECTION ===
Model Family: Seagate Skyhawk
Device Model: ST8000VX004-2M1101
LU WWN Device Id: 5 000c50 0d5cc5b94
Firmware Version: AV01
User Capacity: 8,001,563,222,016 bytes [8.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.5/5706
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Oct 19 00:04:40 2026 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Power mode was: IDLE_A

3.5 HDD in USB bay
sudo smartctl -i -n standby /dev/sdc

CHECK POWER MODE: incomplete response, ATA output registers missing
CHECK POWER MODE not implemented, ignoring -n option

=== START OF INFORMATION SECTION ===
Model Family: Seagate IronWolf
Device Model: ST4000VN006-3CW104
LU WWN Device Id: 5 000c50 0f287fb6b
Firmware Version: SC60
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.5/5706
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Oct 19 00:04:42 2026 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

m.2 SSD in USB bay
sudo smartctl -i -n standby /dev/sdd
Device is in SLEEP mode, exit(2)

2.5 external USB HDD
sudo smartctl -i -n standby /dev/sde

=== START OF INFORMATION SECTION ===
Device Model: WDC WD20SMZW-11JW8S1
LU WWN Device Id: 5 0014ee 609036bb9
Firmware Version: 01.01A01
User Capacity: 2,000,365,379,584 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
TRIM Command: Available, deterministic
Device is: Not in smartctl database 7.5/5706
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Oct 19 00:04:47 2026 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Power mode is: ACTIVE or IDLE

I expected that after update to 1.8.0 USB external drives will be sleep when they not in use as it was at previous version ZimaOS. 8TB Skyhawk - full empty and nothing can use it, but it spinning 24/7!

Before update to 1.8.0 all disks can sleep. Fix it please asap, thanks

P.S. It`s not only my problem: https://community.zimaspace.com/t/usb-management-problem-with-v1-80/9512

Screenshots

No response

Lingua principale
Shell
Stelle
3.1k
Fork
130
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IceWhaleTech/ZimaOS

Tutte le issue di IceWhaleTech/ZimaOS

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.