On Saturday 09 April 2011 12:55:37 David P. Reese, Jr. wrote:
> Hi,
> I'm trying to get my own HGCM module to work on a Mac OS X host and I'm
> occasionally getting an assertion just after my module's Connect() routine
> completes.  Here's the message and stack trace:
> 
>    !!Assertion Failed!!
>    Expression: iPage == cPages
>    Location  :
> /Users/daver/Software/VirtualBox-4.0.4_OSE/src/VBox/Devices/VMMDev/VMMDevH
> GCM.cpp(278) int vmmdevHGCMSaveLinPtr(PDMDEVINS*, uint32_t, RTGCPTR,
> uint32_t, uint32_t, VBOXHGCMLINPTR*, RTGCPHYS**)
> 
> [...]
>
> Taking a look at vmmdevHGCMSaveLinPtr(), it looks like the VMM has failed
> to map the guest pages required to make a HGCM call.  This assertion is
> only triggered occasionally and, rather disturbingly, I cannot get the
> assertion to happen with a debug build of VirtualBox.
> 
> I'm running a Linux guest with a kernel module that uses vboxguest.ko to
> interface with HGCM.  My kernel module simply connects and spawns a kernel
> thread that makes a service call once every second.
> 
> This is using the 4.0.4_OSE sources from the web site.

How does that service call look like? Looks like your guest did not
specify guest physical addresses.

Kind regards,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:[email protected]

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to