linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: boot warning after merge of the mm tree
@ 2023-09-19  6:25 Stephen Rothwell
  2023-09-19 15:20 ` Mike Rapoport
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2023-09-19  6:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Mike Rapoport (IBM), Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 4291 bytes --]

Hi all,

After merging the mm tree, today's linux-next qemu opbbt test (powerpc
pseries_le_defconfig) produced this warning:

vmap allocation for size 131072 failed: use vmalloc=<size> to increase size
swapper/0: vmalloc error: size 65536, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.0-rc2-06327-g52a3bc18f36c #1
Hardware name: IBM pSeries (emulated by qemu) POWER8 (raw) 0x4d0200 0xf000004 of:SLOF,HEAD pSeries
Call Trace:
[c00000000478f780] [c000000001174678] dump_stack_lvl+0x6c/0x9c (unreliable)
[c00000000478f7b0] [c0000000004b7450] warn_alloc+0x150/0x210
[c00000000478f850] [c0000000004abcd0] __vmalloc_node_range+0x4c0/0xab0
[c00000000478f9d0] [c0000000005534dc] execmem_alloc+0xec/0x180
[c00000000478fa70] [c0000000002c1ef8] alloc_insn_page+0x28/0x80
[c00000000478fa90] [c0000000002c5624] __get_insn_slot+0x1c4/0x2a0
[c00000000478fad0] [c00000000005cd68] arch_prepare_kprobe+0x168/0x2e0
[c00000000478fb50] [c0000000002c69c0] register_kprobe+0x550/0x880
[c00000000478fbc0] [c000000002012968] arch_init_kprobes+0x28/0x3c
[c00000000478fbe0] [c000000002038a50] init_kprobes+0x118/0x1a0
[c00000000478fc50] [c000000000010bc0] do_one_initcall+0x80/0x300
[c00000000478fd20] [c000000002004848] kernel_init_freeable+0x1dc/0x3b4
[c00000000478fdf0] [c0000000000111b0] kernel_init+0x30/0x1a0
[c00000000478fe50] [c00000000000debc] ret_from_kernel_user_thread+0x14/0x1c
--- interrupt: 0 at 0x0
NIP:  0000000000000000 LR: 0000000000000000 CTR: 0000000000000000
REGS: c00000000478fe80 TRAP: 0000   Not tainted  (6.6.0-rc2-06327-g52a3bc18f36c)
MSR:  0000000000000000 <>  CR: 00000000  XER: 00000000
CFAR: 0000000000000000 IRQMASK: 0 
GPR00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR12: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
NIP [0000000000000000] 0x0
LR [0000000000000000] 0x0
--- interrupt: 0
Mem-Info:
active_anon:0 inactive_anon:0 isolated_anon:0
 active_file:0 inactive_file:0 isolated_file:0
 unevictable:0 dirty:0 writeback:0
 slab_reclaimable:4 slab_unreclaimable:94
 mapped:0 shmem:0 pagetables:1
 sec_pagetables:0 bounce:0
 kernel_misc_reclaimable:0
 free:31798 free_pcp:10 free_cma:0
Node 0 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB writeback_tmp:0kB kernel_stack:272kB pagetables:64kB sec_pagetables:0kB all_unreclaimable? no
Node 0 Normal free:2035072kB boost:0kB min:0kB low:0kB high:0kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:2097152kB managed:2043904kB mlocked:0kB bounce:0kB free_pcp:640kB local_pcp:640kB free_cma:0kB
lowmem_reserve[]: 0 0 0
Node 0 Normal: 4*64kB (M) 5*128kB (UM) 6*256kB (ME) 6*512kB (UME) 6*1024kB (UME) 6*2048kB (UME) 5*4096kB (UME) 5*8192kB (ME) 119*16384kB (M) = 2035072kB
0 total pagecache pages
0 pages in swap cache
Free swap  = 0kB
Total swap = 0kB
32768 pages RAM
0 pages HighMem/MovableOnly
832 pages reserved
0 pages cma reserved

Introduced by commit (via bisection)

  2d278773305d ("powerpc: extend execmem_params for kprobes allocations")

I have reverted the following commits for today.

  be2e02ac422f ("bpf: remove CONFIG_BPF_JIT dependency on CONFIG_MODULES of")
  68f60fd96f9d ("kprobes: remove dependency on CONFIG_MODULES")
  2177ac117a8e ("x86/ftrace: enable dynamic ftrace without CONFIG_MODULES")
  3300c3af2009 ("arch: make execmem setup available regardless of CONFIG_MODULES")
  2d278773305d ("powerpc: extend execmem_params for kprobes allocations")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* linux-next: boot warning after merge of the mm tree
@ 2024-08-26  9:46 Stephen Rothwell
  2024-08-26  9:59 ` zhiguojiang
  2024-08-27 23:36 ` Stephen Rothwell
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2024-08-26  9:46 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Zhiguo Jiang, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 3700 bytes --]

Hi all,

After merging the mm tree, today's linux-next boot test (powerpc
pseries_le_defconfig) produced many warnings like this:

Run /init as init process
mount (55) used greatest stack depth: 28240 bytes left
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at mm/rmap.c:443 unlink_anon_vmas+0x23c/0x358
Modules linked in:
CPU: 0 UID: 0 PID: 1 Comm: init Not tainted 6.11.0-rc5-06732-g133a683d26fd #14
Hardware name: IBM pSeries (emulated by qemu) POWER8 (architected) 0x4d0200 0xf000004 of:SLOF,HEAD pSeries
NIP:  c0000000004d0208 LR: c0000000004d0158 CTR: c00000000121d230
REGS: c0000000049bf550 TRAP: 0700   Not tainted  (6.11.0-rc5-06732-g133a683d26fd)
MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 44004222  XER: 20000000
CFAR: c0000000004d019c IRQMASK: 0 
GPR00: c0000000004d0158 c0000000049bf7f0 c00000000167b100 c000000008b5e2b0 
GPR04: c000000008b5e300 0000000000000006 c00000000445a108 0000000000000000 
GPR08: 0000000000000000 0000000000000001 ffffffffffffffff c0000000013550d8 
GPR12: 0000000000000000 c000000002b90000 0000000000000000 0000000000000000 
GPR16: 0000000000000000 c000000006cea000 c00000000405e3c0 c000000006556500 
GPR20: c000000006ce5000 c000000002a30308 0000000000000000 c000000008ba8398 
GPR24: c000000008ba8388 c000000008b60310 c000000002acb790 5deadbeef0000100 
GPR28: c000000008ba8398 5deadbeef0000122 c000000008ba8388 c000000008b60300 
NIP [c0000000004d0208] unlink_anon_vmas+0x23c/0x358
LR [c0000000004d0158] unlink_anon_vmas+0x18c/0x358
Call Trace:
[c0000000049bf7f0] [c0000000004d00f0] unlink_anon_vmas+0x124/0x358 (unreliable)
[c0000000049bf860] [c0000000004a7eec] free_pgtables+0x1d0/0x368
[c0000000049bf930] [c0000000004bce20] exit_mmap+0x1c0/0x578
[c0000000049bfa70] [c000000000151f80] __mmput+0x60/0x1e0
[c0000000049bfaa0] [c0000000005a6980] begin_new_exec+0x6e0/0xed0
[c0000000049bfb20] [c0000000006405a8] load_elf_binary+0x460/0x1b68
[c0000000049bfc70] [c0000000005a4088] bprm_execve+0x2ac/0x754
[c0000000049bfd40] [c0000000005a5de0] do_execveat_common+0x188/0x250
[c0000000049bfde0] [c0000000005a71c4] sys_execve+0x54/0x6c
[c0000000049bfe10] [c000000000030980] system_call_exception+0x120/0x310
[c0000000049bfe50] [c00000000000d6a0] system_call_common+0x160/0x2c4
--- interrupt: c00 at 0x7fff98ea1638
NIP:  00007fff98ea1638 LR: 000000001004a12c CTR: 0000000000000000
REGS: c0000000049bfe80 TRAP: 0c00   Not tainted  (6.11.0-rc5-06732-g133a683d26fd)
MSR:  800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 22002824  XER: 00000000
IRQMASK: 0 
GPR00: 000000000000000b 00007fffcec19410 00007fff98f79900 000001001dc20410 
GPR04: 000001001dc20440 000001001dc20450 0000000000000000 0000000000000000 
GPR08: 000001001dc20410 0000000000000000 0000000000000000 0000000000000000 
GPR12: 0000000000000000 00007fff98ffa9a0 0000000000000000 0000000000000000 
GPR16: 0000000000000000 0000000000000000 0000000000000000 00000000100b8fd0 
GPR20: 00000000100d03a2 00000000100b8f90 0000000000000000 0000000000000000 
GPR24: 0000000000000000 00000000100e77b8 00000000100b8700 00000000100d03e6 
GPR28: 000001001dc20450 00000000100d03e6 000001001dc20410 000001001dc20440 
NIP [00007fff98ea1638] 0x7fff98ea1638
LR [000000001004a12c] 0x1004a12c
--- interrupt: c00
Code: fbbf0018 7fdff378 48033221 60000000 ebd90000 7c39e040 3bdefff0 418200a8 e87f0008 e9430038 312affff 7d295110 <0b090000> e9430040 312affff 7d295110 
---[ end trace 0000000000000000 ]---
mkdir (59) used greatest stack depth: 28176 bytes left

Bisected to commit

  1cd7eb306a54 ("vma remove the unneeded avc bound with non-CoWed folio")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-27 23:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19  6:25 linux-next: boot warning after merge of the mm tree Stephen Rothwell
2023-09-19 15:20 ` Mike Rapoport
  -- strict thread matches above, loose matches on Subject: below --
2024-08-26  9:46 Stephen Rothwell
2024-08-26  9:59 ` zhiguojiang
2024-08-27 23:36 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).