Manually force early load of ehcd_hci to fix usb 2.0 detection.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 8 Jan 2010 01:05:00 +0000 (02:05 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 8 Jan 2010 01:08:58 +0000 (02:08 +0100)
config/rootfiles/core/34/filelists/mkinitcpio [new symlink]
config/rootfiles/core/34/update.sh
lfs/mkinitcpio
src/install+setup/install/main.c

diff --git a/config/rootfiles/core/34/filelists/mkinitcpio b/config/rootfiles/core/34/filelists/mkinitcpio
new file mode 120000 (symlink)
index 0000000..f9b3fde
--- /dev/null
@@ -0,0 +1 @@
+../../../common/mkinitcpio
\ No newline at end of file
index 7e9b836..31f36c4 100644 (file)
@@ -17,7 +17,7 @@
 # along with IPFire; if not, write to the Free Software                    #
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
 #                                                                          #
-# Copyright (C) 2009 IPFire-Team <info@ipfire.org>.                        #
+# Copyright (C) 2010 IPFire-Team <info@ipfire.org>.                        #
 #                                                                          #
 ############################################################################
 #
@@ -94,7 +94,7 @@ fi
 #
 echo
 echo Create new Initramdisks ...
-cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
+cp -f /etc/mkinitcpio.conf /etc/mkinitcpio.conf.org
 sed -i "s| autodetect | |g" /etc/mkinitcpio.conf
 mkinitcpio -k $KVER-ipfire -g /boot/ipfirerd-$KVER-emergency.img
 cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
index c7dc4b6..6365894 100644 (file)
@@ -74,7 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp $(DIR_SRC)/config/mkinitcpio/virtio /lib/initcpio/install/
        sed -i 's|^FILELIST=.*|FILELIST="$$(mktemp)"|g' /sbin/mkinitcpio
        sed -i 's|^HOOKS=.*|HOOKS="base udev autodetect ide usb scsi pata sata virtio filesystems"|g' /etc/mkinitcpio.conf
-       sed -i 's|^MODULES=.*|MODULES="reiser4 reiserfs ext3"|g' /etc/mkinitcpio.conf
+       sed -i 's|^MODULES=.*|MODULES="reiser4 reiserfs ext3 ehci_hcd"|g' /etc/mkinitcpio.conf
        sed -i 's|ide-cd|ide-cd ide-generic|g' /lib/initcpio/install/ide
 
        @rm -rf $(DIR_APP)
index 3e468d8..74f2974 100644 (file)
@@ -117,9 +117,9 @@ int main(int argc, char *argv[])
        mysystem("/sbin/modprobe ide-generic");
        mysystem("/sbin/modprobe ide-cd");
        mysystem("/sbin/modprobe ide-disk");
+       mysystem("/sbin/modprobe ehci-hcd");
        mysystem("/sbin/modprobe uhci-hcd");
        mysystem("/sbin/modprobe ohci-hcd");
-       mysystem("/sbin/modprobe ehci-hcd");
        mysystem("/sbin/modprobe ohci1394");
        mysystem("/sbin/modprobe sd_mod");
        mysystem("/sbin/modprobe sr_mod");