On Wed, 17 Aug 2011, Justin Piszcz wrote: > > > On Wed, 17 Aug 2011, Justin Piszcz wrote: > >> >> >> On Wed, 17 Aug 2011, Arnaud Lacombe wrote: >> >>> Hi, >>> >>> On Wed, Aug 17, 2011 at 4:45 PM, Justin Piszcz >>> wrote: >>>> >>>> >>>> On Wed, 17 Aug 2011, Jeff Layton wrote: >>>> >>>>> The crash is happening in the bowels of the slab allocator. >>>>> Specifically, it looks like it's hitting this: >>>>> >>>>>               /* >>>>>                * The slab was either on partial or free list so >>>>>                * there must be at least one object available for >>>>>                * allocation. >>>>>                */ >>>>>               BUG_ON(slabp->inuse >= cachep->num); >>>>> >>>>> ...which looks like maybe the accounting of in-use objects is off. This >>>>> really sounds like some sort of memory corruption. I've not been able >>>>> to reproduce this so far, but I also had someone report panic here that >>>>> might be related: >>>>> >>>>>   https://bugzilla.redhat.com/show_bug.cgi?id=731278 > > Hi, > > Got a better one here: > > [ 98.386992] CIFS VFS: cifs_mount failed w/return code = -22 > [ 562.565161] CIFS VFS: cifs_mount failed w/return code = -22 > [ 596.277441] ------------[ cut here ]------------ > [ 596.277450] kernel BUG at mm/slab.c:3111! > [ 596.277456] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC > [ 596.277463] CPU 2 [ 596.277466] Modules linked in: rfcomm bnep bluetooth > speedstep_lib cryptd aes_x86_64 aes_generic configfs ath9k mac80211 > ath9k_common ath9k_hw ohci_hcd ssb ath mmc_core cfg80211 shpchp uvcvideo > i2c_piix4 videodev v4l2_compat_ioctl32 pci_hotplug wmi pcmcia rfkill > pcmcia_core edac_core k10temp edac_mce_amd video battery ac > [ 596.277517] [ 596.277523] Pid: 4157, comm: ps Not tainted 3.1.0-rc2 #3 > Acer Aspire 7551 /Aspire 7551 [ 596.277536] > RIP: 0010:[] [] > cache_alloc_refill+0x111/0x4a6 > [ 596.277554] RSP: 0018:ffff88012e231b88 EFLAGS: 00010046 > [ 596.277559] RAX: ffff8801394d5000 RBX: ffff88013f000080 RCX: > 0000000000000033 > [ 596.277565] RDX: 0000000000000070 RSI: dead000000200200 RDI: > 0000000000000009 > [ 596.277570] RBP: ffff88012e231be8 R08: 000000000000005f R09: > ffff88013f004450 > [ 596.277576] R10: ffff88013f004460 R11: ffff88012e231d80 R12: > 00000000000000d0 > [ 596.277581] R13: ffff88013f0d1400 R14: 00000000000000d0 R15: > ffff88013f004440 > [ 596.277588] FS: 00007f8bf016c700(0000) GS:ffff88013fd00000(0000) > knlGS:0000000000000000 > [ 596.277594] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 596.277599] CR2: 00007f8befd44328 CR3: 000000012e27b000 CR4: > 00000000000006e0 > [ 596.277605] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [ 596.277610] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > 0000000000000400 > [ 596.277616] Process ps (pid: 4157, threadinfo ffff88012e230000, task > ffff88013f3f78d0) > [ 596.277621] Stack: > [ 596.277624] ffff88013f045c00 ffff88010000003c ffff88012e231bb8 > ffff88012f491088 > [ 596.277635] 000000d02e231bc8 0000001000000000 ffff88012f491118 > ffff880132266a40 > [ 596.277645] 00000000000000d0 0000000000000202 ffff88013f000080 > ffff880132266a40 > [ 596.277654] Call Trace: > [ 596.277666] [] kmem_cache_alloc+0x76/0xa0 > [ 596.277675] [] ? meminfo_proc_open+0x30/0x30 > [ 596.277684] [] single_open+0x32/0xa0 > [ 596.277694] [] ? proc_lookup_de+0xa5/0x100 > [ 596.277701] [] meminfo_proc_open+0x15/0x30 > [ 596.277709] [] proc_reg_open+0x88/0x150 > [ 596.277717] [] ? seq_release_private+0x50/0x50 > [ 596.277726] [] ? proc_alloc_inode+0xa0/0xa0 > [ 596.277735] [] __dentry_open.isra.17+0xf9/0x2d0 > [ 596.277744] [] nameidata_to_filp+0x4e/0x60 > [ 596.277753] [] do_last.isra.48+0x204/0x830 > [ 596.277760] [] path_openat+0xc6/0x370 > [ 596.277769] [] ? handle_mm_fault+0x165/0x300 > [ 596.277776] [] do_filp_open+0x3d/0xa0 > [ 596.277786] [] ? alloc_fd+0x47/0x130 > [ 596.277795] [] do_sys_open+0xf2/0x1d0 > [ 596.277803] [] sys_open+0x1b/0x20 > [ 596.277812] [] system_call_fastpath+0x16/0x1b > [ 596.277817] Code: 00 e9 d2 00 00 00 49 8b 07 49 39 c7 75 15 49 8b 47 20 41 > c7 47 60 01 00 00 00 4c 39 d0 0f 84 ad 00 00 00 8b 53 18 39 50 20 72 2f <0f> > 0b 44 8b 40 24 8b 53 0c ff c6 41 8b 7d 00 89 70 20 41 0f af [ 596.277879] > RIP [] cache_alloc_refill+0x111/0x4a6 > [ 596.277888] RSP > [ 596.277894] ---[ end trace 01e175dd97a8992b ]--- (it is spewing new errors below) [ 598.897157] [ 598.897157] Pid: 1097, comm: kworker/2:2 Tainted: G D W 3.1.0-rc2 #3 Acer Aspire 7551 /Aspire 7551 [ 598.897157] RIP: 0010:[] [] _raw_spin_lock_irq+0x11/0x20 [ 598.897157] RSP: 0018:ffff88013947dd90 EFLAGS: 00000097 [ 598.897157] RAX: 0000000000003332 RBX: ffff88013f0d1400 RCX: 0000000000000000 [ 598.897157] RDX: ffff88013f0d1400 RSI: ffff88013f004440 RDI: ffff88013f004480 [ 598.897157] RBP: ffff88013947dd90 R08: 0000000000000000 R09: ffff88013aa0b440 [ 598.897157] R10: ffff88013aa0b440 R11: ffff880139dec7c0 R12: ffff88013f004440 [ 598.897157] R13: ffff88013f000080 R14: 0000000000000000 R15: ffffffff810adc80 [ 598.897157] FS: 00007f5e69cc4700(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000 [ 598.897157] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 598.897157] CR2: 00007f5e693b02c0 CR3: 0000000001c1d000 CR4: 00000000000006e0 [ 598.897157] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 598.897157] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 598.897157] Process kworker/2:2 (pid: 1097, threadinfo ffff88013947c000, task ffff88013f25e250) [ 598.897157] Stack: [ 598.897157] ffff88013947dde0 ffffffff810adc09 ffff880100000000 ffffffff00000000 [ 598.897157] ffff88013947dde0 ffff88013f000080 ffff88013f004440 ffff88013fd0d720 [ 598.897157] 0000000000000000 ffffffff810adc80 ffff88013947de10 ffffffff810add08 [ 598.897157] Call Trace: [ 598.897157] [] drain_array+0x69/0xe0 [ 598.897157] [] ? drain_array+0xe0/0xe0 [ 598.897157] [] cache_reap+0x88/0x120 [ 598.897157] [] process_one_work+0x101/0x380 [ 598.897157] [] worker_thread+0x15d/0x330 [ 598.897157] [] ? manage_workers.isra.32+0x210/0x210 [ 598.897157] [] kthread+0x87/0x90 [ 598.897157] [] kernel_thread_helper+0x4/0x10 [ 598.897157] [] ? kthread_worker_fn+0x140/0x140 [ 598.897157] [] ? gs_change+0xb/0xb [ 598.897157] Code: fa ba 00 01 00 00 f0 66 0f c1 17 38 f2 74 06 f3 90 8a 17 eb f6 5d c3 0f 1f 00 55 48 89 e5 fa b8 00 01 00 00 f0 66 0f c1 07 38 e0 [ 598.897157] 06 f3 90 8a 07 eb f6 5d c3 0f 1f 44 00 00 55 48 89 e5 fe 07 [ 598.897157] Call Trace: [ 598.897157] [] drain_array+0x69/0xe0 [ 598.897157] [] ? drain_array+0xe0/0xe0 [ 598.897157] [] cache_reap+0x88/0x120 [ 598.897157] [] process_one_work+0x101/0x380 [ 598.897157] [] worker_thread+0x15d/0x330 [ 598.897157] [] ? manage_workers.isra.32+0x210/0x210 [ 598.897157] [] kthread+0x87/0x90 [ 598.897157] [] kernel_thread_helper+0x4/0x10 [ 598.897157] [] ? kthread_worker_fn+0x140/0x140 [ 598.897157] [] ? gs_change+0xb/0xb [ 726.242532] NMI backtrace for cpu 1 [ 726.242541] CPU 1 [ 726.242545] Modules linked in: rfcomm bnep bluetooth speedstep_lib cryptd aes_x86_64 aes_generic configfs ath9k mac80211 ath9k_common ath9k_hw ohci_hcd ssb ath mmc_core cfg80211 shpchp uvcvideo i2c_piix4 videodev v4l2_compat_ioctl32 pci_hotplug wmi pcmcia rfkill pcmcia_core edac_core k10temp edac_mce_amd video battery ac [ 726.242601] [ 726.242608] Pid: 0, comm: kworker/0:0 Tainted: G D W 3.1.0-rc2 #3 Acer Aspire 7551 /Aspire 7551 [ 726.242622] RIP: 0010:[] [] default_idle+0x24/0x40 [ 726.242639] RSP: 0018:ffff88013f0e3ed8 EFLAGS: 00000246 [ 726.242644] RAX: 0000000000000000 RBX: ffff88013f0e3ef4 RCX: 0000000000000001 [ 726.242650] RDX: 0000000000000909 RSI: 0000000000000086 RDI: ffffffff81d58aac [ 726.242656] RBP: ffff88013f0e3ed8 R08: 0000000000000000 R09: 0000000000000000 [ 726.242661] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81c75e70 [ 726.242666] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 726.242673] FS: 00007f30e9aa3700(0000) GS:ffff88013fc80000(0000) knlGS:0000000000000000 [ 726.242679] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 726.242684] CR2: 00007f5e692fce02 CR3: 0000000139f11000 CR4: 00000000000006e0 [ 726.242689] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 726.242694] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 726.242700] Process kworker/0:0 (pid: 0, threadinfo ffff88013f0e2000, task ffff88013f0dd240) [ 726.242705] Stack:[ 726.242708] ffff88013f0e3f08 ffffffff810091c4 ffff88013f0e3ef8 0000000181054bd5 [ 726.242719] ffff88013f0e3fd8 ffff88013f0e3fd8 ffff88013f0e3f28 ffffffff81000818 [ 726.242729] 0000000000000001 0000000000000000 ffff88013f0e3f48 ffffffff81cc6199 [ 726.242738] Call Trace: [ 726.242748] [] amd_e400_idle+0x54/0x100 [ 726.242756] [] cpu_idle+0x78/0xc0 [ 726.242765] [] start_secondary+0x19a/0x19e [ 726.242771] Code: 1f 84 00 00 00 00 00 55 65 48 8b 04 25 08 b6 00 00 83 a0 3c e0 ff ff fb 48 89 e5 0f ae f0 48 8b 80 38 e0 ff ff a8 08 75 14 fb f4 [ 726.242812] 48 8b 04 25 08 b6 00 00 83 88 3c e0 ff ff 04 5d c3 fb eb eb [ 726.242834] Call Trace: [ 726.242841] [] amd_e400_idle+0x54/0x100 [ 726.242848] [] cpu_idle+0x78/0xc0 [ 726.242855] [] start_secondary+0x19a/0x19e [ 726.242866] NMI backtrace for cpu 3 [ 726.242875] CPU 3 [ 726.242879] Modules linked in: rfcomm bnep bluetooth speedstep_lib cryptd aes_x86_64 aes_generic configfs ath9k mac80211 ath9k_common ath9k_hw ohci_hcd ssb ath mmc_core cfg80211 shpchp uvcvideo i2c_piix4 videodev v4l2_compat_ioctl32 pci_hotplug wmi pcmcia rfkill pcmcia_core edac_core k10temp edac_mce_amd video battery ac [ 726.242936] [ 726.242942] Pid: 0, comm: kworker/0:1 Tainted: G D W 3.1.0-rc2 #3 Acer Aspire 7551 /Aspire 7551 [ 726.242956] RIP: 0010:[] [] default_idle+0x24/0x40 [ 726.242974] RSP: 0018:ffff88013f129ed8 EFLAGS: 00000246 [ 726.242979] RAX: 0000000000000000 RBX: ffff88013f129ef4 RCX: 0000000000000020 [ 726.242985] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffffffff81d58aac [ 726.242990] RBP: ffff88013f129ed8 R08: ffffffff81c2a3c0 R09: 0000000000000000 [ 726.242996] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81c75e70 [ 726.243001] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 726.243007] FS: 00007f0e9311c700(0000) GS:ffff88013fd80000(0000) knlGS:0000000000000000 [ 726.243013] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 726.243018] CR2: ffffffffff600400 CR3: 0000000139d87000 CR4: 00000000000006e0 [ 726.243024] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 726.243029] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 726.243035] Process kworker/0:1 (pid: 0, threadinfo ffff88013f128000, task ffff88013f1252c0) [ 726.243040] Stack: [ 726.243043] ffff88013f129f08 ffffffff810091c4 ffff88013f129ef8 0000000381054bd5 [ 726.243054] ffff88013f129fd8 ffff88013f129fd8 ffff88013f129f28 ffffffff81000818 [ 726.243061] 0000000000000003 0000000000000000 ffff88013f129f48 ffffffff81cc6199 [ 726.243061] Call Trace: [ 726.243061] [] amd_e400_idle+0x54/0x100 [ 726.243061] [] cpu_idle+0x78/0xc0 [ 726.243061] [] start_secondary+0x19a/0x19e [ 726.243061] Code: 1f 84 00 00 00 00 00 55 65 48 8b 04 25 08 b6 00 00 83 a0 3c e0 ff ff fb 48 89 e5 0f ae f0 48 8b 80 38 e0 ff ff a8 08 75 14 fb f4 [ 726.243061] 48 8b 04 25 08 b6 00 00 83 88 3c e0 ff ff 04 5d c3 fb eb eb [ 726.243061] Call Trace: [ 726.243061] [] amd_e400_idle+0x54/0x100 [ 726.243061] [] cpu_idle+0x78/0xc0 [ 726.243061] [] start_secondary+0x19a/0x19e [ 726.243089] NMI backtrace for cpu 0 [ 726.243089] CPU 0 [ 726.243089] Modules linked in: rfcomm bnep bluetooth speedstep_lib cryptd aes_x86_64 aes_generic configfs ath9k mac80211 ath9k_common ath9k_hw ohci_hcd ssb ath mmc_core cfg80211 shpchp uvcvideo i2c_piix4 videodev v4l2_compat_ioctl32 pci_hotplug wmi pcmcia rfkill pcmcia_core edac_core k10temp edac_mce_amd video battery ac [ 726.243089] [ 726.243089] Pid: 0, comm: swapper Tainted: G D W 3.1.0-rc2 #3 Acer Aspire 7551 /Aspire 7551 [ 726.243089] RIP: 0010:[] [] __delay+0x10/0x10 [ 726.243089] RSP: 0018:ffff88013fc03e00 EFLAGS: 00000006 [ 726.243089] RAX: 0000000000000c00 RBX: 0000000000002710 RCX: 0000000000000006 [ 726.243089] RDX: ffffffff81c2add8 RSI: 0000000000000002 RDI: 0000000000418958 [ 726.243089] RBP: ffff88013fc03e18 R08: 000000000000000a R09: 0000000000000000 [ 726.243089] R10: 0000000000000000 R11: 000000000000000d R12: ffffffff81c2f080 [ 726.243089] R13: ffffffff81c2f080 R14: ffffffff81c2f140 R15: 0000000000000004 [ 726.243089] FS: 00007f30e92a2700(0000) GS:ffff88013fc00000(0000) knlGS:0000000000000000 [ 726.243089] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 726.243089] CR2: 00007fcdc5b391a0 CR3: 0000000139f11000 CR4: 00000000000006f0 [ 726.243089] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 726.243089] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400[ 726.243089] Process swapper (pid: 0, threadinfo ffffffff81c00000, task ffffffff81c25020) [ 726.243089] Stack: [ 726.243089] ffffffff8101a342 000000000000000a ffff88013fc0cd40 ffff88013fc03e68 [ 726.243089] ffffffff810720eb 0000000000010740 ffffffff81c2f140 00000000ffffffff [ 726.243089] 0000000000000000 0000000000000000 0000000000000000 7fffffffffffffff [ 726.243089] Call Trace: [ 726.243089] [ 726.243089] [] ? arch_trigger_all_cpu_backtrace+0x62/0x80 [ 726.243089] [] __rcu_pending+0x35b/0x380 [ 726.243089] [] rcu_check_callbacks+0x103/0x120 [ 726.243089] [] update_process_times+0x43/0x80 [ 726.243089] [] tick_sched_timer+0x5f/0xb0 [ 726.243089] [] __run_hrtimer.isra.34+0x4d/0x100 [ 726.243089] [] hrtimer_interrupt+0xdf/0x1f0 [ 726.243089] [] smp_apic_timer_interrupt+0x64/0xa0 [ 726.243089] [] apic_timer_interrupt+0x6b/0x70 [ 726.243089] [ 726.243089] [] ? default_idle+0x24/0x40 [ 726.243089] [] amd_e400_idle+0x54/0x100 [ 726.243089] [] cpu_idle+0x78/0xc0 [ 726.243089] [] rest_init+0x6d/0x74 [ 726.243089] [] start_kernel+0x2ae/0x2b9 [ 726.243089] [] x86_64_start_reservations+0xfe/0x102 [ 726.243089] [] x86_64_start_kernel+0xf0/0xf7 [ 726.243089] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 48 ff c8 75 fb 48 ff c8 5d c3 66 0f 1f 44 00 00 55 48 89 e5 ff 15 0e 8d 96 00 5d c3 0f 1f 40 00 [ 726.243089] 48 8d 04 bd 00 00 00 00 65 48 8b 14 25 d8 06 01 00 48 69 d2 [ 726.243089] Call Trace: [ 726.243089] [] ? arch_trigger_all_cpu_backtrace+0x62/0x80 [ 726.243089] [] __rcu_pending+0x35b/0x380 [ 726.243089] [] rcu_check_callbacks+0x103/0x120 [ 726.243089] [] update_process_times+0x43/0x80 [ 726.243089] [] tick_sched_timer+0x5f/0xb0 [ 726.243089] [] __run_hrtimer.isra.34+0x4d/0x100 [ 726.243089] [] hrtimer_interrupt+0xdf/0x1f0 [ 726.243089] [] smp_apic_timer_interrupt+0x64/0xa0 [ 726.243089] [] apic_timer_interrupt+0x6b/0x70 [ 726.243089] [] ? default_idle+0x24/0x40 [ 726.243089] [] amd_e400_idle+0x54/0x100 [ 726.243089] [] cpu_idle+0x78/0xc0 [ 726.243089] [] rest_init+0x6d/0x74 [ 726.243089] [] start_kernel+0x2ae/0x2b9 [ 726.243089] [] x86_64_start_reservations+0xfe/0x102 [ 726.243089] [] x86_64_start_kernel+0xf0/0xf7 Justin.