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

sys-usb fail to start #3619

Closed
holiman opened this Issue Feb 22, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@holiman

holiman commented Feb 22, 2018

Qubes OS version:

4.0 (R4.0)

Affected TemplateVMs:

sys-usb


Steps to reproduce the behavior:

  • Plug in some usb-thing, expect something to happen.
  • Notice that the sys-usb is not running, try to start it with qvm-start sys-usb (or gui).
  • Get the message PCI device <qubes.ext.pci.PCIDevice object at 0x72be4ade00f0> does not exist

Expected behavior:

  • Plug in some usb-thing, something happens.

General notes:

Hardware Lenovo X1 Carbon Gen 5. USB devices have worked, but now they don't. Have only booted it a couple of times since it was installed, so I can't say how often it occurs yet.


Related issues:

@holiman

This comment has been minimized.

Show comment
Hide comment
@holiman

holiman Feb 22, 2018

Rebooted now, and then did systemctl status qubes-vm@sys-usb.service. It says basically the same thing, failed to start because of some pci-device that does not exist.

holiman commented Feb 22, 2018

Rebooted now, and then did systemctl status qubes-vm@sys-usb.service. It says basically the same thing, failed to start because of some pci-device that does not exist.

@holiman

This comment has been minimized.

Show comment
Hide comment
@holiman

holiman Feb 22, 2018

It was connected to a lenovo docking station over usb-c while I was installing it. I wonder if that docking station is the "missing" PCI device... if so, how do I make qubes forget about it?

holiman commented Feb 22, 2018

It was connected to a lenovo docking station over usb-c while I was installing it. I wonder if that docking station is the "missing" PCI device... if so, how do I make qubes forget about it?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 22, 2018

Member

Very likely. See qvm-pci ls sys-usb, and then use qvm-pci detach sys-usb <the device>

Member

marmarek commented Feb 22, 2018

Very likely. See qvm-pci ls sys-usb, and then use qvm-pci detach sys-usb <the device>

@holiman

This comment has been minimized.

Show comment
Hide comment
@holiman

holiman Feb 22, 2018

There are two devices there, one USB controller: Intel ... xHCI Controller and one Unknown device.

holiman commented Feb 22, 2018

There are two devices there, one USB controller: Intel ... xHCI Controller and one Unknown device.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 22, 2018

Member

Definitely the "Unknown" one.

Member

marmarek commented Feb 22, 2018

Definitely the "Unknown" one.

@holiman

This comment has been minimized.

Show comment
Hide comment
@holiman

holiman Feb 22, 2018

Thanks, detaching the Unknown device made sys-usb boot again!

holiman commented Feb 22, 2018

Thanks, detaching the Unknown device made sys-usb boot again!

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