Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error in Pg.vmware: (2 Items)
   
Error in Pg.vmware  
Hello!

I've found a bug in the Pg.vmware. Error occurs when I run driver in trap mode (with -T key) on the real PC with nVidia 
graphics card. In this case the Pg.vmware generates followed crt line:

Null.ms;Pg.vmware.new -g0x0x0 -d0x15ad,0x405 -I0 -HNqnx/crt;#0,0,0,200,0CB,vmware - driver for VMware SVGA

So vmware driver is present in the Display configuration dialog of the phgrafx program.

Also I've found solution for this bug. There is no check of error code returned by disp_pci_init() function (file init.c
, line 54):

http://community.qnx.com/integration/viewvc/viewvc.cgi/hardware/devg/vmware/init.c?revision=4&root=vmware&system=
exsy1001&view=markup

I think code:

disp_pci_init(adapter, DISP_PCI_INIT_BASES);

must be replaced with:

if (disp_pci_init(adapter, DISP_PCI_INIT_BASES) < 0)
    goto done;

Respectfully,
Oleg
Re: Error in Pg.vmware  
Hello again!

Can anybody answer?

Respectfully,
Oleg

> Hello!
> 
> I've found a bug in the Pg.vmware. Error occurs when I run driver in trap mode
>  (with -T key) on the real PC with nVidia graphics card. In this case the Pg.
> vmware generates followed crt line:
> 
> Null.ms;Pg.vmware.new -g0x0x0 -d0x15ad,0x405 -I0 -HNqnx/crt;#0,0,0,200,0CB,
> vmware - driver for VMware SVGA
> 
> So vmware driver is present in the Display configuration dialog of the phgrafx
>  program.
> 
> Also I've found solution for this bug. There is no check of error code 
> returned by disp_pci_init() function (file init.c, line 54):
> 
> http://community.qnx.com/integration/viewvc/viewvc.cgi/hardware/devg/vmware/
> init.c?revision=4&root=vmware&system=exsy1001&view=markup
> 
> I think code:
> 
> disp_pci_init(adapter, DISP_PCI_INIT_BASES);
> 
> must be replaced with:
> 
> if (disp_pci_init(adapter, DISP_PCI_INIT_BASES) < 0)
>     goto done;
> 
> Respectfully,
> Oleg