Closed ESPmonster closed 6 months ago
I had the same issue. I had to flash my SSD back to 9.5. Thankfully I have a backup of HA from the 17th of April.
I had this issue repeatedly from 8.3 to 9. It was fixed with a pi bios update. I had a work around that I did to get it to restart. I would shutdown my pi, unplug my ssd, have the boot fail and then plug the ssd back in and restart again. I have not seen this on any of the 10 rcs. 10.0 failed to boot for me as well but the workaround worked.
I had this same issue, and backing out to 9.5 was also the solution for me.
same here, will downgrade to 9.5 today.
10.05.2023 I have now downgraded and have access to more information. I'm using an Kingston SSD on USB. Here the hardware information
DEVLINKS: >- /dev/disk/by-diskseq/28 /dev/disk/by-id/ata-KINGSTON_SVP200S37A60G_50026B722A02B736 /dev/disk/by-id/usb-KINGSTON_SVP200S37A60G_26A1EE83E421-0:0 /dev/disk/by-id/wwn-0x50026b722a02b736 /dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0 DEVNAME: /dev/sda DEVPATH: >- /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2/2-2:1.0/host0/target0:0:0/0:0:0:0/block/sda DEVTYPE: disk DISKSEQ: '28' ID_ATA: '1' ID_ATA_DOWNLOAD_MICROCODE: '1' ID_ATA_FEATURE_SET_APM: '1' ID_ATA_FEATURE_SET_APM_CURRENT_VALUE: '254' ID_ATA_FEATURE_SET_APM_ENABLED: '1' ID_ATA_FEATURE_SET_HPA: '1' ID_ATA_FEATURE_SET_HPA_ENABLED: '1' ID_ATA_FEATURE_SET_PM: '1' ID_ATA_FEATURE_SET_PM_ENABLED: '1' ID_ATA_FEATURE_SET_PUIS: '1' ID_ATA_FEATURE_SET_PUIS_ENABLED: '0' ID_ATA_FEATURE_SET_SECURITY: '1' ID_ATA_FEATURE_SET_SECURITY_ENABLED: '0' ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN: '2' ID_ATA_FEATURE_SET_SMART: '1' ID_ATA_FEATURE_SET_SMART_ENABLED: '1' ID_ATA_ROTATION_RATE_RPM: '0' ID_ATA_SATA: '1' ID_ATA_SATA_SIGNAL_RATE_GEN1: '1' ID_ATA_SATA_SIGNAL_RATE_GEN2: '1' ID_ATA_WRITE_CACHE: '1' ID_ATA_WRITE_CACHE_ENABLED: '1' ID_BUS: ata ID_MODEL: KINGSTON_SVP200S37A60G ID_MODEL_ENC: >- KINGSTON\x20SVP200S37A60G\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 ID_PART_TABLE_TYPE: gpt ID_PART_TABLE_UUID: de078dc3-a9a9-3d14-452f-8e0957752743 ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0 ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_2_1_0-scsi-0_0_0_0 ID_REVISION: 502ABBF0 ID_SERIAL: KINGSTON_SVP200S37A60G_50026B722A02B736 ID_SERIAL_SHORT: 50026B722A02B736 ID_TYPE: disk ID_USB_DRIVER: uas ID_USB_INSTANCE: '0:0' ID_USB_INTERFACES: ':080650:080662:' ID_USB_INTERFACE_NUM: '00' ID_USB_MODEL: SVP200S37A60G ID_USB_MODEL_ENC: \x20SVP200S37A60G\x20\x20 ID_USB_MODEL_ID: '1153' ID_USB_REVISION: '0' ID_USB_SERIAL: KINGSTON_SVP200S37A60G_26A1EE83E421-0:0 ID_USB_SERIAL_SHORT: 26A1EE83E421 ID_USB_TYPE: disk ID_USB_VENDOR: KINGSTON ID_USB_VENDOR_ENC: KINGSTON ID_USB_VENDOR_ID: 174c ID_WWN: '0x50026b722a02b736' ID_WWN_WITH_EXTENSION: '0x50026b722a02b736' MAJOR: '8' MINOR: '0' SUBSYSTEM: block TAGS: ':systemd:' USEC_INITIALIZED: '3499828'
I encountered the same problem, and reverting to version 9.5 also resolved it for me.
Failed to boot after upgrading OS to 10.0.
How does this exactly manifest?
From what I understand the Aragon One case has an internal ASMedia USB 3.0 to S-ATA adapter, from what I can tell with USB ID 174c:55aa
? Can you double check if that is indeed true by running lsusb in the console (use login
to get shell access).
With OS 10 we've updated to the lastest firmware from the Raspberry Pi folks (1.20230405
) as well as their latest 6.1 based kernel release (tag 1.20230405
as well). This likely is the culprit of this issue.
This is essentially another variation of "boot from USB" issue on Rasberry Pi. As I've stated numerous times before, USB boot on Raspberry Pi is unfortunately notoriously unstable. I recommend booting from SD card, and use the SSD as data disk.
Same symptoms here. RPI 4 CM4 with HA installed on native NVME (Boot & Data). I am not using any USB adapter, the system is only installed on the NVME. I can ping the device but it doesn't start any services.
What a scramble ...
This issue seems to be related: https://github.com/home-assistant/operating-system/issues/2478
Perhaps there is a lower level issue with usb in general.
@agners here are my symptoms:
I'm using RPI CM4 with eMMC on Waveshare board with NVMe. eMMC is unused due to known issues with NVMe, however after upgrade OS doesn't boot at all. If connected, screen is blank, and as I understand it all ends on U-Boot. Am I getting it right?
Device 0: unknown device
?) and tries to boot via network (PXE)...................................................................
U-Boot 2023.01 (Apr 17 2023 - 11:52:08 +0000)
DRAM: 512 MiB (effective 3.4 GiB)
RPI Compute Module 4 (0xc03141)
Core: 208 devices, 16 uclasses, devicetree: board
MMC: mmcnr@7e300000: 1, mmc@7e340000: 0
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
No working controllers found
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
Device 0: unknown device
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-e4-5f-01-b8-d2-51
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm-bcm283x
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm
ethernet@7d580000 Waiting for PHY auto negotiation to complete....
Also shared here: https://github.com/home-assistant/operating-system/issues/1887#issuecomment-1513719758
And one later UART messages until the prompt:
U-Boot 2023.01 (Apr 17 2023 - 11:52:08 +0000)
DRAM: 512 MiB (effective 3.4 GiB)
RPI Compute Module 4 (0xc03141)
Core: 208 devices, 16 uclasses, devicetree: board
MMC: mmcnr@7e300000: 1, mmc@7e340000: 0
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
No working controllers found
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Card did not respond to voltage select! : -110
MMC Device 2 not found
no mmc device at slot 2
Device 0: unknown device
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-e4-5f-01-b8-d2-51
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/000000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/000
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/00
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/0
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm-bcm283x
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default-arm
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Retrieving file: pxelinux.cfg/default
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
Config file not found
starting USB...
No working controllers found
ethernet@7d580000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
bcmgenet: PHY startup failed: -110
HAOS>
In the same issue with an Argon M.2 booting from USB SSD for more than a year now with no issues. Today upgraded to 10.0 and can't boot. Similar errors and prompt with no keyboard or network access. It just sits there HAOS>.
Any idea how to downgrade to 9.x in that state? All I can think of is to copy SSD -> SDCARD, boot from SDCARD, downgrade, then copy SDCARD -> SSD.
In the same issue with an Argon M.2 booting from USB SSD for more than a year now with no issues. Today upgraded to 10.0 and can't boot. Similar errors and prompt with no keyboard or network access. It just sits there HAOS>.
Any idea how to downgrade to 9.x in that state? All I can think of is to copy SSD -> SDCARD, boot from SDCARD, downgrade, then copy SDCARD -> SSD.
Do you have a backup? I assume you also boot from the SSD (no microSD present). If so, download the backup to another machine. Use a male to male USB (or a female to male and the argon male to male usb bridge) to connect the SSD to that machine. Write a fresh install with OS 9.5 to the SSD using rpi imager. Put the SSD back and boot. Wait until the rpi appears at <
If you wanted to convert to a data disk set up from a boot from USB (SSD, no microSD), how would one go about this?
From what I understand the Aragon One case has an internal ASMedia USB 3.0 to S-ATA adapter, from what I can tell with USB ID 174c:55aa? Can you double check if that is indeed true by running lsusb in the console (use login to get shell access). With OS 10 we've updated to the lastest firmware from the Raspberry Pi folks (1.20230405) as well as their latest 6.1 based kernel release (tag 1.20230405 as well). This likely is the culprit of this issue. This is essentially another variation of "boot from USB" issue on Rasberry Pi. As I've stated numerous times before, USB boot on Raspberry Pi is unfortunately notoriously unstable. I recommend booting from SD card, and use the SSD as data disk.
Hi, i have the same issue, booting from SSD, rpi4 and since the 10.0, booting is impossible.
I have backups on my side but what i wanna do is to update the firmware of the rpi and try to boot again. Do you think it's the best thing to try ?
If this manipulation does not work, i can flash my SSD back to 9.5 and restore backups, but, is there any chances that the firmware upgrade previously done will end with a fail on SSD boot, whatever the HA OS version i use ? I'm a bit worried about this ...
Thanks in advance :)
I have basically the same Setup - RPi 4, Booting from SSD with USB 3.0 Adapter (idVendor:174c, idProduct:225c, so Quirk neccesary), updating from 9.5 - and fortunatly didn't have any Issues.
I remember i updated the RPis Firmware 2-3 Month ago. My Bet for those RPis not booting would be its either because of an incompatibility with an older Firmware, or incompatibility with the USB-Adaptor.
@dafunkydan How did you do this update ? I read somewhere that the firmware is updated with the HAOS update.
Are you talking about an EEPROM update ? If yes, how did you do this operation ?
Thx
Everyone which has a problem with booting from SSD connected via USB, please share your exact adapter (make/brand and PID/VID if possible).
I am testing USB 3.0 to S-ATA adapters regularly here, these two work with HAOS 10.0:
Bus 004 Device 088: ID 2537:1068 Norelsys NS1068/NS1068X SATA Bridge Controller
Bus 004 Device 089: ID 14b0:0206 StarTech.com Ltd. ASMT105x
Folks which use Raspberry Pi CM4 with a directly attached NVMe, please do not write here but in #2479 instead.
I don't know if it's worthy of sharing but I do NOT have a problem with this adapter ( fully boot from USB no micro SD installed):
UGREEN USB C Hard Drive Enclosure, USB 3.1 Gen 2 Type C to 2.5 inch SATA SSD HDD, External Hard Drive Case Adapter Housing for 9.5mm 7mm SATA I II III, PS4, UASP High Speed Data Transfer, Up to 6TB https://a.co/d/i4XwYI5
My upgrading was a bit different, I was on 9.5 then I updated to 10.0 rc2 (during beta) then 10.0. No issues here.
However I would like to change to the data disc method to prevent future issues hence I asked this question.
If you wanted to convert to a data disk set up from a boot from USB (SSD, no microSD), how would one go about this?
The best way to do this is creating a full backup and start with an installation on the SD-card from scratch. Depending on your backup size, you can either upload it at onboarding time (before creating a login) and then enable the data disk feature, or alternatively you can create a user, enable the data disk feature and then upload the backup and restore it.
I have this one : https://www.amazon.fr/gp/product/B00XLAZODE/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
Which differences between adaptators could cause this kind of issues ?
If you wanted to convert to a data disk set up from a boot from USB (SSD, no microSD), how would one go about this?
The best way to do this is creating a full backup and start with an installation on the SD-card from scratch. Depending on your backup size, you can either upload it at onboarding time (before creating a login) and then enable the data disk feature, or alternatively you can create a user, enable the data disk feature and then upload the backup and restore it.
thanks, @agners there will likely have to be a step in between to change the RPi to boot from MicroSD (and not USB anymore, basically the opposite of these instructions ) before installing the fresh HA install on MicroSD, but I'm going to try option A, with my 2.1GB database size and upload on onboarding time. The MicroSD will only suffer twice, where everything gets transferred to the MicroSD card, and then moved to data disk.
I don't know how well option b would work because the backup would not have a data disk feature...but I'm green on the subject.
I have this one : https://www.amazon.fr/gp/product/B00XLAZODE/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
I actually have also a StarTech.com model, but it seems they have multiple.
Which differences between adaptators could cause this kind of issues ?
Which exact chip is used. But also your environment (power supply, USB hub in between, which of the USB port is being used). The disk connected to the adapter can influence behavior. And then also the EEPROM firmware of your Raspberry Pi 4.
I don't know how well option b would work because the backup would not have a data disk feature...but I'm green on the subject.
The backup is really just all data zipped, you can restore it on any installation: With a backup it is safe to go from one platform to another (e.g. Raspberry Pi 4 to a Intel x86-64 based VM installation) or from an installation with or without data disk to another installation with the opposite data disk configuration.
thank you! I have bookmarked this thread.
Kingston 120GB A400 SATA 3 2.5" Internal SSD SA400S37/120G - HDD
Once I shut power off on the RPI and my hub and restored, it booted correctly.
@bschatzow
Once I shut power off on the RPI and my hub and restored, it booted correctly.
Glad it boots even with HAOS 10. I still believe that your situation has some randomness to it which is not related to software.
Haven't tried updating yet as some of these issues stopped me from doing it. Maybe I am a bit overcautious but on the other hand it might add additional information about a potential scenario too.
Anyway - within an Argon One M.2 SATA I have this hardware:
BUSNUM: '002'
DEVNAME: /dev/bus/usb/002/002
DEVNUM: '002'
DEVPATH: >-
/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_2
ID_MODEL: Forty
ID_MODEL_ENC: Forty
ID_MODEL_ID: 55aa
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_2
ID_REVISION: '0100'
ID_SERIAL: Argon_Forty_0000000000E3
ID_SERIAL_SHORT: '0000000000E3'
ID_USB_INTERFACES: ':080650:080662:'
ID_VENDOR: Argon
ID_VENDOR_ENC: Argon
ID_VENDOR_ID: 174c
MAJOR: '189'
MINOR: '129'
PRODUCT: 174c/55aa/100
SUBSYSTEM: usb
TAGS: ':seat:'
TYPE: 0/0/0
USEC_INITIALIZED: '3135809'
DEVLINKS: >-
/dev/disk/by-id/ata-Dogfish_SSD_128GB_KC20210507797
/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0
DEVNAME: /dev/sda
DEVPATH: >-
/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2/2-2:1.0/host0/target0:0:0/0:0:0:0/block/sda
DEVTYPE: disk
DISKSEQ: '28'
ID_ATA: '1'
ID_ATA_DOWNLOAD_MICROCODE: '1'
ID_ATA_FEATURE_SET_APM: '1'
ID_ATA_FEATURE_SET_APM_ENABLED: '0'
ID_ATA_FEATURE_SET_HPA: '1'
ID_ATA_FEATURE_SET_HPA_ENABLED: '1'
ID_ATA_FEATURE_SET_PM: '1'
ID_ATA_FEATURE_SET_PM_ENABLED: '1'
ID_ATA_FEATURE_SET_SECURITY: '1'
ID_ATA_FEATURE_SET_SECURITY_ENABLED: '0'
ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN: '6'
ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN: '6'
ID_ATA_FEATURE_SET_SMART: '1'
ID_ATA_FEATURE_SET_SMART_ENABLED: '1'
ID_ATA_ROTATION_RATE_RPM: '0'
ID_ATA_SATA: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN1: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN2: '1'
ID_ATA_WRITE_CACHE: '1'
ID_ATA_WRITE_CACHE_ENABLED: '1'
ID_BUS: ata
ID_MODEL: Dogfish_SSD_128GB
ID_MODEL_ENC: >-
Dogfish\x20SSD\x20128GB\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PART_TABLE_TYPE: gpt
ID_PART_TABLE_UUID: cbfa3e27-943a-4893-94e0-466580889719
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_2_1_0-scsi-0_0_0_0
ID_REVISION: T1125A0
ID_SERIAL: Dogfish_SSD_128GB_KC20210507797
ID_SERIAL_SHORT: KC20210507797
ID_TYPE: disk
MAJOR: '8'
MINOR: '0'
SUBSYSTEM: block
TAGS: ':systemd:'
USEC_INITIALIZED: '3634258'
No USB hub and the original Pi power supply.
I'm using a JSAUX adapter ( idVendor=174c, idProduct=55aa, ASMedia). It failed after update to v10. Tried firmware update but had to restore to v9.5 to get hassio working again.
Not sure. I have had no boot issue after you fixed it around 9.0? I have installed all the rcs and releases and this is the first one that didn't boot.
I have a Pi CM4 with NVMe directly connected via PCIe (no USB adapter) and I have experienced the same boot issue when updating to 10.0
@Saxophtrion
@dafunkydan How did you do this update ?
As i installed HA from Scratch anyway, and thought it doesn't get worse anyway, i just dumb followed those Instructions: https://raspberryexpert.com/update-raspberry-pi/
I tried to update eeprom, but the boot failed again.
I reinstalled HA 9.5 on a SD card and restored a backup. Everything is ok now, i'll let the OS on the SD for now and use my SSD as data disk. Thx for all the help :)
Hi folks, has anybody attempted to upgrade to 10.1 as yet and did this resolve the boot issue? Trying not to be trigger happy. haha.
I just upgraded from 9.5 to 10.1 on my Pi4 w/ SSD and it seems to have booted fine. Only time will tell if the 10.1 is stable/hasn't broken anything else but so far . . .
C
On Thu, Apr 27, 2023 at 9:15 AM ipodmusicman @.***> wrote:
Hi folks, has anybody attempted to upgrade to 10.1 as yet and did this resolve the boot issue? Trying not to be trigger happy. haha.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1525677973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL3NMD7XVRVNEYR37PQRVDXDJWONANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you commented.Message ID: @.***>
-- The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true. Legacy of heorot
@CamWynd before I become overconfident: would you mind sharing your VENDOR_ID & MODEL_ID for the controller device from the hardware section in HA? If I understand the devs correctly it could make the difference about success and failure for booting from the SSD (in terms of 10.0 at least)
Thanks in advance!
Everyone which has a problem with booting from SSD connected via USB, please share your exact adapter (make/brand and PID/VID if possible).
I am testing USB 3.0 to S-ATA adapters regularly here, these two work with HAOS 10.0:
Bus 004 Device 088: ID 2537:1068 Norelsys NS1068/NS1068X SATA Bridge Controller Bus 004 Device 089: ID 14b0:0206 StarTech.com Ltd. ASMT105x
Folks which use Raspberry Pi CM4 with a directly attached NVMe, please do not write here but in #2479 instead.
Kingston SA400M8240G
Argon Model ID 55aa Vendor ID 174c Revision 0100 Product 174c/55aa/100 Devpath /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2
No problem. There's a whole lot of entries under hardware; which one exactly are you looking for the info from?
C
On Thu, Apr 27, 2023, 11:53 a.m. EmKay @.***> wrote:
@CamWynd https://github.com/CamWynd before I become overconfident: would you mind sharing your VENDOR_ID & MODEL_ID for the controller device from the hardware section in HA? If I understand the devs correctly it could make the difference about success and failure for booting from the SSD (in terms of 10.1 at least)
Thanks in advance!
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1525940768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL3NMF6FITCW3AU7LQDJILXDKI7XANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you were mentioned.Message ID: @.***>
@CamWynd sorry I forgot to mention that. If the SSD is connected to (the blue) USB it should be 2-2 for the lower port. I assume it will be 2-1 for the upper USB Port. "Product" like shown in the post above yours should also fit as it contains both information strings as well.
Can confirm that 10.1 boots natively from NVME without any adapters on my config - Oratek TOFU carrier board + CM4 (4004000) + cod.m Zigbee HAT.
FWIW, there was no upgrade or any other change in 10.1 which could address this, so I don't expect this to be resolved.
However, I know that in certain installation it is random (since the problem is a power related problem, so one update might work and the next might not). Trying multiple times or powering completely off and back on might help (instead of reboot). Also adding a USB hub might help in these cases.
But from what I understand, there are setups which used to work 100% reliable in 9.5, and stopped in 10.0. These are likely a newly introduced issue in the latest Raspberry Pi firmware, U-Boot or Raspberry Linux kernel. Unfortunately, I can't diagnose the problem as long as I can't reproduce it here :cry:
Reminder: This issue is about booting Raspberry Pi from an USB attached SSD. Native NVMe booting is a different problem, it is handled in #2479 and has been resolved in 10.1.
No worries, as I forgot to say my SSD is in an Argon one M.2 case so no actual USB port connection.
On Fri, Apr 28, 2023, 12:37 a.m. EmKay @.***> wrote:
@CamWynd https://github.com/CamWynd sorry I forgot to mention that. If the SSD is connected to (the blue) USB it should be 2-2 for the lower port. I assume it will be 2-1 for the upper USB Port. "Product" like shown in the post above yours should also fit as it contains both information strings as well.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1526979449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL3NMASE37ATEXSNQF3YCDXDNCQLANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you were mentioned.Message ID: @.***>
No worries, as I forgot to say my SSD is in an Argon one M.2 case so no actual USB port connection.
On Fri, Apr 28, 2023, 12:37 a.m. EmKay @.***> wrote:
@CamWynd https://github.com/CamWynd sorry I forgot to mention that. If the SSD is connected to (the blue) USB it should be 2-2 for the lower port. I assume it will be 2-1 for the upper USB Port. "Product" like shown in the post above yours should also fit as it contains both information strings as well.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1526979449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL3NMASE37ATEXSNQF3YCDXDNCQLANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you were mentioned.Message ID: @.***>
Well the SSD in the Argon case is in fact coupled to the rpi via a male-to-male USB bridge...
So my vendor ID would be 174c and the model id is 1156, sitting on USB 2-2 (I think).
On Fri, Apr 28, 2023, 12:49 p.m. ESPmonster @.***> wrote:
No worries, as I forgot to say my SSD is in an Argon one M.2 case so no actual USB port connection.
On Fri, Apr 28, 2023, 12:37 a.m. EmKay @.***> wrote:
@CamWynd https://github.com/CamWynd https://github.com/CamWynd sorry I forgot to mention that. If the SSD is connected to (the blue) USB it should be 2-2 for the lower port. I assume it will be 2-1 for the upper USB Port. "Product" like shown in the post above yours should also fit as it contains both information strings as well.
— Reply to this email directly, view it on GitHub
2480 (comment)
https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1526979449 , or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOL3NMASE37ATEXSNQF3YCDXDNCQLANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you were mentioned.Message ID: @.***>
Well the SSD in the Argon case is in fact coupled to the rpi via a male-to-male USB bridge...
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/operating-system/issues/2480#issuecomment-1527825465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL3NMDPKMJDQPIYGZTQSY3XDPYJJANCNFSM6AAAAAAXDHYOP4 . You are receiving this because you were mentioned.Message ID: @.***>
Kingston 120GB A400 SATA 3 2.5" Internal SSD SA400S37/120G - HDD
I am using the same Adapter and SSD directly plugged in to the rpi 3b+ As mentioned in my bug report Raspbian boots without any issue from USB.
As Powersupply i use the original 2.5A 5v Raspberry Pi - Netzteil, 5 V, 2,5 A, Micro-USB
@agners do you have a list of functional adapters? I do run on jmicron JMS583Gen 2 to PCIe Gen3x2 Bridge
which is 152D
vendor and 0583
model. I'd rather wait till s1 says that it works for jmicron rather than having to restore my 128GB setup from am archive. 😅
Add me to the list. My pi4-4gb w/ data drive ssd failed upgrading from 9.5 to 10.1. Incidentally, I did try updating eeprom and recovering using a fresh install of 10.1 without an sdcard. That worked fine until I restored my backup, then it failed quickly after reboots just like before.
I saw agners asked for just the adapter name, pid/vid, and drive name, but reading most of this page I have a feeling full cv's may be useful:
Kingston A400 SSD
DEVLINKS: >-
/dev/disk/by-id/ata-KINGSTON_SA400S37120G_50026B7682B34B35-part1
/dev/disk/by-id/wwn-0x50026b7682b34b35-part1 /dev/disk/by-label/hassos-data
/dev/disk/by-partlabel/hassos-data-external
/dev/disk/by-partuuid/bc84ce3b-3d2c-41b3-ae18-575624f7cbaa
/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/b82b23cb-0c47-4bbb-acf5-2a2afa8894a2
DEVNAME: /dev/sda1
DEVPATH: >-
/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
DEVTYPE: partition
DISKSEQ: '29'
ID_ATA: '1'
ID_ATA_DOWNLOAD_MICROCODE: '1'
ID_ATA_FEATURE_SET_APM: '1'
ID_ATA_FEATURE_SET_APM_ENABLED: '0'
ID_ATA_FEATURE_SET_HPA: '1'
ID_ATA_FEATURE_SET_HPA_ENABLED: '1'
ID_ATA_FEATURE_SET_PM: '1'
ID_ATA_FEATURE_SET_PM_ENABLED: '1'
ID_ATA_FEATURE_SET_SECURITY: '1'
ID_ATA_FEATURE_SET_SECURITY_ENABLED: '0'
ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN: '60'
ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN: '20'
ID_ATA_FEATURE_SET_SMART: '1'
ID_ATA_FEATURE_SET_SMART_ENABLED: '1'
ID_ATA_ROTATION_RATE_RPM: '0'
ID_ATA_SATA: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN1: '1'
ID_ATA_SATA_SIGNAL_RATE_GEN2: '1'
ID_ATA_WRITE_CACHE: '1'
ID_ATA_WRITE_CACHE_ENABLED: '1'
ID_BUS: ata
ID_FS_LABEL: hassos-data
ID_FS_LABEL_ENC: hassos-data
ID_FS_TYPE: ext4
ID_FS_USAGE: filesystem
ID_FS_UUID: b82b23cb-0c47-4bbb-acf5-2a2afa8894a2
ID_FS_UUID_ENC: b82b23cb-0c47-4bbb-acf5-2a2afa8894a2
ID_FS_VERSION: '1.0'
ID_MODEL: KINGSTON_SA400S37120G
ID_MODEL_ENC: >-
KINGSTON\x20SA400S37120G\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_PART_ENTRY_DISK: '8:0'
ID_PART_ENTRY_NAME: hassos-data-external
ID_PART_ENTRY_NUMBER: '1'
ID_PART_ENTRY_OFFSET: '2048'
ID_PART_ENTRY_SCHEME: gpt
ID_PART_ENTRY_SIZE: '234438656'
ID_PART_ENTRY_TYPE: 0fc63daf-8483-4772-8e79-3d69d8477de4
ID_PART_ENTRY_UUID: bc84ce3b-3d2c-41b3-ae18-575624f7cbaa
ID_PART_TABLE_TYPE: gpt
ID_PART_TABLE_UUID: 049c4498-f682-4053-a08f-994183758274
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION: SBFK61K1
ID_SERIAL: KINGSTON_SA400S37120G_?
ID_SERIAL_SHORT: ?
ID_TYPE: disk
ID_WWN: '0x?'
ID_WWN_WITH_EXTENSION: '0x?'
MAJOR: '8'
MINOR: '1'
PARTN: '1'
PARTNAME: hassos-data-external
SUBSYSTEM: block
TAGS: ':systemd:'
USEC_INITIALIZED: '4118453'
Startech USB 3 adapter
BUSNUM: '001'
DEVNAME: /dev/bus/usb/001/001
DEVNUM: '001'
DEVPATH: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-platform-fd500000_pcie-pci-0000_01_00_0
ID_MODEL: xHCI_Host_Controller
ID_MODEL_ENC: xHCI\x20Host\x20Controller
ID_MODEL_ID: '0002'
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0
ID_REVISION: '0515'
ID_SERIAL: Linux_5.15.84-v8_xhci-hcd_xHCI_Host_Controller_0000:01:00.0
ID_SERIAL_SHORT: '0000:01:00.0'
ID_USB_INTERFACES: ':090000:'
ID_VENDOR: Linux_5.15.84-v8_xhci-hcd
ID_VENDOR_ENC: Linux\x205.15.84-v8\x20xhci-hcd
ID_VENDOR_ID: 1d6b
MAJOR: '189'
MINOR: '0'
OF_COMPATIBLE_N: '0'
OF_FULLNAME: /scb/pcie@7d500000/pci@0,0/usb@0,0
OF_NAME: usb
PRODUCT: 1d6b/2/515
SUBSYSTEM: usb
TAGS: ':seat:'
TYPE: 9/0/1
USEC_INITIALIZED: '3108514'
Same startech drive adapter as above... another entry
BUSNUM: '002'
DEVNAME: /dev/bus/usb/002/001
DEVNUM: '001'
DEVPATH: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-platform-fd500000_pcie-pci-0000_01_00_0
ID_MODEL: xHCI_Host_Controller
ID_MODEL_ENC: xHCI\x20Host\x20Controller
ID_MODEL_ID: '0003'
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0
ID_REVISION: '0515'
ID_SERIAL: Linux_5.15.84-v8_xhci-hcd_xHCI_Host_Controller_0000:01:00.0
ID_SERIAL_SHORT: '0000:01:00.0'
ID_USB_INTERFACES: ':090000:'
ID_VENDOR: Linux_5.15.84-v8_xhci-hcd
ID_VENDOR_ENC: Linux\x205.15.84-v8\x20xhci-hcd
ID_VENDOR_ID: 1d6b
MAJOR: '189'
MINOR: '128'
OF_COMPATIBLE_N: '0'
OF_FULLNAME: /scb/pcie@7d500000/pci@0,0/usb@0,0
OF_NAME: usb
PRODUCT: 1d6b/3/515
SUBSYSTEM: usb
TAGS: ':seat:'
TYPE: 9/0/3
USEC_INITIALIZED: '3103761'
Fingers crossed 10.2 has the fix. ;)
I am unsure about whether this issue affects my install. I have been holding off updating to HAOS 10 for this reason.
I run HA on a Pi4B 8GB Data disk is a Samsung 980 250 GB PCIe 3.0 (bis zu 2.900 MB/s) NVMe M.2 Internes Solid State Drive (SSD) Connected via USB in a case: SSK Aluminium M.2 NVME SSD Gehäuse-Adapter, USB 3.1/3.2 Gen 2 (10 Gbps) zu NVME PCI-E
Do I need to worry and hold off updating? Thanks
If you are using the data disk feature (boot from SD card) you should not be affected.
@truglodite
I did try updating eeprom and recovering using a fresh install of 10.1 without an sdcard. That worked fine until I restored my backup, then it failed quickly after reboots just like before.
That sounds like a different problem then. The backup doesn't restore any of the boot files. So your instance was not reachable after restoring the backup? Did you connect a screen to your system? What is it saying after restoring the backup on the screen?
I should clarify that I did switch to data disk before restoring the backup. I figured this was needed since my backup was based on a datadisk setup. I will try and get a monitor connected... it is not easily accessible and I have no portable hdmi screens.
:information_source: :information_source: :information_source: If you are affected, please state which exact USB to S-ATA/M.2 adapter you are using (make/brand and PID/VID if possible). If you useRaspberry Pi CM4 with a directly attached NVMe, please do not write here but in https://github.com/home-assistant/operating-system/issues/2479 instead. Thank you!
Describe the issue you are experiencing
I have the argon40 case so I'm running my rpi4 from the external SSD (USB-connected).
Failed to boot after upgrading OS to 10.0. Problem was temporarily solved by downgrading back to OS 9.5
Currently running core 4.0.
Similar to #
What operating system image do you use?
rpi4 (Raspberry Pi 4/400 32-bit OS)
What version of Home Assistant Operating System is installed?
10.0
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
...
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
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4854 Installed Version | 1.31.0 Stage | running Available Repositories | 1266 Downloaded Repositories | 19Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | August 10, 2023 at 2:00 AM relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true remote_server | eu-central-1-12.ui.nabu.casa can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 9.5 -- | -- update_channel | stable supervisor_version | supervisor-2023.04.0 agent_version | 1.4.1 docker_version | 20.10.22 disk_total | 234.0 GB disk_used | 9.4 GB healthy | true supported | true board | rpi4 supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.110.3), Terminal & SSH (9.6.1), File editor (5.5.0), Mosquitto broker (6.2.0), Check Home Assistant configuration (3.11.0), Grafana (8.2.1), InfluxDB (4.6.0), Node-RED (13.5.2), Spotify Connect (0.12.3), Samba share (10.0.0), Zigbee2MQTT (1.30.3-1), ESPHome (2023.3.0), VLC (0.1.3), ArgonOne Active Cooling (29c), Shortumation (v0.7.6)Dashboards
dashboards | 1 -- | -- resources | 17 views | 9 mode | storageRecorder
oldest_recorder_run | April 5, 2023 at 9:47 PM -- | -- current_recorder_run | April 19, 2023 at 12:06 AM estimated_db_size | 432.94 MiB database_engine | sqlite database_version | 3.38.5Spotify
api_endpoint_reachable | ok -- | --Additional information
No response