> -----Original Message-----
> From: Maurice Volaski [mailto:[email protected]]
> Sent: Friday, October 01, 2010 1:17 PM
> To: Shreyas Bhatewara; [email protected]
> Subject: RE: compiling on OpenIndiana oi_147 fails inside vmxnet3
> 
> >For the vmxnet3_mac_callback struct compilation, we will get a fix
> >in by next publish of tools. If you need the fix sooner, you can
> >replace the struct definition with the following C99 named
> >initializators. It will resolve the issue for you immediately.
> >
> >static mac_callbacks_t vmxnet3_mac_callbacks = {
> >     .mc_callbacks = MC_GETCAPAB,
> >     .mc_getstat = vmxnet3_getstat,
> >     .mc_start = vmxnet3_start,
> >     .mc_stop = vmxnet3_stop,
> >     .mc_setpromisc = vmxnet3_setpromisc,
> >     .mc_multicst = vmxnet3_multicst,
> >     .mc_unicst = vmxnet3_unicst,
> >     .mc_tx = vmxnet3_tx,
> >     .mc_getcapab = vmxnet3_getcapab
> >};
> 
> 
> I did that and it appeared to build and install the driver! It seems
> that the config file is missing:
> 
> cp docs/vmxnet3s.conf /kernel/drv/vmxnet3s.conf
> cp: cannot stat `docs/vmxnet3s.conf': No such file or directory
> 

conf file is in the same directory as the source code : 
modules/solaris/vmxnet3/vmxnet3s.conf
It is available in the docs/ when you build the tools.

> I'm not sure if that matters, but while it sees the NIC, the driver
> does not appear to load at bootup. That is, it doesn't show up in
> prtconf or modinfo and ifconfig vmxnet3s0 says "Could not open DLPI
> link".


Check the following
# prtconf | grep 15ad,7b0

If prtconf does not show vmxnet3 NIC, it was not added to the VM image. Check 
the VM settings from the UI which you are using to confirm that a vmxnet3 NIC 
was added to the system.

If prtconf does show the required pci id then ensure that the driver binary is 
copied to appropriate directory (/kernel/drv or /kernel/drv/amd64) and run the 
following
add_drv -i'pci15ad,7b0' vmxnet3s
ifconfig vmxnet3s0 plumb

This should allow you to see the interface.

HTH
->Shreyas


> --
> 
> Maurice Volaski, [email protected]
> Computing Support, Rose F. Kennedy Center
> Albert Einstein College of Medicine of Yeshiva University

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
open-vm-tools-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-discuss

Reply via email to