View unanswered posts | View active topics It is currently Wed Dec 13, 2017 8:56 am



Reply to topic  [ 5 posts ] 
 RealTek NIC driver 8168/8111 - for testing. 
Author Message

Joined: Sun Jul 26, 2009 5:09 pm
Posts: 2
Reply with quote
Post RealTek NIC driver 8168/8111 - for testing.
For ESX(i) 4 (it will not work on V3)
It is for testing only - You may get lucky - on the other hand, it may not work on your system.
Supports RTL8168B/8111B, RTL8168C/8111C, RTL8168CP/8111CP, RTL8168D/8111D, and RTL8168DP/8111DP

Firstly - You need to know how to put a driver file into your ESX server with the appropriate PCI ID's - Don't ask here - Have a look around this site and forums to find the answers.

I'm interested to hear from people who have a system which has a VMWare supported NIC and one of the RealTek's above - That way they can manually attempt to load the module and see any errors.

Given the limited time I've spent on this there are no guarantees that any issues will be fixed promptly - or at all.

r8168.o -> http://www.rockreliable.com/r8168.o.gz

Regards,
Chris.


Mon Aug 10, 2009 3:42 am
Profile

Joined: Sun Jul 26, 2009 5:09 pm
Posts: 2
Reply with quote
Post Re: RealTek NIC driver 8168/8111 - for testing.
Had some feed back.

It appears that a number of people are having the driver fail to load on retail versions of ESX4.

After further investigation it appears that drivers need to signed. The version of ESX that we have doesn't require signed drivers and therefore we didn't pick the problem up.

If this is true (and I could honestly be on a total red-herring here) it means that unless you have the DDK and appropriate keys you wont be building drivers for 4.0


Fri Aug 14, 2009 5:25 am
Profile

Joined: Sun Aug 16, 2009 2:05 pm
Posts: 2
Reply with quote
Post Re: RealTek NIC driver 8168/8111 - for testing.
My motherboard is Gigabyte EX58-UD5
the onboard lan is RTL8168D/8111D

I try this driver in ESXI4 but doesn't work :cry:


Sun Aug 16, 2009 2:14 pm
Profile

Joined: Mon Aug 24, 2009 10:36 pm
Posts: 1
Reply with quote
Post Re: RealTek NIC driver 8168/8111 - for testing.
Hi Chris,

Thanks for your efforts to get this driver done. Unfortunately it doesn't seem to be working for me, but I do have some error output for you.

> vmkload_mod -v 16 r8168
Verbose:16
After loop: argc:4 optind:3 optarg:(null)
modParams is || (0)
nameIn:r8168
nameOut:r8168 pathOut:/usr/lib/vmware/vmkmod/r8168.o
fd:3 size:-3467656 st_size:60088
VmkModSign_GetSignInfo starting
vmsignContent does not exist
name:r8168 addr:0x5c33d000 size:0xf000 exportSyms:0 modParams:
vmkmod: failed at bora/lib/vmkmod/vmkmod.c:VMKMod_LoadModule:219
vmkmod: failed at bora/lib/vmkmod/vmkmod.c:VMKMod_Load:368
vmkload_mod: Can not load module r8168: Not in executable format



It seemed no matter how I tried loading the module, the last line of the above error always showed up. I tried Googling "Not in executable format" but didn't get any sense out of it, so I'm hoping you know what that means?

I'd like to try compiling this driver myself, but I have read on this forum that we can't use native Linux drivers. So can you tell me the basics (or details if you like) of how you went about compiling this driver? I have access to any flavour of Linux required, and while I'm not a programmer, I know my way around both Windows and Linux pretty well :)

Thanks again, and I hope to hear back from you soon!


Anthony.


Mon Aug 24, 2009 11:55 pm
Profile

Joined: Tue Sep 29, 2009 11:31 pm
Posts: 1
Reply with quote
Post Re: RealTek NIC driver 8168/8111 - for testing.
I tried this driver with a Repotec Realtek8168 ethernet card in a HP ML350G4p server, but it doesn't work.

The ESXi log shows this error:

Loading module r8168.o failed. Exec of command '/sbin/vmkload_mod r8168' succeeded, but returned with non-zero status: 1
vmkload_mod: Can not load module r8168: Not in executable format


After this i checked the r8168.o file itself on my Ubuntu 9 Server (simply F3 in Midnight Commander). The first line seems to be ok:

r8168.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), stripped

But after this it's totally empty and MC gives a warning: nm: r8168.o: no sysmbols.

After this i tried other ESXi driver file (viewtopic.php?f=12&t=337) to see how the file should look like and how it should work in the ESXi4 itself. I can load this module without any problems:
/sbin/vmkload_mod 3w-9xxx
Module 3w-9xxx loaded successfully


I'm not a linux expert, but it seems that this r8168 driver is missing something and will never work :(


Tue Sep 29, 2009 11:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 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.