[oe] Anstrom boot hang with MACHINE=i686-generic and?DISTRO=anstrom-2010.x

Denys Dmytriyenko denis at denix.org
Wed Nov 9 01:28:23 UTC 2011


On Tue, Nov 08, 2011 at 11:19:45PM +0000, Greg Kogut wrote:
> Greg Kogut <gkogut <at> yahoo.com> writes:
> 
> > 
> > I've tried both console-image and x11-image. 
> 
> 
> Edit:
> 
> I was able to to boot fully after appending "-o rw" to the "root"
> kernel parameter.
> 
> I suspect the issue was that the read-only mount was not allowing
> udev to correctly populate /dev with the tty devices passed to 
> getty, and getty was flummoxed.
> 
> So I'm amending my question:  Help a n00b -what's the standard
> practice with respect to maintaining an embedded-safe read-only
> rootfs while allowing udev to do its thang?   Separate partition
> for /dev? 

Actually, /dev is usually a separate partition already, when managed by devfs, 
udev or mdev. Unless you manage /dev manually with static devnodes, which is 
not the case for you, as you mentioned udev... Check your /etc/fstab or 
mount/mtab to see how /dev is mounted - in most cases should be RAM-based 
tmpfs handled by udev. Also, you may want to disable devcache by editing 
/etc/default/udev and commenting the DEVCACHE variable.

-- 
Denys




More information about the Openembedded-devel mailing list