View unanswered posts | View active topics It is currently Sun Jul 23, 2017 10:41 pm



Reply to topic  [ 8 posts ] 
 P8P67-M Pro + i5 2500 = Everything works, hacking required 
Author Message

Joined: Mon Jan 03, 2011 5:05 pm
Posts: 9
Reply with quote
Post P8P67-M Pro + i5 2500 = Everything works, hacking required
VMWare ESXi 4.1.0 (VMKernel Release Build 260247)

ESXi Installed to USB drive, by using the mkesxiaio script in a Ubuntu 10.10 x86 VM. The hard drive in the server is only for VMs. Hypervisor runs from a 2GB toshiba USB key.

Spec:
- nVidia 8500GT PCI-e video card (overkill, but I had it lying around)
Asus P8P67-M Pro Motherboard
- UEFI BIOS
- P67 Chipset
- Onboard Realtek 8111 gbE LAN
- VT-X Support
- Couldn't find VT-D in the BIOS

Intel Core i5 2500 CPU
- VT-X Support
- VT-D Support (although my mobo doesn't seem to support VT-D)
1 x 4GB Memory Stick (will upgrade later - board supports up to 32GB IIRC)

What I did to get it working:
- Disabled unneded devices in BIOS (Parallel / Serial Ports, 1394, Sound etc). Not really necessary but no point in them being on, they're never going to be used.

- Onboard RTL8111 LAN
Got the RTL8111 driver from this thread. Direct DL link to OEM.tgz
IMPORTANT: At the time of writing, the driver available has issues with Windows Guest OSes - you MUST disable Checksum offloading in the guest OS (through Device Manager in Windows, or via these commands in Linux) otherwise you will have a range of issues including but not limited to the network being unstable or not working at all; Receving "HTTP Bad Request" errors. It only seems to impact all guest VMs - Here's how to turn of TCO on Linux.

- P67 Chipset SATA Controller
The AHCI Mode + IDE mode don't work out of the box. I used this guide to download VMWare source, modify the ahci.c file inside the source code to include the PCI IDs of the SATA controller of the P67 board, recompiled the driver, copied the ahci.o file into OEM.tgz, then added the PCI ID of the P67 SATA controller to the simple.map and pci.ids files inside OEM.tgz. Replaced OEM.tgz.
IMPORTANT: I just read that if you
set the SATA controller to "RAID" in BIOS (that's right, RAID, not IDE or AHCI) ESXi 4.1 U1 automatically detects and loads the drivers.

The attached OEM.tgz contains the driver for the Realtek 8111/8168 gbE Network Card, and also for the onboard AHCI SATA controller on the P8P67-M Pro motherboard.

What I haven't tested: The board has 2 x SATAIII ports - currently my disk is plugged into one of the 4 SATA2 ports. SATA III (3) works also.


Attachments:
OEM.TGZ [1.12 MiB]
Downloaded 409 times


Last edited by breakaway on Sun May 29, 2011 12:20 am, edited 6 times in total.

Sat Apr 23, 2011 6:58 pm
Profile

Joined: Mon Jan 03, 2011 5:05 pm
Posts: 9
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
Output of lspci -v

Code:
# lspci -v
000:000:00.0 Host bridge Bridge: Intel Corporation
         Class 0600: 8086:0100

000:000:01.0 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:01.0]]
         Class 0604: 8086:0101

000:000:22.0 Communication controller Communication controller: Intel Corporation
         Class 0780: 8086:1c3a

000:000:26.0 USB Controller Serial bus controller: Intel Corporation
         Class 0c03: 8086:1c2d

000:000:28.0 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:28.0]]
         Class 0604: 8086:1c10

000:000:28.2 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:28.2]]
         Class 0604: 8086:1c14

000:000:28.3 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:28.3]]
         Class 0604: 8086:1c16

000:000:28.5 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:28.5]]
         Class 0604: 8086:1c1a

000:000:28.7 PCI bridge Bridge: Intel Corporation  [PCIe RP[000:000:28.7]]
         Class 0604: 8086:1c1e

000:000:29.0 USB Controller Serial bus controller: Intel Corporation
         Class 0c03: 8086:1c26

000:000:31.0 ISA bridge Bridge: Intel Corporation
         Class 0601: 8086:1c46

000:000:31.2 SATA controller Mass storage controller: Intel Corporation SATA Controller [vmhba0]
         Class 0106: 8086:1c02

000:000:31.3 SMBus Serial bus controller: Intel Corporation
         Class 0c05: 8086:1c22

000:002:00.0 VGA compatible controller Display controller: nVidia Corporation GeForce 8500 GT
         Class 0300: 10de:0421

000:005:00.0 Ethernet controller Network controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [vmnic0]
         Class 0200: 10ec:8168

000:006:00.0 USB Controller Serial bus controller:
         Class 0c03: 1b21:1042


Sat Apr 23, 2011 7:01 pm
Profile

Joined: Sat May 28, 2011 8:09 pm
Posts: 2
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
I have pretty much the same setup:

Asus P8P67-M Pro Motherboard
Intel Core i5 2500 CPU

Using your oem.tgz, I'm able to install ESXi 4.1 Update 1 fine, but when I try to boot, after some initial load screens I get the message:

No compatible network adapter found. Please consult the products....

Any idea what I might be doing wrong? Do I need to do something in particular to have it load the driver on the installed OS?

Just to be sure I started Tech Support mode and see r8168.o and r8169.o in /usr/lib/vmware/vmkmod

Any help would be greatly appreciated.


Sat May 28, 2011 8:14 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
How did you make your installation image for ESXi?

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Sat May 28, 2011 10:13 pm
Profile

Joined: Mon Jan 03, 2011 5:05 pm
Posts: 9
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
Hiya,

I used mkesxiaio.sh (script version 4.1 Link: http://code.google.com/p/mkesxiaio/) on Ubuntu 10.10 x86 running as a virtual machine through VMWare Workstation on a Windows 7 system.

Wrote the image onto a USB disk and taped it to the inside of the case, got a standard USB extension cable, ran the cable out the water cooling hole and plugged it into the motherboard. Cheap and nasty, but works great.

Are you installing your ESXi onto a SATA disk or onto a USB key?


Sun May 29, 2011 12:17 am
Profile

Joined: Sat May 28, 2011 8:09 pm
Posts: 2
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
I was able to get it working.

Installing from USB created using universal USB boot installer, the old syslinix config. Created a ks.cfg file and added it and the oem.tgz on this post to syslinux.cfg. That got the install to work as I said in my original post.

Then I had boot off a Linux live cd, mount the partition /dev/sda5 I think, which had a oem.tgz on it. Then I extracted the files in this oem.tgz and added them to the one on the mounted partition, rezipped, then rebooted.

I saw some error about r8168 but I was able to ping my router and dns server so I stopped for the night. Will try to make sure everything works and what that error is later.


Sun May 29, 2011 2:39 am
Profile

Joined: Mon Jan 03, 2011 5:05 pm
Posts: 9
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
Watch out for the TCP Checksum Offloading error! It had me stumped till I figured out (through a lot of googling / trial and error)! The forum states that the latest driver for the R8168 fixes this issue with TOE but that's simply not the case.


Sun May 29, 2011 2:43 am
Profile

Joined: Fri Jun 24, 2011 3:24 pm
Posts: 1
Reply with quote
Post Re: P8P67-M Pro + i5 2500 = Everything works, hacking requir
Thank. it work on Asus P8H67-M. :D


Sun Jul 10, 2011 9:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.