Return-Path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.pokylinux.org (Postfix) with ESMTP id 397EE4C801BF for ; Mon, 6 Jun 2011 04:16:09 -0500 (CDT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QTVul-0001E6-Jp for poky@pokylinux.org; Mon, 06 Jun 2011 11:16:03 +0200 Received: from 91-64-83-241-dynip.superkabel.de ([91.64.83.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jun 2011 11:16:03 +0200 Received: from holger by 91-64-83-241-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jun 2011 11:16:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: poky@pokylinux.org From: Holger Freyther Date: Mon, 6 Jun 2011 09:15:52 +0000 (UTC) Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 91.64.83.241 (Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Ubuntu/10.10 (2.30.6-1ubuntu5) Epiphany/2.30.6) Subject: udev/modutils issues with the system bringup X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 09:16:11 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I have experienced two issues that should exist for others as well. 1.) udevd not starting on second boot. The /etc/init.d/udev script attempts to detect the first/second boot by checking for /etc/dev.tar and then is executing the following: #!/bin/sh -e ... if [ -e /etc/dev.tar ]; then (cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp') not_first_boot=1 fi and somehow the "grep -v 'time stamp'" makes this whole expression evaluate to 1 which makes the script exit at this part. So I am not sure when/where/how this problem got introduced, if this is a change in the return value of grep.. (I am just lazy here right now) 2.) Chicken egg problem with firmware I have some kernel modules that require firmware but they should be loaded on start. So right now the modutils.sh script is executed before udev which means that firmware loading will be loaded before a) sysfs is mounted... b) udev will handle it.. my local workaround is to move the modutils.sh script after both sysfs and udev. holger