Enable serial logging from ESXi 5.1

During installation

If an ESXi 5.1 host does not successfully install, serial line logging can be configured when booting the installer using advanced kernel boot-time parameters. This takes effect for the current boot, and does not persist across future reboots.
To enable serial-line logging during installation:

  1. At the Loading ESXi installer screen, press Shift+O.
  2. At the prompt, append the advanced option to specify a serial port after runweasel:

    > runweasel debugLogToSerial=1 logPort=com1

  3. Press Enter to boot.
  4. Logging starts after the first loading progress bar finishes.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032350

Enable serial logging from ESXi 5.1

Determining driver ESXi 5

~ # esxcfg-scsidevs -a

vmhba38 ahci              link-n/a  sata.vmhba38                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba39 ahci              link-n/a  sata.vmhba39                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba0  ahci              link-n/a  sata.vmhba0                             (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba1  qla2xxx           link-n/a  fc.20000024ff0aa474:21000024ff0aa474    (0:17:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba2  megaraid_sas      link-n/a  unknown.vmhba2                          (0:22:0.0) LSI / Symbios Logic MegaRAID SAS Fusion Controller
vmhba3  qla2xxx           link-n/a  fc.20000024ff0aa479:21000024ff0aa479    (0:32:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba40 ahci              link-n/a  sata.vmhba40                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba32 bnx2i             unbound   iscsi.vmhba32                           Broadcom iSCSI Adapter
vmhba33 bnx2i             unbound   iscsi.vmhba33                           Broadcom iSCSI Adapter
vmhba34 bnx2i             unbound   iscsi.vmhba34                           Broadcom iSCSI Adapter
vmhba35 bnx2i             unbound   iscsi.vmhba35                           Broadcom iSCSI Adapter
vmhba36 ahci              link-n/a  sata.vmhba36                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba37 ahci              link-n/a  sata.vmhba37                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller

~ # vmkload_mod -s qla2xxx | grep Version

 Version: Version 902.k1.1-9vmw, Build: 799733, Interface: 9.2 Built on: Aug  1 2012
~ #

Determining driver ESXi 5