VMware Cloud Community
matianqiang
Contributor
Contributor

ESXI 5.1升级到6.0后usb设备不能使用,系统启动后键盘也不能使用,键盘灯灭掉

ESXI 5.1升级到6.0后usb设备不能使用,系统启动后键盘也不能使用,键盘灯灭掉

Reply
0 Kudos
25 Replies
matianqiang
Contributor
Contributor

有没有人遇到过这问题啊?  还有哪位老大受累帮忙解答一下啊!!! 很着急,谢谢了

Reply
0 Kudos
jUDASmILExAlmig
Enthusiast
Enthusiast

请问你是如果进行升级操作的? 你的机器升级之后是否可以连接ILO或者SSH登陆?

如果可以进入console或者SSH请试一下这条命令看一下USB的驱动是否正常加载:

# vmkload_mod -l |grep -i usb

Reply
0 Kudos
matianqiang
Contributor
Contributor

我已经按照您的命令打了截图.png,我看不懂这个,您能帮我解决一下么????????

Reply
0 Kudos
jUDASmILExAlmig
Enthusiast
Enthusiast

请问你的server上现在有插USB设备吗?目前看到的是USB和USB-storage的驱动都load起来了。请再试一下以下几条命令:

1. #vmware -vl

2. #lsusb

3. #cat /dev/usbdevices

另外从5.1到6.0请问是如何升级的?有可能和升级的操作有关,需要了解更详细的信息。谢谢。

Reply
0 Kudos
jUDASmILExAlmig
Enthusiast
Enthusiast

另外,请试一下显示USB设备详细信息的命令#lsusb -v, 谢谢。

Reply
0 Kudos
matianqiang
Contributor
Contributor

目前服务器上插着一个键盘,我是从ESXI5.1升级到的6.0,升级后进入系统(黄色页面那个)三分一的时候键盘灯就灭了,然后进度条到头后,键盘按任何键没反应。

我升级的步骤是:1、通过SSH升级的,步骤也是官网上的;我升级的是.zip文档,而且也升级成功了,下面的虚拟机都能够使用,就是不能添加usb控制器下面的usb设备(灰色的,插usb没反应)

  1. #vmware -vl

VMware ESXi 6.0.0 build-3620759

VMware ESXi 6.0.0 Update 2

  1. #lsusb

Bus 001 Device 003: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  1. #cat /dev/usbdevices

 

T:  Bus= 01 Lev= 00 Prnt= 00 Port= 00 Cnt= 00 Dev#=  1 Spd=480  MxCh= 2

V:  Not available for Passthrough

B:  Alloc=  0/800 us ( 0%), #Int=  2, #Iso=  0

😧  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=1d6b ProdID=0002 Rev= 2.06

S:  Manufacturer=vmklinux_9  ehci_hcd

S:  Product=EHCI Host Controller

S:  SerialNumber=0000:00:1a.0

C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA

I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus= 01 Lev= 01 Prnt= 01 Port= 00 Cnt= 01 Dev#=  2 Spd=480  MxCh= 6

V:  Not available for Passthrough

😧  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1

P:  Vendor=8087 ProdID=0024 Rev= 0.00

C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA

I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus= 01 Lev= 02 Prnt= 02 Port= 00 Cnt= 01 Dev#=  3 Spd=12   MxCh= 0

V:  Not available for Passthrough

😧  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=046b ProdID=ff10 Rev= 1.00

S:  Manufacturer=American Megatrends Inc.

S:  Product=Virtual Keyboard and Mouse

S:  SerialNumber=serial

C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  0mA

I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid

E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid

E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=4ms

[root@localhost:~]

Reply
0 Kudos
matianqiang
Contributor
Contributor

USB详细信息的结果:

[root@localhost:~]

[root@localhost:~] lsusb -v

Bus 001 Device 003: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse

Device Descriptor:

  bLength                18

  bDescriptorType         1

  bcdUSB               1.10

  bDeviceClass            0 (Defined at Interface level)

  bDeviceSubClass         0

  bDeviceProtocol         0

  bMaxPacketSize0        64

  idVendor           0x046b American Megatrends, Inc.

  idProduct          0xff10 Virtual Keyboard and Mouse

  bcdDevice            1.00

  iManufacturer           1 American Megatrends Inc.

  iProduct                2 Virtual Keyboard and Mouse

  iSerial                 3 serial

  bNumConfigurations      1

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength           59

    bNumInterfaces          2

    bConfigurationValue     1

    iConfiguration          0

    bmAttributes         0xc0

      Self Powered

    MaxPower                0mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           1

      bInterfaceClass         3 Human Interface Device

      bInterfaceSubClass      1 Boot Interface Subclass

      bInterfaceProtocol      1 Keyboard

      iInterface              4 Keyboard Interface

        HID Device Descriptor:

          bLength                 9

          bDescriptorType        33

          bcdHID               1.10

          bCountryCode            0 Not supported

          bNumDescriptors         1

          bDescriptorType        34 Report

          wDescriptorLength      63

         Report Descriptors:

           ** UNAVAILABLE **

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0008  1x 8 bytes

        bInterval              10

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        1

      bAlternateSetting       0

      bNumEndpoints           1

      bInterfaceClass         3 Human Interface Device

      bInterfaceSubClass      1 Boot Interface Subclass

      bInterfaceProtocol      2 Mouse

      iInterface              5 Mouse Interface

        HID Device Descriptor:

          bLength                 9

          bDescriptorType        33

          bcdHID               1.10

          bCountryCode            0 Not supported

          bNumDescriptors         1

          bDescriptorType        34 Report

          wDescriptorLength      63

         Report Descriptors:

           ** UNAVAILABLE **

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x82  EP 2 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0008  1x 8 bytes

        bInterval               4

Device Status:     0x0001

  Self Powered

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub

Device Descriptor:

  bLength                18

  bDescriptorType         1

  bcdUSB               2.00

  bDeviceClass            9 Hub

  bDeviceSubClass         0 Unused

  bDeviceProtocol         1 Single TT

  bMaxPacketSize0        64

  idVendor           0x8087 Intel Corp.

  idProduct          0x0024 Integrated Rate Matching Hub

  bcdDevice            0.00

  iManufacturer           0

  iProduct                0

  iSerial                 0

  bNumConfigurations      1

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength           25

    bNumInterfaces          1

    bConfigurationValue     1

    iConfiguration          0

    bmAttributes         0xe0

      Self Powered

      Remote Wakeup

    MaxPower                0mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           1

      bInterfaceClass         9 Hub

      bInterfaceSubClass      0 Unused

      bInterfaceProtocol      0 Full speed (or root) hub

      iInterface              0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0001  1x 1 bytes

        bInterval              12

Hub Descriptor:

  bLength               9

  bDescriptorType      41

  nNbrPorts             6

  wHubCharacteristic 0x0009

    Per-port power switching

    Per-port overcurrent protection

    TT think time 8 FS bits

  bPwrOn2PwrGood       50 * 2 milli seconds

  bHubContrCurrent      0 milli Ampere

  DeviceRemovable    0x00

  PortPwrCtrlMask    0xff

Hub Port Status:

   Port 1: 0000.0103 power enable connect

   Port 2: 0000.0100 power

   Port 3: 0000.0100 power

   Port 4: 0000.0100 power

   Port 5: 0000.0100 power

   Port 6: 0000.0100 power

Device Qualifier (for other device speed):

  bLength                10

  bDescriptorType         6

  bcdUSB               2.00

  bDeviceClass            9 Hub

  bDeviceSubClass         0 Unused

  bDeviceProtocol         0 Full speed (or root) hub

  bMaxPacketSize0        64

  bNumConfigurations      1

Device Status:     0x0001

  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device Descriptor:

  bLength                18

  bDescriptorType         1

  bcdUSB               2.00

  bDeviceClass            9 Hub

  bDeviceSubClass         0 Unused

  bDeviceProtocol         0 Full speed (or root) hub

  bMaxPacketSize0        64

  idVendor           0x1d6b Linux Foundation

  idProduct          0x0002 2.0 root hub

  bcdDevice            2.06

  iManufacturer           3 vmklinux_9  ehci_hcd

  iProduct                2 EHCI Host Controller

  iSerial                 1 0000:00:1a.0

  bNumConfigurations      1

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength           25

    bNumInterfaces          1

    bConfigurationValue     1

    iConfiguration          0

    bmAttributes         0xe0

      Self Powered

      Remote Wakeup

    MaxPower                0mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           1

      bInterfaceClass         9 Hub

      bInterfaceSubClass      0 Unused

      bInterfaceProtocol      0 Full speed (or root) hub

      iInterface              0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0004  1x 4 bytes

        bInterval              12

Hub Descriptor:

  bLength               9

  bDescriptorType      41

  nNbrPorts             2

  wHubCharacteristic 0x000a

    No power switching (usb 1.0)

    Per-port overcurrent protection

  bPwrOn2PwrGood       10 * 2 milli seconds

  bHubContrCurrent      0 milli Ampere

  DeviceRemovable    0x00

  PortPwrCtrlMask    0xff

Hub Port Status:

   Port 1: 0000.0503 highspeed power enable connect

   Port 2: 0000.0100 power

Device Status:     0x0003

  Self Powered

  Remote Wakeup Enabled

[root@localhost:~]

Reply
0 Kudos
songtaoz
VMware Employee
VMware Employee

Can you help to check

vmkload_mod -l |grep -i hid

if not, run

vmkload_mod hid

and share the vmkernel.log please.

Thanks,

Songtao

Reply
0 Kudos
matianqiang
Contributor
Contributor

222.png

Reply
0 Kudos
songtaoz
VMware Employee
VMware Employee

谢谢您进一步针对此问题的更新。 如果您能提供vm-support,将会极大的帮助此问题的分析和快速定位。

简单的 run : vm-support 命令,您就可以生存一个文件,供分析定位。

