View unanswered posts | View active topics It is currently Sun Oct 20, 2019 2:26 pm



Reply to topic  [ 8 posts ] 
 Installing with custom oem for Realtek support 
Author Message
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Installing with custom oem for Realtek support
[-] LucaB 02-23-2011
Hello

i have a strange issue.

if i use the default ISO downloaded from VMWARE , the targetfilter modification works and the installation begun

My problem is that i have 2 network card Realtek 8168 so

If i put a downloaded oem.tgz in place of the empty one the modification of targetfilter does not work and the installation not begun.

Can you help me?

[-] LucaB 02-23-2011
Another thing

Is it possible and if yes what tools i must use in Windows environment, edit targetfilter into install.tgz and made the change once forever?

Thank you.
[-] Dave Mishchenko 02-23-2011
@LucaB - Windows doesn't seem to handle the folder structure / permissions properly. If you need to download a Linux VM image and run it in VMware Player to create the bootable image. It may be that the download you're using is missing the correct entries in simple.map for your storage controller.
[-] LucaB 02-23-2011
Thank you for your reply

the oem.tgz are all from this link on your website http://www.vm-help.com/esx/esx3i/customize_oem_tgz.php

I've tried with the Jens Jacobson oem.tgz and the unified oem.tgz 1.1.0

I've build my USB stick from the official ISO image with unetbootin-windows-491.exe

After I've replaced the default oem.tgz that is empty with the downloaded one directly on my USB stick

The installation begun correctly but the targetfilter change has no more effect

I'm I doin' something wrong?

(No chance with the modification of TargetFilter.py directly into INSTALL.tgz?)


Thanks once more.


Luca.


[-] LucaB 02-23-2011
Ok I found something .. if i do a fdisk -l without a customized oem.tgz , I see my hard disk if I put your oem.tgz the disk disappear!

How can I solve that problem?

[-] Dave Mishchenko 02-23-2011
Extract the driver you want from the package and then create your own oem.tgz by modifying your system's current simple.map file.
[-] LucaB 02-23-2011
Ok so i update simple.map file with my device 8086.27C4 but after the update of simple.map in oem.tgz ESXI wont strart with the setup telling thta the boot image was corrupted

I use 7Zip under Windows to update the archive and i've noticed that the permission on file are changed...
[-] LucaB 02-23-2011
Ok 've done another step.

Now i can modify simple.map with no more proble.

I've downoladed from VMWARE Website the Ubuntu Virtual Appliance

From here i can modify and change all the archives.

Now the problem is that if I put in simple.map my device ICH7

8086:27c4 storage ide

the system does not reknow at all the drive in the list, fdisk -l see only the usb stick

now what ca I do?

[-] Dave Mishchenko 02-23-2011
It might be a conflict between the ICH controller and realtek NICs. I would pull one NIC at a time and see if that makes a difference.
[-] LucaB 02-24-2011
Hi

With VMware-VMvisor-InstallerCD-3.5.0_Update_4-153875.i386.iso and VMware-VMvisor-InstallerCD-3.5.0_Update_5-207095.i386.iso

with lspci I can see my mass storage and if I do not use any oem.tgz the disk is seen with fdisk -l and the installation begun with no network card

I've realtek 8168

If I use as oem.tgz mymod-network.new2.tgz or mymod-network.new3.tgz the disk is no more seen!!!

What can I do now?





[-] LucaB 02-24-2011
...the network cards are integrated on the motherboard, so no pull option...
[-] LucaB 02-24-2011
Ok i've made another step ...

if the file oem.tgz is empty the setup loads his drivers and I can see the disk with fdisk -l

if oem.tgz contains also an empty simple.map the disk disappear.

So what the hell are the the right settings that I must put in simple.map to come back to see my

00:31.02 mass storage controller intel corporation 82801gbm/ghm (ich7 family) serial ata storage controller Ide (vmhba0)

8086:27c4 8086:27c4 0/0/ox99 vmhba0 ?

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


Thu Feb 24, 2011 11:49 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Installing with custom oem for Realtek support
> if oem.tgz contains also an empty simple.map the disk disappear.

Without simple.map ESXi doesn't know which drivers to load. I would try this. Create an oem.tgz file with just the driver file for the realtek NIC. Once you get an error, access the console and see if you can load the driver manually with vmkload_mod. If that causes a problem with the storage controller, then you have some sort of conflict between the devices.

At the console you can use esxcfg-nics -l to list NICs.

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


Thu Feb 24, 2011 11:52 am
Profile

Joined: Wed Feb 23, 2011 2:57 am
Posts: 4
Reply with quote
Post Re: Installing with custom oem for Realtek support
Ok i give it a try!

Another step that can confirm your suspects.

I've found also update 3 Iso and the results were the same

So i've put the update 3 ISO with mymod-network.new3.tgz on a Laptop and if i type fdisk -l I can see disk and partition...

So the problem is localized in this motherboard


Fri Feb 25, 2011 1:18 am
Profile

Joined: Wed Feb 23, 2011 2:57 am
Posts: 4
Reply with quote
Post Re: Installing with custom oem for Realtek support
Ok I'm at this point
i've dome a oem.tgz with the r8168.o in /usr/lib/vmware/vmkmod/
without simple.map and pci.ids
This because if I put any simple.map also empty the setup does'nt see no more my disk (no device with fdisk -l ..)
when i type
cmkload_mod /usr/lib/vmware/vmkmod/r8168.o
the system gives me a list of warning with
e.g
.
Warning unresolved symbol init_waitqueue_head
.
.
.
at the end there is

Warning undefined symbols
and after
Warning Have you loaded the vmlinux module with the -e option?
vmkload_load PANIC failed to load module r8168
Now what can I do?


Fri Feb 25, 2011 3:29 am
Profile

Joined: Wed Feb 23, 2011 2:57 am
Posts: 4
Reply with quote
Post Re: Installing with custom oem for Realtek support
...Obiouvsly escfg-nics -l returns no netowrk card...


Fri Feb 25, 2011 5:06 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Installing with custom oem for Realtek support
Is there a reason you're using ESXi 3.5?

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


Fri Feb 25, 2011 6:53 pm
Profile

Joined: Wed Feb 23, 2011 2:57 am
Posts: 4
Reply with quote
Post Re: Installing with custom oem for Realtek support
Yes the processor is 32bit
I download the sources from realtek website
Is there any chance to compile them to suit the ESXI requirement
And if yes how can I do that
Thanks once more
Luca


Sat Feb 26, 2011 1:45 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Installing with custom oem for Realtek support
Check this for developing drivers - http://www.vm-help.com/esx41/developing_for_ESXi.php.

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


Sat Feb 26, 2011 7:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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.