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

SATA M2 drive not available after Odroid M1/M1S upgrade to 14.2 #3837

Closed
marco44 opened this issue Jan 27, 2025 · 3 comments · Fixed by #3843
Closed

SATA M2 drive not available after Odroid M1/M1S upgrade to 14.2 #3837

marco44 opened this issue Jan 27, 2025 · 3 comments · Fixed by #3843
Labels
board/odroid Hardkernel's ODROID Boards bug stable-kernel-regression Issue which appears to be an upstream stable kernel regression

Comments

@marco44
Copy link

marco44 commented Jan 27, 2025

Describe the issue you are experiencing

I've got a M2 SATA drive as the data volume on my Odroid M1S. After upgrading to 14.2, the device is not available. I can't see it in lsblk, and nothing can be started, because of

containerd: mkdir /mnt/data/docker: read-only file system

What operating system image do you use?

odroid-m1s (Hardkernel ODROID-M1S)

What version of Home Assistant Operating System is installed?

14.2

Did the problem occur after upgrading the Operating System?

Yes

Hardware details

Toshiba NVMe SSD KBG30ZMV256G

Steps to reproduce the issue

Upgrade to HAOS 14.2
Don't have access to your M2 drive anymore

Anything in the Supervisor logs that might be useful for us?

I can't reach anything, as nothing starts

Anything in the Host logs that might be useful for us?

containerd: mkdir /mnt/data/docker: read-only file system

System information

System Information

version core-2025.1.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.1
os_name Linux
os_version 6.6.66-haos
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.4
Stage running
Available Repositories 1501
Downloaded Repositories 5
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.3
agent_version 1.6.0
docker_version 27.2.0
disk_total 234.7 GB
disk_used 8.5 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board odroid-m1s
supervisor_api ok
version_api ok
installed_addons Rclone Backup (3.3.4), Mosquitto broker (6.5.0), MQTT Explorer (browser-1.0.3), SQLite Web (4.3.0), eBUSd (24.1.1), Zigbee2MQTT (2.0.0-2), Terminal & SSH (9.16.0)
Dashboards
dashboards 6
resources 2
views 9
mode storage
Recorder
oldest_recorder_run January 15, 2025 at 14:41
current_recorder_run January 27, 2025 at 20:30
estimated_db_size 468.25 MiB
database_engine sqlite
database_version 3.47.1

Additional information

No response

@marco44 marco44 added the bug label Jan 27, 2025
@sairon sairon added board/odroid Hardkernel's ODROID Boards stable-kernel-regression Issue which appears to be an upstream stable kernel regression labels Jan 28, 2025
@sairon
Copy link
Member

sairon commented Jan 28, 2025

Yes, I can confirm this. I have suspicion it's related to #3841, it broke between the same dev builds. As a workaround, revert to 14.1 (but as I see you already did). Sorry for the inconvenience.

@marco44
Copy link
Author

marco44 commented Jan 28, 2025

No problem. I was quite amazed when I discovered my device had rollbacked to 14.1 by itself. That's really neat.

sairon added a commit to home-assistant/version that referenced this issue Jan 28, 2025
Kernel update to v6.6.69+ introduced regression of USB 3 and PCIe on
M1/M1S (see home-assistant/operating-system#3837 and
home-assistant/operating-system#3841). Revert OS to 14.1 there.
sairon added a commit to home-assistant/version that referenced this issue Jan 28, 2025
)

Kernel update to v6.6.69+ introduced regression of USB 3 and PCIe on
M1/M1S (see home-assistant/operating-system#3837 and
home-assistant/operating-system#3841). Revert OS to 14.1 there.
@sairon
Copy link
Member

sairon commented Jan 28, 2025

Broken by this stable Linux commit, there is no backport of the needed device tree changes and the fallback suggested in the thread wasn't applied either 😢

@sairon sairon changed the title SATA M2 drive not available after Odroid M1S upgrade to 14.2 SATA M2 drive not available after Odroid M1/M1S upgrade to 14.2 Jan 29, 2025
sairon added a commit that referenced this issue Jan 29, 2025
Revert the patch changing phy reset behavior, requiring also changes in the
device tree that are missing in the stable backport. The issue was reported to
the regressions mailing list and hopefully future patch release should contain
a proper fix.

The patch is added to the patches-rockchip directory, potentially affecting
Green as well, although the broken peripherals are not used there.

Fixes #3837, fixes #3841
@sairon sairon closed this as completed in f56130a Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/odroid Hardkernel's ODROID Boards bug stable-kernel-regression Issue which appears to be an upstream stable kernel regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants