VMware Communities
ZhenhuaZhang
Contributor
Contributor

"failed to enter suspend mode" issue when booting VxWorks

Hello,

I am using VMWare to boot up VxWorks OS and enable AM79C97X network adapter. However, the driver reports "lnPci0: failed to enter suspend mode". After entering OS, the network actually doesn’t work so it prevents us to connect from host machine. I guess VMWare could not full emulate the functionality for lnPciCsrRead (pDev, LNPCI_CSR5) so it's time out. The error was reported from attached am79c97xVxbEnd.c line 2035.

LOCAL void lnPciEndRxConfig

(

LNPCI_DRV_CTRL * pDrvCtrl

)

{

UINT16 *pAddr;

VXB_DEVICE_ID pDev;

int i;

pDev = pDrvCtrl->lnPciDev;

/* Suspend the controller, if needed */

if ((lnPciCsrRead (pDev, LNPCI_CSR0) & LNPCI_CSR0_STOP) == 0)

{

LNPCI_CSR_SETBIT (pDev, LNPCI_CSR5, LNPCI_CSR5_SPND);

for (i = 0; i < LNPCI_TIMEOUT; i++)

if (lnPciCsrRead (pDev, LNPCI_CSR5) & LNPCI_CSR5_SPND)

break;

if (i == LNPCI_TIMEOUT)

{

logMsg("%s%d: failed to enter suspend mode\n",

(int)LNPCI_NAME, pDev->unitNumber, 0, 0, 0, 0);

return;

}

}

/*

  • Init our MAC address.

*/

}

0 Kudos
1 Reply
KevinG
Immortal
Immortal

The virtual machine has it's own virtual hardware that is different than that of the host

Network Adapters in virtual machine

AMD PCnet‐PCI II compatible.

For 64‐bit guests: Intel Pro/1000 MT Server Adapter compatible.

Virtual Machine Specifications page 29

http://www.vmware.com/pdf/ws65_manual.pdf

0 Kudos