# Legato framework stopped

**URL:** <https://forum.legato.io/t/legato-framework-stopped/4889>\
**Category:** Legato Application Framework\
**Created:** [December 3, 2019, 11:18am UTC](https://forum.legato.io/t/legato-framework-stopped/4889 "2019-12-03T11:18:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [December 3, 2019, 11:18am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/1 "2019-12-03T11:18:47Z")

</div>

Hi there ,  
I came across a strange behavior where in the legato framework has stopped and if i try starting it using “ **legato start** ” command i have the below response

**root@swi-mdm9x28-wp:~# legato start**  
**Starting Legato…**  
**tee:/dev/console: No such device**  
**tee:/dev/console: No such device**  
**tee:/dev/console: No such device**  
**root@swi-mdm9x28-wp:~#**

**root@swi-mdm9x28-wp:~# legato status**  
**Systems installed:**  
**1 [good]**  **← current**  
**Legato framework is NOT running.**

Below is the memory availability details

**root@swi-mdm9x28-wp:~# df -h**  
**Filesystem Size Used Available Use% Mounted on**  
**devtmpfs 256.0K 4.0K 252.0K 2% /dev**  
**/dev/mapper/rt 25.4M 25.4M 0 100% /**  
**mdev 256.0K 4.0K 252.0K 2% /dev**  
**tmpfs 76.3M 0 76.3M 0% /dev/shm**  
**tmpfs 76.3M 0 76.3M 0% /run**  
**tmpfs 76.3M 36.0K 76.3M 0% /var**  
**tmpfs 76.3M 32.0K 76.3M 0% /tmp**  
**mdev 256.0K 4.0K 252.0K 2% /dev**  
**tmpfs 76.3M 0 76.3M 0% /dev/shm**  
**tmpfs 76.3M 0 76.3M 0% /run**  
**tmpfs 76.3M 36.0K 76.3M 0% /var**  
**tmpfs 76.3M 32.0K 76.3M 0% /tmp**  
**/dev/ubi3\_0 104.5M 104.5M 0 100% /mnt/flash**  
**/dev/ubiblock2\_0 5.8M 5.8M 0 100% /mnt/legato**  
**/dev/ubi4\_0 8.7M 84.0K 8.1M 1% /mnt/userrw**  
**overlay 104.5M 104.5M 0 100% /etc**  
**overlay 104.5M 104.5M 0 100% /data**  
**overlay 104.5M 104.5M 0 100% /lib/firmware**  
**/dev/ubi3\_0 104.5M 104.5M 0 100% /home**  
**/dev/mmcblk0p1 7.3G 4.0K 7.3G 0% /data/emmc**  
**/dev/ubiblock1\_0 24.6M 24.6M 0 100% /firmware**  
**/dev/ubi3\_0 104.5M 104.5M 0 100% /legato**  
**tmpfs 76.3M 32.0K 76.3M 0% /etc/ld.so.conf**  
**tmpfs 76.3M 32.0K 76.3M 0% /etc/ld.so.cache**  
**tmpfs 76.3M 32.0K 76.3M 0% /etc/hosts**  
**tmpfs 76.3M 32.0K 76.3M 0% /etc/resolv.conf**

It could be great if somebody gives me some pointers to investigate this issue .

Thanks & Regards

- Akshay

---

<div class="post-metadata">

**Author:** ![JordanZhao](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jordanzhao/32/789_2.png) [@JordanZhao](https://forum.legato.io/u/JordanZhao)\
**Post date:** [December 5, 2019, 4:17am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/2 "2019-12-05T04:17:44Z")

</div>

Which version are your testing? Original version or customized version?

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [December 11, 2019, 6:45am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/3 "2019-12-11T06:45:28Z")

</div>

Hi @JordanZhao Thanks for the response .  
Its a customized version and I was able to find out the issue i.e the data was written in the location named /data/emmc2(utilizing internal memory) instead of /data/emmc (EMMC) .  
But it was also observed that /data/emmc2 had files with size greater than 104 MB . Do you have any pointers on this ?

---

<div class="post-metadata">

**Author:** ![JordanZhao](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jordanzhao/32/789_2.png) [@JordanZhao](https://forum.legato.io/u/JordanZhao)\
**Post date:** [December 11, 2019, 7:08am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/4 "2019-12-11T07:08:28Z")

</div>

I saw the similar case reported in SF ticket, right?  
If yes, we will continue to follow up there.

---

<div class="post-metadata">

**Author:** ![akshaysk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/akshaysk/32/1212_2.png) [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Post date:** [December 11, 2019, 7:09am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/5 "2019-12-11T07:09:55Z")

</div>

Yes . A SF ticket is raised on the same

---

<div class="post-metadata">

**Author:** ![JordanZhao](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jordanzhao/32/789_2.png) [@JordanZhao](https://forum.legato.io/u/JordanZhao)\
**Post date:** [January 20, 2020, 1:36am UTC](https://forum.legato.io/t/legato-framework-stopped/4889/6 "2020-01-20T01:36:57Z")

</div>

Question:  
The eMMC2 partition is not mounted to physical eMMC. As per your suggestion below customer is mounting the eMMC folder with the physical eMMC.

Also the mounting takes place from the /data directory in this case as the eMMC2 folder is not mounted to physical eMMC and is just a directory in the /data. It is seen that the size is around 350MB whereas the flash size of the WP7608 module is around 256MB.

Would like to understand how the file size greater than the memory size is created in the module? This stops the entire legato framework which can be restarted on deleting the eMMC2 directory.

Answer:  
WP7 use UBIFS which support on-the-fly compression so it is possible the total written data is bigger that the actual flash space.  
But the compression rate cannot guarantee as depends on the actual data written, i.e. more effective on text and repeat data.
