Jump to ID:
Filesystems

Project Home

Documents

Discussions

Wiki

Project Info
Forum Topic - devf-generic shm_ctl: Function not implemented: (2 Items)
   
 
 
devf-generic shm_ctl: Function not implemented  
I have an ARM 926 based board that has a large-block NAND flash device. I 
am trying to start devf-generic and get a shm_ctl: function not 
implemented message as follows:

# ./devf-generic -s 20020000 -vvvvv
Released Flash Library - BX630_193_release
Build: Sep 16 2005 13:34:02
(devf  t1::f3s_start:198) calloc(1,  128)
(devf  t1::f3s_start:228) calloc(1,  64)
# shm_ctl: Function not implemented
(devf  t1::f3s_start:247) free() 128 bytes @ 0x12d0a0)
(devf  t1::f3s_start:248) free() 64 bytes @ 0x12b0f0)

Am I supposed to run something else first before executing this command? 
Any other ideas?

Thanks,
Todd Peterson
RE: devf-generic shm_ctl: Function not implemented  
Todd, 

The devf driver is strictly for NOR flash device or RAM support.  For
NAND flash, you will need to use the ETFS driver.

Regardless, the cause of this error message is most likely a re-sizing
of a shared memory object that was already created.  Is there an entry
named /dev/shmem/fs0?  Also, when using the devf driver, the size of the
flash device should be specified as part of the -s option

Eg -s 0x20020000,64m

David 

> -----Original Message-----
> From: Todd Peterson [mailto:community-noreply@qnx.com] 
> Sent: March 9, 2009 2:31 PM
> To: general-filesystems
> Subject: devf-generic shm_ctl: Function not implemented
> 
> I have an ARM 926 based board that has a large-block NAND 
> flash device. I am trying to start devf-generic and get a 
> shm_ctl: function not implemented message as follows:
> 
> # ./devf-generic -s 20020000 -vvvvv
> Released Flash Library - BX630_193_release
> Build: Sep 16 2005 13:34:02
> (devf  t1::f3s_start:198) calloc(1,  128) (devf  
> t1::f3s_start:228) calloc(1,  64) # shm_ctl: Function not 
> implemented (devf  t1::f3s_start:247) free() 128 bytes @ 
> 0x12d0a0) (devf  t1::f3s_start:248) free() 64 bytes @ 0x12b0f0)
> 
> Am I supposed to run something else first before executing 
> this command? 
> Any other ideas?
> 
> Thanks,
> Todd Peterson
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post23939
> 
>