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

Bug#498309: xfs filesystem corruption due to attr2 bug

dann frazier schrieb:
> On Tue, Sep 09, 2008 at 12:02:41AM +0200, Ralf Gross wrote:
> > Package: linux-image-2.6-amd64
> > Version: 2.6.18+6etch3
> > 
> > I've lost 2 xfs filesystems this weekend after adding lots of acls to many
> > files.
> > 
> > With some help from the people of the xfs IRC channel, I could nail it down to
> > a problem with xfs an attr2. It seems that the debian 2.6.18 kernel is missing
> > a very important bugfix.
> > 
> > The bug report originally comes from red hat:
> >  
> > https://bugzilla.redhat.com/show_bug.cgi?id=212201
> > 
> > This is what I found in the archibes of the xfs mailing list:
> > 
> > http://www.linux.sgi.com/archives/xfs/2006-12/msg00104.html
> > 
> > 
> > The filesystems that crashed had a size of 2 TB and 6 TB. xfs_repair couldn't
> > help much.  In the end I had to restore the data from the last backup.
> > 
> > I know that packages in the stable release are only updated with important
> > (security) fixes. But this bug can (did) cause data loss and would be worth a
> > fix.
> Thanks for the report.
> Fixes for >= important bugs are acceptable in a stable release. I've
> committed a fix for this which should appear in the etch snapshot
> builds[1] tomorrow. 
> Would you be able to test that build on your system?
> I'm not sure whether you are using the i386 port or the amd64 port
> (the amd64 flavor is available for both). If you're using the i386
> port, you should be able to grab a snapshot build with a version
> >= 2.6.18.dfsg.1-23~snapshot.12203. If you're using amd64, you can try
> the test build I posted here:
>  http://people.debian.org/~dannf/bugs/498309/
> [1] http://wiki.debian.org/DebianKernel

I've some problems in installing the appr. header files, maybe I'm
doing something wrong:

I downloaded


and the simply...

$LC_ALL=C dpkg -i linux-headers-2.6.18-6*
(Reading database ... 57544 files and directories currently installed.)
Preparing to replace linux-headers-2.6.18-6 2.6.18.dfsg.1-23~bug498309 (using linux-headers-2.6.18-6_2.6.18.dfsg.1-23~bug498309_amd64.deb) ...
Unpacking replacement linux-headers-2.6.18-6 ...
Preparing to replace linux-headers-2.6.18-6-all 2.6.18.dfsg.1-23~bug498309 (using linux-headers-2.6.18-6-all_2.6.18.dfsg.1-23~bug498309_amd64.deb) ...
Unpacking replacement linux-headers-2.6.18-6-all ...
Preparing to replace linux-headers-2.6.18-6-all-amd64 2.6.18.dfsg.1-23~bug498309 (using linux-headers-2.6.18-6-all-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb) ...
Unpacking replacement linux-headers-2.6.18-6-all-amd64 ...
Preparing to replace linux-headers-2.6.18-6-amd64 2.6.18.dfsg.1-23~bug498309 (using linux-headers-2.6.18-6-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb) ...
Unpacking replacement linux-headers-2.6.18-6-amd64 ...
Setting up linux-headers-2.6.18-6 (2.6.18.dfsg.1-23~bug498309) ...
dpkg: dependency problems prevent configuration of linux-headers-2.6.18-6-all-amd64:
 linux-headers-2.6.18-6-all-amd64 depends on linux-headers-2.6.18-6-vserver-amd64 (= 2.6.18.dfsg.1-23~bug498309); however:
  Package linux-headers-2.6.18-6-vserver-amd64 is not installed.
 linux-headers-2.6.18-6-all-amd64 depends on linux-headers-2.6.18-6-xen-amd64 (= 2.6.18.dfsg.1-23~bug498309); however:
  Package linux-headers-2.6.18-6-xen-amd64 is not installed.
 linux-headers-2.6.18-6-all-amd64 depends on linux-headers-2.6.18-6-xen-vserver-amd64 (= 2.6.18.dfsg.1-23~bug498309); however:
  Package linux-headers-2.6.18-6-xen-vserver-amd64 is not installed.
dpkg: error processing linux-headers-2.6.18-6-all-amd64 (--install):
 dependency problems - leaving unconfigured
Setting up linux-headers-2.6.18-6-amd64 (2.6.18.dfsg.1-23~bug498309) ...
dpkg: dependency problems prevent configuration of linux-headers-2.6.18-6-all:
 linux-headers-2.6.18-6-all depends on linux-headers-2.6.18-6-all-amd64 (= 2.6.18.dfsg.1-23~bug498309); however:
  Package linux-headers-2.6.18-6-all-amd64 is not configured yet.
dpkg: error processing linux-headers-2.6.18-6-all (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:

I need to build the drbd 0.7 module, so the right header files are important for my tests.

The kernel image was installed without problem.


Reply to: