Linux-parisc archive mirror
 help / color / mirror / Atom feed
From: John David Anglin <dave.anglin@bell.net>
To: Helge Deller <deller@gmx.de>,
	linux-parisc <linux-parisc@vger.kernel.org>
Subject: Re: _swap_info_get: Bad swap file entry 600000000029dc48
Date: Wed, 13 Sep 2023 19:36:20 -0400	[thread overview]
Message-ID: <dbd1d326-b863-b0fd-0956-060e23b4c5f8@bell.net> (raw)
In-Reply-To: <4e1660db-0cd7-bb14-8079-b188a17eb014@bell.net>

On 2023-09-13 5:34 p.m., John David Anglin wrote:
> Hi Helge,
>
> The issues go on with Linus' tree on my c8000.  After disabling CDL, boot is successful but see these error messages:
>
> _swap_info_get: Bad swap file entry 600000000029dc48
> BUG: Bad page map in process (sd-close)  pte:14ee2418 pmd:00289443
> addr:0000000041206000 vm_flags:00100077 anon_vma:0000000053605c30 mapping:000006
> file:(null) fault:0x0 mmap:0x0 read_folio:0x0
> CPU: 3 PID: 1337 Comm: (sd-close) Not tainted 6.5.0+ #28
> Hardware name: 9000/785/C8000
> Backtrace:
>  [<000000004020a658>] show_stack+0x70/0x90
>  [<0000000040c7f094>] dump_stack_lvl+0xec/0x150
>  [<0000000040c7f12c>] dump_stack+0x34/0x48
>  [<000000004045d944>] print_bad_pte+0x24c/0x318
>  [<00000000404624c4>] zap_pte_range+0x1dc/0x750
>  [<0000000040462ccc>] unmap_page_range+0x234/0x450
>  [<0000000040463088>] unmap_vmas+0xe0/0x180
>  [<0000000040473608>] exit_mmap+0x1a8/0x590
>  [<0000000040235574>] mmput+0x14c/0x350
>  [<0000000040245acc>] do_exit+0x4d4/0xd08
>  [<00000000402465d8>] sys_exit+0x30/0x38
>  [<0000000040203e5c>] syscall_exit+0x0/0x10
>
> Disabling lock debugging due to kernel taint
> _swap_info_get: Bad swap offset entry 100000000000000
> BUG: Bad page map in process (sd-close)  pte:8000000000000000 pmd:00289443
> addr:0000000041207000 vm_flags:00100077 anon_vma:0000000053605c30 mapping:000007
> file:(null) fault:0x0 mmap:0x0 read_folio:0x0
> CPU: 3 PID: 1337 Comm: (sd-close) Tainted: G    B 6.5.0+ #28
> Hardware name: 9000/785/C8000
> Backtrace:
>  [<000000004020a658>] show_stack+0x70/0x90
>  [<0000000040c7f094>] dump_stack_lvl+0xec/0x150
>  [<0000000040c7f12c>] dump_stack+0x34/0x48
>  [<000000004045d944>] print_bad_pte+0x24c/0x318
>  [<00000000404624c4>] zap_pte_range+0x1dc/0x750
>  [<0000000040462ccc>] unmap_page_range+0x234/0x450
>  [<0000000040463088>] unmap_vmas+0xe0/0x180
>  [<0000000040473608>] exit_mmap+0x1a8/0x590
>  [<0000000040235574>] mmput+0x14c/0x350
>  [<0000000040245acc>] do_exit+0x4d4/0xd08
>  [<00000000402465d8>] sys_exit+0x30/0x38
>  [<0000000040203e5c>] syscall_exit+0x0/0x10
>
> _swap_info_get: Bad swap file entry 5000000001ffff65
> BUG: Bad page map in process (sd-close)  pte:ffffb0b4 pmd:00289443
> addr:000000004120a000 vm_flags:00100077 anon_vma:0000000053605c30 mapping:00000a
> file:(null) fault:0x0 mmap:0x0 read_folio:0x0
> CPU: 3 PID: 1337 Comm: (sd-close) Tainted: G    B 6.5.0+ #28
> Hardware name: 9000/785/C8000
> Backtrace:
>  [<000000004020a658>] show_stack+0x70/0x90
>  [<0000000040c7f094>] dump_stack_lvl+0xec/0x150
>  [<0000000040c7f12c>] dump_stack+0x34/0x48
>  [<000000004045d944>] print_bad_pte+0x24c/0x318
>  [<00000000404624c4>] zap_pte_range+0x1dc/0x750
>  [<0000000040462ccc>] unmap_page_range+0x234/0x450
>  [<0000000040463088>] unmap_vmas+0xe0/0x180
>  [<0000000040473608>] exit_mmap+0x1a8/0x590
>  [<0000000040235574>] mmput+0x14c/0x350
>  [<0000000040245acc>] do_exit+0x4d4/0xd08
>  [<00000000402465d8>] sys_exit+0x30/0x38
>  [<0000000040203e5c>] syscall_exit+0x0/0x10
>
> _swap_info_get: Unused swap offset entry 00001000
> BUG: Bad page map in process (sd-close)  pte:00080000 pmd:00289443
> addr:000000004120b000 vm_flags:00100077 anon_vma:0000000053605c30 mapping:00000b
> file:(null) fault:0x0 mmap:0x0 read_folio:0x0
> CPU: 3 PID: 1337 Comm: (sd-close) Tainted: G    B 6.5.0+ #28
> Hardware name: 9000/785/C8000
> Backtrace:
>  [<000000004020a658>] show_stack+0x70/0x90
>  [<0000000040c7f094>] dump_stack_lvl+0xec/0x150
>  [<0000000040c7f12c>] dump_stack+0x34/0x48
>  [<000000004045d944>] print_bad_pte+0x24c/0x318
>  [<00000000404624c4>] zap_pte_range+0x1dc/0x750
>  [<0000000040462ccc>] unmap_page_range+0x234/0x450
>  [<0000000040463088>] unmap_vmas+0xe0/0x180
>  [<0000000040473608>] exit_mmap+0x1a8/0x590
>  [<0000000040235574>] mmput+0x14c/0x350
>  [<0000000040245acc>] do_exit+0x4d4/0xd08
>  [<00000000402465d8>] sys_exit+0x30/0x38
>  [<0000000040203e5c>] syscall_exit+0x0/0x10
>
> BUG: Bad rss-counter state mm:000000008461a162 type:MM_ANONPAGES val:16
> BUG: Bad rss-counter state mm:000000008461a162 type:MM_SWAPENTS val:-4
> [  OK  ] Started getty@tty1.service - Getty on tty1.
> [  OK  ] Started serial-getty@ttyS0.service - Serial Getty on ttyS0.
> [  OK  ] Reached target getty.target - Login Prompts.
> [  OK  ] Started apt-cacher-ng.service - Apt-Cacher NG software download proxy.
>
> Debian GNU/Linux trixie/sid atlas ttyS0
>
> atlas login: systemd-journald[976]: Time jumped backwards, rotating.
>
> These probably sre due to Willy's folio changes.  This is at e56b2b6057996c5f48da518c79d6590f8bfaabf3.
>
> I'll see if 6.5.3 works...
v6.5.3 boats fine with the fix from Masahiro Yamada and CDL disabled.  I wasn't able to reproduce the above
bugs in a couple more reboots with 6.5.0+.

Dave

-- 
John David Anglin  dave.anglin@bell.net


      reply	other threads:[~2023-09-13 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 21:34 _swap_info_get: Bad swap file entry 600000000029dc48 John David Anglin
2023-09-13 23:36 ` John David Anglin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbd1d326-b863-b0fd-0956-060e23b4c5f8@bell.net \
    --to=dave.anglin@bell.net \
    --cc=deller@gmx.de \
    --cc=linux-parisc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).