All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Fw: [Bug 196895] New: SLUB debugging prevents booting encrypted XFS partition
       [not found] <20170915141250.e4e9f759fe0cd0469db75924@linux-foundation.org>
@ 2017-09-18 15:32 ` s.panicho
  2017-09-18 15:56   ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: s.panicho @ 2017-09-18 15:32 UTC (permalink / raw)
  To: Andrew Morton, Darrick J.Wong; +Cc: linux-xfs

Resending last message in plain text this time...

Would you like me to create a ticket on the XFS Bugzilla?

Thanks,
Stephen Panicho

On Fri, 2017-09-15 at 14:12 -0700, Andrew Morton wrote:
> (switched to email.  Please respond via emailed reply-to-all, not via
> the
> bugzilla web interface).
> 
> 
> This might indicate a bug in XFS?
> 
> 
> 
> Begin forwarded message:
> 
> Date: Mon, 11 Sep 2017 01:44:34 +0000
> From: bugzilla-daemon@bugzilla.kernel.org
> To: akpm@linux-foundation.org
> Subject: [Bug 196895] New: SLUB debugging prevents booting encrypted
> XFS partition
> 
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=196895
> 
>             Bug ID: 196895
>            Summary: SLUB debugging prevents booting encrypted XFS
>                     partition
>            Product: Memory Management
>            Version: 2.5
>     Kernel Version: 4.13
>           Hardware: All
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Slab Allocator
>           Assignee: akpm@linux-foundation.org
>           Reporter: s.panicho@gmail.com
>         Regression: No
> 
> This has been identified as an upstream issue in
> https://bugs.archlinux.org/task/54700
> 
> Attempting to boot an encrypted XFS partition with slub_debug=FZPU or
> CONFIG_SLUB_DEBUG_ON=y results in memory corruption and failure to
> mount the
> disk.
> 
> The error messages are as follows:
> 
> [ 23.115192] XFS (dm—0): metadata I/O error: block 0x2
> ("xfs_trans_read_buf_map") error 5 numblks 1
> [ 23.115300] XFS (dm—0): metadata I/O error: block 0x324b002
> ("xfs_trans_read_buf_map") error 5 numblks 1
> [ 23.115380] XFS (dm-0): metadata I/O error: block 0x6496002
> ("xfs_trans_read_buf_map") error 5 numblks 1
> [ 23.115459] XFS (dm-0): metadata I/O error: block 0x96e1002
> ("xfs_trans_read_buf_map") error 5 numblks 1
> [ 23.115468] XFS (dm-0): Corruption of in—memory data detected.
> Shutting down
> filesystem
> [ 23.115471] XFS (dm-0): Please umount the filesystem and rectify the
> problem(s)
> 
> 
> A notable comment from user "loqs" in the Arch Linux bug tracker post
> linked at
> the beginning of this post:
> 
> Reran the test with only CONFIG_SLAB_CANARY=y and I was able to
> reproduce the
> issue.
> Edit:
> Rebuilt with CONFIG_XFS_WARN=y set as well first run did not
> reproduce the
> issue, second run did reproduce the issue.
> No additional xfs related output generated with
> /proc/sys/kernel/printk set to
> 7.
> Edit2:
> After 10 test runs 9 reproduced the issue.
> Edit3:
> Rebuilt without CONFIG_XFS_WARN=y with CONFIG_XFS_DEBUG=y first run
> did not
> reproduce the issue, second run did reproduce the issue.
> No additional xfs related output generated with
> /proc/sys/kernel/printk set to
> 7. (identical behavior to that noted in Edit)
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fw: [Bug 196895] New: SLUB debugging prevents booting encrypted XFS partition
  2017-09-18 15:32 ` Fw: [Bug 196895] New: SLUB debugging prevents booting encrypted XFS partition s.panicho
@ 2017-09-18 15:56   ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2017-09-18 15:56 UTC (permalink / raw)
  To: s.panicho; +Cc: Andrew Morton, Darrick J.Wong, linux-xfs


Not sure how they related to slub debugging, but the warnings you
see below mean that XFS got an I/O error back from the layer below,
so that might be the best place to look.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-18 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170915141250.e4e9f759fe0cd0469db75924@linux-foundation.org>
2017-09-18 15:32 ` Fw: [Bug 196895] New: SLUB debugging prevents booting encrypted XFS partition s.panicho
2017-09-18 15:56   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.