[Dragonboard410c] Ubuntu OS Build Issues, and Support

Sunny Bhayani sunny.bhayani at einfochips.com
Fri Mar 17 12:18:52 UTC 2017

Hi John,

Thanks you for your reply.

> I don't understand what's going on with your system:
> * snapd is running out of memory. snapd should be using about 20MB of
> resident memory. How much was it trying to use when it ran out? How
> much is available? What does dmesg say about this crash?
We are not able to reproduce this error again. If we get this error,
we will post details for this.

While doing "snap install", it gives error. But doing "snap login" again,
from the command prompt (shell), we are able to install the application
via "snap install". But this method also is not 100% successful. Sometimes
we get error.

Here is the dmesg logs for the error case: http://pastebin.com/rAa8Zvfb
The above log has two trial logs. In the First trial, we have prepared the
SDCard and have setup the first boot console config. In the Second trial,
we did "snap login".

We obsereved that whenever we do a "snap install", irrespective of it
being successful or fail, we get the below message repeatedly and the
board reboots automatically after 15-20 minutes:

    "Broadcast message from root at localhost.localdomain (Thu 2017-03-16 12:31:13 UTC):

    reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'
    The system is going down for reboot at Thu 2017-03-16 12:39:13 UTC!"

This is how it looks like when board is automatically reboot:

After the reboot is done (which takes around 5 minutes), thie above reboot
message does not come.

It would be great, if you can provide any comments.

> * snapd on a core system that doesn't list any snaps makes no sense at
> all. It needs to have at least three snaps at first boot: core,
> kernel, and gadget, otherwise you wouldn't get there.

Yes snapd on a core system does not list any snaps: http://pastebin.com/rAa8Zvfb

> How are you building the image that you are booting?

Here are the steps to building Ubuntu-Core Image: http://pastebin.com/0x52ATXi

> What's in /var/lib/snapd/state.json? (don't just pastebin that file if you have
> credentials in it!) What's in /snap? What's in /var/lib/snapd/seed/?
> And in seed.yaml? What's in /var/lib/snapd/snaps? What's in
> /etc/os-release?

Here we listed various snaps directory as you asked:

The state.json file is at: http://pastebin.com/0KyvECtz

It would be more helpful to us if you provide some pointers.

Thank you.
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************

More information about the Snapcraft mailing list