Re: 2.4.0-test11 crashes on boot with RAID5

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Mon Nov 20 2000 - 18:05:02 EST


On Tuesday November 21, neilb@cse.unsw.edu.au wrote:
> On Monday November 20, kressb@fsc-usa.com wrote:
> > Hi all. 2.4.0-test11 is crashing during bootup while
> > detecting my raid5 array. According to the EIP printed (assuming
> > I did it right), that's in the function xor_block().
> > 2.4.0-test10 works fine with the same .config. One of the
> > things in the change file for test11 is "make raid 5 work in himem
> > configs". Maybe that broke non himem configs?
> > My .config is attached. If anyone needs anymore information,
> > let me know.
>
> To fix:
>
>
> - in drivers/md/Makefile
>
> - find line that contains:
> raid5.o xor.o
>
> - swap the .o files to:
> xor.o raid5.o
>
> - recompile
> - reboot
> - be happy
>
> NeilBrown

Opp. No. I take that back.
It is a bit more complicated.
You have to get "xor.o" before "md.o", not before "raid5.o".

try:

--- drivers/md/Makefile 2000/11/20 23:04:31 1.1
+++ drivers/md/Makefile 2000/11/20 23:04:36
@@ -16,11 +16,11 @@
 obj-n :=
 obj- :=
 
-obj-$(CONFIG_BLK_DEV_MD) += md.o
 obj-$(CONFIG_MD_LINEAR) += linear.o
 obj-$(CONFIG_MD_RAID0) += raid0.o
 obj-$(CONFIG_MD_RAID1) += raid1.o
 obj-$(CONFIG_MD_RAID5) += raid5.o xor.o
+obj-$(CONFIG_BLK_DEV_MD) += md.o
 obj-$(CONFIG_BLK_DEV_LVM) += lvm-mod.o
 
 # Translate to Rules.make lists.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:20 EST