Hi;

RAID 4/5 does not seem to be working properly with
the patches I have applied from Neil Brown's site
for kernel 2.4.0-test11.  When raid5 is in the kernel,
I cannot boot.  When it is a module, the oops shown
below occurs with the lsmod showing:

        xor (initializing)

You cannot rmmod xor thereafter EVER without rebooting.

>From http://cgi.cse.unsw.edu.au/~neilb/patches/linux/, 
I am using:

patch-A-mdinit
patch-C-mdwarn
raid5-debug.patch
(this patch is attached as it is not on the site)

The issue: trying to make a raid level 5 with three
partitions: hda4, hdc4, and hdd4.  All are only
500M each.  This happens with a variety of raidtools
from RedHat 6.2/7.0 in standard release.

During a insmod/modprobe I receive the following kernel
oops with modutils-2.3.18 or modutils-2.3.20:

==============from /var/log/messages====================

Dec 15 11:37:04 localhost kernel: bind<hda4,1>
Dec 15 11:37:04 localhost kernel: bind<hdc4,2>
Dec 15 11:37:04 localhost kernel: bind<hdd4,3>
Dec 15 11:37:04 localhost kernel: hdd4's event counter: 00000000
Dec 15 11:37:04 localhost kernel: hdc4's event counter: 00000000
Dec 15 11:37:04 localhost kernel: hda4's event counter: 00000000
Dec 15 11:37:04 localhost kernel: md: md0: raid array is not clean --
starting background reconstruction
Dec 15 11:37:04 localhost kernel: raid5: measuring checksumming speed
Dec 15 11:37:04 localhost kernel:    8regs     :   758.952 MB/sec
Dec 15 11:37:04 localhost kernel:    32regs    :   512.826 MB/sec
Dec 15 11:37:04 localhost kernel: invalid operand: 0000
Dec 15 11:37:04 localhost kernel: CPU:    0
Dec 15 11:37:04 localhost kernel: EIP:    0010:[<c4816b09>]
Dec 15 11:37:04 localhost kernel: EFLAGS: 00010206
Dec 15 11:37:04 localhost kernel: eax: c3897e8c   ebx: c3872f40   ecx:
0000000f   edx: 8005003b
Dec 15 11:37:04 localhost kernel: esi: c3870000   edi: 0000eafb   ebp:
00000000   esp: c3897e84
Dec 15 11:37:04 localhost kernel: ds: 0018   es: 0018   ss: 0018
Dec 15 11:37:04 localhost kernel: Process modprobe (pid: 767,
stackpage=c3897000)
Dec 15 11:37:04 localhost kernel: Stack: 00000000 00000000 00000020 c011565a
00000542 00000fc6 0000eafa 00000005
Dec 15 11:37:04 localhost kernel:        c02923a4 00000282 00000001 c02923a3
c0292383 00000020 c4818090 c4818508
Dec 15 11:37:04 localhost kernel:        c4818501 00000200 c4818004 00000f40
c3870000 c3872f40 c3870000 c3872f40
Dec 15 11:37:04 localhost kernel: Call Trace: [printk+398/412] [<c4818090>]
[<c4818508>] [<c4818501>] [<c4818004>]
[<c4816aec>] [<c48180fc>]
Dec 15 11:37:04 localhost kernel:        [<c481875c>] [<c4818117>]
[<c4818724>] [<c4816000>] [<c481809c>] [free_pag
es+58/60] [<c4816000>] [sys_init_module+1409/1576]
Dec 15 11:37:04 localhost kernel:
[eepro100:__insmod_eepro100_O/lib/modules/2.4.0-24noxfs/kernel/driver+0/96
] [<c4816060>] [system_call+51/56] [stext_lock+6319/12224]
Dec 15 11:37:04 localhost kernel: Code: 0f 11 00 0f 11 48 10 0f 11 50 20 0f
11 58 30 0f 18 4e 00 0f
Dec 15 11:37:04 localhost kernel: md0 stopped.
Dec 15 11:37:04 localhost kernel: unbind<hdd4,2>
Dec 15 11:37:04 localhost kernel: export_rdev(hdd4)
Dec 15 11:37:04 localhost kernel: unbind<hdc4,1>
Dec 15 11:37:04 localhost kernel: export_rdev(hdc4)
Dec 15 11:37:04 localhost kernel: unbind<hda4,0>
Dec 15 11:37:04 localhost kernel: export_rdev(hda4)
========================================================


=============debug patch==================================
--- drivers/md/raid5.c.orig     Mon Dec 11 10:06:27 2000
+++ drivers/md/raid5.c  Mon Dec 11 10:06:54 2000
@@ -40,7 +40,7 @@
 /*
  * The following can be used to debug the driver
  */
-#define RAID5_DEBUG    0
+#define RAID5_DEBUG     1
 #define RAID5_PARANOIA 1
 #if RAID5_PARANOIA && CONFIG_SMP
 # define CHECK_DEVLOCK() if (!spin_is_locked(&conf->device_lock)) BUG()

==========================================================

thanks in advance for any help you can provide,
Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to