FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-08-2008, 10:02 PM
Ralf Gross
 
Default Bug#498309: xfs filesystem corruption due to attr2 bug

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.

Ralf



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-09-2008, 05:37 AM
dann frazier
 
Default Bug#498309: xfs filesystem corruption due to attr2 bug

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


--
dann frazier




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-09-2008, 07:20 AM
Ralf Gross
 
Default Bug#498309: xfs filesystem corruption due to attr2 bug

dann frazier schrieb:
>
> 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.

That sounds promising, thanks for your fast response.

> 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'm using the amd64 port. I won't be able to do tests on the
production server, but I could try it on a spare one. Not sure if I can
trigger this problem there it has a 1 TB LUN attached. I'm more or
lest on holiday at the moment, but I'll try to test this in the next
couple of days.

Ralf



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-11-2008, 09:40 AM
Ralf Gross
 
Default 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

linux-headers-2.6.18-6_2.6.18.dfsg.1-23~bug498309_amd64.deb
linux-headers-2.6.18-6-all-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb
linux-headers-2.6.18-6-all_2.6.18.dfsg.1-23~bug498309_amd64.deb
linux-headers-2.6.18-6-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb

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:
linux-headers-2.6.18-6-all-amd64
linux-headers-2.6.18-6-all


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.

Ralf



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 09-11-2008, 03:37 PM
dann frazier
 
Default Bug#498309: xfs filesystem corruption due to attr2 bug

On Thu, Sep 11, 2008 at 11:40:07AM +0200, Ralf Gross wrote:
> 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
>
> linux-headers-2.6.18-6_2.6.18.dfsg.1-23~bug498309_amd64.deb
> linux-headers-2.6.18-6-all-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb
> linux-headers-2.6.18-6-all_2.6.18.dfsg.1-23~bug498309_amd64.deb
> linux-headers-2.6.18-6-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb

You probably just want the headers for your flavor. If you're not
running xen/vserver, you just need linux-headers-2.6.18-6-amd64 and
linux-headers-2.6.18-6, not the "all" packages.

You should be able to clean up your system with:
# apt-get -f install
And try again.

--
dann frazier




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 10-13-2008, 10:55 PM
dann frazier
 
Default Bug#498309: xfs filesystem corruption due to attr2 bug

On Fri, Sep 12, 2008 at 07:25:06PM +0200, Ralf Gross wrote:
> Thanks, this worked.
>
> So far, I couldn't reproduce the bug on the spare server. Neither
> with the old 2.6.18 nor with your new one.
>
> I haven't encountered other problems with the new kernel so far.

Ah - I *thought* you'd confirmed this, but didn't see it in the bug
report. I see now that it was just that the bug report wasn't cc'd -
doing so now.

--
dann frazier




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org