Thanks , Rob. I have upgraded it to CMEM 2.10.However, still need to do some test. On Thu, 2008-06-12 at 12:25 -0500, Tivy, Robert wrote: > Well, you can pretty much ignore the email I just sent... > > You need to upgrade to a later CMEM (2.10 or later). The get_phys() > function from CMEM 2.00.01 does not work properly on kernels later than > 2.6.10 (and you're using 2.6.23). This has been fixed in CMEM 2.10. > You need both new kernel module and the user-level APIs that interface > to the kernel module. > > Regards, > > - Rob > > > -----Original Message----- > > From: > > [EMAIL PROTECTED] > > p.com > > [mailto:[EMAIL PROTECTED] > > avincidsp.com] On Behalf Of steven.zhang > > Sent: Wednesday, June 11, 2008 10:31 PM > > To: davinci > > Subject: CMEMK failed to GETPHYS on cmem_2_00_01 release > > > > Hi, all. > > I update cmem from 1_02 to 2_00_01, and insmod it correctly. > > But while running demo application, I am out of luck. > > cmemk reports GETPHYS failure. > > my kernel mem params is 120M. I have no idea what can be the magic? > > It seems get_phys() return zero. > > Thanks. > > > > [EMAIL PROTECTED]:/opt/dvevm# ./decode -a davincieffect.aac > > Decode Debug: NTSC selected Decode demo started. > > Decode Debug: Codec Engine initialized > > <3>CMEMK Error: GETPHYS: Failed to convert virtual 0x42c97000 > > to physical. > > CMEMK Error: GETPHYS: Failed to convert virtual 0x42c97000 to > > physical. > > Decode Debug: Lo<3>CMEMK Error: FREE: Failed to convert > > virtual 0x42c97000 to physical CMEMK Error: FREE: Failed to > > convert virtual 0x42c97000 to physical gging initialized > > Decode Debug: Pause object opened Decode Debug: Init > > rendezvous opened for 2 threads Decode Debug: Cleanup > > rendezvous opened for 2 threads Decode Debug: Priming > > rendezvous opened for 2 threads Decode Debug: OSD > > successfully initialized Decode Debug: Audio file > > successfully opened Decode Debug: OSD transparency > > initialized Decode Debug: Codec Engine opened in control > > thread Decode Debug: MSP430 library initialized Decode Debug: > > Sound device initialized Decode Debug: Codec Engine opened in > > audio thread Decode Debug: Audio decoder created CMEM Error: > > getPhys: Failed to get physical address of 0x42c97000 CMEM > > Error: free: failed to free 0x42c97000 Decode Error: Failed > > to allocate contiguous memory block. > > Decode Debug: User interface created > > Decode Debug: Entering control main loop. > > > > Regards, > > Steven > > > > _______________________________________________ > > Davinci-linux-open-source mailing list > > [email protected] > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
