[oe] udev 171 caching working propely?

Tom Rini tom_rini at mentor.com
Mon Jun 20 22:47:57 UTC 2011


On 06/20/2011 02:16 PM, Andreas Mueller wrote:
> Dear OE-folks,
> 
> Working with lastest classic oe master and angstrom it seems udev caching is not 
> working as expected. On *every* boot I get:
> 
>> Remounting root file system...
>> Caching udev devnodes
>> Populating dev cachemv: can't rename '/dev/shm/uname': No such file or directory
> 
> I don't know why this change came in but there was a change of storage location 
> in Tom's commit few days ago [1]. To me it seems that
> 
> 1. The files created by udev (init) get lost at remount so udev-cache (cache) is 
> unable to find
> 2. Since this error occures not only at first boot the recipe's 
> pkg_postinst_udev_append() seems never being executed. To check I added a simple 
> echo 'foo text' 
> in this function but 'foo text' is not found in log of first boot.
> 
> Suggestions welcome

Did udev change behaviors at some point then?  I've been using an older
udev and didn't run into that problem.  I changed from /tmp to /dev/shm
since we don't know that /tmp is writable at that point so we were
instead getting errors there.  I wonder if we should just switch to
re-creating the contents for that step?

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list