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

Re: No pcmcia-modules for alpha



On Wed, Oct 09, 2002 at 10:21:54PM +0200, jaap  hogenberg wrote:
> 
> I've rebuilt the image and it now loads, but hangs before it loads the kernel 
> or does anything, it looks identical to what happens when I load the
> 2.4.18 kernel.

Please download initrd-tools 0.1.31 from unstable, apply the following
patch, and let me know how it goes.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: init
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/initrd-tools/init,v
retrieving revision 1.7
diff -u -r1.7 init
--- init	4 Oct 2002 19:29:44 -0000	1.7
+++ init	10 Oct 2002 09:13:47 -0000
@@ -39,6 +39,9 @@
 
 [ -c /dev/.devfsd ] && DEVFS=yes
 
+if [ -n "`modprobe -l -t boot`" ]; then
+	modprobe -a -t boot \*
+fi
 call /loadmodules
 call /script
 
Index: mkinitrd
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/initrd-tools/mkinitrd,v
retrieving revision 1.60
diff -u -r1.60 mkinitrd
--- mkinitrd	5 Oct 2002 22:09:06 -0000	1.60
+++ mkinitrd	10 Oct 2002 09:09:16 -0000
@@ -310,6 +310,9 @@
 			;;
 		most)
 			find "$MODULEDIR/" -maxdepth 1 -name 'modules.*'
+			if [ -d "$MODULEDIR/boot" ]; then
+				find "$MODULEDIR/boot" -type f
+			fi
 			if [ -d "$MODULEDIR/kernel" ]; then
 				for i in \
 					"$MODULEDIR/kernel/drivers/block" \

Reply to: