"No space left on device" installing Debain on a Beaglebone Black

1,779 views
Skip to first unread message

Dave Boechler

unread,
Jul 21, 2016, 7:42:54 PM7/21/16
to BeagleBoard
I connected a serial console to the onboard uart because I kept getting the dreaded all flashing leds thing on a fresh install of the latest debian image.

It appears the Black is running out of space on /dev/mccblk1p1 with the following error:

Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
[   52.056816] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
rsync: / -> /tmp/rootfs/
rsync: write failed on "/tmp/rootfs/usr/lib/ruby/vendor_ruby/sequel/adapters/db2.rb": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(393) [receiver=3.1.1]
writing to [/dev/mmcblk1] failed...
-----------------------------
/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh: line 59:   171 Terminated              cylon_leds

Whats the issue here?
Thanks
Dave

Robert Nelson

unread,
Jul 21, 2016, 8:05:01 PM7/21/16
to Beagle Board, da...@boechler.net
Are you flashing a "4GB" image onto a "2GB" device?

Regards,

--
Robert Nelson
https://rcn-ee.com/

Dave Boechler

unread,
Jul 21, 2016, 8:21:35 PM7/21/16
to BeagleBoard, da...@boechler.net
Do you have to select the console version or go to an older image. " Debian 8.3 2016-02-11 2GB SD console "
The only others seem to be older versions.

Dave

Robert Nelson

unread,
Jul 21, 2016, 8:40:20 PM7/21/16
to Beagle Board, da...@boechler.net
On Thu, Jul 21, 2016 at 7:21 PM, Dave Boechler <da...@boechler.net> wrote:
> Do you have to select the console version or go to an older image. " Debian
> 8.3 2016-02-11 2GB SD console "
> The only others seem to be older versions.

There's a 2GB lxqt image here:

https://rcn-ee.net/rootfs/bb.org/testing/2016-07-18/

Regards,

Dave Boechler

unread,
Jul 21, 2016, 11:09:35 PM7/21/16
to BeagleBoard, da...@boechler.net
Tried  bone-debian-8.5-lxqt-2gb-armhf-2016-07-18-2gb.img.xz and it's been stuck on the Cylon Leds for over and hour with the following being the last message on the console:

sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
mkfs.ext4  /dev/mmcblk1p1 -L rootfs
mke2fs 1.42.12 (29-Aug-2014)
[   41.059058] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[   41.067332] pgd = c0004000
[   41.070081] [00000008] *pgd=00000000
[   41.073716] Internal error: Oops: 17 [#1] SMP THUMB2
[   41.078715] Modules linked in:
[   41.081804] CPU: 0 PID: 127 Comm: mmcqd/1 Not tainted 4.4.15-ti-r36 #1
[   41.088372] Hardware name: Generic AM33XX (Flattened Device Tree)
[   41.094504] task: dc121a00 ti: dc01e000 task.ti: dc01e000
[   41.099954] PC is at set_data_timeout+0x8e/0xf0
[   41.104517] LR is at set_data_timeout+0x4b/0xf0
[   41.109079] pc : [<c05a74fa>]    lr : [<c05a74b7>]    psr: 20070033
[   41.109079] sp : dc01fd78  ip : 00000000  fp : fa1d8100
[   41.120634] r10: dcf4b340  r9 : 00000000  r8 : dcf4b000
[   41.125893] r7 : ebc20000  r6 : 000c0087  r5 : 00000000  r4 : 000f0000
[   41.132460] r3 : 00000004  r2 : 0000000f  r1 : 00000001  r0 : bc9b3330
[   41.139030] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   41.146394] Control: 50c5387d  Table: 9cff0019  DAC: 00000051
[   41.152178] Process mmcqd/1 (pid: 127, stack limit = 0xdc01e218)
[   41.158222] Stack: (0xdc01fd78 to 0xdc020000)
[   41.162610] fd60:                                                       ebc20000 dcf4b000
[   41.170852] fd80: 05f5c800 dc01fe5c dc01fe4c c0b59a88 c0b59a88 c0c352d0 00000000 c05a8c51
[   41.179093] fda0: dc01fe5c dc01fe60 c0b59a88 dcf4b340 dc01e000 00000000 dc01fde8 dc8ba60f
[   41.187333] fdc0: dc01fe5c dc01fe60 c0b59a88 c06dd347 00000002 dc01fe5c dc01fe60 dc8ba60f
[   41.195574] fde0: 00000001 dc01fe4c dcf4b000 dc01fe5c 00000000 00000001 c0b59a88 c0c352d0
[   41.203815] fe00: 00000001 c0596e37 00000000 c0c352d0 dc01fe5c 00000000 dc01fe4c dcf4b000
[   41.212056] fe20: dc01fe5c 00000000 00000001 c0b59a88 00000000 c0596f83 dc01fe90 c0b59a88
[   41.220297] fe40: dcf4b000 c0597421 dc08dc00 00000000 dc01fe90 00000000 00000000 00000000
[   41.228538] fe60: 00000000 dc01fe64 dc01fe64 c0596f39 00000000 dc8ba60f 00100000 dcfdd000
[   41.236779] fe80: 00000020 010ffe00 00100000 c059819f 00000026 00000001 00000000 00000000
[   41.245020] fea0: 00000000 00000000 0000049d 00000000 00000000 0000c800 00000000 00000000
[   41.253262] fec0: dc01fe4c dc8ba60f 8f3b4800 dcfdd000 dc0b1c08 dc1a7a50 24590081 dcfdd000
[   41.261502] fee0: dc0b1c00 00008000 00000001 c05a3f7b dc1a7a50 00000000 00000800 00000000
[   41.269743] ff00: 24590000 00000001 dc0b1c10 dc0b1c08 dc110568 dc01e000 00000000 24590081
[   41.277984] ff20: 00000001 dc0b1c10 c0b59a88 c05a525b dd8efccc 00000000 dc01e000 dc8ba60f
[   41.286226] ff40: dc01ff58 00000000 dcff5180 dc0b1c08 c05a51bd 00000000 00000000 00000000
[   41.294467] ff60: 00000000 c004840b 00000000 00000800 dc0b1c08 00000000 00000000 dc01ff7c
[   41.302708] ff80: dc01ff7c 00000000 00000000 dc01ff8c dc01ff8c dc8ba60f 00000000 dcff5180
[   41.310948] ffa0: c004835d 00000000 00000000 c000ed15 00000000 00000000 00000000 00000000
[   41.319189] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   41.327430] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   41.335688] [<c05a74fa>] (set_data_timeout) from [<c05a8c51>] (omap_hsmmc_request+0x475/0x4a8)
[   41.344381] [<c05a8c51>] (omap_hsmmc_request) from [<c0596e37>] (mmc_start_request+0xcb/0x1b0)
[   41.353064] [<c0596e37>] (mmc_start_request) from [<c0596f83>] (__mmc_start_req+0x3f/0x50)
[   41.361396] [<c0596f83>] (__mmc_start_req) from [<c0597421>] (mmc_wait_for_cmd+0x59/0x84)
[   41.369640] [<c0597421>] (mmc_wait_for_cmd) from [<c059819f>] (mmc_do_erase+0xf3/0x280)
[   41.377708] [<c059819f>] (mmc_do_erase) from [<c05a3f7b>] (mmc_blk_issue_rq+0x31b/0x36c)
[   41.385863] [<c05a3f7b>] (mmc_blk_issue_rq) from [<c05a525b>] (mmc_queue_thread+0x9f/0x148)
[   41.394285] [<c05a525b>] (mmc_queue_thread) from [<c004840b>] (kthread+0xaf/0xc4)
[   41.401838] [<c004840b>] (kthread) from [<c000ed15>] (ret_from_fork+0x11/0x1c)
[   41.409123] Code: 2a0e ea4f 4402 d921 (f8d9) 3008
[   41.413995] ---[ end trace 724fa7e6e10a23cb ]---

I am using a bench power supply which is capable of 6 amps at 5v, but it's only drawing 350ma. So it can't be improper power. Nothing else except the serial console is connected.

Thoughts?

Dave Boechler

unread,
Jul 22, 2016, 7:13:19 AM7/22/16
to BeagleBoard, da...@boechler.net
FYI: I loaded Ubuntu and it worked fine. Using this image:

https://rcn-ee.com/rootfs/2016-06-09/flasher/BBB-eMMC-flasher-ubuntu-16.04-console-armhf-2016-06-09-2gb.img.xz

Think it could just be the way the init-eMMC-flasher-v3.sh is written. I guess I will go with that for now and keep an eye on Debian.

Thanks
Reply all
Reply to author
Forward
0 new messages