Thanks, Andre! You are right, I need to create device node myself though
its major number is 253.
 
On Wed, 2008-06-11 at 11:09 +0200, Andre Gaschler wrote:
> 
> Hi Steven,
> 
> 
> from what I know from cmem_1_02, the device node is not created from the 
> kernel module itself.
> You can try to run
> mknod /dev/cmem c 254 0
> yourself, or simply edit loadmodules.sh.
> By the way, you can check what cmem is doing running
> cat /proc/cmem
> 
> 
> -- Andre
> 
> 
> 
> >
> > Subject:
> > cmem issure of DVEVM_1_30
> > From:
> > "steven.zhang" <[EMAIL PROTECTED]>
> > Date:
> > Wed, 11 Jun 2008 14:07:41 +0800
> > To:
> > davinci <[email protected]>
> >
> > To:
> > davinci <[email protected]>
> > CC:
> >
> >
> > Hi, all.
> > Days before, I updated my evm to 1.30.
> > cmem module is also upgraded to cmem_2_00_01 from cmem_1_02.
> > And succeed in building cmemk.ko.However,
> > after running loadmodules.sh, everything seems right, but I can not
> > find any cmem entry in /dev/!  What can be the problem?
> >
> > The following message is grabbed while insmod cmemk.ko.
> >
> > [EMAIL PROTECTED]:/opt/dvevm# ./loadmodules.sh 
> > ioremap_nocache(0x87800000, 8388608)=0xc9000000
> > ioremap_nocache(0x87800000, 8388608)=0xc9000000
> > <6>allocated heap buffer 0xc9000000 of size 0xf7000
> > allocated heap buffer 0xc9000000 of size 0xf7000
> > <6>cmem initialized 4 pools between 0x87800000 and 0x88000000
> > cmem initialized 4 pools between 0x87800000 and 0x88000000
> > dsplinkk: no version for "struct_module" found: kernel tainted.
> > dsplinkk: no version for "struct_module" found: kernel tainted.
> > <1>DSPLINK Module (1.40.05_p1) created on Date: Jun 11 2008 Time:
> > 13:32:41
> > DSPLINK Module (1.40.05_p1) created on Date: Jun 11 2008 Time: 13:32:41
> >
> >
> >
> >   
> 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to