Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Since 22.1 external USB HDD won't wake up
« previous
next »
Print
Pages: [
1
]
Author
Topic: Since 22.1 external USB HDD won't wake up (Read 2331 times)
mstriani
Newbie
Posts: 9
Karma: 0
Since 22.1 external USB HDD won't wake up
«
on:
February 11, 2022, 05:20:55 pm »
Hi All, I have an external usb hdd that has self power (it a segate enclousure with WD disk in it)... until 21.7 it works fine.. but since the upgrade, when the disk goes to sleep it wont wake up...
for the disk to wake up I make a series of convinations of
usbconfig reset and mount -a... when I see the blink in the HDD I have to give about 5 minutes and then mount -a again... and it restart....
Any suggestions???
Logged
mstriani
Newbie
Posts: 9
Karma: 0
Re: Since 22.1 external USB HDD won't wake up
«
Reply #1 on:
February 11, 2022, 11:12:21 pm »
For more info here are the outputs of the commands I use to debug...
root@cerebro:~ # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
root@cerebro:~ # camcontrol identify /dev/da0
camcontrol: Can't get ATA command status
pass1: <WDC WD20EURX-64HYZY0 80.00A80> ACS-2 ATA SATA 3.x device
pass1: 40.000MB/s transfers
protocol ACS-2 ATA SATA 3.x
device model WDC WD20EURX-64HYZY0
firmware revision 80.00A80
serial number WD-WCC4M886WPN9
WWN 50014ee2b50c9c97
additional product id
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 4096, offset 0
LBA supported 268435455 sectors
LBA48 supported 3907029168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM 5400
Zoned-Device Commands no
Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
Native Command Queuing (NCQ) yes 32 tags
NCQ Priority Information yes
NCQ Non-Data Command no
NCQ Streaming no
Receive & Send FPDMA Queued no
NCQ Autosense no
SMART yes yes
security yes no
power management yes yes
microcode download yes yes
advanced power management no no
automatic acoustic management no no
media status notification no no
power-up in Standby yes no
write-read-verify no no
unload yes yes
general purpose logging yes yes
free-fall no no
sense data reporting no no
extended power conditions no no
device statistics notification no no
Data Set Management (DSM/TRIM) no
Trusted Computing no
encrypts all user data no
Sanitize no
Host Protected Area (HPA) yes no 3907029168/0
HPA - Security yes no
Accessible Max Address Config no
Logged
zz00mm
Newbie
Posts: 40
Karma: 2
Re: Since 22.1 external USB HDD won't wake up
«
Reply #2 on:
February 12, 2022, 12:34:09 am »
Do you have powerD enabled?? Is it possible that powerD is powering it down?
Logged
mstriani
Newbie
Posts: 9
Karma: 0
Re: Since 22.1 external USB HDD won't wake up
«
Reply #3 on:
February 12, 2022, 12:48:52 am »
I think it's not enabled
root@cerebro:~ # powerd
powerd: no cpufreq(4) support -- aborting: No such file or directory
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Since 22.1 external USB HDD won't wake up
«
Reply #4 on:
February 16, 2022, 04:49:50 pm »
I'm guessing is this one because of the pwr=SAVE attribute:
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
then:
power management yes yes
That seems to be a smart attribute. It might be possible to send a smart command to take it out of power save move. powerD is for cpu control, so nothing to do with this.
However how did it use to wake up before, when on OPN 21.7?
Logged
mstriani
Newbie
Posts: 9
Karma: 0
Re: Since 22.1 external USB HDD won't wake up
«
Reply #5 on:
March 22, 2022, 08:53:39 pm »
Hi, I didnt configure any power plan in previus version... and the power state is ON
ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
When it happends, it desapear the ugen0.5
root@cerebro:/home/jack # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
root@cerebro:/home/jack # umount /mnt/harddisk/
root@cerebro:/home/jack # mount /dev/da0p1
mount: /dev/da0p1: Input/output error
root@cerebro:/home/jack # us
usbconfig usbdump usbhidaction usbhidctl users
root@cerebro:/home/jack # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
I changed the power state of the usb hub that I think the hdd is conected to....
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Since 22.1 external USB HDD won't wake up