FYI, a 4.8.0 kernel (not ubuntu)

Nov 29 13:34:42 fanny kernel: [2752823.883284] BUG: Bad rss-counter state 
mm:ffff8d1c56233c00 idx:1 val:5
Nov 29 13:34:42 fanny kernel: [2752823.883292] BUG: non-zero nr_ptes on freeing 
mm: 2

$ cat /proc/version
Linux version 4.8.0-0.bpo.2-amd64 (debian-ker...@lists.debian.org) (gcc version 
4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.8.15-2~bpo8+2 (2017-01-17)

$ cat /proc/meminfo
MemTotal:       264141684 kB

$ cat /proc/cpuinfo
processor       : 23
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 2
model name      : AMD Opteron(tm) Processor 6344
stepping        : 0
microcode       : 0x600081c
TLB size        : 1536 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf 
eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave 
avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext 
perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock 
nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bugs            : fxsave_leak sysret_ss_attrs null_seg
bogomips        : 5200.02

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1644056

Title:
  kernel BUG at /build/linux-lts-xenial-gUF4JR/linux-lts-
  xenial-4.4.0/mm/huge_memory.c:1931!

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  While running IO on the following kernel/Ubuntu version:

  $ lsb_release -rd
  Description:    Ubuntu 14.04.5 LTS
  Release:        14.04

  $ uname -a
  Linux 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux

  $ cat /etc/issue
  Ubuntu 14.04.5 LTS \n \l

  [1133672.985186] 
/build/linux-lts-xenial-gUF4JR/linux-lts-xenial-4.4.0/mm/pgtable-generic.c:33: 
bad pmd ffff881fd6790240(800000004b8008e7)
  [1135572.440941] huge_memory: mapcount 0 page_mapcount 1
  [1135572.441607] ------------[ cut here ]------------
  [1135572.442059] kernel BUG at 
/build/linux-lts-xenial-gUF4JR/linux-lts-xenial-4.4.0/mm/huge_memory.c:1931!
  [1135572.442571] invalid opcode: 0000 [#1] SMP
  [1135572.443028] Modules linked in: intel_rapl x86_pkg_temp_thermal 
intel_powerclamp coretemp kvm_intel kvm joydev input_leds sb_edac irqbypass 
crct10dif_pclmul crc32_pclmul aesni_intel edac_core aes_x86_64 lrw gf128mul 
glue_helper ablk_helper cryptd dm_multipath lpc_ich ipmi_ssif ipmi_devintf 
shpchp 8250_fintek mac_hid acpi_power_meter ipmi_si ipmi_msghandler iTCO_wdt 
iTCO_vendor_support raid10 raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear ses enclosure 
raid1 ast ttm ixgbe hid_generic igb vxlan drm_kms_helper syscopyarea 
ip6_udp_tunnel usbhid dca sysfillrect udp_tunnel sysimgblt hid mxm_wmi 
fb_sys_fops mpt3sas ptp drm ahci raid_class pps_core libahci i2c_algo_bit mdio 
scsi_transport_sas fjes wmi
  [1135572.448909] CPU: 15 PID: 2018 Comm: sh Not tainted 4.4.0-31-generic 
#50~14.04.1-Ubuntu
  [1135572.450082] Hardware name: Quanta Computer Inc. 
X-100.Column.01/S2PC-MB(Dual 1G LOM), BIOS S2P_3B04.HGT02 09/21/2016
  [1135572.451346] task: ffff8814923ae040 ti: ffff882eba658000 task.ti: 
ffff882eba658000
  [1135572.452494] RIP: 0010:[<ffffffff811e7c71>]  [<ffffffff811e7c71>] 
__split_huge_page+0x691/0x6d0
  [1135572.453580] RSP: 0018:ffff882eba65b7e0  EFLAGS: 00010292
  [1135572.454589] RAX: 0000000000000027 RBX: ffffea00012e0000 RCX: 
0000000000000000
  [1135572.455742] RDX: 0000000000000001 RSI: ffff883fff3cdc78 RDI: 
ffff883fff3cdc78
  [1135572.457040] RBP: ffff882eba65b860 R08: 0000000000000000 R09: 
ffff881fe93eaf00
  [1135572.458271] R10: 00000000000003ff R11: 0000000000000ac1 R12: 
0000000000000000
  [1135572.459539] R13: ffff882eba65ba10 R14: ffffea00012e0000 R15: 
ffffea00012e0000
  [1135572.460746] FS:  00007fcf6b305740(0000) GS:ffff883fff3c0000(0000) 
knlGS:0000000000000000
  [1135572.461972] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [1135572.463237] CR2: 0000558db9da0bb8 CR3: 00000021667eb000 CR4: 
00000000003406e0
  [1135572.464515] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [1135572.465831] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
  [1135572.467177] Stack:
  [1135572.468502]  0000000000000000 ffff882eba65b840 ffffffff811bdfe9 
ffff883fed2e51d0
  [1135572.469769]  00000000811c67c8 ffff883fee9bb760 00000007f43c9000 
ffff882eba65ba10
  [1135572.471040]  0000000000007b6d ffffffff81c72fa0 ffff883ff17340f4 
ffffea00012e0000
  [1135572.472277] Call Trace:
  [1135572.473574]  [<ffffffff811bdfe9>] ? rmap_walk+0x239/0x2d0
  [1135572.475079]  [<ffffffff811e7d17>] split_huge_page_to_list+0x67/0xd0
  [1135572.476473]  [<ffffffff811c4357>] add_to_swap+0x57/0x70
  [1135572.477852]  [<ffffffff811967ec>] shrink_page_list+0x62c/0x770
  [1135572.479246]  [<ffffffff81196f49>] shrink_inactive_list+0x1e9/0x500
  [1135572.480688]  [<ffffffff81197b9e>] shrink_lruvec+0x58e/0x730
  [1135572.482077]  [<ffffffff81093ba0>] ? __queue_work+0x130/0x350
  [1135572.483615]  [<ffffffff81093ba0>] ? __queue_work+0x130/0x350
  [1135572.485078]  [<ffffffff81197e1c>] shrink_zone+0xdc/0x2c0
  [1135572.486661]  [<ffffffff81198374>] do_try_to_free_pages+0x164/0x440
  [1135572.488354]  [<ffffffff8119397d>] ? throttle_direct_reclaim+0x8d/0x230
  [1135572.490068]  [<ffffffff81198705>] try_to_free_pages+0xb5/0x170
  [1135572.491535]  [<ffffffff8118b7c7>] __alloc_pages_nodemask+0x597/0xac0
  [1135572.493287]  [<ffffffff8118bead>] alloc_kmem_pages_node+0x4d/0xd0
  [1135572.495083]  [<ffffffff8107af35>] copy_process+0x185/0x1c70
  [1135572.496792]  [<ffffffff81115902>] ? from_kgid_munged+0x12/0x20
  [1135572.498404]  [<ffffffff8120296d>] ? cp_new_stat+0x13d/0x160
  [1135572.500116]  [<ffffffff8107cbba>] _do_fork+0x8a/0x310
  [1135572.501866]  [<ffffffff8107cee9>] SyS_clone+0x19/0x20
  [1135572.503672]  [<ffffffff817f6f36>] entry_SYSCALL_64_fastpath+0x16/0x75
  [1135572.505395] Code: 16 d0 fe ff e9 37 fa ff ff 0f 0b 0f 0b 0f 0b 0f 0b 0f 
0b 41 8b 57 18 8b 75 a4 48 c7 c7 48 f0 ac 81 31 c0 83 c2 01 e8 01 8d f9 ff <0f> 
0b 48 8b 55 c0 4c 89 ee 4c 89 f7 89 4d a8 e8 5b d0 fe ff 8b
  [1135572.509080] RIP  [<ffffffff811e7c71>] __split_huge_page+0x691/0x6d0
  [1135572.510823]  RSP <ffff882eba65b7e0>
  [1135572.517043] ---[ end trace 6c09902f497f90d9 ]---

  
  I would like to know if this is a know issue with this kernel, or, a new 
issue being reported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644056/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to