By menno on Dec 24, 2007
When xVM was integrated into Nevada in build 75, I immediately tried it on my laptop (a Toshiba M3). Only to find out that it didn't work because xVM requires GLD version 3 network drivers. My particular type of M3 unfortunately has a Marvell Yukon gigabit ethernet adapter and the skge driver from SysKonnect I had been using for the past years is not a GLD v3 driver.
While looking for a more recent version of skge (hoping for GLD v3 support in skge), I came across the myk driver written by Masayuki Murayama. This driver can be compiled as a GLD v3 driver and a quick look in the install script showed that the PCI ID of my Yukon chip was supported by myk. To compile a GLD v3 version of the driver you'll need the driver sources and a recent copy of the ON sources (for the required GLD header files).
$ gzcat myk-2.5.0.tar.gz | tar xf - $ cd myk-2.5.0 $ rm Makefile.config $ ln -s Makefile.config_gld3 Makefile.config $ vi Makefile.configChange -I to point to where you keep the ON sources:
# # Common configuration infomations for all platforms # DRV = myk include version DFLAGS = -DDEBUG -DDEBUG_LEVEL=0 -DGEM_DEBUG_LEVEL=0 \\ -DTX_BUF_SIZE=256 -DRX_BUF_SIZE=256 \\ -I /export/home/ml93401/ws/onnv-gate/usr/src/uts/common change appropriately # CFGFLAGS = -UCONFIG_OO \\ -DGEM_CONFIG_POLLING \\ -DGEM_CONFIG_VLAN -UCONFIG_HW_VLAN \\ -DGEM_CONFIG_CKSUM_OFFLOAD \\ -DGEM_CONFIG_GLDv3 -DSOLARIS10 LDFLAGS += -dy -N misc/mac -N drv/ipBuild and install the driver:
$ make $ su # ./adddrv.shAfter a reboot we should have a GLD v3 driver usable for xVM (if the type is not 'legacy' it is a GLD v3 driver):
# dladm show-link myk0 type: non-vlan mtu: 1500 device: myk0 iwi0 type: non-vlan mtu: 1500 device: iwi0Creating a DomU now works fine (as expected). If only I had more memory in this laptop...