VMware Cloud Community
fairuz78
Contributor
Contributor

vmhba not detected via pass-through

I'm trying to setup nested ESXi on my lab and I have set pass-through for a couple QLogic 2562 HBAs. Installed 2 ESXi 5.1 as VM and added those HBAs as PCI to each VM. On host1 (esxi-lithium01) It only manage to find 1 device and on host2 (esxi-lithium02) it is showing as failed to initialize adapter and claimed 0 device. Appreciate any input/help as I have tried updating the driver but that doesn't seem to work.

esxi-lithium02

/proc/scsi # lspci -p |grep vmhba

00:00:07.1 8086:7111 15ad:1976 255/   /     @ V ata_piix     vmhba0

00:00:10.0 1000:0030 15ad:1976  11/ 11/0x98 A V mptspi       vmhba1

00:03:00.0 1077:2532 1077:015d  10/ 10/0xa0 A V              vmhba2

/proc/scsi # esxcli software vib list |grep qla

ima-qla4xxx                    2.01.31-1vmw.510.0.0.799733         VMware  VMwareCertified   2013-04-03

scsi-qla2xxx                   911.k1.1-16vmw.500.0.0.406165       VMware  VMwareCertified   2013-04-03

scsi-qla4xxx                   5.01.03.2-4vmw.510.0.0.799733       VMware  VMwareCertified   2013-04-03

/proc/scsi # dmesg |grep qla

VMB: 212:    name: /ima_qla4.v00

VMB: 212:    name: /scsi_qla.v00

VMB: 212:    name: /scsi_qla.v01

VMB: 1359: Relocating module /ima_qla4.v00 to high memory

VMB: 1359: Relocating module /scsi_qla.v00 to high memory

VMB: 1359: Relocating module /scsi_qla.v01 to high memory

2013-04-03T08:08:33.291Z cpu0:2048)VisorFSTar: 1743: ima_qla4.v00 for 0x191897 bytes

2013-04-03T08:08:33.310Z cpu0:2048)VisorFSTar: 1743: scsi_qla.v00 for 0x4a12e4 bytes

2013-04-03T08:08:33.313Z cpu0:2048)VisorFSTar: 1743: scsi_qla.v01 for 0x47694 bytes

2013-04-03T08:08:51.145Z cpu0:2561)Loading module qla2xxx ...

2013-04-03T08:08:51.148Z cpu0:2561)Elf: 1852: module qla2xxx has license GPL

2013-04-03T08:08:51.155Z cpu0:2561)module heap vmklnx_qla2xxx: creation succeeded. id = 0x410015800000

2013-04-03T08:08:51.155Z cpu0:2561)PCI: driver qla2xxx is looking for devices

2013-04-03T08:08:51.155Z cpu0:2561)<6>qla2xxx 0000:03:00.0: MSI-X vector count from config space: 31

2013-04-03T08:08:51.155Z cpu0:2561)<6>qla2xxx 0000:03:00.0: MSI-X vector count usable: 6

2013-04-03T08:08:51.155Z cpu0:2561)<6>qla2xxx 0000:03:00.0: Found an ISP2532, irq 160, iobase 0x0x410008bbe000

2013-04-03T08:08:51.156Z cpu0:2561)IRQ: 233: 0xd0 <qla2xxx (default)> exclusive (entropy source), flags 0x10

2013-04-03T08:08:51.157Z cpu0:2561)IRQ: 233: 0xd8 <qla2xxx (rsp_q)> exclusive (entropy source), flags 0x10

2013-04-03T08:08:51.157Z cpu0:2561)<4>qla2xxx 0000:03:00.0: num_rsp_queues = 5, num_req_queues = 1

2013-04-03T08:08:51.157Z cpu0:2561)<4>qla2xxx 0000:03:00.0: MSI-X: Enabled (0x0, 0x0).

2013-04-03T08:08:51.157Z cpu0:2561)<6>qla2xxx 0000:03:00.0: Configuring PCI space...

2013-04-03T08:09:21.161Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Mailbox command 0xc timeout occurred. Scheduling ISP abort.

2013-04-03T08:09:21.161Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Unable to burst-read optrom segment (100/7ff50400/bc86f000).

2013-04-03T08:09:21.161Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Reverting to slow-read.

2013-04-03T08:09:51.173Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Unable to burst-read optrom segment (100/7ff50000/bc86f000).

2013-04-03T08:09:51.173Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Reverting to slow-read.

2013-04-03T08:09:51.188Z cpu0:2561)<6>qla2xxx 0000:03:00.0: Configure NVRAM parameters...

2013-04-03T08:09:51.195Z cpu0:2561)<6>qla2xxx 0000:03:00.0: ZIO mode 6 enabled; timer delay (100 us).

2013-04-03T08:09:51.195Z cpu0:2561)<6>qla2xxx 0000:03:00.0: Verifying loaded RISC code...

2013-04-03T08:10:21.195Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Failed mailbox send register test

2013-04-03T08:10:21.195Z cpu0:2561)<4>qla2xxx 0000:03:00.0: Failed to initialize adapter

2013-04-03T08:10:21.196Z cpu0:2561)PCI: driver qla2xxx claimed 0 device

2013-04-03T08:10:21.196Z cpu0:2561)Mod: 4485: Initialization of qla2xxx succeeded with module ID 59.

2013-04-03T08:10:21.196Z cpu0:2561)qla2xxx loaded successfully.

esxi-lithium01

