[Dragonboard410c] Ubuntu OS Build Issues, and Support

John Lenton john.lenton at canonical.com
Thu Mar 16 11:02:16 UTC 2017

Hi Sunny,

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?
* 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. How are you
building the image that you are booting? 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

On 16 March 2017 at 07:17, Sunny Bhayani <sunny.bhayani at einfochips.com> wrote:
> Hi John,
> Thank you for the finding.
>> note that in that log, snapd isn't running because
>> snapd[2217]: fatal error: runtime: out of memory
> But there is no process invoked explicitly from our end.
> So is there something that we can check for this error ?
> @paolo.pisati and @ogra:
> We downloaded the xenial kernel that is used for Dragonboard410c prebuilt
> binaries as you mentioned earlier:
> git clone
> git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
> We added dtsi and firmware options in snapcraft.yaml.
> Here is our snapcraft.yaml: http://pastebin.com/QBKLGkfu
> We are getting wifi interface in the first boot console, and all the modules
> are automatically loaded (insmod) when rootfs is mounted.
> It would be great if you can address the below issues / queries
> (This would really get us going ahead):
> 1. "snap list" does not show any snaps.
> However, we have observed that there are times when "snap list" shows
> just core.snap. But this is very rare.
> 2. "snap install hello-world" gives this error: http://pastebin.com/HV4fWzGk
> 3. When we build the linaro linux kernel, once we generate the uImage,
> we build the boot.img which has the DTB + uImage + cmdline args + initrd.
> So if we want to change the cmdline arguments to kernel in Ubuntu-Core,
> then how can we change it from snapcraft.yaml ?
> Awaiting your reply.
> Thanks & Regards,
> Sunny
> *************************************************************************************************************************************************************
> 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