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

Creating USB qube locks out usb mouse and keyboard 4.0-rc1 #2959

Open
JPL1 opened this Issue Aug 3, 2017 · 6 comments

Comments

Projects
None yet
3 participants
@JPL1

JPL1 commented Aug 3, 2017

Qubes OS version

R4.0-rc1

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-25

Expected behavior:

Creation of a USB VM to handle plug in USB devices

Actual behavior:

Starting USB VM crashed system. Cannot restart

Steps to reproduce the behavior:

Create USB VM following this process https://www.qubes-os.org/doc/usb/ (steps 1 and 2)
Start USB VM - system will freeze usb mouse and keyboard, unresponsive
On restarting get various cannot find ramdisk errors. Cannot restart.

General notes:

I am running Qubes from a USB stick so I guess this is the problem, but Dom0 does not register additional plugged in USB sticks. This is good for security but how do I mount them to an AppVM if I can't create a USB VM?

@JPL1 JPL1 changed the title from Creating USB qube locks out usb mouse and keyboard to Creating USB qube locks out usb mouse and keyboard 4.0-rc1 Aug 3, 2017

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 3, 2017

Member

USB VM is incompatible with booting from USB - that's why it is grayed out during installation.
It is possible to get it working, if you have multiple USB controllers, but require manual device assignment (to leave USB controller used for booting in dom0).

Member

marmarek commented Aug 3, 2017

USB VM is incompatible with booting from USB - that's why it is grayed out during installation.
It is possible to get it working, if you have multiple USB controllers, but require manual device assignment (to leave USB controller used for booting in dom0).

@JPL1

This comment has been minimized.

Show comment
Hide comment
@JPL1

JPL1 Aug 3, 2017

I'm not sure if something has changed between releases, or if I slected the wrong option on installation. When I reinstall R4.0 what option should I select so that USB devices are able to plug straight into Dom0 (as they do with my R3.2 USB installation now)?

JPL1 commented Aug 3, 2017

I'm not sure if something has changed between releases, or if I slected the wrong option on installation. When I reinstall R4.0 what option should I select so that USB devices are able to plug straight into Dom0 (as they do with my R3.2 USB installation now)?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 3, 2017

Member

At first system boot there is a configuration wizard - make sure "Create USB qube for holding all US controllers (sys-usb)" is not selected. If you boot from USB, it should be disabled by default.

Member

marmarek commented Aug 3, 2017

At first system boot there is a configuration wizard - make sure "Create USB qube for holding all US controllers (sys-usb)" is not selected. If you boot from USB, it should be disabled by default.

@JPL1

This comment has been minimized.

Show comment
Hide comment
@JPL1

JPL1 Aug 3, 2017

I have reinstalled rc1 on the USB stick. 'Create USB qube' was disabled in the boot wizard. I selected all defaults.
Plugging in a USB stick into one a USB port there is no pop-up message like with R3.2.
However, it is detected by dom0:
qvm-block identifies it as dom0:sdc
And qvm-block a 'work' dom0:sdc mounts it to the work AppVM
But if I click on the (very ugly) USB icon (top right of tool bar) dom0:sdc does not show up.

So, it seems the toolbar app does not recognise USB devices that are plugged in after booting.

JPL1 commented Aug 3, 2017

I have reinstalled rc1 on the USB stick. 'Create USB qube' was disabled in the boot wizard. I selected all defaults.
Plugging in a USB stick into one a USB port there is no pop-up message like with R3.2.
However, it is detected by dom0:
qvm-block identifies it as dom0:sdc
And qvm-block a 'work' dom0:sdc mounts it to the work AppVM
But if I click on the (very ugly) USB icon (top right of tool bar) dom0:sdc does not show up.

So, it seems the toolbar app does not recognise USB devices that are plugged in after booting.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 3, 2017

Member

So, it seems the toolbar app does not recognise USB devices that are plugged in after booting.

Yes, this will be fixed in next update (QubesOS/qubes-desktop-linux-manager#7)

Member

marmarek commented Aug 3, 2017

So, it seems the toolbar app does not recognise USB devices that are plugged in after booting.

Yes, this will be fixed in next update (QubesOS/qubes-desktop-linux-manager#7)

@JPL1

This comment has been minimized.

Show comment
Hide comment
@JPL1

JPL1 Aug 3, 2017

Good to hear :) Will there still be a pop-up message when you plug in a USB? I find it useful

JPL1 commented Aug 3, 2017

Good to hear :) Will there still be a pop-up message when you plug in a USB? I find it useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment