Re: _swap_info_get: Bad swap file entry 600000000029dc48

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux