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

Ryzen CPU and Invoke-Expression #383

Open
crb247 opened this issue Oct 11, 2022 · 3 comments
Open

Ryzen CPU and Invoke-Expression #383

crb247 opened this issue Oct 11, 2022 · 3 comments
Assignees
Labels
help wanted Extra attention is needed multi-user bug bug can affect multiple users.

Comments

@crb247
Copy link

crb247 commented Oct 11, 2022

Hello. I've been running Swarm on three other HiveOS rigs successfully with zero issues. My last rig is coming up with these errors while trying to start up. I have also tried windows build on the same machine with the exact same errors. Just wondering if you had any suggestions on a fix. Thanks in advance

Included 3 screenshots. 2 from startup and 1 from running linux_install
Issue 1
issue 2
issue3

@crb247
Copy link
Author

crb247 commented Oct 11, 2022

Addition... Forgot board specs
specs

@crb247
Copy link
Author

crb247 commented Oct 12, 2022

I have replaced the motherboard with an older intel board and Swarm Miner started right up without the errors. Everything else is the same so there is either a setting issue I did not catch or figure out in the bios for device ID's or it was just that AMD board.

I'll personally consider my issue closed but leave this open on here so you see it.

@MaynardMiner
Copy link
Owner

MaynardMiner commented Oct 13, 2022

Thank you for reporting.

I have another user that is having same issue. It has something to specifically do with AMD boards/cpus and powershell (Not SWARM). I suspect atm it is related to powershell's invoke-expression command:

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-expression?view=powershell-7.2

For some reason it seems to be executing the code out of sync, like the command being launched in invoke-expression is taking too long to complete, but SWARM continues executing the rest of its script. I just haven't figured out what part of the code is taking too long.

My goal is to get rid of invoke-expression and have powershell execute linux apps natively using System.Diagnostics.Process and record the output. This way I can use process.waitforexit so SWARM doesn't continue on until whatever bash script running is done.

It's a larger change to do, but I am working on it.

@MaynardMiner MaynardMiner self-assigned this Oct 13, 2022
@MaynardMiner MaynardMiner added the multi-user bug bug can affect multiple users. label Oct 13, 2022
@MaynardMiner MaynardMiner changed the title Running on HiveOS fails Ryzen CPU and Invoke-Expression Oct 13, 2022
@MaynardMiner MaynardMiner added the help wanted Extra attention is needed label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed multi-user bug bug can affect multiple users.
Projects
None yet
Development

No branches or pull requests

2 participants