Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80783 > unrolled thread

Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.

Started byDiederik de Haas <didi.debian@cknow.org>
First post2023-11-02 15:50 +0100
Last post2023-11-08 17:10 +0100
Articles 7 — 3 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Diederik de Haas <didi.debian@cknow.org> - 2023-11-02 15:50 +0100
    Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Jose M Calhariz <jose.calhariz@tecnico.ulisboa.pt> - 2023-11-02 18:20 +0100
      Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Diederik de Haas <didi.debian@cknow.org> - 2023-11-02 20:00 +0100
        Processed: Re: Bug#1040416: linux-image-6.1.0-9-amd64: Under  heavy load Debian V12 and V11 causes data corruption on XFS filesystems. "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-11-02 20:00 +0100
        Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Jose M Calhariz <jose.calhariz@tecnico.ulisboa.pt> - 2023-11-04 20:40 +0100
          Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Diederik de Haas <didi.debian@cknow.org> - 2023-11-07 20:40 +0100
            Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems. Jose M Calhariz <jose.calhariz@tecnico.ulisboa.pt> - 2023-11-08 17:10 +0100

#80783 — Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.

FromDiederik de Haas <didi.debian@cknow.org>
Date2023-11-02 15:50 +0100
SubjectBug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.
Message-ID<HvHbb-2BP1-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo

On Wednesday, 5 July 2023 19:07:15 CET Jose M Calhariz wrote:
> Package: src:linux
> Version: 6.1.27-1

Can you try with the latest version in the 6.1.x series to see if the problem 
is still there?

> On this hardware I am chasing a data corruption for several months on
> Debian V11 and Debian v12.  Now that I was pointed that linux kernel
> had some problems with XFS solved in later 6.3 kernel I can reproduce
> the problem.
> 
> It seams the problem went away with current Debian testing kernel:
> 
> ii  linux-image-6.3.0-1-amd64            6.3.7-1      amd64        Linux 6.3
> for 64-bit PCs (signed)
> 
> Is there anyone willing to backport the XFS fixes into
> linux-image-6.1.0 and linux-image-5.10.0?

If the problem is still present in the latest 6.1 kernel, then you need to find 
out which patch(es) actually fix the problem.
The easiest way to start with that is to find the last kernel which exhibits 
the issue and then the first one where it is fixed.
https://snapshot.debian.org/binary/linux-image-amd64/ should help with that.

When the range has been narrowed, a `git bisect` should identify the specific 
commit(s) which fixes the issue.
https://wiki.debian.org/DebianKernel/GitBisect should help with that

When that/those have been identified, it should be reported to the upstream 
kernel so that they can incorporate those fixes in their LTS kernel(s) which 
Debian then will pick up automatically.

HTH

[toc] | [next] | [standalone]


#80784

FromJose M Calhariz <jose.calhariz@tecnico.ulisboa.pt>
Date2023-11-02 18:20 +0100
Message-ID<HvJwl-2DkY-1@gated-at.bofh.it>
In reply to#80783

[Multipart message — attachments visible in raw view] — view raw

On Thu, Nov 02, 2023 at 03:37:39PM +0100, Diederik de Haas wrote:
> Control: tag -1 moreinfo
> 
> On Wednesday, 5 July 2023 19:07:15 CET Jose M Calhariz wrote:
> > Package: src:linux
> > Version: 6.1.27-1
> 
> Can you try with the latest version in the 6.1.x series to see if the problem 
> is still there?

As I need to setup ASAP the servers in production I do not know if I
have time in the next days.  It works with backports kernels.

The latest kernels I tested were:

Fail : Linux afs31 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 GNU/Linux

OK : Linux afs31 6.4.0-0.deb12.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.4.4-3~bpo12+1 (2023-08-08) x86_64 GNU/Linux



> 
> > On this hardware I am chasing a data corruption for several months on
> > Debian V11 and Debian v12.  Now that I was pointed that linux kernel
> > had some problems with XFS solved in later 6.3 kernel I can reproduce
> > the problem.
> > 
> > It seams the problem went away with current Debian testing kernel:
> > 
> > ii  linux-image-6.3.0-1-amd64            6.3.7-1      amd64        Linux 6.3
> > for 64-bit PCs (signed)
> > 
> > Is there anyone willing to backport the XFS fixes into
> > linux-image-6.1.0 and linux-image-5.10.0?
> 
> If the problem is still present in the latest 6.1 kernel, then you need to find 
> out which patch(es) actually fix the problem.
> The easiest way to start with that is to find the last kernel which exhibits 
> the issue and then the first one where it is fixed.
> https://snapshot.debian.org/binary/linux-image-amd64/ should help
> with that.

The bug is present on Debian v11 too.  So is an old bug with fixes on
kernel 6.2 rc something.

> 
> When the range has been narrowed, a `git bisect` should identify the specific 
> commit(s) which fixes the issue.
> https://wiki.debian.org/DebianKernel/GitBisect should help with that
> 
> When that/those have been identified, it should be reported to the upstream 
> kernel so that they can incorporate those fixes in their LTS kernel(s) which 
> Debian then will pick up automatically.
> 
> HTH



-- 
--
	A vida feliz, meu Deus, consiste em nos alegrarmos em vos,
	de vos e por vos

[toc] | [prev] | [next] | [standalone]


#80785

FromDiederik de Haas <didi.debian@cknow.org>
Date2023-11-02 20:00 +0100
Message-ID<HvL57-2E7g-1@gated-at.bofh.it>
In reply to#80784

[Multipart message — attachments visible in raw view] — view raw

Control: found -1 6.1.37-1

On Thursday, 2 November 2023 18:03:25 CET Jose M Calhariz wrote:
> On Thu, Nov 02, 2023 at 03:37:39PM +0100, Diederik de Haas wrote:
> > On Wednesday, 5 July 2023 19:07:15 CET Jose M Calhariz wrote:
> > > Package: src:linux
> > > Version: 6.1.27-1
> > 
> > Can you try with the latest version in the 6.1.x series to see if the
> > problem is still there?
> 
> As I need to setup ASAP the servers in production I do not know if I
> have time in the next days.  It works with backports kernels.

No problem.

> The latest kernels I tested were:
> Fail : Linux afs31 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1
> (2023-07-03) x86_64 GNU/Linux

Ok. Please test (when you have time) 6.1.55-1.
Also verify if it's also present in 6.1~rc3-1~exp1 to make sure it's present 
in the whole 6.1 series.
Use https://snapshot.debian.org/binary/linux-image-amd64/ to get it/them.

If the bug is NOT present in either the latest or the first, then try other 
versions till you find the last one that work and the first one that fails.

> OK : Linux afs31 6.4.0-0.deb12.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> 6.4.4-3~bpo12+1 (2023-08-08) x86_64 GNU/Linux

It was fixed in 6.3.7-1, so it was expected that a later versions also works.
But let's ignore bpo as it likely won't provide useful data points.

Unfortunately there isn't a 6.2 kernel uploaded to the Debian archive and thus 
not available on snapshot.d.o, but testing 6.3.1-1~exp1 should be useful.

> The bug is present on Debian v11 too.  So is an old bug with fixes on
> kernel 6.2 rc something.

I'd recommend to focus first on the 6.1 series for now.
If at a later point testing with 5.10 may be useful, we can do that then.

[toc] | [prev] | [next] | [standalone]


#80786 — Processed: Re: Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-11-02 20:00 +0100
SubjectProcessed: Re: Bug#1040416: linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.
Message-ID<HvL57-2E7g-3@gated-at.bofh.it>
In reply to#80785
Processing control commands:

> found -1 6.1.37-1
Bug #1040416 [src:linux] linux-image-6.1.0-9-amd64: Under heavy load Debian V12 and V11 causes data corruption on XFS filesystems.
Marked as found in versions linux/6.1.37-1.

-- 
1040416: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040416
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#80826

FromJose M Calhariz <jose.calhariz@tecnico.ulisboa.pt>
Date2023-11-04 20:40 +0100
Message-ID<HwuEV-38uU-11@gated-at.bofh.it>
In reply to#80785

[Multipart message — attachments visible in raw view] — view raw

Hi

On Thu, Nov 02, 2023 at 07:40:38PM +0100, Diederik de Haas wrote:
> 
> On Thursday, 2 November 2023 18:03:25 CET Jose M Calhariz wrote:
> > On Thu, Nov 02, 2023 at 03:37:39PM +0100, Diederik de Haas wrote:
> > > On Wednesday, 5 July 2023 19:07:15 CET Jose M Calhariz wrote:
> > > > Package: src:linux
> > > > Version: 6.1.27-1
> > > 
> > > Can you try with the latest version in the 6.1.x series to see if the
> > > problem is still there?
> > 
> > As I need to setup ASAP the servers in production I do not know if I
> > have time in the next days.  It works with backports kernels.
> 
> No problem.
> 
> > The latest kernels I tested were:
> > Fail : Linux afs31 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1
> > (2023-07-03) x86_64 GNU/Linux
> 
> Ok. Please test (when you have time) 6.1.55-1.

Fail : Linux afs31 6.1.0-0-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1~rc3-1~exp1 (2022-11-02) x86_64 GNU/Linux

Fail : Linux afs31 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

Done.  I tested even the first 6.1 on Debian.  Both of them failed.




> Also verify if it's also present in 6.1~rc3-1~exp1 to make sure it's present 
> in the whole 6.1 series.
> Use https://snapshot.debian.org/binary/linux-image-amd64/ to get it/them.
> 
> If the bug is NOT present in either the latest or the first, then try other 
> versions till you find the last one that work and the first one that fails.
> 
> > OK : Linux afs31 6.4.0-0.deb12.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> > 6.4.4-3~bpo12+1 (2023-08-08) x86_64 GNU/Linux
> 
> It was fixed in 6.3.7-1, so it was expected that a later versions also works.
> But let's ignore bpo as it likely won't provide useful data points.
> 
> Unfortunately there isn't a 6.2 kernel uploaded to the Debian archive and thus 
> not available on snapshot.d.o, but testing 6.3.1-1~exp1 should be useful.
> 
> > The bug is present on Debian v11 too.  So is an old bug with fixes on
> > kernel 6.2 rc something.
> 
> I'd recommend to focus first on the 6.1 series for now.
> If at a later point testing with 5.10 may be useful, we can do that then.


Kind regards
Jose M Calhariz


-- 
--
	A vida feliz, meu Deus, consiste em nos alegrarmos em vos,
	de vos e por vos

[toc] | [prev] | [next] | [standalone]


#80833

FromDiederik de Haas <didi.debian@cknow.org>
Date2023-11-07 20:40 +0100
Message-ID<HxA5z-3QOf-5@gated-at.bofh.it>
In reply to#80826

[Multipart message — attachments visible in raw view] — view raw

Control: found -1 6.1~rc3-1~exp1
Control: found -1 6.1.55-1

On Saturday, 4 November 2023 20:35:43 CET Jose M Calhariz wrote:
> > Ok. Please test (when you have time) 6.1.55-1.
> 
> Fail : Linux afs31 6.1.0-0-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> 6.1~rc3-1~exp1 (2022-11-02) x86_64 GNU/Linux
> 
> Fail : Linux afs31 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1
> (2023-09-29) x86_64 GNU/Linux
> 
> Done.  I tested even the first 6.1 on Debian.  Both of them failed.

Thanks, updated metadata accordingly.
So now we know it's indeed present in the whole 6.1 series.

> > Unfortunately there isn't a 6.2 kernel uploaded to the Debian archive and
> > thus not available on snapshot.d.o, but testing 6.3.1-1~exp1 should be
> > useful.

Please test with with 6.3.1-1~exp1 to make sure it was fixed then (too).

Unfortunately, the commit list between 6.1 and 6.3.1 is quite large:
me@pc:~/dev/kernel.org/linux$ git log --oneline v6.1..v6.3.1 -- fs/xfs | wc -l
159

If that list was small, I could've suggested to try 'backporting' a couple of 
patches, but that avenue seems rather pointless in this case.

It's probably also useful to verify whether it's also present in the whole 
5.10 series, which should give (even) more data points.

I think the next step should be to 'forward' this bug report to the upstream 
mailing list at linux-xfs@vger.kernel.org

[toc] | [prev] | [next] | [standalone]


#80846

FromJose M Calhariz <jose.calhariz@tecnico.ulisboa.pt>
Date2023-11-08 17:10 +0100
Message-ID<HxThT-42MI-7@gated-at.bofh.it>
In reply to#80833

[Multipart message — attachments visible in raw view] — view raw

Hi

On Tue, Nov 07, 2023 at 08:33:58PM +0100, Diederik de Haas wrote:
> Control: found -1 6.1~rc3-1~exp1
> Control: found -1 6.1.55-1
> 
> On Saturday, 4 November 2023 20:35:43 CET Jose M Calhariz wrote:
> > > Ok. Please test (when you have time) 6.1.55-1.
> > 
> > Fail : Linux afs31 6.1.0-0-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> > 6.1~rc3-1~exp1 (2022-11-02) x86_64 GNU/Linux
> > 
> > Fail : Linux afs31 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1
> > (2023-09-29) x86_64 GNU/Linux
> > 
> > Done.  I tested even the first 6.1 on Debian.  Both of them failed.
> 
> Thanks, updated metadata accordingly.
> So now we know it's indeed present in the whole 6.1 series.
> 
> > > Unfortunately there isn't a 6.2 kernel uploaded to the Debian archive and
> > > thus not available on snapshot.d.o, but testing 6.3.1-1~exp1 should be
> > > useful.
> 
> Please test with with 6.3.1-1~exp1 to make sure it was fixed then (too).
> 
> Unfortunately, the commit list between 6.1 and 6.3.1 is quite large:
> me@pc:~/dev/kernel.org/linux$ git log --oneline v6.1..v6.3.1 -- fs/xfs | wc -l
> 159
> 
> If that list was small, I could've suggested to try 'backporting' a couple of 
> patches, but that avenue seems rather pointless in this case.
> 
> It's probably also useful to verify whether it's also present in the whole 
> 5.10 series, which should give (even) more data points.
> 
> I think the next step should be to 'forward' this bug report to the upstream 
> mailing list at linux-xfs@vger.kernel.org

I do not follow closely linux-xfs mailing list, but I think other
people already reported problems with 6.1 and are trying to do the
effort of delimiting the patch and test a backport to 6.1.

Kind regards
Jose M Calhariz

-- 
--
	Egoista, s. m. Um sujeito mais interessado em si próprio que
	em mim.
		-- Ambrose Bierce

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web