Mike Egglestone
2014-May-14 20:11 UTC
[Pkg-xen-devel] Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
Ian Campbell <ijc at hellion.org.uk> writes: #I think at a minimum to make any progress we would need to see some #logs. Probably the dom0 dmesg (perhaps compared to the native boot #dmesg) and the set of modules which are loaded would be a good start. #Probably xen's dmesg would be useful too. Lastly, it would be good to #mention what sort of keyboard this is (USB, PS2?) # #Also the precise version of the kernel might be useful. You say "3.13" #but do you mean Debian's 3.13? What is the actual version? # #You may find you have better luck with this question on the upstream #xen-users list. USB Keyboard plugged into a Intel S1200BTL Motherboard. After ssh'ing into the box. root at xen-3:~# uname -a Linux xen-3 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux root at xen-3:~# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 7675 8 r----- 7.6 root at xen-3:~# Here is part of the dmesg from NON-XEN that might be relevant. (I can provide the whole log if needed) [snip] [ 1.971889] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 2.038929] usb 2-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.038932] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.039199] hub 2-1:1.0: USB hub found [ 2.039279] hub 2-1:1.0: 6 ports detected [ 2.110708] usb 1-1.1: new full-speed USB device number 3 using ehci-pci [ 2.127405] random: nonblocking pool is initialized [ 2.204476] usb 1-1.1: New USB device found, idVendor=046b, idProduct=ff10 [ 2.204480] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.204482] usb 1-1.1: Product: Virtual Keyboard and Mouse [ 2.204484] usb 1-1.1: Manufacturer: American Megatrends Inc. [ 2.204486] usb 1-1.1: SerialNumber: serial [ 2.310665] usb 2-1.4: new low-speed USB device number 3 using ehci-pci [ 2.408258] usb 2-1.4: New USB device found, idVendor=413c, idProduct=2107 [ 2.408263] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.408266] usb 2-1.4: Product: Dell USB Entry Keyboard [ 2.408268] usb 2-1.4: Manufacturer: DELL [ 2.478688] Switched to clocksource tsc [ 2.655880] systemd-udevd[452]: starting version 204 [ 2.852394] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ 2.854925] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input0 [ 2.854929] ACPI: Sleep Button [SLPB] [ 2.854953] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 2.854955] ACPI: Power Button [PWRF] [ 2.857307] alg: No test for crc32 (crc32-pclmul) [ 2.876829] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20131115/utaddress-251) [ 2.876834] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 2.876836] ACPI Warning: 0x0000000000000540-0x000000000000054f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 2.876838] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 2.876838] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 2.876840] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 2.876841] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 2.876842] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \_SI_.SIOR 2 (20131115/utaddress-251) [ 2.876844] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 2.876844] lpc_ich: Resource conflict(s) found affecting gpio_ich [ 2.884162] input: PC Speaker as /devices/platform/pcspkr/input/input2 [ 2.889205] ACPI Warning: 0x0000000000005000-0x000000000000501f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20131115/utaddress-251) [ 2.889211] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 2.903523] systemd-udevd[503]: renamed network interface eth2 to rename4 [ 2.926455] ipmi message handler version 39.2 [ 2.933323] IPMI System Interface driver. [ 2.933338] ipmi_si: probing via ACPI [ 2.933349] ipmi_si 00:09: [io 0x0ca2-0x0ca3] regsize 1 spacing 1 irq 0 [ 2.933350] ipmi_si: Adding ACPI-specified kcs state machine [ 2.933356] ipmi_si: probing via SMBIOS [ 2.933357] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0 [ 2.933358] ipmi_si: Adding SMBIOS-specified kcs state machine duplicate interface [ 2.933360] ipmi_si: probing via SPMI [ 2.933361] ipmi_si: SPMI: io 0xca2 regsize 1 spacing 1 irq 0 [ 2.933361] ipmi_si: Adding SPMI-specified kcs state machine duplicate interface [ 2.933362] ipmi_si: Trying ACPI-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0 [ 2.941282] hidraw: raw HID events driver (C) Jiri Kosina [ 2.958768] usbcore: registered new interface driver usbhid [ 2.958769] usbhid: USB HID core driver [ 2.979148] systemd-udevd[505]: renamed network interface eth1 to eth2 [ 2.987915] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input3 [ 2.987966] hid-generic 0003:046B:FF10.0001: input,hidraw0: USB HID v1.10 Keyboard [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1a.0-1.1/input0 [ 2.988032] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input4 [ 2.988091] hid-generic 0003:046B:FF10.0002: input,hidraw1: USB HID v1.10 Mouse [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1a.0-1.1/input1 [ 2.988210] input: DELL Dell USB Entry Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input5 [ 2.988274] hid-generic 0003:413C:2107.0003: input,hidraw2: USB HID v1.10 Keyboard [DELL Dell USB Entry Keyboard] on usb-0000:00:1d.0-1.4/input0 [ 3.011559] iTCO_vendor_support: vendor-support=0 [ 3.011874] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10 [ 3.011894] iTCO_wdt: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS [ 3.022600] systemd-udevd[503]: renamed network interface rename4 to eth1 [ 3.082367] ipmi_si 00:09: Found new BMC (man_id: 0x000157, prod_id: 0x0048, dev_id: 0x21) [ 3.082372] ipmi_si 00:09: IPMI kcs interface initialized [ 3.085607] intel_rapl: domain uncore energy ctr 0:0 not working, skip [ 3.526625] EXT4-fs (md0): re-mounted. Opts: (null) [ 3.652021] EXT4-fs (md0): re-mounted. Opts: errors=remount-ro [ 3.747800] loop: module loaded [ 3.939035] EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: errors=remount-ro And here is the XEN dmesg from about the same spot. [snip] [ 4.135678] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 4.256765] usb 1-1.1: new full-speed USB device number 3 using ehci-pci [ 4.350358] usb 1-1.1: New USB device found, idVendor=046b, idProduct=ff10 [ 4.350362] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4.350365] usb 1-1.1: Product: Virtual Keyboard and Mouse [ 4.350367] usb 1-1.1: Manufacturer: American Megatrends Inc. [ 4.350369] usb 1-1.1: SerialNumber: serial [ 4.866152] systemd-udevd[452]: starting version 204 [ 5.046465] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20131115/utaddress-251) [ 5.046470] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 5.046474] ACPI Warning: 0x0000000000000540-0x000000000000054f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 5.046476] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 5.046477] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 5.046479] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 5.046479] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20131115/utaddress-251) [ 5.046481] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \_SI_.SIOR 2 (20131115/utaddress-251) [ 5.046483] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 5.046483] lpc_ich: Resource conflict(s) found affecting gpio_ich [ 5.057048] hidraw: raw HID events driver (C) Jiri Kosina [ 5.058801] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input0 [ 5.058807] ACPI: Sleep Button [SLPB] [ 5.058837] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 5.058839] ACPI: Power Button [PWRF] [ 5.060651] ipmi message handler version 39.2 [ 5.061645] input: PC Speaker as /devices/platform/pcspkr/input/input2 [ 5.066060] usbcore: registered new interface driver usbhid [ 5.066061] usbhid: USB HID core driver [ 5.073517] Monitor-Mwait will be used to enter C-1 state [ 5.073524] Monitor-Mwait will be used to enter C-2 state [ 5.073528] Monitor-Mwait will be used to enter C-3 state [ 5.075866] Warning: Processor Platform Limit not supported. [ 5.078993] xen: registering gsi 22 triggering 0 polarity 1 [ 5.078997] Already setup the GSI :22 [ 5.079004] ACPI Warning: 0x0000000000005000-0x000000000000501f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20131115/utaddress-251) [ 5.079008] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 5.165467] systemd-udevd[497]: renamed network interface eth2 to rename4 [ 5.168165] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ 5.176360] IPMI System Interface driver. [ 5.176377] ipmi_si: probing via ACPI [ 5.176390] ipmi_si 00:09: [io 0x0ca2-0x0ca3] regsize 1 spacing 1 irq 0 [ 5.176391] ipmi_si: Adding ACPI-specified kcs state machine [ 5.176400] ipmi_si: probing via SMBIOS [ 5.176401] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0 [ 5.176402] ipmi_si: Adding SMBIOS-specified kcs state machine duplicate interface [ 5.176404] ipmi_si: probing via SPMI [ 5.176405] ipmi_si: SPMI: io 0xca2 regsize 1 spacing 1 irq 0 [ 5.176405] ipmi_si: Adding SPMI-specified kcs state machine duplicate interface [ 5.176407] ipmi_si: Trying ACPI-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0 [ 5.197937] alg: No test for crc32 (crc32-pclmul) [ 5.201215] systemd-udevd[512]: renamed network interface eth1 to eth2 [ 5.201277] iTCO_vendor_support: vendor-support=0 [ 5.201744] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10 [ 5.201767] iTCO_wdt: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS [ 5.214424] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input3 [ 5.214515] hid-generic 0003:046B:FF10.0001: input,hidraw0: USB HID v1.10 Keyboard [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1a.0-1.1/input0 [ 5.214668] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input4 [ 5.214763] hid-generic 0003:046B:FF10.0002: input,hidraw1: USB HID v1.10 Mouse [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1a.0-1.1/input1 [ 5.230310] systemd-udevd[497]: renamed network interface rename4 to eth1 [ 5.327464] ipmi_si 00:09: Found new BMC (man_id: 0x000157, prod_id: 0x0048, dev_id: 0x21) [ 5.327470] ipmi_si 00:09: IPMI kcs interface initialized [ 5.423458] intel_rapl: domain uncore energy ctr 0:0 not working, skip [ 5.905330] EXT4-fs (md0): re-mounted. Opts: (null) [ 6.031883] EXT4-fs (md0): re-mounted. Opts: errors=remount-ro [ 6.207641] loop: module loaded [ 6.420991] EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: errors=remount-ro Here's loaded modules: NON-XEN Module Size Used by loop 26609 0 x86_pkg_temp_thermal 12951 0 intel_powerclamp 13063 0 intel_rapl 17356 0 coretemp 12854 0 iTCO_wdt 12831 0 iTCO_vendor_support 12649 1 iTCO_wdt joydev 17063 0 hid_generic 12393 0 evdev 17445 3 kvm_intel 130584 0 kvm 380332 1 kvm_intel crct10dif_pclmul 13387 0 crc32_pclmul 12915 0 crc32c_intel 21809 0 usbhid 44439 0 ghash_clmulni_intel 12978 0 hid 94034 2 hid_generic,usbhid aesni_intel 50772 0 ipmi_si 48613 0 aes_x86_64 16719 1 aesni_intel lrw 12757 1 aesni_intel ipmi_msghandler 39865 1 ipmi_si gf128mul 12970 1 lrw glue_helper 12695 1 aesni_intel ablk_helper 12572 1 aesni_intel cryptd 14516 3 ghash_clmulni_intel,aesni_intel,ablk_helper video 17804 0 processor 28274 0 button 12944 0 i2c_i801 16965 0 pcspkr 12595 0 i2c_core 24092 1 i2c_i801 lpc_ich 20768 0 mfd_core 12601 1 lpc_ich ext4 465511 2 crc16 12343 1 ext4 mbcache 13082 1 ext4 jbd2 82560 1 ext4 raid10 47472 2 raid1 34596 1 md_mod 103628 4 raid1,raid10 sg 29972 0 sd_mod 44346 16 crc_t10dif 12431 1 sd_mod crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif ahci 25096 12 libahci 27202 1 ahci ehci_pci 12472 0 libata 168945 2 ahci,libahci ehci_hcd 48510 1 ehci_pci e1000 101959 0 scsi_mod 182938 3 sg,libata,sd_mod e1000e 195024 0 usbcore 154175 3 ehci_hcd,ehci_pci,usbhid ptp 17460 1 e1000e usb_common 12440 1 usbcore pps_core 13129 1 ptp fan 12681 0 thermal 17468 0 thermal_sys 27525 6 fan,video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal Here's loaded modules: XEN Module Size Used by xen_gntdev 17032 2 xen_evtchn 12783 1 xenfs 12687 1 xen_privcmd 12868 3 xenfs loop 26609 0 x86_pkg_temp_thermal 12951 0 intel_powerclamp 13063 0 intel_rapl 17356 0 coretemp 12854 0 evdev 17445 2 crct10dif_pclmul 13387 0 crc32_pclmul 12915 0 crc32c_intel 21809 0 iTCO_wdt 12831 0 joydev 17063 0 hid_generic 12393 0 iTCO_vendor_support 12649 1 iTCO_wdt ghash_clmulni_intel 12978 0 aesni_intel 50772 0 aes_x86_64 16719 1 aesni_intel lrw 12757 1 aesni_intel gf128mul 12970 1 lrw glue_helper 12695 1 aesni_intel ablk_helper 12572 1 aesni_intel cryptd 14516 3 ghash_clmulni_intel,aesni_intel,ablk_helper i2c_i801 16965 0 usbhid 44439 0 hid 94034 2 hid_generic,usbhid i2c_core 24092 1 i2c_i801 lpc_ich 20768 0 pcspkr 12595 0 mfd_core 12601 1 lpc_ich ipmi_si 48613 0 video 17804 0 processor 28274 0 button 12944 0 ipmi_msghandler 39865 1 ipmi_si ext4 465511 2 crc16 12343 1 ext4 mbcache 13082 1 ext4 jbd2 82560 1 ext4 raid10 47472 2 raid1 34596 1 md_mod 103628 4 raid1,raid10 sg 29972 0 sd_mod 44346 16 crc_t10dif 12431 1 sd_mod crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif ahci 25096 12 libahci 27202 1 ahci e1000 101959 0 libata 168945 2 ahci,libahci scsi_mod 182938 3 sg,libata,sd_mod thermal 17468 0 fan 12681 0 thermal_sys 27525 6 fan,video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal ehci_pci 12472 0 ehci_hcd 48510 1 ehci_pci usbcore 154175 3 ehci_hcd,ehci_pci,usbhid usb_common 12440 1 usbcore e1000e 195024 0 ptp 17460 1 e1000e pps_core 13129 1 ptp root at xen-3:~# I like your suggestion with dmesg, it appears that the usb drivers aren't working correctly. The keyboard is a USB Dell keyboard. I will follow up with the xen users list too. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140514/cc75c1be/attachment-0001.html>
Ian Campbell
2014-May-15 10:01 UTC
[Pkg-xen-devel] Bug#748052: Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
On Wed, 2014-05-14 at 13:11 -0700, Mike Egglestone wrote:> Here is part of the dmesg from NON-XEN that might be relevant. > (I can provide the whole log if needed)Thanks. Please do provide the whole thing (for both cases), the log here shows that it is not finding the device but doesn't include the bit where the USB driver itself is initialising and whether something is wrong at that stage. I assume that lsusb differs between the two in that it doesn't include the keyboard in the second case? Please can you also post Xen's own dmesg (from "xl dmesg"). Your logs include some ACPI errors. It would be a good idea to make sure you have the very latest BIOS for the system. Does plugging the keyboard into a different port make any difference at all?
Ian Campbell
2014-May-15 10:08 UTC
[Pkg-xen-devel] Bug#748052: Bug#748052: Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
On Thu, 2014-05-15 at 11:01 +0100, Ian Campbell wrote: One other question: Is this a regression from some previously working configuration (under Xen I mean) or is this the first time you've tried Xen? Ian.
Ian Campbell
2014-May-15 10:20 UTC
[Pkg-xen-devel] Bug#748052: Bug#748052: Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
On Thu, 2014-05-15 at 11:01 +0100, Ian Campbell wrote:> Please can you also post Xen's own dmesg (from "xl dmesg").Please boot with loglvl=all on the hypervisor command line for this too. Ian.
Maybe Matching Threads
- Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard af
- Bug#748052: Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard after booting into Dom0
- Bug#748052: xen-hypervisor-4.3-amd64: No USB keyboard after booting into Dom0
- Bug#748052: [Xen-devel] dom0 USB failing with "ehci-pci: probe of 0000:00:1d.0 faile
- Bug#748052: [Xen-devel] dom0 USB failing with "ehci-pci: probe of 0000:00:1d.0 faile