ESXi
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 8: | Line 8: | ||
# Press <code>Shift + O</code> and append <code>noipmiEnabled</code> to the boot args | # Press <code>Shift + O</code> and append <code>noipmiEnabled</code> to the boot args | ||
# Once booted, connect with vSphere and add uncheck <code>VMkernel.Boot.impiEnabled</code> | # Once booted, connect with vSphere and add uncheck <code>VMkernel.Boot.impiEnabled</code> | ||
+ | |||
+ | == Virtual Machine with PassThrough devices won't boot == | ||
+ | * Enable SSH | ||
+ | * Login via SSH | ||
+ | * Locate the VM's store (<code>/vmfs/volumes/...</code>) | ||
+ | * There is probably a vmware.log file, <code>cat</code> it: | ||
+ | <source lang="bash"> | ||
+ | cat vmware.log | grep pciHole | ||
+ | </source> | ||
+ | * You'll probably find something like this: | ||
+ | <pre> | ||
+ | 2011-10-12T18:56:50.990Z| vcpu-0| \[msg.pciPassthru.mmioOutsidePCIHole\] PCIPassthru 008:00.0: Guest | ||
+ | tried to map 32 device pages (with base address of 0xb2520) to a range occupied by main memory. This | ||
+ | is outside of the PCI Hole. Add pciHole.start = "2853" to the configuration file and then power on | ||
+ | the VM. | ||
+ | </pre> | ||
+ | * Add the following line to your VM's *.vmx file (don't forget to use the correct value!): | ||
+ | <pre> | ||
+ | pciHole.start = "2853" | ||
+ | </pre> | ||
== Use SATA drive as an RDM == | == Use SATA drive as an RDM == |
Revision as of 19:21, 12 October 2011
Contents |
Enable SSH
- At the console, press
F2
and login - Select
Troubleshooting Options
- Select
Enable SSH
- Press
ESC
to logout
Hanging on ipmi_si_drv
- Press
Shift + O
and appendnoipmiEnabled
to the boot args - Once booted, connect with vSphere and add uncheck
VMkernel.Boot.impiEnabled
Virtual Machine with PassThrough devices won't boot
- Enable SSH
- Login via SSH
- Locate the VM's store (
/vmfs/volumes/...
) - There is probably a vmware.log file,
cat
it:
cat vmware.log | grep pciHole
- You'll probably find something like this:
2011-10-12T18:56:50.990Z| vcpu-0| \[msg.pciPassthru.mmioOutsidePCIHole\] PCIPassthru 008:00.0: Guest tried to map 32 device pages (with base address of 0xb2520) to a range occupied by main memory. This is outside of the PCI Hole. Add pciHole.start = "2853" to the configuration file and then power on the VM.
- Add the following line to your VM's *.vmx file (don't forget to use the correct value!):
pciHole.start = "2853"
Use SATA drive as an RDM
- Login as root
- Run
fdisk -l
and locate the disk you wish to use - Run
ls /dev/disks/ -l
and locate the symlink to that disk - Goto the correct directory to place the new vmdk
- Run
vmkfstools -r /vmfs/devices/disks/<symlink> RDM.vmdk -a lsilogic
- Disk type
-
-r
- create Virtual device -
-z
- create Physical (passthrough) device - careful with these
-
- Controller
-a ...
-
buslogic
- probrably not -
lsilogic
-
ide
-
- Disk type