Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130436 - sys-fs/xfsprogs-2.7.3 - "frag" command in xfs_db segfault/out of memory -> so stabilize xfsprogs-2.7.11
Summary: sys-fs/xfsprogs-2.7.3 - "frag" command in xfs_db segfault/out of memory -> so...
Status: RESOLVED DUPLICATE of bug 156840
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on: 131483
Blocks:
  Show dependency tree
 
Reported: 2006-04-19 00:56 UTC by Tom P.
Modified: 2006-12-02 14:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom P. 2006-04-19 00:56:32 UTC
When trying to run the frag command I get a segfault on amd64 and an out of memory error on x86.  I believe it to be this bug

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338207

Can the patch be applied to stable or maybe newest version marked stable?


xfsprogs-2.7.3 still bad, xfsprogs 2.6.25 Ok.  Will try 2.7.11 tomorrow, should have the patch from upstream.


Bad 2.7.3 x86:
gate1 ~ # xfs_db -r -c "frag -d" /dev/scsidisk/scsidiskVG
xfs_db: out of memory

Good amd64 2.6.25:
hammer ~ # xfs_db -r -c "frag -d" /dev/myth/video
actual 36, ideal 32, fragmentation factor 11.11%
Comment 1 SpanKY gentoo-dev 2006-04-19 18:49:03 UTC
well if 2.7.11 works for you we can just move to that for stable
Comment 2 Tom P. 2006-04-19 22:40:18 UTC
I built 2.7.11 on both x86 and amd64.  All normal.

I did run most all progs that I thought safe using the following script.  All seems normal.  More tests could be done like creating a filesystem or actually resizing a mounted filesystem, but I didn't do that yet.  No reason to believe they've changed either.

So I say 2.7.11 is stable.  Certainly better than 2.7.3 for me.

#! /bin/bash
# call with $1 = mounted dev  $2 = mount point
# like this
#  testxfs /dev/myth/video /mnt/store/video
# 
xfs_db -r -c "frag -f" $1
xfs_db -r -c "frag -d" $1
xfs_admin  -l $1


#mounted
xfs_info $2
xfs_growfs -n -d $2
xfs_freeze -f $2
xfs_freeze -u $2

#unmounted
umount $2
xfs_repair -n $1

xfs_check $1
Comment 3 SpanKY gentoo-dev 2006-04-19 22:48:26 UTC
have at it arch teams
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-04-20 11:27:47 UTC
There's no stable for sparc, so we go away.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-22 18:50:30 UTC
x86 done
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2006-04-27 10:45:19 UTC
see bug #131483. I cannot mark stable on ppc64. It won't even compile due to stupid typedefs which confilced with the ones made in ppc64 linux-headers.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2006-04-29 07:11:13 UTC
Marked ppc stable.
Comment 8 Guy Martin (RETIRED) gentoo-dev 2006-04-29 10:34:12 UTC
Stable on hppa.
Comment 9 Luis Medinas (RETIRED) gentoo-dev 2006-05-13 20:14:45 UTC
amd64 stableeeeeee
Comment 10 SpanKY gentoo-dev 2006-12-02 14:39:42 UTC
forward dupe for you lazy bastards

*** This bug has been marked as a duplicate of 156840 ***