-
Notifications
You must be signed in to change notification settings - Fork 935
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
when I upgrade to Operating System 9.0 sata disk on ODROID-XU4 not detect #2153
Comments
You are connecting the SATA SSD through USB 3.0 correct? Is the USB port working otherwise (e.g. USB Zigbee dongle or another device?). When downgrading to 8.5, does that make the USB SATA SSD work again? |
I use ODROID-HC1 As you see this odroid have sata connector onbord. I do not use USB disk. The basic difference: 1.) When I download image and install on SDcard : Disk SSD SATA is not recognize on home assistent 2.) When I download image 8.5 and install on SDcard. Disk SSD SATA is recognize on home assistent. |
Unfortunately, I don't have such a device here, so I can test :( We only changed minor kernel versions, so it is a bit surprising to me that this stopped working. Can you run |
Hire are files with dmsg results: |
9.0 again: |
Today I update to 9.2 .. Sata disk is not recognize. |
Hi, @agners did you find in my files something usefull? regards |
It seems that HC1 is using an on-board USB to S-ATA adapter, this is from the HAOS 8.5 log (Linux 5.15.60).
In HAOS 9.0 (with Linux 5.15.67) this is missing. As the first line is already missing, it seems the whole controller does not get initialized 😕 There was one change, and that was resetting the Ethernet properly (see #2108). But from what I can tell, Ethernet is totally unrelated with the S-ATA part of that board, so I doubt that this is the culprit. I'll create a build with that patch reverted, let's see if that helps fix the problem. Can you also give the latest nightly a try? |
Thanks for testing!
Hm, that is probably unrelated, but I am not sure. Can you try this image: https://os-builds.home-assistant.io/haos_odroid-xu4-10.0.dev20221017.img.xz |
Home Assistant 2022.10.4 Supervisor 2022.10.0 Operating System 10.0.dev20221017 Frontend 20221010.0 - latest Same, disk is not found and also addon ssh terminal have same issue installing. |
Ok, that confirms that the only HAOS change is not the culprit. It must be a stable kernel regression then. I've uploaded another image, can you give this a try again? |
last image it's WORKING! Home Assistant 2022.10.4 Supervisor 2022.10.0 Operating System 10.0.dev20221017 Frontend 20221010.0 - latest |
Ok, that proves it is a Linux kernel regression between v5.15.61 and v5.15.67. Unfortunately, I had to delete all the development builds from back then 😢 Going back in kernel version is not an option. We need to find the exact change. I have found two commit which might explain the problem:
This image uses v5.15.67 with the two suspected commits reverted: |
haos_odroid-xu4-10.0.dev20221017-3.img.xz disk is recognize.SATA disk is working. And addon ssh terminal is NOT working. |
And one more, this isolates it to a single commit, I assume the culprit is this change
Can you give this a try?
I assume that the add-on thing is unrelated to the kernel change, probably some random factor which makes it work sometimes. Can you try |
yes version: SATA disk is working. |
@MihaT2021 ok, thanks for testing. I'll report it to the upstream developers. For HAOS we can revert the offending commit for now, so this should be fixed in the next release. |
Thx
V tor., 18. okt. 2022 17:29 je oseba Stefan Agner ***@***.***>
napisala:
… @MihaT2021 <https://github.com/MihaT2021> ok, thanks for testing. I'll
report it to the upstream developers. For HAOS we can revert the offending
commit for now, so this should be fixed in the next release.
—
Reply to this email directly, view it on GitHub
<#2153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWX62MQB35MLCKEKC7D3DRDWD267FANCNFSM6AAAAAAQUCRUNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@MihaT2021 sorry to bother you again, the upstream patch developer has a possible "proper" fix for this problem, but he is not sure. Could you test this image? https://os-builds.home-assistant.io/haos_odroid-xu4-10.0.dev20221020.img.xz |
Hm, I am sorry, I made an error with the above build, that was too late yesterday 😰 . Can you retry with this version: |
Home Assistant 2022.10.5 Supervisor 2022.10.0 Operating System 10.0.dev20221021 Frontend 20221010.0 - latest SATA disk is not recognize. |
Home Assistant 2022.10.5 Supervisor 2022.10.0 Operating System 9.3 Frontend 20221010.0 - latest SATA Disk is working. :) |
Closing as this is resolved by #2194. The problematic patch has also been lined up to the stable kernel updates ( |
Describe the issue you are experiencing
before Operating System 9.0 I was able to use ssd disk. After I update o.s. to 9.0 it did not boot . I was able to install on SD card again (o.s. 9.0 ) but disk is not veasible.
from terminal:
Disk is ok I put it to windows and it is weasible..
If I install on anather SD card o.s ver 8.5 ssd is visible.
on o.s. version 8.5:
/dev/sda
please help.
What operating system image do you use?
odroid-xu4 (Hardkernel ODROID-XU4)
What version of Home Assistant Operating System is installed?
9.0
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
1.ugrade to os. 9.0
2.
3.
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
.
Additional information
No response
The text was updated successfully, but these errors were encountered: