Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if Backup USB Stick makes trouble with HDD #4466

Open
rootzoll opened this issue Mar 11, 2024 · 3 comments
Open

Check if Backup USB Stick makes trouble with HDD #4466

rootzoll opened this issue Mar 11, 2024 · 3 comments
Labels
bug - unconfirmed Something isn't working - not (yet) reproduced

Comments

@rootzoll
Copy link
Collaborator

Recheck Setup

So I can report one finding.  I keep a stubby old thumbdrive in one of the two slower USB ports on the PI.  This is for scheduled backups.  But as long as that is plugged in it seems to make the system recognizing the USB 3 attached HDD fail more than succeed.  I have run the test a number of times with the same result.  With the thumb drive in no HDD shows up 80% or so.  Removed HDD mounts 100%.
@rootzoll rootzoll added the bug - unconfirmed Something isn't working - not (yet) reproduced label Mar 11, 2024
@rootzoll rootzoll added this to the 1.11.1 Release milestone Mar 11, 2024
@cAP5L0CK
Copy link
Contributor

I am the original reporter. I have
-RPi 5 8gb. Stock. No mods or overclocking.
-1TB SATA SSD in a USB case (no external power) attached to a USB3 port
-65W Laptop style power supply
-16G Verbatum USB thumb drive

When the thumb drive is inserted in one of the 2.1 USB ports (the slower ones) then the HDD does not auto mount in most cases. If it is not the HDD mounts every time.

@cAP5L0CK
Copy link
Contributor

cAP5L0CK commented Mar 15, 2024

Will be replacing the 65w supply with the official 27w 5.1V, 5A PD type to see if this solves the issue. So far it runs well with the "laptop" power supply. But I am wondering sincec even that supply is not going to do the 5.1V, 5A combo that it could still contribute to instability.

@cAP5L0CK
Copy link
Contributor

cAP5L0CK commented Mar 15, 2024

PSU replaced. This was the source of the issue in my opinion (and I believe rootzoll also predicted this early on.)

sudo dtc -I fs -f /proc/device-tree/chosen/power/

USED TO PRODUCE:
max_current = <0xbb8 >; (or 3000 which is 3A)

NOW it produces:
max_current = <0x1388>; (or 5000 which is 5A)

Almost all power supplies, even those that are much more powerful do not produce 5A @ 5.1V but produce 3A @ 5.1V

The official adapter delivers this, and there are a handful of 3rd party ones available. I bought this one:
https://www.amazon.com/dp/B0CT5B5ZLP

Incidentally this decreases the startup time of the PI to something MUCH quicker as well. I assume when it is using the 3A supplies it can boot, but the 100% fan combined with the draw on boot can cause my issue as well as it not seeing the USB drive early enough in the bootcycle to continue.

Another note. When using an underamped supply If after the pi has started looking for the drive you disconnect/reconnect it it will find it immediately and boot normally. But 4/5times it hangs without this trick.

Obviously getting the correct power for this little thing cannot be overstated. It will run on 3A (like a RPi4 adapter, or my 65W laptop charger) but during times of stress r/w to the HDD will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - unconfirmed Something isn't working - not (yet) reproduced
Projects
None yet
Development

No branches or pull requests

2 participants