So, I''m getting further and further to completing my setup following
the
guides written about passthrough of PCIe video.
I have the video display from the domU client going to the physical display,
but I cannot get the keyboard to work, I haven''t even connected a mouse
yet.
I attempted to pass through the USB hubs outright, but that failed as the
keyboard just stopped working. It would not respond in the domU and I could
nolonger get the caps lock to light up. Reconnecting or changing ports had
no effect.
Attempting to add the usb hub afterwards using xl pci-attach failed as well.
But this time, it did not even attach the device.
TheOldMan ~ # xl pci-assignable-list
0000:00:0b.0
TheOldMan ~ # xl pci-attach 1 0000:00:0b.0
libxl: error: libxl_pci.c:960:do_pci_add: xc_assign_device failed
TheOldMan ~ # xl pci-assignable-list
0000:00:0b.0
TheOldMan ~ # xl pci-list 1
Vdev Device
05.0 0000:01:00.0
06.0 0000:00:0f.1
The reason I am trying to pass through the usb hub is 2 fold:
First off, I would prefer not having to go into the console
to add my keyboard/mouse each time I start.
Second, I cannot seem to get into the console to save my
life.
I have vnc setup for console, however after connecting, I can''t type
anything. That''s not to say that the keyboard is useless. Ctrl+alt+1
and
ctrl+alt+2 switch between "serial0 console" and "parallel0
console" in the
vnc window. In the hopes that all it was that the echo was off, I attempted
to enter the usb_add line for my keyboard to no effect.
Trying to access the console from a ssh connection in putty also fails.
TheOldMan ~ # xl console Office
xenconsole: Could not read tty from store: No such file or directory
The standard fix I found searching for this error was "start
xenconsoled".
Well here is what I say about that.
TheOldMan ~ # ps augx | grep xenconsoled
root 6146 0.0 0.0 25168 1052 ? SLl 20:08 0:00
/usr/sbin/xenconsoled --pid-file=/var/run/xenconsoled.pid
root 6888 0.0 0.0 8148 880 pts/0 S+ 20:53 0:00 grep
--colour=auto xenconsoled
Here is my config:
name="Office"
firmware_override = "/usr/lib/xen/boot/hvmloader"
builder="hvm"
vcpus=2
memory=2048
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
disk = [ ''tap:aio://images/xen_images/Office.img,hda,w'',
''tap:aio://images/iso_images/en_windows_7_enterprise_with_sp1_x64_dvd_u_6776
51.iso,hdc:cdrom,r'' ]
#disk = [ ''tap:aio://images/xen_images/Office.img,hda,w'' ]
vif = [ ''mac=00:16:3E:33:5E:F9, bridge=xenbr0'' ]
#vif = [ ''bridge=xenbr0,type=ioemu,model=e1000'' ]
boot="dc"
acpi=1
xen_platform_pci=1
viridian=1
stdvga=1
vnc=1
vnclisten="192.168.1.102"
vncconsole=1
vncconsole=1
vncdisplay=0
vncunused=1
vncpasswd=""
sdl=0
usb=1
usbdevice="tablet"
gfx_passthru=1
audio=1
pci = [ ''01:00.0'',''00:0f.1'' ]
I can get more info if needed. I really want to get this project done.
MarcT
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Andrew Bobulsky
2012-Sep-21 15:31 UTC
Re: Need help with passing through USB hub or devices
Hello Marc,
On Sep 21, 2012, at 12:58 AM, Marc Tousignant <myrdhn@gmail.com> wrote:
So, I’m getting further and further to completing my setup following the
guides written about passthrough of PCIe video.
I have the video display from the domU client going to the physical
display, but I cannot get the keyboard to work, I haven’t even connected a
mouse yet.
I attempted to pass through the USB hubs outright, but that failed as the
keyboard just stopped working. It would not respond in the domU and I could
nolonger get the caps lock to light up. Reconnecting or changing ports had
no effect.
Attempting to add the usb hub afterwards using xl pci-attach failed as
well. But this time, it did not even attach the device.
TheOldMan ~ # xl pci-assignable-list
0000:00:0b.0
TheOldMan ~ # xl pci-attach 1 0000:00:0b.0
libxl: error: libxl_pci.c:960:do_pci_add: xc_assign_device failed
TheOldMan ~ # xl pci-assignable-list
0000:00:0b.0
TheOldMan ~ # xl pci-list 1
Vdev Device
05.0 0000:01:00.0
06.0 0000:00:0f.1
The reason I am trying to pass through the usb hub is 2 fold:
First off, I would prefer not having to go into the console
to add my keyboard/mouse each time I start.
Second, I cannot seem to get into the console to save my
life.
I have vnc setup for console, however after connecting, I can’t type
anything. That’s not to say that the keyboard is useless. Ctrl+alt+1 and
ctrl+alt+2 switch between “serial0 console” and “parallel0 console” in the
vnc window. In the hopes that all it was that the echo was off, I attempted
to enter the usb_add line for my keyboard to no effect.
Trying to access the console from a ssh connection in putty also fails.
TheOldMan ~ # xl console Office
xenconsole: Could not read tty from store: No such file or directory
The standard fix I found searching for this error was “start xenconsoled”.
Well here is what I say about that.
TheOldMan ~ # ps augx | grep xenconsoled
root 6146 0.0 0.0 25168 1052 ? SLl 20:08 0:00
/usr/sbin/xenconsoled --pid-file=/var/run/xenconsoled.pid
root 6888 0.0 0.0 8148 880 pts/0 S+ 20:53 0:00 grep
--colour=auto xenconsoled
Here is my config:
name="Office"
firmware_override = "/usr/lib/xen/boot/hvmloader"
builder="hvm"
vcpus=2
memory=2048
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
disk = [ ''tap:aio://images/xen_images/Office.img,hda,w'',
''tap:aio://images/iso_images/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso,hdc:cdrom,r''
]
#disk = [ ''tap:aio://images/xen_images/Office.img,hda,w'' ]
vif = [ ''mac=00:16:3E:33:5E:F9, bridge=xenbr0'' ]
#vif = [ ''bridge=xenbr0,type=ioemu,model=e1000'' ]
boot="dc"
acpi=1
xen_platform_pci=1
viridian=1
stdvga=1
vnc=1
vnclisten="192.168.1.102"
vncconsole=1
vncconsole=1
vncdisplay=0
vncunused=1
vncpasswd=""
sdl=0
usb=1
usbdevice="tablet"
gfx_passthru=1
audio=1
pci = [ ''01:00.0'',''00:0f.1'' ]
I can get more info if needed. I really want to get this project done.
MarcT
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
Would you mind pasting us the contents of your Dom0''s "lspci"
output?
It won''t quite help me troubleshoot your inability to use the console,
but
you may need to pass multiple PCI devices to get USB to work. It''s a
bit
of a maze of different controller devices, and you need to pass several in
many scenarios.
Cheers,
Andrew Bobulsky
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Marc,> I have the video display from the domU client going to the physical > display, but I cannot get the keyboard to work, I haven''t even > connected a mouse yet. > > I can get more info if needed. I really want to get this project > done.which kernel do you use? I have the same problem with kernel 3.5; 3.4 works fine. This problem seems to be a known bug, cf. [1] and [2]. Hoping for it to be fixed in 3.6 Cheers, Volker [1] http://lists.xen.org/archives/html/xen-devel/2012-08/msg00562.html [2] http://lists.xen.org/archives/html/xen-users/2012-08/msg00219.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBcj40ACgkQgKD4KXUzSrgBHwCePAZdO4XjTc5n3zNWYkeUy+m+ hPYAoNGl+G3a2l7xHbBxVwRgAPa9eXaY =jwG0 -----END PGP SIGNATURE-----
Marc Tousignant
2012-Sep-22 04:27 UTC
Re: Need help with passing through USB hub or devices
Volker, 3.5 as well. TheOldMan ~ # uname -r 3.5.3-gentoo Andrew, TheOldMan ~ # lspci 00:00.0 Host bridge: NVIDIA Corporation C55 Host Bridge (rev a2) 00:00.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:00.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:00.3 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:00.4 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:00.5 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a2) 00:00.6 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:00.7 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.0 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.3 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.4 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.5 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:01.6 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:02.0 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:02.1 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:02.2 RAM memory: NVIDIA Corporation C55 Memory Controller (rev a1) 00:03.0 PCI bridge: NVIDIA Corporation C55 PCI Express bridge (rev a1) 00:09.0 RAM memory: NVIDIA Corporation MCP55 Memory Controller (rev a1) 00:0a.0 ISA bridge: NVIDIA Corporation MCP55 LPC Bridge (rev a2) 00:0a.1 SMBus: NVIDIA Corporation MCP55 SMBus (rev a2) 00:0b.0 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a1) 00:0b.1 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a2) 00:0d.0 IDE interface: NVIDIA Corporation MCP55 IDE (rev a1) 00:0e.0 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2) 00:0e.1 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2) 00:0e.2 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2) 00:0f.0 PCI bridge: NVIDIA Corporation MCP55 PCI bridge (rev a2) 00:0f.1 Audio device: NVIDIA Corporation MCP55 High Definition Audio (rev a2) 00:11.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a2) 00:12.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a2) 01:00.0 VGA compatible controller: NVIDIA Corporation G80 [GeForce 8800 GTX] (rev a2) 02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] I did attempt to pass through both 00:0b.0 and 00:0b.1 at the same time, There was no change in behavior. Marc