操作系统:Linux Mint 18.1 64位Cinnamon
内核版本:4.4.0-62-generic #83
交换:分区; 8GB
相关硬件:
固态硬盘;ST1000LM0148GB与非门闪光
2 个 4GB DDR3 1600 MHz;M471B5173EB0-YK0
我刚刚看了一下一台计算机的:
/var/log/syslog
我发现,它完全充满了这些与内核交换相关的错误。
首先,有无数这样的:
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049442] swap_free: Bad swap offset entry 438000004300
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049444] BUG: Bad page map in process ScriptStreamerT pte:87000000860000 pmd:359a0067
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049446] addr:00007fb40fa03000 vm_flags:08000070 anon_vma: (null) mapping:ffff8802407251e0 index:ed
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049452] file:libplds4.so fault:ext4_filemap_fault mmap:ext4_file_mmap readpage:ext4_readpage
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049455] CPU: 2 PID: 8036 Comm: ScriptStreamerT Tainted: G B 4.4.0-62-generic #83-Ubuntu
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049457] Hardware name: LENOVO 20354/Lancer 5A5, BIOS 9BCN31WW 04/20/2015
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049458] 0000000000000286 00000000b31f5a18 ffff88022aacfa58 ffffffff813f7c63
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049460] 00007fb40fa03000 ffff8800a69debb8 ffff88022aacfaa8 ffffffff811bdcef
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049463] ffff88022aacfa80 ffffffff811d4e40 0000438000004300 0087000000860000
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049466] Call Trace:
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049468] [<ffffffff813f7c63>] dump_stack+0x63/0x90
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049472] [<ffffffff811bdcef>] print_bad_pte+0x1df/0x2a0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049474] [<ffffffff811d4e40>] ? swap_info_get+0xb0/0xd0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049478] [<ffffffff811bf678>] unmap_page_range+0x468/0x7a0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049481] [<ffffffff811bfa2d>] unmap_single_vma+0x7d/0xe0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049484] [<ffffffff811c04f1>] unmap_vmas+0x51/0xa0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049487] [<ffffffff811c9a77>] exit_mmap+0xa7/0x170
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049491] [<ffffffff8107e0a7>] mmput+0x57/0x130
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049494] [<ffffffff81083f2a>] do_exit+0x27a/0xb00
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049499] [<ffffffff8110045c>] ? __unqueue_futex+0x2c/0x60
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049501] [<ffffffff81100f7e>] ? futex_wait+0x16e/0x280
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049506] [<ffffffff8119f41b>] ? release_pages+0xdb/0x2b0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049509] [<ffffffff81084833>] do_group_exit+0x43/0xb0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049513] [<ffffffff810909b2>] get_signal+0x292/0x600
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049518] [<ffffffff8102e567>] do_signal+0x37/0x6f0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049522] [<ffffffff8113d15f>] ? seccomp_phase1+0x9f/0x280
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049526] [<ffffffff81833e16>] ? __schedule+0x3b6/0xa30
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049530] [<ffffffff8100320c>] exit_to_usermode_loop+0x8c/0xd0
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049532] [<ffffffff81003c6e>] syscall_return_slowpath+0x4e/0x60
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.049536] [<ffffffff81838750>] int_ret_from_sys_call+0x25/0x8f
之后是这些错误的列表:
Feb 14 12:14:52 RB-NB-Mint kernel: [187383.053016] swap_free: Bad swap offset entry 588000005800
请注意,这台计算机经常挂起到内存,其中常常意思是每天10-20个。我指出这与这个问题可能存在关联。
交换分区可以吗破碎的或者其他的东西?