目前在不知道您系统详细信息情况下, 以下命令 用来进一步查看硬件信息和确保必要的模块加载成功:

1.  lspci -v  

2. vmkload_mod usb-uhci

3. vmkload_mod usb-ohci

4. vmkload_mod xhci

5. 当完成以上操作之后请提供vmkernel.log 文件。 或者 run: dmesg > output.log ,分享output.log 文件。

谢谢,

Songtao

Reply
0 Kudos
matianqiang
Contributor
Contributor

[root@localhost:~] lspci -v

0000:00:00.0 Host bridge Bridge: Intel Corporation Server Board S1200BTS

  Class 0600: 8086:0158

0000:00:19.0 Ethernet controller Network controller: Intel Corporation 82579LM Gigabit Network Connection [vmnic1]

  Class 0200: 8086:1502

0000:00:1a.0 USB controller Serial bus controller: Intel Corporation Server Board S1200BTS / Apple MacBook Pro 8,1/8,2

  Class 0c03: 8086:1c2d

0000:00:1c.0 PCI bridge Bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [PCIe RP[0000:00:1c.0]]

  Class 0604: 8086:1c10

0000:00:1c.4 PCI bridge Bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [PCIe RP[0000:00:1c.4]]

  Class 0604: 8086:1c18

0000:00:1c.5 PCI bridge Bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [PCIe RP[0000:00:1c.5]]

  Class 0604: 8086:1c1a

0000:00:1d.0 USB controller Serial bus controller: Intel Corporation Server Board S1200BTS / Apple MacBook Pro 8,1/8,2

  Class 0c03: 8086:1c26

0000:00:1e.0 PCI bridge Bridge: Intel Corporation 82801 PCI Bridge

  Class 0604: 8086:244e

0000:00:1f.0 ISA bridge Bridge: Intel Corporation C204 Chipset Family LPC Controller

  Class 0601: 8086:1c54

0000:00:1f.2 SATA controller Mass storage controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller [vmhba0]

  Class 0106: 8086:1c02

0000:00:1f.3 SMBus Serial bus controller: Intel Corporation Server Board S1200BTS / Apple MacBook Pro 8,1/8,2

  Class 0c05: 8086:1c22

0000:02:00.0 Ethernet controller Network controller: Intel Corporation 82574L Gigabit Network Connection [vmnic0]

  Class 0200: 8086:10d3

0000:03:00.0 VGA compatible controller Display controller: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1)

  Class 0300: 102b:0522

[root@localhost:~] vmkload_mod usb-uhci

Module usb-uhci loaded successfully

[root@localhost:~] vmkload_mod usb-ohci

Module usb-ohci loaded successfully

[root@localhost:~] vmkload_mod xhci

Module xhci loaded successfully

Reply
0 Kudos
songtaoz
VMware Employee
VMware Employee

Thanks!

从你所提供的所有的log里, 能得到如下结论:有两个USB控制器, 但是lsusb中只能看到一个,同时没有看到其他usb设备。

建议如下:1. 查看你的server上有多少个USB口, 尝试其他USB口看看能否识别

2. 检查BIOS中关于USB的配置,(虽然逻辑上分析不太可能有影响,但是仍然建议double check一下)

3. 提供vm-support, 在进一步查看vm-support信息之前,无法提供更多的建议。

Reply
0 Kudos
matianqiang
Contributor
Contributor

1、我这里一共4台同样的服务器,每个服务器上后面有4个usb接口,前面有2个usb接口,我把键盘和u盘换着几个口插的方式都试过了,都是一种情况,键盘到黄色启动页面灯就灭了,不管用了;

2、我这里的4台esxi服务器只有这一台升级了6.0,其他的服务器没有升级,还是在使用5.1版本,而且其他3台服务器的usb设备照常使用(键盘到黄色页面灭一下然后又会亮起来),这4台服务器的bios里面设置都是完全一样的,所以应该不是BIOS配置问题;

3、至于查询vm-support的方式您那里能提供一下么? 我这种情况还有没有办法解决??

Reply
0 Kudos
songtaoz
VMware Employee
VMware Employee

那你也把5.1的vm-support也提供一下吧。主要是查看有无相关的错误信息可以定位问题。

Reply
0 Kudos
matianqiang
Contributor
Contributor

查询vm-suppor的命令或者是操作是什么啊?

Reply
0 Kudos
matianqiang
Contributor
Contributor

查询vm-suppor的命令或者是操作是什么啊?

Reply
0 Kudos
songtaoz
VMware Employee
VMware Employee

#vm-support

此命令结束时,你会看到我们需要的*.tgz 文件。

Reply
0 Kudos
matianqiang
Contributor
Contributor

/var/tmp/esx-localhost-2018-09-12--08.07.tgz

这个文件我怎么给你啊???

Reply
0 Kudos
matianqiang
Contributor
Contributor

该文件在ESXI的那个目录里面,我如何才可以拷贝出来啊? 怎么操作可以弄出来呢

Reply
0 Kudos