Re: [Linux-cluster] GFS 6.0 crashing x86_64 machine

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

 



On Tue, Aug 10, 2004 at 10:56:47AM -0500, Michael Conrad Tadpol Tilstra wrote:
...
> 
> um. possibly means I've been looking in the wrong place for the
> solution.  I'll dig in some more, but if anyone else reading this has
> ideas, please share.

newbie (not kernel hacker) idea (taken from the XFS mailing list)
On Mon, Aug 09, 2004 at 08:52:40AM -0500, Eric Sandeen wrote:
> what does your ffs() look like?  I added this patch to our kernels, but                                                                                                                
> it may not be in Dan's kernels (hm, I need to update the 1.3.3 packages                                                                                                                
> we have on oss...)                                                                                                                                                                     
>                                                                                                                                                                                        
> --- linux/include/asm-x86_64/bitops.h.orig      2004-07-26                                                                                                                             
> 12:33:54.000000000 -0500                                                                                                                                                               
> +++ linux/include/asm-x86_64/bitops.h   2004-07-26 12:35:23.000000000 -0500                                                                                                            
> @@ -473,7 +473,7 @@ static __inline__ int ffs(int x)                                                                                                                                   
>                                                                                                                                                                                        
>          __asm__("bsfl %1,%0\n\t"                                                                                                                                                      
>                  "cmovzl %2,%0"                                                                                                                                                        
> -               : "=r" (r) : "g" (x), "r" (32));                                                                                                                                       
> +               : "=r" (r) : "rm" (x), "r" (-1));                                                                                                                                      
>          return r+1;                                                                                                                                                                   
>   }                                                                                                                                                                                    

just .02 cents (no flame please)

Tru


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux