rsalveti@evasys:/tmp/snappy/new/stable$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=8159036k,nr_inodes=2039759,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1635104k,mode=755) /dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) /dev/mapper/sda2_crypt on /home type ext4 (rw,relatime,data=ordered) cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755) lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1635104k,mode=700,uid=1000,gid=1000) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) rsalveti@evasys:/tmp/snappy/new/stable$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 190M 0 part ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 465.6G 0 part ├─vgroup-root 252:0 0 46.6G 0 lvm ├─vgroup-swap 252:1 0 1.9G 0 lvm └─vgroup-home 252:2 0 417.2G 0 lvm sdb 8:16 0 223.6G 0 disk ├─sdb1 8:17 0 32.6G 0 part / └─sdb2 8:18 0 191G 0 part └─sda2_crypt 252:3 0 191G 0 crypt /home rsalveti@evasys:/tmp/snappy/new/stable$ sudo ubuntu-device-flash core 15.04 --channel stable --oem beagleblack --install=hello-world --enable-ssh --output ubuntu-15.04-snappy-armhf-bbb.img Determining oem configuration Starting download of beagleblack 280.75 KB / 280.75 KB [=================================================================================================================================================================================================================================>_] 100.00 % 150.76 KB/s Done Fetching information from server... Downloading and setting up... Installing beagleblack Starting download of beagleblack 280.75 KB / 280.75 KB [=================================================================================================================================================================================================================================>_] 100.00 % 133.42 KB/s Done Installing hello-world Starting download of hello-world 21.55 KB / 21.55 KB [======================================================================================================================================================================================================================================] 100.00 % 39.23 KB/s Done panic: unable to unmount dir for image: umount: /tmp/diskimage440955250/system: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) goroutine 1 [running, locked to thread]: launchpad.net/goget-ubuntu-touch/diskimage.(*CoreUBootImage).Unmount(0xc208279760, 0x0, 0x0) /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/diskimage/core_uboot.go:115 +0x67d main.func·006() /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:341 +0x120 main.(*CoreCmd).setup(0xcf0920, 0x7ff84722ce90, 0xc208279760, 0xc2082a0720, 0x3, 0x0, 0x0) /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:405 +0x1753 main.func·004(0x0, 0x0) /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:280 +0x171 main.(*CoreCmd).Execute(0xcf0920, 0xc20800a0b0, 0x1, 0xb, 0x0, 0x0) /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:285 +0x20d9 github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc2080566c0, 0xc20800a000, 0xb, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0) /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/github.com/jessevdk/go-flags/parser.go:241 +0x8b8 main.main() /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/main.go:62 +0x3ac goroutine 5 [syscall]: os/signal.loop() /usr/lib/go/src/os/signal/signal_unix.go:21 +0x1f created by os/signal.init·1 /usr/lib/go/src/os/signal/signal_unix.go:27 +0x35 goroutine 6 [chan receive]: launchpad.net/snappy/partition.func·005() /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/snappy/partition/partition.go:270 +0x52 created by launchpad.net/snappy/partition.setupSignalHandler /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/snappy/partition/partition.go:275 +0x21e goroutine 97 [IO wait]: net.(*pollDesc).Wait(0xc20f0fd950, 0x72, 0x0, 0x0) /usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47 net.(*pollDesc).WaitRead(0xc20f0fd950, 0x0, 0x0) /usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43 net.(*netFD).Read(0xc20f0fd8f0, 0xc20f13c000, 0x2000, 0x2000, 0x0, 0x7ff847224c40, 0xc20f2d2718) /usr/lib/go/src/net/fd_unix.go:242 +0x40f net.(*conn).Read(0xc208036e98, 0xc20f13c000, 0x2000, 0x2000, 0x0, 0x0, 0x0) /usr/lib/go/src/net/net.go:121 +0xdc crypto/tls.(*block).readFromUntil(0xc20803de90, 0x7ff847226298, 0xc208036e98, 0x5, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:454 +0xe6 crypto/tls.(*Conn).readRecord(0xc208117080, 0x17, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:539 +0x2da crypto/tls.(*Conn).Read(0xc208117080, 0xc20f123000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:904 +0x166 net/http.noteEOFReader.Read(0x7ff84722bd58, 0xc208117080, 0xc20f0fe948, 0xc20f123000, 0x1000, 0x1000, 0x7dd8a0, 0x0, 0x0) /usr/lib/go/src/net/http/transport.go:1270 +0x6e net/http.(*noteEOFReader).Read(0xc2081679e0, 0xc20f123000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0) :125 +0xd4 bufio.(*Reader).fill(0xc2082c57a0) /usr/lib/go/src/bufio/bufio.go:97 +0x1ce bufio.(*Reader).Peek(0xc2082c57a0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go/src/bufio/bufio.go:132 +0xf0 net/http.(*persistConn).readLoop(0xc20f0fe8f0) /usr/lib/go/src/net/http/transport.go:842 +0xa4 created by net/http.(*Transport).dialConn /usr/lib/go/src/net/http/transport.go:660 +0xc9f goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1 goroutine 58 [chan receive]: main.func·003() /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:261 +0x1e8 created by main.(*CoreCmd).Execute /build/buildd/goget-ubuntu-touch-0.23/obj-x86_64-linux-gnu/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash/core.go:264 +0x2015 goroutine 84 [select]: net/http.(*persistConn).writeLoop(0xc20800bef0) /usr/lib/go/src/net/http/transport.go:945 +0x41d created by net/http.(*Transport).dialConn /usr/lib/go/src/net/http/transport.go:661 +0xcbc goroutine 98 [select]: net/http.(*persistConn).writeLoop(0xc20f0fe8f0) /usr/lib/go/src/net/http/transport.go:945 +0x41d created by net/http.(*Transport).dialConn /usr/lib/go/src/net/http/transport.go:661 +0xcbc goroutine 83 [IO wait]: net.(*pollDesc).Wait(0xc208293b80, 0x72, 0x0, 0x0) /usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47 net.(*pollDesc).WaitRead(0xc208293b80, 0x0, 0x0) /usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43 net.(*netFD).Read(0xc208293b20, 0xc20f237000, 0x1000, 0x1000, 0x0, 0x7ff847224c40, 0xc20f21f848) /usr/lib/go/src/net/fd_unix.go:242 +0x40f net.(*conn).Read(0xc208036b10, 0xc20f237000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/go/src/net/net.go:121 +0xdc crypto/tls.(*block).readFromUntil(0xc208154780, 0x7ff847226298, 0xc208036b10, 0x5, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:454 +0xe6 crypto/tls.(*Conn).readRecord(0xc208116dc0, 0x17, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:539 +0x2da crypto/tls.(*Conn).Read(0xc208116dc0, 0xc20f0e9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/go/src/crypto/tls/conn.go:904 +0x166 net/http.noteEOFReader.Read(0x7ff84722bd58, 0xc208116dc0, 0xc20800bf48, 0xc20f0e9000, 0x1000, 0x1000, 0x7dd8a0, 0x0, 0x0) /usr/lib/go/src/net/http/transport.go:1270 +0x6e net/http.(*noteEOFReader).Read(0xc2081cb7c0, 0xc20f0e9000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0) :125 +0xd4 bufio.(*Reader).fill(0xc2082c4720) /usr/lib/go/src/bufio/bufio.go:97 +0x1ce bufio.(*Reader).Peek(0xc2082c4720, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go/src/bufio/bufio.go:132 +0xf0 net/http.(*persistConn).readLoop(0xc20800bef0) /usr/lib/go/src/net/http/transport.go:842 +0xa4 created by net/http.(*Transport).dialConn /usr/lib/go/src/net/http/transport.go:660 +0xc9f rsalveti@evasys:/tmp/snappy/new/stable$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=8159036k,nr_inodes=2039759,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1635104k,mode=755) /dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) /dev/mapper/sda2_crypt on /home type ext4 (rw,relatime,data=ordered) cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755) lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1635104k,mode=700,uid=1000,gid=1000) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) /dev/mapper/loop0p2 on /tmp/diskimage440955250/system type ext4 (rw,relatime,data=ordered) /dev/mapper/loop0p3 on /tmp/diskimage440955250/system-b type ext4 (rw,relatime,data=ordered) /dev/mapper/loop0p4 on /tmp/diskimage440955250/writable type ext4 (rw,relatime,data=ordered) rsalveti@evasys:/tmp/snappy/new/stable$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 190M 0 part ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 465.6G 0 part ├─vgroup-root 252:0 0 46.6G 0 lvm ├─vgroup-swap 252:1 0 1.9G 0 lvm └─vgroup-home 252:2 0 417.2G 0 lvm sdb 8:16 0 223.6G 0 disk ├─sdb1 8:17 0 32.6G 0 part / └─sdb2 8:18 0 191G 0 part └─sda2_crypt 252:3 0 191G 0 crypt /home loop0 7:0 0 3.6G 0 loop ├─loop0p2 252:5 0 1G 0 part /tmp/diskimage440955250/system ├─loop0p3 252:6 0 1G 0 part /tmp/diskimage440955250/system-b └─loop0p4 252:7 0 1.6G 0 part /tmp/diskimage440955250/writable