-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Device widget icons for block attached device inexplicably showing plus instead of eject icon (current-testing). #4849
Device widget icons for block attached device inexplicably showing plus instead of eject icon (current-testing). #4849
Comments
After a Qubes session yesterday, I can confirm this is a bug in tracking the state of the attachment (vs "just" a display issue). Before shutting down the VM, out of habit I navigated to device-partition menu item and vmname sub-menu item and let go of the button...while at the same time noticing that the vm had a plus sign instead of the eject indicator. I received an notification that stated the device was already attached to the VM. Brendan |
Just saw this as well, after rebooting Qubes 4.0 host for latest dom0 and Fedora 28 updates, and attaching/attempting to detach a USB block device for the first time. Not using any testing repos. |
Killing |
However, even after killing qui-devices problems on attaching and detaching further usb devices persist. |
Same here, killing qui-devices and letting it restart temporarily fixes the problem (until a new device is connected or attached/detached. When trying to attach i sometimes get "Error: Got empty response from qubesd. See journalctl in dom0 for details" In dom0 i get this, maybe it's helpful:
However the device does get attached/detached... |
Thorough refactoring of qui-devices; instead of maintaining a list of updating Gtk widgets, only data is maintained and updated, and the menu is created on demand. fixes QubesOS/qubes-issues#4849 fixes QubesOS/qubes-issues#4720 fixes QubesOS/qubes-issues#4355 fixes QubesOS/qubes-issues#3215
Thorough refactoring of qui-devices; instead of maintaining a list of updating Gtk widgets, only data is maintained and updated, and the menu is created on demand. fixes QubesOS/qubes-issues#4849 fixes QubesOS/qubes-issues#4720 fixes QubesOS/qubes-issues#4355 fixes QubesOS/qubes-issues#3215
Thorough refactoring of qui-devices; instead of maintaining a list of updating Gtk widgets, only data is maintained and updated, and the menu is created on demand. fixes QubesOS/qubes-issues#4849 fixes QubesOS/qubes-issues#4720 fixes QubesOS/qubes-issues#4355 fixes QubesOS/qubes-issues#3215 fixes QubesOS/qubes-issues#2970
Thorough refactoring of qui-devices; instead of maintaining a list of updating Gtk widgets, only data is maintained and updated, and the menu is created on demand. fixes QubesOS/qubes-issues#4849 fixes QubesOS/qubes-issues#4720 fixes QubesOS/qubes-issues#4355 fixes QubesOS/qubes-issues#3215 fixes QubesOS/qubes-issues#2970
Automated announcement from builder-github The package
|
Thank you Marta, been hanging out for this update for ages. Great to have a working devices widget again - all looks OK that I could test, including working with the new persistent USB updates in dom0. I have installed it on my -current system using (for anyone else who cannot wait): Andrew: writing here because my posts to the list are getting quarantined - you need to add to your job description keeping a "Known Issues" page near the top of docs up to date in plain English (with workarounds) the devices widget is a prime example, the other one that deserves to be there is the X focus issue: 1 VM across multiple desktops. Github is not very useful for ordinary users, was ages before I stumbled upon the open issue. It is quite disconcerting having mouse over popups and right click menus appear from a desktop I just left. thanks, Eric |
This comment has been minimized.
This comment has been minimized.
Not sure this is entirely addressed. Updated to current-testing this afternoon to fix the VM list restarting in an infinite loop. Attached a device to a VM, yay, the plus sign appeared. Shut down the VM...device menu item still bolded and still showed attached to that VM, even though it wasn't running. Killed off the qui-devices, systemd restarted it, started a VM and tried to attach the device to that VM...but now that VM wasn't in the drop down list. Killed and restarted qui-devices, and now I could attach it to the VM. :/ B |
Everything seems to be working much better. The only remaining issue is when you shutdown a vm that has an attached device and then restart that vm with the device still attached. The device manager will continue to say the device is attached but it is not. and if you try to attach it gives an error. It is not a big headache as the simple solution is to physically remove the device and then re-connect it, this fixes the issue as once the device is physically removed then the device manager correctly shows it detached. |
@brendanhoar the biggest problem is that some events are not fired by design (when a VM is starting or halting, devices are not reported as being attached/detached); I've pushed a fix for that, but hopefully one day the whole device API will get a needed rewrite (won't it, @marmarek ?) |
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
I'm experiencing a strange issue during testing, at times attaching a device (yubikey) does nothing at all. The device does not get attached. Although the device does show in the list it simply does not get attached to the vm. The only solution is to kill qui-devices which then restarts itself and then its possible to attach again, or to attach the device via command line (qvm-usb) |
I've created new issue (#4999) about this, since this one is about the case when attaching works but is displayed incorrectly. |
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
I can confirm this is now fixed, at least for me.
in dom0 and nothing in sys-usb. Booting Ubuntu live cd i get the same ACPI errors, but the device is recognized ... No idea if it's a Qubes issue or a Xen issue or if someone else complained before.
which is attached to sys-usb. |
I'm not sure about your case, but I've seen on some machines (Thinpad) that USB-C related USB controller dynamically appear only when you plug some device in. And since we've disabled PCI hotplug, you won't see it. |
This is a Dell laptop, but i'm guessing it's the same thing. It's not a big deal anyway. |
Update, using -testing: I am still occasionally finding that after I start a VM, wait for a terminal window to appear, and select device assignment of a partition through the drop down, the assignment silently fails and the status in the drop down remains in sync with the current assignment (nothing is shown to be assigned). Repeated attempts continue to silently fail to assign the partition device. I then restart the target VM, wait for the terminal window to appear and then retry assigning through the drop down, and...it works and is properly displayed in the drop down. |
Currently only QubesExceptions merited their own notifications, changed it for all Exceptions to cause a notification. references QubesOS/qubes-issues#4849
I have trouble reproducing the error, so I've pushed a small fix to make the widget report more errors (after all, a fail is a fail and it should not be silent) - once it is merged, hopefully we'll see what exactly is happening. |
Currently only QubesExceptions merited their own notifications, changed it for all Exceptions to cause a notification. references QubesOS/qubes-issues#4849
Qubes OS version:
R4.0
( w/ current testing repository dom0 and all templates up to date as of 2/26/2019 )
Affected component(s) or functionality:
Device attach widget. In particular a partition block devices' attachment status indicator.
Steps to reproduce the behavior:
Expected or desired behavior:
Drop down menu should show the VM it is attached to with the special ("eject?") icon indicating the device is attached and you can detach it. This has been the case for quite a while.
Actual behavior:
Drop down menu surprisingly shows a plus sign next to the VM name even though that partition device is attached to the VM. Due to being unsure what would happen if I selected this (is this a display error? Or does Xen think the device is not attached?), I did not select the item. Instead I shut down the VM and did not see any errors. System seemed in a normal state.
General notes:
This happened twice in the past couple of days. As far back as I can remember, I have not seen this issue before.
While this very well could be a display bug, out of an abundance of caution I decided not to explore too much farther with my primary Qubes system.
I have consulted the following relevant documentation:
The only changes recently pushed that I can see that appear to be likely to relate are these changes to deal with device list display issues when the widgets are at the bottom of the screen. The links are the original and the merge. It could just be coincidence...but...
QubesOS/qubes-desktop-linux-manager@11cf897
QubesOS/qubes-desktop-linux-manager@3a2d229
I am aware of the following related, non-duplicate issues:
The text was updated successfully, but these errors were encountered: