Changeset 2442


Ignore:
Timestamp:
Sep 29, 2009, 8:02:36 PM (10 years ago)
Author:
bruno
Message:
  • Improves udev timeout handling
Location:
branches/2.2.9/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2440 r2442  
    1919KERVER=$KERVERRUN
    2020
    21 ADDITIONAL_BOOT_PARAMS="devfs=nomount noresume selinux=0 barrier=off"
     21# In case of problem with udev you can try to add udevdebug
     22ADDITIONAL_BOOT_PARAMS="devfs=nomount noresume selinux=0 barrier=off udevtimeout=10"
    2223
    2324MINDI_REV=PBREV
  • branches/2.2.9/mindi/rootfs/sbin/init

    r2437 r2442  
    307307        /sbin/udevtrigger
    308308    fi
     309    echo "Waiting for udev to discover..."
    309310    create_dev_makedev
    310311    # Newer version use udevadm for that
    311312    if [ -x /sbin/udevsettle ]; then
    312         /sbin/udevsettle
     313        /sbin/udevsettle --timeout=10
    313314    elif [ -x /sbin/udevadm ]; then
    314315        /sbin/udevadm trigger
    315         /sbin/udevadm settle --timeout=10 &
    316         echo "Waiting for udev to discover..."
    317         sleep 10
     316        /sbin/udevadm settle --timeout=10
    318317    fi
    319318    # It seems we need to have more static devs on some distro were
Note: See TracChangeset for help on using the changeset viewer.