Skip to contentSkip to conversation

New: Bad page map in process during boot

Bug 203107 [email protected] 4 participants 8 messages Mar 29, 2019 – Apr 4, 2019 Memory management

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

https://justpaste.it/387uf

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

Switching to email...

Quoted 18 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 3 lines

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

https://justpaste.it/387uf

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#4 lore raw

[Bug 203107] Bad page map in process during boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203107

--- Comment #1 from Jan Kara ([email protected]) ---
Switching to email...

Quoted 18 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 3 lines

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

https://justpaste.it/387uf

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

Honza

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 203107] Bad page map in process during boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203107

--- Comment #2 from [email protected] ---
Thank you.

Quoted 43 lines · On April 2, 2019 3:33:49 AM PDT, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

--- Comment #1 from Jan Kara ([email protected]) ---
Switching to email...

Quoted 18 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 1 line

Error occurs randomly at boot after upgrading kernel from 5.0.0 to

5.0.4.

Quoted 2 lines

https://justpaste.it/387uf

I don't think this is an ext4 error. Sure this is an error in file mapping
of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very
little to say wrt how or which PTEs are installed. And the problem is that
invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

Honza

Signature · 2 lines
You are receiving this mail because:
You reported the bug.
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw
In reply to Jan Kara
Quoted 23 lines · Jan Kara

Switching to email...

Quoted 20 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

Quoted 7 lines
Quoted 1 line

https://justpaste.it/387uf

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

0xdead000000000100 and 0xdead000000000200 are LIST_POISON1 and LIST_POISON2 repectively. Have no idea how would they end up in page table.

Signature · 1 line
 Kirill A. Shutemov
#6 lore raw

[Bug 203107] Bad page map in process during boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203107

--- Comment #3 from Kirill A. Shutemov ([email protected]) ---

Quoted 23 lines · Jan Kara

Switching to email...

Quoted 20 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

Quoted 7 lines
Quoted 1 line

https://justpaste.it/387uf

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

0xdead000000000100 and 0xdead000000000200 are LIST_POISON1 and LIST_POISON2 repectively. Have no idea how would they end up in page table.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw
In reply to Kirill A. Shutemov
Quoted 26 lines · Kirill A. Shutemov
Quoted 25 lines · Jan Kara

Switching to email...

Quoted 21 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

https://justpaste.it/387uf

Quoted 8 lines
Quoted 5 lines

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

0xdead000000000100 and 0xdead000000000200 are LIST_POISON1 and LIST_POISON2 repectively. Have no idea how would they end up in page table.

It's possible that CONFIG_DEBUG_LIST could catch the issue. Between 5.0.0 to 5.0.4 it should be also relatively easy to bisect with the stable git tree [1], although if it happens randomly, you need to perform enough attempts to accurately determine which commit is "good".

[1] git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

#7 lore raw

[Bug 203107] Bad page map in process during boot

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203107

--- Comment #4 from Vlastimil Babka ([email protected]) ---

Quoted 26 lines · Kirill A. Shutemov
Quoted 25 lines · Jan Kara

Switching to email...

Quoted 21 lines · On Fri 29-03-19 20:46:22, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=203107

            Bug ID: 203107
           Summary: Bad page map in process during boot
           Product: File System
           Version: 2.5
    Kernel Version: 5.0.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Error occurs randomly at boot after upgrading kernel from 5.0.0 to 5.0.4.

https://justpaste.it/387uf

Quoted 8 lines
Quoted 5 lines

I don't think this is an ext4 error. Sure this is an error in file mapping of libblkid.so.1.1.0 (which is handled by ext4) but the filesystem has very little to say wrt how or which PTEs are installed. And the problem is that invalid PTE (dead000000000100) is present in page tables. So this looks more like a problem in MM itself. Adding MM guys to CC.

0xdead000000000100 and 0xdead000000000200 are LIST_POISON1 and LIST_POISON2 repectively. Have no idea how would they end up in page table.

It's possible that CONFIG_DEBUG_LIST could catch the issue. Between 5.0.0 to 5.0.4 it should be also relatively easy to bisect with the stable git tree [1], although if it happens randomly, you need to perform enough attempts to accurately determine which commit is "good".

[1] git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.