Package: xfsprogs
Version: 2.8.18
Severity: important

My xfs root filesystem becaome corrupt so I had to fix it. Glossing
over a lot of tedious details I tried to do so (on a 2.6.19 kernel)
and found that xfs_repair just gave a fatal error:
fatal error -- status from pthread_attr_setstacksize: 22

Asking around I found that this is fixed in xfsprogs 2.8.19. That's
not in debian, so I tried the relevant patch on 2.8.18 version and
(after fixing a build problem (see my other bug report)) it built and
worked fine, spending several hours repairing my filesystem, which it
did successfully. 

So I think it's safe to say that the patch described in this thread:
http://www.linux.sgi.com/archives/xfs/2006-12/msg00293.html
should be included, as otherwise xfs_repair 2.8.18 is useless on kernel
2.6.11 or later (i.e. the one in etch). 

i.e. simply delete the code for making the stack 4 times as big. in
thread_init in xfs_repair/threads.c 

This same patch was included in 2.8.19. I don't know if anything else
relevant was changed in that version, but this simple fix worked for
me, and it doesn't work at all without it. 

I can provide more details if needed. 

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to