-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to access NVMe SSD on VIM3 #3092
Comments
It seems that the PCIe driver is not enabled for Khadas VIM3. Enable it by default. Note to make use of the M2X extension board, the following commands need to be executed on the U-Boot command line: ``` HAOS> i2c dev 0 Setting bus to 0 HAOS> i2c mw 0x18 0x33 1 ```
It seems that the PCIe port is disabled by default. We do use upstream U-Boot, which does not include the However, the command does a simple I2C write, which can be done from the U-Boot prompt with the following commands:
Unfortunately it seems that we still miss a driver to make PCIe (and NVMe) support fully work. I've enabled it with PR #3100. So it should be possible to use the NVMe with the next release. |
This is excellent news, thank you for the update. I'll be sure to test it out as soon as it's available |
It seems that the PCIe driver is not enabled for Khadas VIM3. Enable it by default. Note to make use of the M2X extension board, the following commands need to be executed on the U-Boot command line: ``` HAOS> i2c dev 0 Setting bus to 0 HAOS> i2c mw 0x18 0x33 1 ```
The driver should be available since 11.5.rc1, so I'm closing this. Let us know if you encounter any issues. |
Can confirm that everything is working on my device now. Updated and moved the data disk with no issues |
Describe the issue you are experiencing
Hi!
I've been running home assistant for a while now installed on a VIM3 Pro. It's been running smoothly for almost a year now.
I am, however noticing that the dashboard is taking longer and longer to load data into the graphs. I read that the most probable cause of that is slow storage. This makes sense, since HAOS is installed onto the eMMC, which from my understanding is not much better than an SD card. I've also experienced a few occasions where I will wake up to things not loading properly (or at all, requiring a restart). I get the feeling that the eMMC might be acting up.
To alleviate this, I bought an m.2 NVMe SSD, and tried (and failed) to move the install over to it. (oowow isn't able to flash to NVMe, but that's not particularly relevant here).
My backup plan was to reinstall to eMMC, and then use the SSD as the data dir. However I'm not able to access the drive.
I know that the drive functions, since during my attempts to install HAOS on the SSD, I tested an Ubuntu (eMMC) install, and formatted the drive there. So the hardware seems to function as expected.
The drive is not present in terminal with a
ha os datadisk list
, returning nothing:It's also not present in
hardware -> All Hardware
. In Ubuntulsblk
would show it under something similar tonvme1
(don't recall the exact path but the key point is that it's not there in HA).Not exactly sure what can be done about this (perhaps this is one to put on the khadas forums?) but any advice is welcome.
What operating system image do you use?
khadas-vim3 (Khadas VIM3)
What version of Home Assistant Operating System is installed?
11.4
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
VIM3 Pro
no presence of
nvme*
in All Hardware, nor is anything shown inha os datadisk list
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Additional information
No response
The text was updated successfully, but these errors were encountered: