Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error "Maximum allowed filesystems with MME reached": (5 Items)
   
Error "Maximum allowed filesystems with MME reached"  
Currently, our mme only allows 3 USB devices to be shown.
If I insert a fouth USB device, the error I get from screen is 

"Maximum allowed filesystems with MME reached!"

And if I look under our mme fs perspective, there is no new mout point. However, the mediaLauncher is happy with the 
fouth device. If I type 

mount 

I can clearly see the 4th device being mounted.

/dev/fs0p4 on /HBpersistence type flash
/dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32)
/dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32)
/dev/umass/usb07500t12 on /fs/usb0 type dos (fat32)
/dev/blk/usb-4-pfs-0-media on /fs/pfs0 type pfs
/dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp
/dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32)
/dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32)
/dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32)
/dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32)

Our slot table in mme library is shown as:


# qdbc -d mme "select * from slots"
Rows: 13  Cols: 10
Names:  +slotid+active+msid+multimsid+slottype+zoneid+max_lib_entries+delete_at_start+path+name+
00000:  |1|1|2|0|1|1|0|0|/fs/usb0|USB 1|
00001:  |2|1|1|0|1|1|0|0|/fs/usb1|USB 2|
00002:  |3|1|3|0|1|1|0|0|/fs/usb2|USB 3|
00003:  |4|0|0|0|1|1|0|0|/fs/usb3|USB 4|
00004:  |5|0|0|0|1|1|0|0|/fs/usb4|USB 5|
00005:  |6|0|0|0|1|1|0|0|/fs/usb5|USB 6|
00006:  |7|0|0|0|1|1|0|0|/fs/usb6|USB 7|
00007:  |8|0|0|0|1|1|0|0|/fs/usb7|USB 8|
00008:  |9|0|0|0|4|1|0|0|/fs/ipod0|iPod 1|
00009:  |10|0|0|0|4|1|0|0|/fs/ipod1|iPod 2|
00010:  |11|1|4|0|4|1|0|0|/fs/pfs0|PFS 1|
00011:  |12|0|0|0|4|1|0|0|/fs/pfs1|PFS 2|
00012:  |13|0|0|0|4|1|0|0|/fs/avrcp0|Bluetooth 1|


Any idea? Thanks!





Re: Error "Maximum allowed filesystems with MME reached"  
On Wed, 24 Feb 2010, Jasmine Fong wrote:

>Date: Wed, 24 Feb 2010 12:14:11 -0500 (EST)
>From: Jasmine Fong <community-noreply@qnx.com>
>Reply-To: post48196@community.qnx.com
>To: development-multimedia <post48196@community.qnx.com>
>Subject: Error "Maximum allowed filesystems with MME reached"
>
>
> Currently, our mme only allows 3 USB devices to be shown.
> If I insert a fouth USB device, the error I get from screen is
>
> "Maximum allowed filesystems with MME reached!"
>
> And if I look under our mme fs perspective, there is no new mout point. However, the mediaLauncher is happy with the 
fouth device. If I type
>
> mount
>
> I can clearly see the 4th device being mounted.
>
> /dev/fs0p4 on /HBpersistence type flash
> /dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32)
> /dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32)
> /dev/umass/usb07500t12 on /fs/usb0 type dos (fat32)
> /dev/blk/usb-4-pfs-0-media on /fs/pfs0 type pfs
> /dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp
> /dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32)
> /dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32)
> /dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32)
> /dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32)

What does your mcd.mnt file look like? All of the items that are 
mounted for you all seem to be coming from the first usb stick which 
has 3 partitions. If you insert them in the opposite order, do you get
one item mounted and 3 that aren't?

I don't recognize the error message as the one you've listed and I just did 
a quick check and had 6 distinct usb keys found/mounted on my system.

# qdbc -dmme "select msid,mountpath from mediastores"
Rows: 9  Cols: 2
Names:  +msid+mountpath+
00000:  |1|/dev/snd|
00001:  |2|/dev/socket|
00002:  |3|/media/drive|
00003:  |4|/fs/usb2|
00004:  |5|/fs/usb1|
00005:  |6|/fs/usb0|
00006:  |7|/fs/usb3|
00007:  |8|/fs/usb4|
00008:  |9|/fs/usb5|
# mount
/net/EAc4dd91.ott.qnx.com/dev/hd0t179 on / type qnx6
/net/EAc4dd91.ott.qnx.com/dev/umass6t12 on /fs/usb5 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/umass5t11 on /fs/usb4 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/umass4t4 on /fs/usb3 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/umass1t11 on /fs/usb2 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/umass3t11 on /fs/usb1 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/umass2t11 on /fs/usb0 type dos (fat32)
/net/EAc4dd91.ott.qnx.com/dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp
# qdbc -dmme "select * from slots"
Rows: 20  Cols: 10
Names:  +slotid+active+msid+multimsid+slottype+zoneid+max_lib_entries+delete_at_start+path+name+
00000:  |1|1|3|0|3|1|1000|0|/media/drive|HardDrive|
00001:  |2|1|6|0|1|1|1000|0|/fs/usb0|USB|
00002:  |3|1|5|0|1|1|1000|0|/fs/usb1|USB|
00003:  |4|1|4|0|1|1|1000|0|/fs/usb2|USB|
00004:  |5|1|7|0|1|1|1000|0|/fs/usb3|USB|
00005:  |6|1|8|0|1|1|1000|0|/fs/usb4|USB|
00006:  |7|1|9|0|1|1|1000|0|/fs/usb5|USB|
00007:  |8|0|0|0|1|1|1000|0|/fs/usb6|USB|
00008:  |9|0|0|0|1|1|1000|0|/fs/usb7|USB|
00013:  |14|0|0|0|4|1|1000|0|/fs/ipod0|iPod|
00014:  |15|0|0|0|4|1|1000|0|/fs/pfs0|PlaysForSure|
00018:  |19|1|2|0|10|1|1000|0|/dev/socket|INTERNET|
#


Thanks,

Peter
Re: Error "Maximum allowed filesystems with MME reached"  
> On Wed, 24 Feb 2010, Jasmine Fong wrote:
> 

> What does your mcd.mnt file look like? All of the items that are 
> mounted for you all seem to be coming from the first usb stick which 
> has 3 partitions. If you insert them in the opposite order, do you get
> one item mounted and 3 that aren't?

If I insert USB, then the three partitiioned USB I will see one USB and two of three partitions being mounted, shown 
below.

# mount
/dev/umass/usb06900t12.1 on /fs/usb2 type dos (fat32) ==> partition 1
/dev/umass/usb06900t12 on /fs/usb1 type dos (fat32)   ==> partition 2
/dev/umass/usb05500t11 on /fs/usb0 type dos (fat32) ==> another usb stick
/dev/blk/usb-8-iui-2-media on /fs/ipod1 type ipod
/dev/blk/usb-7-pfs-0-media on /fs/pfs1 type pfs
/dev/blk/usb-6-pfs-0-media on /fs/pfs0 type pfs
/dev/blk/usb-1-iui-2-media on /fs/ipod0 type ipod
/dev/blk/ram-0-alloc-0-tmp on /fs/tmpfs type tmp
/dev/umass/usb06900t12.2 on /mnt/umass06900t12.2 type dos (fat32) ==> This one didn't show up.
/dev/umass/usb06900t12.1 on /mnt/umass06900t12.1 type dos (fat32)
/dev/umass/usb06900t12 on /mnt/umass06900t12 type dos (fat32)
/dev/umass/usb05500t11 on /mnt/umass05500t11 type dos (fat32)

/dev/umass/usb06900t12.2 on /mnt/umass06900t12.2 type dos (fat32) ==> This one didn't show up, it should have been /fs/
usb3




You mean mcd.cfg?

# USB MSC Devices
[/fs/usb*]
Callout             =    PATH_MEDIA_PROCMGR
Argument            =    /proc/mount
Priority            =    11,10
Start Rule          =    SW_UPDATE
Stop Rule           =    MMEMediumEjected

[SW_UPDATE]
Callout      =    FNAME_MATCH
Argument     =    /CD_INFO.CDI
Fail Rule    =    NAV_UPDATE
Match Rule   =	  NAV_UPDATE

[NAV_UPDATE]
Callout      =    FNAME_MATCH
Argument     =    /config.nfm
Fail Rule    =    GN_UPDATE
Match Rule   =	  GN_UPDATE

[GN_UPDATE]
Callout      =    FNAME_MATCH
Argument     =    /gnupdate
Fail Rule    =    MIXED_AV
Match Rule   =	  MIXED_AV

[MIXED_AV]
Callout      =    FNAME_PATTERN
Argument     =    *.MP3,*.mp3,*.WMA,*.wma,*.AAC,*.aac,*.M4A,*.m4a
Fail Rule    =    PICTURES
Match Rule   =	  PICTURES

[PICTURES]
Callout      =    FNAME_PATTERN
Argument     =    *.JPG,*.jpg,*.JPEG,*.jpeg
Fail Rule    =    MMEMediumInserted
Match Rule   =	  MMEMediumInserted

[IPOD]
Match Rule   =	  MMEMediumInserted

[PFS]
Callout      =    FNAME_PATTERN
Argument     =    *.MP3,*.mp3,*.WMA,*.wma,*.AAC,*.aac,*.M4A,*.m4a
Match Rule   =	  MMEMediumInserted
Fail Rule    =    MMEMediumInserted

[A2DP]
Match Rule   =	  MMEMediumInserted

[MMEMediumInserted]

 
> I don't recognize the error message as the one you've listed and I just did 
> a quick check and had 6 distinct usb keys found/mounted on my system.
> 
> # qdbc -dmme "select msid,mountpath from mediastores"
# qdbc -d mme "select msid,mountpath from mediastores"
Rows: 8  Cols: 2
Names:  +msid+mountpath+
00000:  |1|/fs/ipod0|
00001:  |2|/fs/usb1|
00002:  |3|/fs/usb2|
00003:  |4||
00004:  |5|/fs/pfs0|
00005:  |6|/fs/pfs1|
00006:  |7|/fs/ipod1|
00007:  |8|/fs/usb0|

Re: Error "Maximum allowed filesystems with MME reached"  
> "Maximum allowed filesystems with MME reached!"

Based on the mcd.cfg you posted, I suspect this is your software doing this, not QNX software.

> I can clearly see the 4th device being mounted.
> 
> /dev/umass/usb07500t12.2 on /fs/usb2 type dos (fat32)
> /dev/umass/usb07500t12.1 on /fs/usb1 type dos (fat32)
> /dev/umass/usb07500t12 on /fs/usb0 type dos (fat32)

> /dev/umass/usb00600t11 on /mnt/umass00600t11 type dos (fat32)
> /dev/umass/usb07500t12.2 on /mnt/umass07500t12.2 type dos (fat32)
> /dev/umass/usb07500t12.1 on /mnt/umass07500t12.1 type dos (fat32)
> /dev/umass/usb07500t12 on /mnt/umass07500t12 type dos (fat32)

Looks like the media launcher is mounting all of the devices, but some other piece of software (i.e. the one I suspect 
isn't QNX software) seems be creating symlinks from /mnt/umass* to /fs/usb*. However, for some reason it isn't creating 
the fourth symlink, only 3. I think you should track down which software is responsible for doing this and start the 
investigation there.

Regards,
Gilles
 
Re: Error "Maximum allowed filesystems with MME reached"  
You are right, it is our code which is doing the limiting. Problem fixed now. 
Thanks!