I've got the same Problem... 

two "bugs" in 0.50 and one in 0.42 ! 
 
I found that this ( and the next You 'll have comming up )
are mainly secure "secure crap" out of my point of view.
So I disabled it.
I down't know how stabil the raid is now, but I do NOT use the old
kernel, I use 2.0.35 ! 
And it seams to be stable.

The next/other thing comming up (0.50 or 0.42 ? ) reffers to a
datastructure-part which is not in the Kernel-include-file. I just
modified it to fit my kernel-include-file! 
  
My file (raidadd.c) now looks like this :


        // That <BEEP> <BEEP>'s  the compile ... <BEEP> off
        //if (ro)
        //      func = STOP_MD_RO;

        if (ioctl (fd, func, 0)) {
                save_errno = errno;
                switch (save_errno) {
                        case ENXIO:
                                fprintf(stderr,"%s: already
stopped\n",dev);
                                break;
                        case EINVAL:
                                // The <BEEP> mentiond above is used
here. Disable it !
                                
                                // if (func == STOP_MD_RO) {
                                //      fprintf(stderr,"%s: old
kernel!\n",dev);
                                //      break;
                                // }
                                /* fall through */
                        default:
                                perror (dev);
                }




-- 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Hochachtungsvoll und mit freundlichen Gruessen aus dem Dungeon :   
                                                       MATHIAS 
                  ____/  ___/   /   /      ___/   __  
   xxxxx         /      /      /   /      /      /  \       _\||/_
  X __ \        /      /      /   /      /      /      }     o  o 
 X C  O-O      __/    __/    /   /      __/    _   ___/      (_)  
 X     _\     /      /      /   /      /      / \            === 
  X  _@      /      /      /   /      /      /   \  
  |  |    __/    _____/ __/ _____/ _____/ __/     \__ 

 Mathias Feiler Am Ried 6 88637 Illmensee 0049 (0)7558/94388  (Privat)
 [EMAIL PROTECTED]     RZ (620)   0049 (0)711/459-3949   (Uni)
 PGP public key &  Homepage   :  http://www.uni-hohenheim.de/~feiler
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Reply via email to