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

Bug#685608: linux-image-3.2.0-3-amd64: unable to handle kernel paging request __d_shrink



Package: linux-image-3.2.0-3-amd64
Version: 3.2.0
Severity: important

Dear Maintainer,

I got following kernel oops when running stock debian kernel
linux-image-3.2.0-3-amd64: 3.2.23-1. I have seen oops once before but it is
very infrequent making reproducing practically impossible. The oops
happened when there was no major disk activity in system except
log rotation had kicked in a moment earlier.

System is:
64bit Mobile Core i5
Intel Ironlake graphics
AMD Radeon 5650 (evergreen)
dm-crypt encrypted ext4 and swap paritions in rotating disk.

I know that there is reports about memory problems with both of my
graphics drivers. I have also seen 3 times complete deadlock which might
kernel oops that failed to do modesetting back to console. Or it could
be genuine deadlock. But I think it is more likely that oops handling
path has some deadlock because many oops handling paths are trying to
take locks even tough those locks might be already held before oops.

Also suspended radeon doesn't tell hdmi audio or remember
that hardware is suspended. That leads to a few tries to access hardware
that lead to wait for timeout inside locks. But I haven't noticed
any more issues caused by those bugs.

But I was actually surprised that oops were stored in syslog after
reboot so I decided to report it a bit later. I'm now running debian
kernel with kernel memory and lock debugging enabled.

Only report that I could find online with anything similar is
http://lists.opensuse.org/opensuse/2012-03/msg00481.html but that is
coming from btrfs. But I'm hoping that if I report this there could be
someone else providing more information about this infrequent problem.

I don't know why every entry is twice in my syslog. I didn't have time
to investigate that. But there was only one oops that is twice in the log.

Crash happens in "mov    %rcx,0x8(%rdx)" but my config and compiler
generates completely different code for the function. So I can't use
objdump to disassemble the function and match to this report. I don't
know how to disassemble vmlinuz.

Aug 21 12:39:39 papupata rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2219" x-info="http://www.rsyslog.com";] rsyslogd was HUPed
Aug 21 12:39:39 papupata rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2219" x-info="http://www.rsyslog.com";] rsyslogd was HUPed
Aug 21 12:40:51 papupata kernel: [179567.925867] BUG: unable to handle kernel paging request at 0000480000000008
Aug 21 12:40:51 papupata kernel: [179567.925920] IP: [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.925957] PGD 0 
Aug 21 12:40:51 papupata kernel: [179567.925972] Oops: 0002 [#1] SMP 
Aug 21 12:40:51 papupata kernel: [179567.925993] CPU 0 
Aug 21 12:40:51 papupata kernel: [179567.925867] BUG: unable to handle kernel paging request at 0000480000000008
Aug 21 12:40:51 papupata kernel: [179567.925920] IP: [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.925957] PGD 0 
Aug 21 12:40:51 papupata kernel: [179567.925972] Oops: 0002 [#1] SMP 
Aug 21 12:40:51 papupata kernel: [179567.925993] CPU 0  
Aug 21 12:40:51 papupata kernel: [179567.926006] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables parport_pc ppdev bnep rfcomm cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_conservative binfmt_misc uinput lp parport loop fuse ecryptfs kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek uvcvideo videodev v4l2_compat_ioctl32 media joydev snd_hda_intel snd_hda_codec arc4 snd_hwdep tpm_infineon radeon snd_pcm_oss snd_mixer_oss snd_pcm btusb i915 iwlwifi ttm drm_kms_helper bluetooth snd_seq_midi drm snd_seq_midi_event snd_rawmidi snd_page_alloc hp_wmi acpi_cpufreq psmouse mac80211 tpm_tis tpm snd_seq i2c_algo_bit i2c_i801 i2c_core coretemp snd_seq_device sparse_keymap evdev pcspkr mperf serio_raw container tpm_bios cfg80211 intel_ips battery snd_timer snd ac power_supply wmi rfkill soundcore processor video button ext4 crc16 jbd2 mbcache btrfs libcrc32c zlib_deflate sha256_generic cryptd aes_x86_64 aes_generic cbc 
 dm_crypt
  dm_mod sg sd_mod sr_mod cdrom
Aug 21 12:40:51 papupata kernel: crc_t10dif crc32c_intel ahci libahci libata scsi_mod ehci_hcd usbcore usb_common thermal fan thermal_sys [last unloaded: scsi_wait_scan]
Aug 21 12:40:51 papupata kernel: [179567.927153] 
Aug 21 12:40:51 papupata kernel: [179567.927177] Pid: 32, comm: kswapd0 Not tainted 3.2.0-3-amd64 #1 Compal NBLBX/NBLBX
Aug 21 12:40:51 papupata kernel: [179567.927272] RIP: 0010:[<ffffffff81108753>]  [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.927368] RSP: 0018:ffff88012fe6fba8  EFLAGS: 00010206
Aug 21 12:40:51 papupata kernel: [179567.927430] RAX: 0000480000000001 RBX: ffff88006f000140 RCX: ffffc90000185020
Aug 21 12:40:51 papupata kernel: [179567.927511] RDX: 0000480000000000 RSI: 00000000123f74ee RDI: ffffc90000185020
Aug 21 12:40:51 papupata kernel: [179567.927592] RBP: ffffc90000185020 R08: 0000000000000000 R09: 0000000000000000
Aug 21 12:40:51 papupata kernel: [179567.927672] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880015a6e270
Aug 21 12:40:51 papupata kernel: [179567.927753] R13: 0000000000000000 R14: ffff88012fe6fc40 R15: ffff88012fe6fc50
Aug 21 12:40:51 papupata kernel: [179567.927834] FS:  0000000000000000(0000) GS:ffff880137c00000(0000) knlGS:0000000000000000 
Aug 21 12:40:51 papupata kernel: [179567.927924] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 21 12:40:51 papupata kernel: [179567.927990] CR2: 0000480000000008 CR3: 0000000001605000 CR4: 00000000000006f0
Aug 21 12:40:51 papupata kernel: [179567.928071] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 21 12:40:51 papupata kernel: [179567.928152] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 21 12:40:51 papupata kernel: [179567.928232] Process kswapd0 (pid: 32, threadinfo ffff88012fe6e000, task ffff880132e68240)
Aug 21 12:40:51 papupata kernel: [179567.928323] Stack:
Aug 21 12:40:51 papupata kernel: [179567.928349]  ffff88006f000140 ffff88006b9dbec0 ffffffff81108dc1 ffff88006f000140
Aug 21 12:40:51 papupata kernel: [179567.928447]  ffffffff81109197 ffff88006f0001c0 ffff88006f000140 ffff88012fe6fc50
Aug 21 12:40:51 papupata kernel: [179567.928544]  ffff88006f0001c0 ffff88012f7dc4e0 ffffffff811092c0 ffff88012fe6fc00
Aug 21 12:40:51 papupata kernel: [179567.928641] Call Trace: 
Aug 21 12:40:51 papupata kernel: [179567.928676]  [<ffffffff81108dc1>] ? __d_drop+0x10/0x1f
Aug 21 12:40:51 papupata kernel: [179567.928737]  [<ffffffff81109197>] ? dentry_kill+0x7b/0x12b
Aug 21 12:40:51 papupata kernel: [179567.928802]  [<ffffffff811092c0>] ? shrink_dentry_list+0x79/0xce
Aug 21 12:40:51 papupata kernel: [179567.928872]  [<ffffffff81109e32>] ? prune_dcache_sb+0x125/0x134
Aug 21 12:40:51 papupata kernel: [179567.928943]  [<ffffffff810fb8d3>] ? prune_super+0xca/0x13f 
Aug 21 12:40:51 papupata kernel: [179567.929010]  [<ffffffff810c1505>] ? shrink_slab+0x18f/0x24d
Aug 21 12:40:51 papupata kernel: [179567.929077]  [<ffffffff810c3dfe>] ? balance_pgdat+0x283/0x4b7
Aug 21 12:40:51 papupata kernel: [179567.929145]  [<ffffffff810c42fc>] ? kswapd+0x2ca/0x2e6
Aug 21 12:40:51 papupata kernel: [179567.929209]  [<ffffffff8105f5f3>] ? add_wait_queue+0x3c/0x3c
Aug 21 12:40:51 papupata kernel: [179567.929276]  [<ffffffff810c4032>] ? balance_pgdat+0x4b7/0x4b7
Aug 21 12:40:51 papupata kernel: [179567.926006] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables parport_pc ppdev bnep rfcomm cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_conservative binfmt_misc uinput lp parport loop fuse ecryptfs kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek uvcvideo videodev v4l2_compat_ioctl32 media joydev snd_hda_intel snd_hda_codec arc4 snd_hwdep tpm_infineon radeon snd_pcm_oss snd_mixer_oss snd_pcm btusb i915 iwlwifi ttm drm_kms_helper bluetooth snd_seq_midi drm snd_seq_midi_event snd_rawmidi snd_page_alloc hp_wmi acpi_cpufreq psmouse mac80211 tpm_tis tpm snd_seq i2c_algo_bit i2c_i801 i2c_core coretemp snd_seq_device sparse_keymap evdev pcspkr mperf serio_raw container tpm_bios cfg80211 intel_ips battery snd_timer snd ac power_supply wmi rfkill soundcore processor video button ext4 crc16 jbd2 mbcache btrfs libcrc32c zlib_deflate sha256_generic cryptd aes_x86_64 aes_generic cbc 
 dm_crypt
  dm_mod sg sd_mod sr_mod cdrom
Aug 21 12:40:51 papupata kernel: crc_t10dif crc32c_intel ahci libahci libata scsi_mod ehci_hcd usbcore usb_common thermal fan thermal_sys [last unloaded: scsi_wait_scan]
Aug 21 12:40:51 papupata kernel: [179567.927153] 
Aug 21 12:40:51 papupata kernel: [179567.927177] Pid: 32, comm: kswapd0 Not tainted 3.2.0-3-amd64 #1 Compal NBLBX/NBLBX
Aug 21 12:40:51 papupata kernel: [179567.927272] RIP: 0010:[<ffffffff81108753>]  [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.927368] RSP: 0018:ffff88012fe6fba8  EFLAGS: 00010206
Aug 21 12:40:51 papupata kernel: [179567.927430] RAX: 0000480000000001 RBX: ffff88006f000140 RCX: ffffc90000185020
Aug 21 12:40:51 papupata kernel: [179567.927511] RDX: 0000480000000000 RSI: 00000000123f74ee RDI: ffffc90000185020
Aug 21 12:40:51 papupata kernel: [179567.927592] RBP: ffffc90000185020 R08: 0000000000000000 R09: 0000000000000000
Aug 21 12:40:51 papupata kernel: [179567.927672] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880015a6e270
Aug 21 12:40:51 papupata kernel: [179567.927753] R13: 0000000000000000 R14: ffff88012fe6fc40 R15: ffff88012fe6fc50
Aug 21 12:40:51 papupata kernel: [179567.927834] FS:  0000000000000000(0000) GS:ffff880137c00000(0000) knlGS:0000000000000000
Aug 21 12:40:51 papupata kernel: [179567.927924] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 21 12:40:51 papupata kernel: [179567.927990] CR2: 0000480000000008 CR3: 0000000001605000 CR4: 00000000000006f0
Aug 21 12:40:51 papupata kernel: [179567.928071] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 21 12:40:51 papupata kernel: [179567.928152] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 21 12:40:51 papupata kernel: [179567.928232] Process kswapd0 (pid: 32, threadinfo ffff88012fe6e000, task ffff880132e68240)
Aug 21 12:40:51 papupata kernel: [179567.928323] Stack:
Aug 21 12:40:51 papupata kernel: [179567.928349]  ffff88006f000140 ffff88006b9dbec0 ffffffff81108dc1 ffff88006f000140
Aug 21 12:40:51 papupata kernel: [179567.928447]  ffffffff81109197 ffff88006f0001c0 ffff88006f000140 ffff88012fe6fc50
Aug 21 12:40:51 papupata kernel: [179567.928544]  ffff88006f0001c0 ffff88012f7dc4e0 ffffffff811092c0 ffff88012fe6fc00
Aug 21 12:40:51 papupata kernel: [179567.928641] Call Trace:
Aug 21 12:40:51 papupata kernel: [179567.928676]  [<ffffffff81108dc1>] ? __d_drop+0x10/0x1f
Aug 21 12:40:51 papupata kernel: [179567.928737]  [<ffffffff81109197>] ? dentry_kill+0x7b/0x12b
Aug 21 12:40:51 papupata kernel: [179567.928802]  [<ffffffff811092c0>] ? shrink_dentry_list+0x79/0xce
Aug 21 12:40:51 papupata kernel: [179567.928872]  [<ffffffff81109e32>] ? prune_dcache_sb+0x125/0x134
Aug 21 12:40:51 papupata kernel: [179567.928943]  [<ffffffff810fb8d3>] ? prune_super+0xca/0x13f
Aug 21 12:40:51 papupata kernel: [179567.929010]  [<ffffffff810c1505>] ? shrink_slab+0x18f/0x24d
Aug 21 12:40:51 papupata kernel: [179567.929077]  [<ffffffff810c3dfe>] ? balance_pgdat+0x283/0x4b7
Aug 21 12:40:51 papupata kernel: [179567.929145]  [<ffffffff810c42fc>] ? kswapd+0x2ca/0x2e6
Aug 21 12:40:51 papupata kernel: [179567.929209]  [<ffffffff8105f5f3>] ? add_wait_queue+0x3c/0x3c
Aug 21 12:40:51 papupata kernel: [179567.929276]  [<ffffffff810c4032>] ? balance_pgdat+0x4b7/0x4b7
Aug 21 12:40:51 papupata kernel: [179567.929344]  [<ffffffff8105efad>] ? kthread+0x76/0x7e
Aug 21 12:40:51 papupata kernel: [179567.929406]  [<ffffffff81351df4>] ? kernel_thread_helper+0x4/0x10
Aug 21 12:40:51 papupata kernel: [179567.929478]  [<ffffffff8105ef37>] ? kthread_worker_fn+0x139/0x139
Aug 21 12:40:51 papupata kernel: [179567.929550]  [<ffffffff81351df0>] ? gs_change+0x13/0x13
Aug 21 12:40:51 papupata kernel: [179567.929610] Code: 7f 18 e8 6a fd ff ff 48 89 c5 48 89 ef e8 ac ff ff ff 48 8b 4b 10 48 8b 53 08 48 8b 01 83 e0 01 48 09 d0 48 85 d2 48 89 01 74 04 <48> 89 4a 08 48 c7 43 10 00 00 00 00 0f ba 75 00 00 5b 5d c3 44
Aug 21 12:40:51 papupata kernel: [179567.930045] RIP  [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.930113]  RSP <ffff88012fe6fba8>
Aug 21 12:40:51 papupata kernel: [179567.930155] CR2: 0000480000000008
Aug 21 12:40:51 papupata kernel: [179568.000244] ---[ end trace 488d059eeb1fc0a4 ]---
Aug 21 12:40:51 papupata kernel: [179567.929344]  [<ffffffff8105efad>] ? kthread+0x76/0x7e
Aug 21 12:40:51 papupata kernel: [179567.929406]  [<ffffffff81351df4>] ? kernel_thread_helper+0x4/0x10
Aug 21 12:40:51 papupata kernel: [179567.929478]  [<ffffffff8105ef37>] ? kthread_worker_fn+0x139/0x139
Aug 21 12:40:51 papupata kernel: [179567.929550]  [<ffffffff81351df0>] ? gs_change+0x13/0x13
Aug 21 12:40:51 papupata kernel: [179567.929610] Code: 7f 18 e8 6a fd ff ff 48 89 c5 48 89 ef e8 ac ff ff ff 48 8b 4b 10 48 8b 53 08 48 8b 01 83 e0 01 48 09 d0 48 85 d2 48 89 01 74 04 <48> 89 4a 08 48 c7 43 10 00 00 00 00 0f ba 75 00 00 5b 5d c3 44
Aug 21 12:40:51 papupata kernel: [179567.930045] RIP  [<ffffffff81108753>] __d_shrink+0x4e/0x62
Aug 21 12:40:51 papupata kernel: [179567.930113]  RSP <ffff88012fe6fba8>
Aug 21 12:40:51 papupata kernel: [179567.930155] CR2: 0000480000000008
Aug 21 12:40:51 papupata kernel: [179568.000244] ---[ end trace 488d059eeb1fc0a4 ]---


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.23-3-custom02-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.23-3-custom02-amd64 depends on:
ii  coreutils              8.13-3.2
ii  debconf [debconf-2.0]  1.5.46

linux-image-3.2.23-3-custom02-amd64 recommends no packages.

Versions of packages linux-image-3.2.23-3-custom02-amd64 suggests:
pn  fdutils                                                              <none>
pn  ksymoops                                                             <none>
pn  linux-doc-3.2.23-3-custom02-amd64 | linux-source-3.2.23-3-custom02-  <none>
pn  linux-image-3.2.23-3-custom02-amd64-dbg                              <none>

-- debconf information:
  linux-image-3.2.23-3-custom02-amd64/postinst/depmod-error-3.2.23-3-custom02-amd64: false
  linux-image-3.2.23-3-custom02-amd64/preinst/already-running-this-3.2.23-3-custom02-amd64:
  linux-image-3.2.23-3-custom02-amd64/postinst/old-dir-initrd-link-3.2.23-3-custom02-amd64: true
  linux-image-3.2.23-3-custom02-amd64/preinst/failed-to-move-modules-3.2.23-3-custom02-amd64:
  linux-image-3.2.23-3-custom02-amd64/postinst/old-system-map-link-3.2.23-3-custom02-amd64: true
  linux-image-3.2.23-3-custom02-amd64/postinst/kimage-is-a-directory:
  linux-image-3.2.23-3-custom02-amd64/prerm/removing-running-kernel-3.2.23-3-custom02-amd64: true
  linux-image-3.2.23-3-custom02-amd64/preinst/abort-overwrite-3.2.23-3-custom02-amd64:
  linux-image-3.2.23-3-custom02-amd64/postinst/depmod-error-initrd-3.2.23-3-custom02-amd64: false
  linux-image-3.2.23-3-custom02-amd64/preinst/overwriting-modules-3.2.23-3-custom02-amd64: true


Reply to: