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

Raid-5 Problem



I've got a Digital Ultimate Personal Workstation (AS1200) with dual
533 procs running Debian unstable. The machine has a five disk
software Raid-5 array using Linux Software Raid.

When I installed it, under whatever the default kernel is for Debian
Stable, everything worked great, the raid array started up sync'd
fine. I've since upgraded to Debian Unstable and the 2.4.21 kernel. I
need to re-sync the array now from a power failure and the following
happens..

The machine will come up all the way, begin syncing the array, and run
normally for a bit, then after a few minutes (3-5) the following will
come up:

nostromo:~# Unable to handle kernel paging request at virtual address 0000000000000240
CPU 0 swapper(0): Oops 1
pc = [<fffffffc00226f54>]  ra = [<fffffffc00226f54>]  ps = 0007    Not tainted
v0 = 0000000000000000  t0 = 0000000000000000  t1 = fffffffc00227170
t2 = 0000000000000000  t3 = 0000000000000002  t4 = 0000000000000000
t5 = fffffc0000a6c484  t6 = fffffc0000af8cc4  t7 = fffffc00009d4000
s0 = 0000000000000000  s1 = 0000000000000003  s2 = fffffc000ff69000
s3 = fffffc000ff690c0  s4 = 0000000000000003  s5 = fffffc0000a77570
s6 = 0000000000000000
a0 = fffffc000fc3c080  a1 = 0000000000000000  a2 = fffffc00009d7ed8
a3 = 0000000000000000  a4 = 0000000000000000  a5 = fffffc00009f88c0
t8 = 000000000000001f  t9 = 00000014ca28b232  t10= 2800000000000000
t11= 0000000000000007  pv = fffffc0000826af0  at = 0000000000000000
gp = fffffffc00239c78  sp = fffffc00009d7de8
Trace:fffffc0000818da4 fffffc0000819f8c fffffc000082ce50 fffffc000081a754 fffffc0000813918 fffffc00008151d0 fffffc000082eb40 fffffc0000883a1c fffffc00008151b4 fffffc0000883a1c fffffc00008100e0 fffffc000081001c
Code: 27ba0001  23bd2d3c  c3ffffc4  47ff041f  2ffe0000  d3400049 <b0090240> c3ffffb7
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing



If I log in immediately after the machine boots, umount the md and run
a raidstop on it, the machine will run flawlessly for (as far as I can
tell) forever.

I've tried changing back to the 2.4.20 kernel and had the same
results. I've tried compiling the source for 2.4.21 and 2.4.22 pre7
and neither will compile due to errors involving xor.c:




make[2]: Entering directory `/usr/src/kernel-source-2.4.21/drivers/md'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.21/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=raid5  -c -o raid5.o raid5.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.21/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=xor  -DEXPORT_SYMTAB -c xor.c
In file included from xor.c:23:
/usr/src/kernel-source-2.4.21/include/asm/xor.h:35:5: missing terminating " character
In file included from xor.c:23:
/usr/src/kernel-source-2.4.21/include/asm/xor.h:36: error: request for member `text' in something not a structure or union
/usr/src/kernel-source-2.4.21/include/asm/xor.h:37: error: syntax error before numeric constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:62: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:87:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:119: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:120: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:121: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:122: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:124: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:125: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:127: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:130: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:132: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:135: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:150: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:151: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:152: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:154: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:155: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:157: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:166:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:193: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:195: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:200: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:204: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:208: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:215: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:223: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:224: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:228: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:239: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:243: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:245: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:248: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:250: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:253: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:263:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:290: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:292: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:297: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:300: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:301: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:302: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:307: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:310: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:312: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:320: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:322: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:332: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:335: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:340: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:342: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:347: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:350: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:352: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:360: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:361: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:362: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:366: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:367: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:372: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:381:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:425: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:450:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:497: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:498: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:499: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:500: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:502: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:503: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:505: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:508: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:510: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:513: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:532: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:533: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:534: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:535: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:537: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:538: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:548:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:595: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:597: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:602: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:606: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:610: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:617: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:625: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:626: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:630: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:642: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:645: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:650: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:652: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:656: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:657: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:670:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:721: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:723: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:728: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:731: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:732: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:733: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:738: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:741: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:743: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:751: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:753: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:763: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:766: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:771: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:773: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:778: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:781: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:783: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:793: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:796: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:798: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:802: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:803: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:808: error: syntax error at '#' token
/usr/src/kernel-source-2.4.21/include/asm/xor.h:818:17: invalid suffix "b" on integer constant
/usr/src/kernel-source-2.4.21/include/asm/xor.h:822:1: missing terminating " character
xor.c: In function `calibrate_xor_block':
xor.c:117: error: `xor_block_alpha' undeclared (first use in this function)
xor.c:117: error: (Each undeclared identifier is reported only once
xor.c:117: error: for each function it appears in.)
make[2]: *** [xor.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.21/drivers/md'
make[1]: *** [_modsubdir_md] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.21/drivers'
make: *** [_mod_drivers] Error 2




(I apologize for the excessive amount of text there)

I'm using the following gcc:

nostromo:/usr/src/kernel-source-2.4.21# gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-linux/3.3.1/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc alpha-linux
Thread model: posix
gcc version 3.3.1 20030626 (Debian prerelease)


Anyone have any ideas? Normally I'd just update to a newer kernel and
run with it, but obviously that won't work. I couldn't find a patch
easily either.

On the axp-list, someone else posted with a similar question and was
tersely told to get a new version of the HP/Compaq/DEC ftp server. Of
course.. no link was included. If you know of a patched version of the
kernel source, or a patch that I can apply to fix the compile errors,
please let me know.

Any help you can offer would be appreciated.

Thanks!

--
Ryan Schaefer
rysch@chaank.com






Reply to: