Bug 42643
Summary: | oops during resume from s2disk | ||
---|---|---|---|
Product: | Power Management | Reporter: | Klaus Mueller (kmueller) |
Component: | Hibernation/Suspend | Assignee: | power-management_other |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | alan, lenb, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.2.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 |
Description
Klaus Mueller
2012-01-23 21:06:41 UTC
This appears to be a memory corruption, but it's hard to tell where it happened, because there's not debug information in your kernel (i.e. I need to know function names instead of the addresses in the call trace). This means, I have to install the debug-kernel? ksymoops was unable to resolve any address. Why is the kernel suddenly tainted??? I got another oops - a few minutes later, the machine was dead: Jan 23 22:54:18 nb kernel: [30411.985876] Oops: 0000 [#2] PREEMPT SMP Jan 23 22:54:18 nb kernel: [30411.985907] CPU 1 Jan 23 22:54:18 nb kernel: [30411.985918] Modules linked in: ath9k mac80211 ath9k_common ath9k_hw ath cfg80211 nfs lockd fscache auth_rpcgss nfs_acl sunrpc bridge stp af_packet tun microcode cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf snd_usb_audio sg sr_mod cdrom snd_usbmidi_lib snd_rawmidi snd_seq_device arc4 snd_hda_codec_hdmi snd_hda_codec_realtek msi_laptop sparse_keymap snd_hda_intel iTCO_wdt snd_hda_codec snd_hwdep snd_pcm kvm_intel snd_timer kvm joydev pcspkr i2c_i801 intel_ips wmi rfkill r8169 iTCO_vendor_support ac snd battery soundcore snd_page_alloc autofs4 reiserfs sha256_generic cbc dm_crypt dm_mod linear i915 drm_kms_helper drm i2c_algo_bit thermal fan processor button video thermal_sys [last unloaded: cfg80211] Jan 23 22:54:18 nb kernel: [30411.986396] Jan 23 22:54:18 nb kernel: [30411.986406] Pid: 16283, comm: zypper Tainted: G D 3.2.1-3-desktop #1 Micro-Star International CR620/CR620 Jan 23 22:54:18 nb kernel: [30411.986451] RIP: 0010:[<ffffffff812cdc42>] [<ffffffff812cdc42>] strlen+0x2/0x20 Jan 23 22:54:18 nb kernel: [30411.986482] RSP: 0018:ffff880007537e90 EFLAGS: 00010246 Jan 23 22:54:18 nb kernel: [30411.986503] RAX: 0000000000000000 RBX: ffff88006f427370 RCX: ffff88006f4275b0 Jan 23 22:54:18 nb kernel: [30411.986529] RDX: 0000000000000000 RSI: ffff88006f427f40 RDI: 0000000000000000 Jan 23 22:54:18 nb kernel: [30411.986556] RBP: ffff88004f6c1240 R08: 0000000000002f55 R09: 0000000000000008 Jan 23 22:54:18 nb kernel: [30411.986582] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Jan 23 22:54:18 nb kernel: [30411.986608] R13: 0000000000000000 R14: 0000000000000006 R15: ffff88006f427f40 Jan 23 22:54:18 nb kernel: [30411.986635] FS: 00007f84bc5477e0(0000) GS:ffff880076c40000(0000) knlGS:0000000000000000 Jan 23 22:54:18 nb kernel: [30411.986666] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 23 22:54:18 nb kernel: [30411.986687] CR2: 0000000000000000 CR3: 0000000065107000 CR4: 00000000000006e0 Jan 23 22:54:18 nb kernel: [30411.986714] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jan 23 22:54:18 nb kernel: [30411.986740] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Jan 23 22:54:18 nb kernel: [30411.986767] Process zypper (pid: 16283, threadinfo ffff880007536000, task ffff880045ad6100) Jan 23 22:54:18 nb kernel: [30411.986797] Stack: Jan 23 22:54:18 nb kernel: [30411.986807] ffffffff811ce0a5 ffff880000000008 0000000000002f55 ffff880007537f40 Jan 23 22:54:18 nb kernel: [30411.986844] ffffffff8116cb70 ffff88004f6c1250 ffff88004f6c1240 ffff880007537f40 Jan 23 22:54:18 nb kernel: [30411.986880] ffffffff8116cb70 ffff880074300358 ffff8800743002b8 00000000025f5ac0 Jan 23 22:54:18 nb kernel: [30411.986917] Call Trace: Jan 23 22:54:18 nb kernel: [30411.986938] [<ffffffff811ce0a5>] sysfs_readdir+0x95/0x250 Jan 23 22:54:18 nb kernel: [30411.986965] [<ffffffff8116ce70>] vfs_readdir+0xc0/0xf0 Jan 23 22:54:18 nb kernel: [30411.986989] [<ffffffff8116cf89>] sys_getdents+0x89/0x100 Jan 23 22:54:18 nb kernel: [30411.987014] [<ffffffff815c76d2>] system_call_fastpath+0x16/0x1b Jan 23 22:54:18 nb kernel: [30411.987042] [<00007f84bab84225>] 0x7f84bab84224 Jan 23 22:54:18 nb kernel: [30411.987060] Code: 82 80 f5 63 81 20 74 11 90 48 83 c0 01 0f b6 10 f6 82 80 f5 63 81 20 75 f0 f3 c3 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 31 c0 <80> 3f 00 74 15 48 89 f8 66 0f 1f 44 00 00 48 83 c0 01 80 38 00 Jan 23 22:54:18 nb kernel: [30411.987359] RIP [<ffffffff812cdc42>] strlen+0x2/0x20 Jan 23 22:54:18 nb kernel: [30411.987383] RSP <ffff880007537e90> Jan 23 22:54:18 nb kernel: [30411.987398] CR2: 0000000000000000 Jan 23 22:54:18 nb kernel: [30412.047825] ---[ end trace d719bd166abcba80 ]--- Is this a distro kernel? If so, what distro and what kernel? It's openSUSE 12.1 with this kernel: rpm -qi kernel-debug Name : kernel-debug Version : 3.2.1 Release : 3.1 Architecture: x86_64 Install Date: Mon Jan 23 23:19:17 2012 Group : System/Kernel Size : 156665636 License : GPL-2.0 Signature : DSA/SHA1, Fri Jan 20 04:43:06 2012, Key ID 01a7de5aa840f92c Source RPM : kernel-debug-3.2.1-3.1.nosrc.rpm Build Date : Fri Jan 20 03:35:18 2012 Build Host : build02 Relocations : (not relocatable) Vendor : obs://build.opensuse.org/openSUSE:Tumbleweed URL : http://www.kernel.org/ Summary : A Debug Version of the Kernel Description : This kernel has several debug facilities enabled that hurt performance. Only use this kernel when investigating problems. Source Timestamp: 2012-01-13 11:38:45 +0100 GIT Revision: 2eca2bf29666a09cd407ec9ffe4120ebb0ca2e79 GIT Branch: stable Distribution: openSUSE:Tumbleweed Now, the next oops: Jan 23 23:31:37 nb kernel: [ 508.297484] BUG: unable to handle kernel NULL pointer dereference at (null) Jan 23 23:31:37 nb kernel: [ 508.297532] IP: [<ffffffff8112a191>] unlink_anon_vmas+0x21/0x1b0 Jan 23 23:31:37 nb kernel: [ 508.297563] PGD 70449067 PUD 7144e067 PMD 0 Jan 23 23:31:37 nb kernel: [ 508.297589] Oops: 0000 [#1] SMP Jan 23 23:31:37 nb kernel: [ 508.297611] CPU 3 Jan 23 23:31:37 nb kernel: [ 508.297622] Modules linked in: af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf microcode arc4 iTCO_wdt snd_hda_codec _hdmi sr_mod msi_laptop wmi iTCO_vendor_support intel_ips sg cdrom i2c_i801 snd_hda_codec_realtek snd_hda_intel r8169 sparse_keymap snd_hda_codec battery kvm_intel joydev snd_hwdep snd_pcm sn d_timer snd soundcore snd_page_alloc kvm rfkill ac pcspkr autofs4 reiserfs sha256_generic cbc dm_crypt dm_mod linear rtc_cmos ehci_hcd i915 drm_kms_helper drm i2c_algo_bit usbcore fan usb_com mon button i2c_core video thermal processor thermal_sys hwmon [last unloaded: cfg80211] Jan 23 23:31:37 nb kernel: [ 508.297990] Jan 23 23:31:37 nb kernel: [ 508.297999] Pid: 2733, comm: kblankscrn.kss Not tainted 3.2.1-3-debug #1 Micro-Star International CR620/CR620 Jan 23 23:31:37 nb kernel: [ 508.298039] RIP: 0010:[<ffffffff8112a191>] [<ffffffff8112a191>] unlink_anon_vmas+0x21/0x1b0 Jan 23 23:31:37 nb kernel: [ 508.298071] RSP: 0018:ffff880051df9d88 EFLAGS: 00010296 Jan 23 23:31:37 nb kernel: [ 508.298090] RAX: 0000000000000000 RBX: ffff8800375b1790 RCX: 000000000000002d Jan 23 23:31:37 nb kernel: [ 508.298114] RDX: 0000000000607000 RSI: ffff88003dcd4bc8 RDI: ffff8800375b1790 Jan 23 23:31:37 nb kernel: [ 508.298139] RBP: ffff88003dcd49e8 R08: 0000000000607000 R09: 2222222222222222 Jan 23 23:31:37 nb kernel: [ 508.298163] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 Jan 23 23:31:37 nb kernel: [ 508.298188] R13: ffff880051df9e18 R14: 0000000000000000 R15: ffff8800375b1800 Jan 23 23:31:37 nb kernel: [ 508.298213] FS: 0000000000000000(0000) GS:ffff880076cc0000(0000) knlGS:0000000000000000 Jan 23 23:31:37 nb kernel: [ 508.298241] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 23 23:31:37 nb kernel: [ 508.298261] CR2: 0000000000000000 CR3: 0000000071c92000 CR4: 00000000000006e0 Jan 23 23:31:37 nb kernel: [ 508.298285] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jan 23 23:31:37 nb kernel: [ 508.298309] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Jan 23 23:31:37 nb kernel: [ 508.298335] Process kblankscrn.kss (pid: 2733, threadinfo ffff880051df8000, task ffff880051c02680) Jan 23 23:31:37 nb kernel: [ 508.298364] Stack: Jan 23 23:31:37 nb kernel: [ 508.298374] ffff88003dcd4b78 ffff8800375b1790 ffff8800570e0cb8 ffff8800375b1790 Jan 23 23:31:37 nb kernel: [ 508.298409] ffff88003dcd49e8 0000000000000000 ffff880051df9e18 0000000000000000 Jan 23 23:31:37 nb kernel: [ 508.298443] 0000000000400000 ffffffff8111d0d9 fffffffffffffbe0 ffff88003dcd4dd0 Jan 23 23:31:37 nb kernel: [ 508.298477] Call Trace: Jan 23 23:31:37 nb kernel: [ 508.298498] [<ffffffff8111d0d9>] free_pgtables+0x99/0x110 Jan 23 23:31:37 nb kernel: [ 508.298521] [<ffffffff811262f4>] exit_mmap+0xb4/0x120 Jan 23 23:31:37 nb kernel: [ 508.298549] [<ffffffff810524a5>] mmput.part.19+0x35/0x120 Jan 23 23:31:37 nb kernel: [ 508.298573] [<ffffffff81058bcc>] exit_mm+0x10c/0x130 Jan 23 23:31:37 nb kernel: [ 508.298593] [<ffffffff81058d3b>] do_exit+0x14b/0x400 Jan 23 23:31:37 nb kernel: [ 508.298614] [<ffffffff81059181>] do_group_exit+0x41/0xb0 Jan 23 23:31:37 nb kernel: [ 508.298634] [<ffffffff81059202>] sys_exit_group+0x12/0x20 Jan 23 23:31:37 nb kernel: [ 508.298658] [<ffffffff81570692>] system_call_fastpath+0x16/0x1b Jan 23 23:31:37 nb kernel: [ 508.298684] [<00007f59ab6f41d8>] 0x7f59ab6f41d7 Jan 23 23:31:37 nb kernel: [ 508.298701] Code: 66 2e 0f 1f 84 00 00 00 00 00 41 57 49 89 ff 49 83 c7 70 41 56 45 31 f6 41 55 41 54 55 53 48 83 ec 18 48 8b 47 70 48 89 7c 24 08 <4c> 8b 20 48 8d 58 f0 49 83 ec 10 49 39 c7 75 15 e9 38 01 00 00 Jan 23 23:31:37 nb kernel: [ 508.298992] RIP [<ffffffff8112a191>] unlink_anon_vmas+0x21/0x1b0 Jan 23 23:31:37 nb kernel: [ 508.299017] RSP <ffff880051df9d88> Jan 23 23:31:37 nb kernel: [ 508.299031] CR2: 0000000000000000 Jan 23 23:31:37 nb kernel: [ 508.357991] ---[ end trace 19c5ef6fa472768f ]--- Unfortunately, ksymoops doesn't work: ksymoops 2.4.11 on x86_64 3.2.1-3-debug. Options used -V (default) -k /proc/kallsyms (default) -l /proc/modules (default) -o /lib/modules/3.2.1-3-debug/ (default) -m /boot/System.map-3.2.1-3-debug (default) Warning: You did not tell me where to find symbol information. I will assume that the log matches the kernel and modules that are running right now and I'll use the default options above for symbol resolution. If the current kernel and/or modules do not match the log, you can get more accurate output by telling me the kernel version and where to find map, modules, ksyms etc. ksymoops -h explains the options. Warning (read_ksyms): no kernel symbols in ksyms, is /proc/kallsyms a valid ksyms file? No modules in ksyms, skipping objects No ksyms, skipping lsmod Jan 23 23:31:37 nb kernel: [ 508.297484] BUG: unable to handle kernel NULL pointer dereference at (null) Jan 23 23:31:37 nb kernel: [ 508.297999] Pid: 2733, comm: kblankscrn.kss Not tainted 3.2.1-3-debug #1 Micro-Star International CR620/CR620 2 warnings issued. Results may not be reliable. I don't know how to get a usable output. What's the content of ksyms? /proc/kallsyms looks like this: head /proc/kallsyms 0000000000000000 V irq_stack_union 0000000000000000 D __per_cpu_start 0000000000004000 V exception_stacks 000000000000a000 V gdt_page 000000000000b000 V tlb_vector_offset 000000000000b080 V cpu_loops_per_jiffy 000000000000b0c0 V is_idle 000000000000b0c8 V old_rsp 000000000000b0d0 V irq_regs 000000000000b0e0 V last_nmi_rip head symvers-3.2.1-3-debug 0x46674bcd cfg80211_send_rx_assoc net/wireless/cfg80211 EXPORT_SYMBOL 0x5664c430 usb_serial_generic_submit_read_urb drivers/usb/serial/usbserial EXPORT_SYMBOL_GPL 0x99841375 iscsi_host_add drivers/scsi/libiscsi EXPORT_SYMBOL_GPL 0x009a8815 pcmcia_reset_card drivers/pcmcia/pcmcia_core EXPORT_SYMBOL 0xc47c22e8 mpt_deregister drivers/message/fusion/mptbase EXPORT_SYMBOL 0xbf32ec02 tm6000_set_reg_mask drivers/media/video/tm6000/tm6000 EXPORT_SYMBOL_GPL 0xb07c4025 kvm_get_cs_db_l_bits arch/x86/kvm/kvm EXPORT_SYMBOL_GPL 0x5591ca36 sata_pmp_error_handler vmlinux EXPORT_SYMBOL_GPL 0x9ba0501e unregister_vt_notifier vmlinux EXPORT_SYMBOL_GPL 0x0bbb5c3b generic_file_splice_write vmlinux EXPORT_SYMBOL -> nothing worked! https://bugzilla.kernel.org/attachment.cgi?id=72739 *** This bug has been marked as a duplicate of bug 37142 *** |