From: Denys Dmytriyenko <denis@denix.org>
To: Russell Senior <russell@personaltelco.net>
Cc: meta-ti@yoctoproject.org
Subject: Re: [Angstrom-devel] Can't build cloud9 image
Date: Wed, 28 Mar 2012 21:22:37 -0400 [thread overview]
Message-ID: <20120329012237.GE32193@denix.org> (raw)
In-Reply-To: <86lin21gfi.fsf@coulee.tdb.com>
On Thu, Mar 15, 2012 at 12:17:37AM -0700, Russell Senior wrote:
> > Then you can't build this image.
>
> FWIW, I added the /etc/fstab entry provide (for /dev/loop2) but I
> still get this at the end (from build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image-1.0-r0/temp/log.do_rootfs
>
> [...]
> ./media/mmc1/
> ./media/union/
> ./media/realroot/
> loop: can't delete device /dev/loop1: Permission denied
> loop: can't delete device /dev/loop2: Permission denied
> loop: can't delete device /dev/loop3: Permission denied
> /dev/loop1: Permission denied
Well, mine gets further (although it's not my main focus now):
| ./bin/tinylogin
| ./boot/
| ./boot/uImage-3.2.11
| ./boot/uImage
| ./boot/uEnv.txt
| losetup: /dev/loop1: detach failed: No such device or address
| losetup: /dev/loop3: detach failed: No such device or address
| 1024+0 records in
| 1024+0 records out
| 1048576 bytes (1.0 MB) copied, 0.00349814 s, 300 MB/s
| Disk /dev/loop1 doesn't contain a valid partition table
| Checking that no-one is using this disk right now ...
| BLKRRPART: Invalid argument
| OK
| sfdisk: Disk /dev/loop1: cannot get geometry
|
|
| Disk /dev/loop1: 444 cylinders, 255 heads, 63 sectors/track
|
| sfdisk: ERROR: sector 0 does not have an msdos signature
| sfdisk: /dev/loop1: unrecognized partition table type
|
| sfdisk: No partitions found
|
| Old situation:
| New situation:
| Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
|
| Device Boot Start End #cyls #blocks Id System
| /dev/loop1p1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
| /dev/loop1p2 9 443 435 3494137+ 83 Linux
| /dev/loop1p3 0 - 0 0 0 Empty
| /dev/loop1p4 0 - 0 0 0 Empty
| Successfully wrote the new partition table
|
| Re-reading the partition table ...
| BLKRRPART: Invalid argument
|
| 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).)
| Warning: block count mismatch: found 3566398 but assuming 72261.
| mkfs.vfat 3.0.12 (29 Oct 2011)
| Loop device does not match a floppy size, using default hd params
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| mount: /dev/loop0: can't read superblock
NOTE: package cloud9-image-1.0-r0: task do_rootfs: Failed
> > Simply put: because the tools suck. A this point in time there is no
> > tool (or tools plural) that allows creating 2 partitions (vfat and
> > extX) and concatenating them into a valid image with an MBR. The
> > biggest lack is something like 'genfatfs', mcopy is a step in the
> > right direction but is too limited to work in this scenario.
> > And genext2fs will likely OOM on a lot of buildmachines.
FWIW, there's a new patchset published in OE-Core ML to address memory issues
of genext2fs...
> Are you familiar with makebootfat?
>
> http://linux.die.net/man/1/makebootfat
Interesting... I think I looked at it before, just need time to try to
integrate it, time permitting.
--
Denys
next prev parent reply other threads:[~2012-03-29 1:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 7:17 [Angstrom-devel] Can't build cloud9 image Russell Senior
2012-03-29 1:22 ` Denys Dmytriyenko [this message]
2012-04-02 4:57 ` Russell Senior
[not found] <4F5213E8.50108@mlbassoc.com>
[not found] ` <89B59491-7BDB-4A5D-BDC0-D4E3863E417B@dominion.thruhere.net>
[not found] ` <4F5367ED.1060903@mlbassoc.com>
2012-03-04 13:09 ` Koen Kooi
2012-03-04 13:17 ` Gary Thomas
2012-03-04 13:55 ` Richard Purdie
2012-03-04 14:10 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120329012237.GE32193@denix.org \
--to=denis@denix.org \
--cc=meta-ti@yoctoproject.org \
--cc=russell@personaltelco.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.