[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721519: initramfs-tools: Please include ehci-orion in initramfs



Package: initramfs-tools
Version: 0.113
Severity: important
Tags: patch

In 3.10 the EHCI driver for Kirkwood and Orion armel platforms was split into a
separate driver:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a76dd463c58efa5dfd72c3dd41f5a76b196f7ab1

The driver is needed for the root filesystem on at least the dreamplug
platform, and I suspect many others using these SoCs. A patch against the
initramfs-tools git tree is below. I can push it myself if need be.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719680 for some
background.

FYI, this report was not genrated on a system which has this issue.

Ian.

8<-------

>From ee56c3195c9fc0d916ac7f68802993ab754cdca6 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sun, 1 Sep 2013 15:22:23 +0100
Subject: [PATCH] include ehci-orion in auto_add_modules_list

This became a separate driver in v3.10 (a76dd463c58e), it is used on the Orion
and Kirkwood flavours.
---
 debian/changelog  |    7 +++++++
 hook-functions    |    2 +-
 scripts/functions |    1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 587f074..46421ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+initramfs-tools (0.114) UNRELEASED; urgency=low
+
+  [ Ian Campbell ]
+  * Include ehci-orion, used on kirkwood platforms.
+
+ -- Ian Campbell <ijc@hellion.org.uk>  Sun, 01 Sep 2013 15:03:26 +0100
+
 initramfs-tools (0.113) unstable; urgency=low
 
   [ Henrique de Moraes Holschuh ]
diff --git a/hook-functions b/hook-functions
index e751021..67d1503 100644
--- a/hook-functions
+++ b/hook-functions
@@ -432,7 +432,7 @@ auto_add_modules()
 	for arg in "$@" ; do
 		case "$arg" in
 		base)
-			modules="$modules ehci-pci ehci-hcd ohci-hcd uhci-hcd usbhid"
+			modules="$modules ehci-pci ehci-orion ehci-hcd ohci-hcd uhci-hcd usbhid"
 			modules="$modules xhci xhci-hcd"
 			modules="$modules btrfs ext2 ext3 ext4 ext4dev "
 			modules="$modules isofs jfs reiserfs udf xfs"
diff --git a/scripts/functions b/scripts/functions
index e150d06..56eb8bc 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -47,6 +47,7 @@ panic()
 	modprobe -v i8042 || true
 	modprobe -v atkbd || true
 	modprobe -v ehci-pci || true
+	modprobe -v ehci-ehci || true
 	modprobe -v ehci-hcd || true
 	modprobe -v uhci-hcd || true
 	modprobe -v ohci-hcd || true
-- 
1.7.10.4


Reply to: