Re: [qubes-users] [Q4.0] sys-usb fails to start with xHCI controller

2018-04-27 Thread 'awokd' via qubes-users
On Thu, April 26, 2018 2:26 pm, gluv...@gmail.com wrote:
> On Wednesday, April 25, 2018 at 10:01:30 PM UTC-7, awokd wrote:
>
>> On Thu, April 26, 2018 12:53 am, Fox Gluv wrote:
>>
>>
>>> libxl_pci.c:1176:libxl__device_pci_reset: The kernel doesn't support
>>> reset from sysfs for PCI device :00:14.0 2018-04-25
>>> 15:08:20.363+:
>>> libxl: libxl_pci.c:1095:do_pci_add: Error: xc_physdev_map_pirq
>>> irq=-2147483648: Invalid argument
>>>
>>
>> Try setting it to not require strict reset.
>>
>
> I think it was already set to no-strict-reset. Here's the qvm-pci entry:
> dom0:00_14.0  USB controller: Intel Corporation Wildcat Point-LP USB xHCI
> Controller  sys-usb
> (no-strict-reset=True)
>
>
> To be sure I went into Qube Manager, sys-usb->Qubes Setting->Devices and
> used the "Configure strict reset for PCI devices" button to set it on
> 00:14.0. It still did not start up afterwards, and gave the same error
> message.

00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI
Controller
(rev 03) (prog-if 30 [XHCI])
Subsystem: Lenovo Device 3820
Flags: medium devsel, IRQ -2147483648

The IRQ looks very odd. Check your "xl dmesg" and "sudo journalctl -b" for
errors relating to this device. Maybe check your UEFI config to see if you
can set it to USB 2.0 mode?


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a81dfca30552a1acc6a17523403608cb.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] [Q4.0] sys-usb fails to start with xHCI controller

2018-04-26 Thread gluvfox
On Wednesday, April 25, 2018 at 10:01:30 PM UTC-7, awokd wrote:
> On Thu, April 26, 2018 12:53 am, Fox Gluv wrote:
> 
> > libxl_pci.c:1176:libxl__device_pci_reset: The kernel doesn't support
> > reset from sysfs for PCI device :00:14.0 2018-04-25 15:08:20.363+:
> > libxl: libxl_pci.c:1095:do_pci_add: Error: xc_physdev_map_pirq
> > irq=-2147483648: Invalid argument
> 
> Try setting it to not require strict reset.

I think it was already set to no-strict-reset. Here's the qvm-pci entry:
dom0:00_14.0  USB controller: Intel Corporation Wildcat Point-LP USB xHCI 
Controller  sys-usb 
(no-strict-reset=True)

To be sure I went into Qube Manager, sys-usb->Qubes Setting->Devices and used 
the "Configure strict reset for PCI devices" button to set it on 00:14.0. It 
still did not start up afterwards, and gave the same error message.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1cab7ad1-1578-412a-8fed-cda9f44bf97c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] [Q4.0] sys-usb fails to start with xHCI controller

2018-04-25 Thread 'awokd' via qubes-users
On Thu, April 26, 2018 12:53 am, gluv...@gmail.com wrote:

> libxl_pci.c:1176:libxl__device_pci_reset: The kernel doesn't support
> reset from sysfs for PCI device :00:14.0 2018-04-25 15:08:20.363+:
> libxl: libxl_pci.c:1095:do_pci_add: Error: xc_physdev_map_pirq
> irq=-2147483648: Invalid argument

Try setting it to not require strict reset.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/08b460fe7322cf72f036cf45fd4f5725.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] [Q4.0] sys-usb fails to start with xHCI controller

2018-04-25 Thread gluvfox
The USB mouse worked on the Lenovo Flex 3-1570 during the installation process, 
but once installed, sys-usb (based on fedora-26) fails to start.

When I tried starting manually the following error was displayed:
ERROR: Start failed: internal error: Unale to reset PCI device :00:14.0: 
internal error: libxenlight failed to create new domain 'sys-usb', see 
/var/log/libvirt/libxl/libxl-driver.log for details

/var/log/libvirt/libxl
2018-04-25 15:08:20.363+: libxl: libxl_pci.c:1176:libxl__device_pci_reset: 
The kernel doesn't support reset from sysfs for PCI device :00:14.0
2018-04-25 15:08:20.363+: libxl: libxl_pci.c:1095:do_pci_add: Error: 
xc_physdev_map_pirq irq=-2147483648: Invalid argument
2018-04-25 15:08:20.363+: libxl: libxl_pci.c:1338:libxl__add_pcidevs: 
libxl_device_pci_add failed: -3
2018-04-25 15:08:20.363+: libxl: 
libxl_create.c:1512:domcreate_attach_devices: unable to add pci devices

There are two USB controllers (Intel Wildcat - xHCI and EHCI) but only xHCI 
seems to be an issue since if I remove it sys-usb starts up, however; the USB 
ports do not work.
Info from lspci -v -s 00:14
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller 
(rev 03) (prog-if 30 [XHCI])
Subsystem: Lenovo Device 3820
Flags: medium devsel, IRQ -2147483648
Memory at d450 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable- Count=1/8 Maskable- 64bit+
Kernel driver in use: pciback
Kernel modules: xhci_pci

Based on recommendations for other, similar issues, I tried using PV instead of 
HVM, but it still wouldn't start.

Any help/suggests would be appreciated! -Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ae7e4d5a-f5d1-421a-84ce-ef7500fac745%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.