~ # lspci -p |grep vmhba

00:00:07.1 8086:7111 15ad:1976 255/   /     @ V ata_piix     vmhba0

00:00:10.0 1000:0030 15ad:1976  11/ 11/0x98 A V mptspi       vmhba1

00:03:00.0 1077:2532 1077:015d  10/ 10/0xa0 A V qla2xxx      vmhba2

~ # esxcli software vib list |grep qla

ima-qla4xxx                    2.01.31-1vmw.510.0.0.799733         VMware  VMwareCertified   2013-03-29

scsi-qla2xxx                   911.k1.1-16vmw.500.0.0.406165       VMware  VMwareCertified   2013-04-03

scsi-qla4xxx                   5.01.03.2-4vmw.510.0.0.799733       VMware  VMwareCertified   2013-03-29

~ # dmesg |grep qla

VMB: 212:    name: /ima_qla4.v00

VMB: 212:    name: /scsi_qla.v00

VMB: 212:    name: /scsi_qla.v01

VMB: 1359: Relocating module /ima_qla4.v00 to high memory

VMB: 1359: Relocating module /scsi_qla.v00 to high memory

VMB: 1359: Relocating module /scsi_qla.v01 to high memory

2013-04-03T08:11:37.289Z cpu0:2048)VisorFSTar: 1743: ima_qla4.v00 for 0x191897 bytes

2013-04-03T08:11:37.308Z cpu0:2048)VisorFSTar: 1743: scsi_qla.v00 for 0x4a12e4 bytes

2013-04-03T08:11:37.312Z cpu0:2048)VisorFSTar: 1743: scsi_qla.v01 for 0x47694 bytes

2013-04-03T08:12:05.082Z cpu1:2561)Loading module qla2xxx ...

2013-04-03T08:12:05.085Z cpu1:2561)Elf: 1852: module qla2xxx has license GPL

2013-04-03T08:12:05.092Z cpu1:2561)module heap vmklnx_qla2xxx: creation succeeded. id = 0x410015000000

2013-04-03T08:12:05.092Z cpu1:2561)PCI: driver qla2xxx is looking for devices

2013-04-03T08:12:05.092Z cpu1:2561)<6>qla2xxx 0000:03:00.0: MSI-X vector count from config space: 31

2013-04-03T08:12:05.092Z cpu1:2561)<6>qla2xxx 0000:03:00.0: MSI-X vector count usable: 6

2013-04-03T08:12:05.092Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Found an ISP2532, irq 160, iobase 0x0x410001824000

2013-04-03T08:12:05.093Z cpu1:2561)IRQ: 233: 0xb0 <qla2xxx (default)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.093Z cpu1:2561)IRQ: 233: 0xb8 <qla2xxx (rsp_q)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.094Z cpu1:2561)<4>qla2xxx 0000:03:00.0: num_rsp_queues = 5, num_req_queues = 1

2013-04-03T08:12:05.094Z cpu1:2561)<4>qla2xxx 0000:03:00.0: MSI-X: Enabled (0x0, 0x0).

2013-04-03T08:12:05.094Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Configuring PCI space...

2013-04-03T08:12:05.120Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Configure NVRAM parameters...

2013-04-03T08:12:05.128Z cpu1:2561)<6>qla2xxx 0000:03:00.0: ZIO mode 6 enabled; timer delay (100 us).

2013-04-03T08:12:05.128Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Verifying loaded RISC code...

2013-04-03T08:12:05.129Z cpu1:2561)<6>qla2xxx 0000:03:00.0: FW: Loading via request-firmware...

2013-04-03T08:12:05.161Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Allocated (64 KB) for EFT...

2013-04-03T08:12:05.163Z cpu1:2561)<6>qla2xxx 0000:03:00.0: Allocated (1286 KB) for firmware dump...

2013-04-03T08:12:05.165Z cpu1:2561)<3>qla2xxx 0000:03:00.0: Unable to read FCP priority data.

2013-04-03T08:12:05.167Z cpu1:2561)IRQ: 233: 0xc0 <qla2xxx (multiq)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.167Z cpu1:2561)IRQ: 233: 0xc8 <qla2xxx (multiq)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.168Z cpu1:2561)IRQ: 233: 0xd0 <qla2xxx (multiq)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.168Z cpu1:2561)IRQ: 233: 0xd8 <qla2xxx (multiq)> exclusive (entropy source), flags 0x10

2013-04-03T08:12:05.444Z cpu1:2561)<6>qla2xxx 0000:03:00.0: LIP reset occured (f700).

2013-04-03T08:12:05.510Z cpu1:2561)<6>qla2xxx 0000:03:00.0: LOOP UP detected (8 Gbps).

2013-04-03T08:12:07.193Z cpu2:2562)<4>qla2xxx 0000:03:00.0: SNS scan failed -- assuming zero-entry result...

2013-04-03T08:12:07.202Z cpu0:2561)<6>qla2xxx 0000:03:00.0:

2013-04-03T08:12:07.202Z cpu0:2561)PCI: driver qla2xxx claimed device 0000:03:00.0

2013-04-03T08:12:07.202Z cpu0:2561)PCI: driver qla2xxx claimed 1 device

2013-04-03T08:12:07.202Z cpu0:2561)Mod: 4485: Initialization of qla2xxx succeeded with module ID 59.

2013-04-03T08:12:07.202Z cpu0:2561)qla2xxx loaded successfully.

Tags (2)
0 Kudos
0 Replies