Changeset 1826 for branches/2.2.5


Ignore:
Timestamp:
Dec 1, 2007, 6:19:28 PM (12 years ago)
Author:
bruno
Message:

Wait more around the USB CD emulated by iLO as it takes up to 5 seconds to come up

Location:
branches/2.2.5/mindi/rootfs/sbin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/rootfs/sbin/find-and-mount-cdrom

    r1758 r1826  
    4141    fi
    4242        LogIt "CD-ROM found at $device"
    43     mount /mnt/cdrom
     43        mount /mnt/cdrom
    4444        if [ "$?" -ne "0" ] ; then
    4545            LogIt "Cannot mount /dev/cdrom (type $format) (dev=$device)"
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1825 r1826  
    157157HandleCDROMorFloppies() {
    158158    # Just in case we have an iLO ensure we will map it correctly
     159    echo "Activating a potential USB Storage device"
    159160    if [ -e "/tmp/USE-UDEV" ] ; then
    160161        if [ -f usb-storage.ko ] || [ -f usb-storage.ko.gz ]; then
     
    166167        fi
    167168    fi
     169    for i in 1 2 3 4 5 6 7 8 9 10 ; do
     170        sleep 1
     171        echo -en "."
     172    done
    168173
    169174    find-and-mount-cdrom
     
    387392[ -d /proc/bus/usb ] && ! grep -q /proc/bus/usb /proc/mounts && mount -t usbfs none /proc/bus/usb
    388393if [ -e "/tmp/USE-UDEV" ] ; then
     394    if [ -f uhcd_hci.ko ] || [ -f uhcd_hci.ko.gz ]; then
     395        modprobe -q uhcd_hci
     396    fi
    389397    if [ -f usbhid.ko ] || [ -f usbhid.ko.gz ]; then
    390398        modprobe -q usbhid
    391     fi
    392     if [ -f uhcd_hci.ko ] || [ -f uhcd_hci.ko.gz ]; then
    393         modprobe -q uhcd_hci
    394399    fi
    395400else
     
    610615rm -f /foozero
    611616
     617echo "Activating a potential USB keyboard/mouse"
    612618StartUSBKbd
    613619
Note: See TracChangeset for help on using the changeset viewer.