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

Bug#548711: MMC doesn't boot with MODULES=dep because mmc_block is missing



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

You cannot boot from MMC with MODULES=dep because mmc_block is missing
in the initramfs.  Here's a patch:

--- hook-functions~	2009-09-28 10:44:11.000000000 +0100
+++ hook-functions	2009-09-28 10:44:00.000000000 +0100
@@ -347,6 +347,10 @@
 		manual_add_modules sd_mod
 	fi
 
+	if [ -e /sys/bus/mmc/devices/ ]; then
+		manual_add_modules mmc_block
+	fi
+
 	if [ -e /sys/bus/i2o/devices/ ]; then
 		force_load i2o_block
 		force_load i2o_config

-- 
Martin Michlmayr
http://www.cyrius.com/

Attachment: log.bz2
Description: Binary data


Reply to: