[oe] udev problems on angstrom-2008.1

Vasily Khoruzhick anarsoul at gmail.com
Tue Sep 29 06:11:15 UTC 2009


В сообщении от 29 сентября 2009 06:01:52 автор Denys Dmytriyenko написал:

> Been there, done that.
> Short answer - you have too many requested devnodes for udev to handle
>  within 32MB of RAM. If you absolutely need all the devices enabled in the
>  kernel (try disabling/reducing LEGACY_PTY), consider replacing udev with
>  mdev (or static devnodes). Or try moving udev's database from tmpfs into
>  another partition, maybe on flash.
> 
> Long answer - udev besides creating the actual devnodes also keeps its
> database in the same tmpfs filesystem. It consists of an internal directory
> structure with symlinks (a la sysfs) and is stored in /dev/.udev
> Keeping all that in tmpfs is not efficient, as it wastes inodes and
>  apparently inodes in tmpfs/ramfs are the size of a memory page (4KB). By
>  default tmpfs is limited to half the RAM, which in your case is 16MB. That
>  would allow roughly 4000 inodes. You definitely need more, because of the
>  above messages. Even if you fit all of them, using half of your available
>  RAM just for udev is a total waste. So, consider suggestions above.

Oh, older versions of udev used to work here... I didn't expect it to take so 
much RAM :)

Anyway, thanks for help.

Regards
Vasily 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090929/47aa8428/attachment-0002.sig>


More information about the Openembedded-devel mailing list