Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZFS Large kmem_alloc(129024, 0x1000) failure on 5.15.0-1026-aws #14278

Open
arieleizenberg opened this issue Dec 11, 2022 · 1 comment
Open
Labels
Component: Memory Management kernel memory management

Comments

@arieleizenberg
Copy link

Mounting ZFS on an out-of-the-box Ubuntu 22.04 on AWS (no custom modules), yields Large kmem_alloc(129024, 0x1000):
Kernel: 5.15.0-1026-aws #30-Ubuntu SMP Wed Nov 23 14:15:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

[  107.057438] Large kmem_alloc(129024, 0x1000), please file an issue at:
               https://github.com/openzfs/zfs/issues/new
[  107.057444] CPU: 322 PID: 4504 Comm: modprobe Tainted: P           O      5.15.0-1026-aws #30-Ubuntu
[  107.057448] Hardware name: Amazon EC2 u-6tb1.112xlarge/, BIOS 1.0 10/16/2017
[  107.057449] Call Trace:
[  107.057451]  <TASK>
[  107.057454]  show_stack+0x52/0x5c
[  107.057466]  dump_stack_lvl+0x4a/0x63
[  107.057474]  dump_stack+0x10/0x16
[  107.057476]  spl_kmem_alloc_impl.cold+0x16/0x1b [spl]
[  107.057488]  spl_kmem_zalloc+0x19/0x20 [spl]
[  107.057493]  zstd_mempool_init+0x2d/0xf1 [zzstd]
[  107.057500]  ? zstd_meminit+0x2e/0x2e [zzstd]
[  107.057505]  zstd_meminit+0xe/0x2e [zzstd]
[  107.057510]  init_module+0x1c/0xe81 [zzstd]
[  107.057515]  do_one_initcall+0x46/0x1e0
[  107.057523]  ? kmem_cache_alloc_trace+0x19e/0x2e0
[  107.057531]  do_init_module+0x52/0x260
[  107.057534]  load_module+0xb2b/0xbc0
[  107.057537]  __do_sys_finit_module+0xbf/0x120
[  107.057538]  __x64_sys_finit_module+0x18/0x20
[  107.057540]  do_syscall_64+0x59/0xc0
[  107.057545]  ? fput+0x13/0x20
[  107.057550]  ? ksys_mmap_pgoff+0x154/0x2c0
[  107.057554]  ? exit_to_user_mode_prepare+0x37/0xb0
[  107.057560]  ? syscall_exit_to_user_mode+0x27/0x50
[  107.057565]  ? __x64_sys_mmap+0x33/0x50
[  107.057569]  ? do_syscall_64+0x69/0xc0
[  107.057570]  ? syscall_exit_to_user_mode+0x27/0x50
[  107.057572]  ? __x64_sys_lseek+0x18/0x20
[  107.057579]  ? do_syscall_64+0x69/0xc0
[  107.057580]  ? do_syscall_64+0x69/0xc0
[  107.057582]  ? do_syscall_64+0x69/0xc0
[  107.057583]  ? do_syscall_64+0x69/0xc0
[  107.057585]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
[  107.057595] RIP: 0033:0x7f7ac1628a3d
[  107.057597] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 a3 0f 00 f7 d8 64 89 01 48
[  107.057599] RSP: 002b:00007fff39ebacf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[  107.057602] RAX: ffffffffffffffda RBX: 00005599bfe010f0 RCX: 00007f7ac1628a3d
[  107.057603] RDX: 0000000000000000 RSI: 00005599bf7f7cd2 RDI: 0000000000000009
[  107.057604] RBP: 0000000000040000 R08: 0000000000000000 R09: 0000000000000011
[  107.057606] R10: 0000000000000009 R11: 0000000000000246 R12: 00005599bf7f7cd2
[  107.057607] R13: 00005599bfe010b0 R14: 00005599bfe00a60 R15: 00005599bfe07c60
[  107.057608]  </TASK>
[  107.057647] Large kmem_alloc(129024, 0x1000), please file an issue at:
               https://github.com/openzfs/zfs/issues/new
[  107.057649] CPU: 322 PID: 4504 Comm: modprobe Tainted: P           O      5.15.0-1026-aws #30-Ubuntu
[  107.057650] Hardware name: Amazon EC2 u-6tb1.112xlarge/, BIOS 1.0 10/16/2017
[  107.057651] Call Trace:
[  107.057652]  <TASK>
[  107.057653]  show_stack+0x52/0x5c
[  107.057655]  dump_stack_lvl+0x4a/0x63
[  107.057657]  dump_stack+0x10/0x16
[  107.057660]  spl_kmem_alloc_impl.cold+0x16/0x1b [spl]
[  107.057667]  spl_kmem_zalloc+0x19/0x20 [spl]
[  107.057672]  zstd_mempool_init+0x52/0xf1 [zzstd]
[  107.057677]  ? zstd_meminit+0x2e/0x2e [zzstd]
[  107.057682]  zstd_meminit+0xe/0x2e [zzstd]
[  107.057687]  init_module+0x1c/0xe81 [zzstd]
[  107.057692]  do_one_initcall+0x46/0x1e0
[  107.057694]  ? kmem_cache_alloc_trace+0x19e/0x2e0
[  107.057697]  do_init_module+0x52/0x260
[  107.057699]  load_module+0xb2b/0xbc0
[  107.057701]  __do_sys_finit_module+0xbf/0x120
[  107.057703]  __x64_sys_finit_module+0x18/0x20
[  107.057705]  do_syscall_64+0x59/0xc0
[  107.057707]  ? fput+0x13/0x20
[  107.057708]  ? ksys_mmap_pgoff+0x154/0x2c0
[  107.057710]  ? exit_to_user_mode_prepare+0x37/0xb0
[  107.057711]  ? syscall_exit_to_user_mode+0x27/0x50
[  107.057714]  ? __x64_sys_mmap+0x33/0x50
[  107.057715]  ? do_syscall_64+0x69/0xc0
[  107.057717]  ? syscall_exit_to_user_mode+0x27/0x50
[  107.057719]  ? __x64_sys_lseek+0x18/0x20
[  107.057722]  ? do_syscall_64+0x69/0xc0
[  107.057723]  ? do_syscall_64+0x69/0xc0
[  107.057725]  ? do_syscall_64+0x69/0xc0
[  107.057726]  ? do_syscall_64+0x69/0xc0
[  107.057728]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
[  107.057730] RIP: 0033:0x7f7ac1628a3d
[  107.057731] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 a3 0f 00 f7 d8 64 89 01 48
[  107.057733] RSP: 002b:00007fff39ebacf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[  107.057734] RAX: ffffffffffffffda RBX: 00005599bfe010f0 RCX: 00007f7ac1628a3d
[  107.057736] RDX: 0000000000000000 RSI: 00005599bf7f7cd2 RDI: 0000000000000009
[  107.057737] RBP: 0000000000040000 R08: 0000000000000000 R09: 0000000000000011
[  107.057738] R10: 0000000000000009 R11: 0000000000000246 R12: 00005599bf7f7cd2
[  107.057739] R13: 00005599bfe010b0 R14: 00005599bfe00a60 R15: 00005599bfe07c60
[  107.057741]  </TASK>
@behlendorf behlendorf added the Component: Memory Management kernel memory management label Dec 12, 2022
@ryao
Copy link
Contributor

ryao commented Dec 14, 2022

This is a warning rather than a failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Memory Management kernel memory management
Projects
None yet
Development

No branches or pull requests

3 participants