-
-
Notifications
You must be signed in to change notification settings - Fork 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
USB devices not available after update to 12.3 on Yellow. Also preventing boot. #3347
Comments
Hm, I have two Yellow's here, and double checked, both run on HAOS 12.3 successfully, with USB devices detected. What (type of) device is it which is missing? The ha logs commands have a boot parameter nowadays which allow to get logs from previous boot, e.g.
|
Installed the update again.
Previously (in the error case) it only showed a single USB device, which was
if I remember correctly. Attached the result of |
Hm, sounds like Core did not get started then 🤔 Ideally the host Seems If you can reproduce the problem, can you use dmesg in the SSH/Terminal? |
|
Coincidentally, I had an nRF DK with the HCI firmware lying around, so I tried booting my Yellow with that. However, out of ~30 boots so far, I encountered the issue once along the first couple of tries and I can't trigger it again. The cause seems to be the same as in #2257, the USB hub is not enumerated because of an unhandled interrupt. Just like in raspberrypi/linux#5064, it is a dwc2 USB interrupt:
Attaching the full dmesg for reference: yellow-usb-fail-dmesg.txt @mmarc can you try connecting your Yellow to a PC with USB-C connector switched to the USB-UART mode (see Linux/Mac or Windows instructions) and checking the boot log and (Update 15 boots later - the issue occurred again with the same stack trace. |
I have two yellows, both with the same z-wave stick inserted. Have not updated the 2nd one yet, but the first one had the same issues here as described. Luckly for me, I have remote PoE power cycle capability, and was able to get it back online after a power cycle, with the z-wave stick. I have 3 more yellows in a box, I just need to assemble and test in the lab. |
I just upgraded my Home Assistant Blue from 12.2 to 12.4 and am experiencing what may be the same issue. It's booted twice since the upgrade, both times the system came up fine, but my Zigbee USB stick (CC2652R1) was not detected. Normally I'd expect my Zigbee stick to appear at Here's what
I believe those are all just the internal USB hubs. There are no obvious errors in Also nothing obvious in the supervisor or host logs. When I unplug and re-plug the Zigbee stick, there are no messages in Let me know if there's anything else I can usefully provide. |
Downgrading to 12.2 did not fix the issue for me (even though that version was working fine before). I'm still observing the same symptoms. So I'm now less confident I have the same issue. I thought perhaps the Zigbee stick was just broken, but I plugged it into my desktop and it connects as I looked at
The only thing that seems maybe suspicious is the "We don't know the algorithms for LPM for this host, disabling LPM" message, but I doubt that's related. |
After another reboot, everything is now working fine on 12.2. |
Today I tried updating to 13.1 in the hope that a more recent OS update would have fixed the issue. No luck. 13.1 is still not recognizing my USB device, with the same symptoms as 12.3. |
Thanks stinks. I am on 13.1 and not having the issue this time. I am still using the HA Yellow PoE version
…________________________________
From: John Bytheway ***@***.***>
Sent: Sunday, September 1, 2024 6:40 AM
To: home-assistant/operating-system ***@***.***>
Cc: Steven Hoggatt ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/operating-system] USB devices not available after update to 12.3 on Yellow. Also preventing boot. (Issue #3347)
Today I tried updating to 13.1 in the hope that a more recent OS update would have fixed the issue. No luck. 13.1 is still not recognizing my USB device, with the same symptoms as 12.3.
—
Reply to this email directly, view it on GitHub<#3347 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDSYDQMNCFWVC4LSGLMWBKDZUL4JPAVCNFSM6AAAAABHNCZIYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGMYDCOBVHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I think my bug isn't really the same as the one originally reported here, so I opened #3573 instead of continuing to hijack this one. |
Good luck sir.. at least downgrading is fairly painless
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: John Bytheway ***@***.***>
Sent: Sunday, September 1, 2024 11:31:15 AM
To: home-assistant/operating-system ***@***.***>
Cc: Steven Hoggatt ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/operating-system] USB devices not available after update to 12.3 on Yellow. Also preventing boot. (Issue #3347)
I think my bug isn't really the same as the one originally reported here, so I opened #3573<#3573> instead of continuing to hijack this one.
—
Reply to this email directly, view it on GitHub<#3347 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDSYDQPPEE72IJKR5Y5TZHLZUM6NHAVCNFSM6AAAAABHNCZIYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGQYTOMBUGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Please see at raspberrypi/linux#6247 (comment) for a test kernel, which should hopefully fix the dwc2 IRQ issue. |
@lategoodbye It won't be trivial to test this kernel build in HAOS but it seems the patches can be applied cleanly to 6.6.y branch too. If only these changes are needed (and not any changes done between 6.6->6.12 in mainline), and if @mmarc can still reproduce it and test it, I can prepare a test build of HAOS for this purpose. Unfortunately, like I said before, I can't reproduce it reliably myself. |
@sairon I no longer have the device connected that seems to have caused the issue. |
@sairon I applied the fixes against a mainline tree, because i wanted to submit them to linux-usb as soon as the Linux 6.13 merge window closes. But i also wanted to provide them to the vendor tree, in order to get faster feedback. So yes there are no further changes required. TLDR: I don't have a better scenario to reproduce this issue :-( Regarding to the issue it self, yes it is very timing critical in order to reproduce this issue. Even if i found a "good" configuration for my Raspberry Pi 3B+ the problem occurs with a probability of 50 % at startup. So i focused on the following two scenarios, which might be different issues:
|
Describe the issue you are experiencing
Updated Home Assistant OS from 12.2 to 12.3 on my Yellow and it did not come back online afterwards.
After a manual reboot the Yellow is online again but all connected USB devices are missing.
When rebooting several times it seems there is a 50:50 chance it boots at all and if it boots, USB is missing.
Downgrade to 12.2 solves the issue.
What operating system image do you use?
yellow (Home Assistant Yellow)
What version of Home Assistant Operating System is installed?
12.3
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
Just update from 12.2 to 12.3
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: