[Bug 716757] New: Machine keeps freezing swap_free or get_page_from_freelist problem?
https://bugzilla.novell.com/show_bug.cgi?id=716757 https://bugzilla.novell.com/show_bug.cgi?id=716757#c0 Summary: Machine keeps freezing swap_free or get_page_from_freelist problem? Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: dhall@wustl.edu QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1 My machine keeps freezing (about once a day) on 11.4, I copy the kernel messages from /var/log/message right before and after the freeze in hopes that they explain what is happening. I have a smolt profile at http://www.smolts.org/client/show/pub_82276d41-30c9-43dc-941c-e5e8c0393589 if this provides any info you additionally need. Sep 8 12:35:07 japetus kernel: [93005.834213] swap_free: Bad swap offset entry 20000000000000 Sep 8 12:35:07 japetus kernel: [93005.834224] BUG: Bad page map in process httpd2-prefork pte:4000000000000000 pmd:1ff53067 Sep 8 12:35:07 japetus kernel: [93005.834232] addr:00007f4a1b936000 vm_flags:08000070 anon_vma: (null) mapping:ffff880132be0228 index:22f Sep 8 12:35:07 japetus kernel: [93005.834247] vma->vm_ops->fault: filemap_fault+0x0/0x4a0 Sep 8 12:35:07 japetus kernel: [93005.834310] vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x50 [ext4] Sep 8 12:35:07 japetus kernel: [93005.834319] Pid: 29271, comm: httpd2-prefork Tainted: G B 2.6.37.6-0.7-desktop #1 Sep 8 12:35:07 japetus kernel: [93005.834333] Call Trace: Sep 8 12:35:07 japetus kernel: [93005.834364] [<ffffffff810059b9>] dump_trace+0x79/0x340 Sep 8 12:35:07 japetus kernel: [93005.834379] [<ffffffff81522672>] dump_stack+0x69/0x6f Sep 8 12:35:07 japetus kernel: [93005.834394] [<ffffffff8111d7fb>] print_bad_pte+0x1bb/0x260 Sep 8 12:35:07 japetus kernel: [93005.834407] [<ffffffff8111f474>] zap_pte_range+0x2f4/0x410 Sep 8 12:35:07 japetus kernel: [93005.834421] [<ffffffff8111f75a>] unmap_page_range+0x1ca/0x2b0 Sep 8 12:35:07 japetus kernel: [93005.834432] [<ffffffff8111fe7e>] unmap_vmas+0x12e/0x360 Sep 8 12:35:07 japetus kernel: [93005.834443] [<ffffffff81126c37>] exit_mmap+0xe7/0x1b0 Sep 8 12:35:07 japetus kernel: [93005.834458] [<ffffffff81056a07>] mmput+0x37/0x100 Sep 8 12:35:07 japetus kernel: [93005.834470] [<ffffffff8105d4aa>] exit_mm+0x11a/0x150 Sep 8 12:35:07 japetus kernel: [93005.834480] [<ffffffff8105d63a>] do_exit+0x15a/0x440 Sep 8 12:35:07 japetus kernel: [93005.834490] [<ffffffff8105dac1>] do_group_exit+0x51/0xc0 Sep 8 12:35:07 japetus kernel: [93005.834499] [<ffffffff8105db42>] sys_exit_group+0x12/0x20 Sep 8 12:35:07 japetus kernel: [93005.834511] [<ffffffff81002f8b>] system_call_fastpath+0x16/0x1b Sep 8 12:35:07 japetus kernel: [93005.834530] [<00007f4a24f56c98>] 0x7f4a24f56c98 Sep 8 12:52:45 japetus kernel: [94063.187009] general protection fault: 0000 [#1] PREEMPT SMP Sep 8 12:52:45 japetus kernel: [94063.187009] last sysfs file: /sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map Sep 8 12:52:45 japetus kernel: [94063.187009] CPU 1 Sep 8 12:52:45 japetus kernel: [94063.187009] Modules linked in: ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit snd_pcm_oss snd_mixer_oss hwmon_vid snd_seq_midi snd_seq_midi_event snd_seq edd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 mperf dm_mod snd_intel8x0 snd_ac97_codec ac97_bus ppdev snd_pcm snd_mpu401 snd_timer snd_mpu401_uart sr_mod joydev snd_rawmidi snd_seq_device snd parport_pc shpchp cdrom floppy pcspkr skge parport pci_hotplug asus_atk0110 snd_page_alloc soundcore sg edac_core edac_mce_amd firewire_ohci i2c_nforce2 firewire_core forcedeth crc_itu_t ns558 gameport k8temp serio_raw ext4 jbd2 crc16 nouveau ttm drm_kms_helper drm i2c_algo_bit video button fan processor ata_generic sata_sil thermal thermal_sys pata_amd sata_nv [las Sep 8 12:52:45 japetus kernel: t unloaded: preloadtrace] Sep 8 12:52:45 japetus kernel: [94063.187009] Sep 8 12:52:45 japetus kernel: [94063.187009] Pid: 29966, comm: pymol.exe Tainted: G B 2.6.37.6-0.7-desktop #1 System manufacturer System Product Name/A8N-SLI DELUXE Sep 8 12:52:45 japetus kernel: [94063.187009] RIP: 0010:[<ffffffff811030ed>] [<ffffffff811030ed>] get_page_from_freelist+0x47d/0x6c0 Sep 8 12:52:45 japetus kernel: [94063.187009] RSP: 0000:ffff88012022bb98 EFLAGS: 00010046 Sep 8 12:52:45 japetus kernel: [94063.187009] RAX: ffffea0003babb20 RBX: ffff88013ffece00 RCX: dead000000100100 Sep 8 12:52:45 japetus kernel: [94063.187009] RDX: ffffea0003babb48 RSI: 0000000000000001 RDI: 0000000000000000 Sep 8 12:52:45 japetus kernel: [94063.187009] RBP: 0000000000000002 R08: ffff88013ffece88 R09: 0000000000000010 Sep 8 12:52:45 japetus kernel: [94063.187009] R10: dead000000100100 R11: 0000000000000000 R12: 0000000000000000 Sep 8 12:52:45 japetus kernel: [94063.187009] R13: ffffea0003babb48 R14: 000000000000000d R15: 000000000000001f Sep 8 12:52:45 japetus kernel: [94063.187009] FS: 00007fdd6f8fd760(0000) GS:ffff8800bfd00000(0000) knlGS:0000000000000000 Sep 8 12:52:45 japetus kernel: [94063.187009] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Sep 8 12:52:45 japetus kernel: [94063.187009] CR2: 00007fdd4ac4f000 CR3: 00000001292f7000 CR4: 00000000000006e0 Sep 8 12:52:45 japetus kernel: [94063.187009] DR0: Sep 8 13:16:20 japetus kernel: imklog 5.6.5, log source = /proc/kmsg started. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716757 https://bugzilla.novell.com/show_bug.cgi?id=716757#c1 --- Comment #1 from David Hall <dhall@wustl.edu> 2011-09-09 13:31:40 UTC --- Created an attachment (id=450054) --> (http://bugzilla.novell.com/attachment.cgi?id=450054) output on failed boot after latest freeze, the kernel failed to boot with the attached messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716757 https://bugzilla.novell.com/show_bug.cgi?id=716757#c2 --- Comment #2 from Michal Hocko <mhocko@suse.com> 2011-11-03 11:34:14 CET --- (In reply to comment #0) [...]
Sep 8 12:35:07 japetus kernel: [93005.834213] swap_free: Bad swap offset entry 20000000000000 Sep 8 12:35:07 japetus kernel: [93005.834224] BUG: Bad page map in process httpd2-prefork pte:4000000000000000 pmd:1ff53067 Sep 8 12:35:07 japetus kernel: [93005.834232] addr:00007f4a1b936000 vm_flags:08000070 anon_vma: (null) mapping:ffff880132be0228 index:22f Sep 8 12:35:07 japetus kernel: [93005.834247] vma->vm_ops->fault: filemap_fault+0x0/0x4a0 Sep 8 12:35:07 japetus kernel: [93005.834310] vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x50 [ext4] Sep 8 12:35:07 japetus kernel: [93005.834319] Pid: 29271, comm: httpd2-prefork
Hmm, vm_flags:08000070 = VM_CAN_NONLINEAR | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC. As we do not have any information about the page itself (mapcount is correct). This should be a file pte but the pte doesn't look like a file pte (bit 6 should be set in pte flags which is not the case) even more the flags are 0xe000000000000 (4000000000000000 & 0xffffc00000000fff(PTE_FLAGS_MASK)) which doesn't match any flags. This means that we had to go via swap entry code path. I am wondering, do you happen to use a swap file on ext4 filesystem? Otherwise it would be really strange to have a file backed pte pointing to a swap. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716757 https://bugzilla.novell.com/show_bug.cgi?id=716757#c Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |dhall@wustl.edu -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716757 https://bugzilla.novell.com/show_bug.cgi?id=716757#c3 David Hall <dhall@wustl.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|dhall@wustl.edu | Resolution| |FIXED --- Comment #3 from David Hall <dhall@wustl.edu> 2012-03-26 12:38:01 UTC --- Looking at the system, it doesn't have swap on an ext4 system, but the kernel on this machine was long ago moved to 12.1, which fixed the problem, so I probably will not be able to helpfully debug anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com