[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61473df2-2ea2-4dc7-94a1-5e58ee02cd78@suse.cz>
Date: Sat, 16 Nov 2024 21:55:15 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Naresh Kamboju <naresh.kamboju@...aro.org>,
open list <linux-kernel@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
linux-ext4 <linux-ext4@...r.kernel.org>, lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>
Cc: Theodore Ts'o <tytso@....edu>, Andreas Dilger <adilger.kernel@...ger.ca>,
Arnd Bergmann <arnd@...db.de>, Linus Torvalds
<torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sasha Levin <sashal@...nel.org>, Anders Roxell <anders.roxell@...aro.org>,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: ltp-syscalls/ioctl04: sysfs: cannot create duplicate filename
'/kernel/slab/:a-0000176'
On 11/16/24 17:50, Naresh Kamboju wrote:
> The LTP syscalls ioctl04 and sequence test cases reported failures due
> to following
> reasons in the test log on the following environments on
> sashal/linus-next.git tree.
> - qemu-x86_64
> - qemu-x86_64-compat
> - testing still in progress
>
> LTP test failed log:
> ---------------
> <4>[ 70.931891] sysfs: cannot create duplicate filename
> '/kernel/slab/:a-0000176'
> ...
> <0>[ 70.969266] EXT4-fs: no memory for groupinfo slab cache
> <3>[ 70.970744] EXT4-fs (loop0): failed to initialize mballoc (-12)
> <3>[ 70.977680] EXT4-fs (loop0): mount failed
> ioctl04.c:67: TFAIL: Mounting RO device RO failed: ENOMEM (12)
>
> First seen on commit sha id c12cd257292c0c29463aa305967e64fc31a514d8.
> Good: 7ff71d62bdc4828b0917c97eb6caebe5f4c07220
> Bad: c12cd257292c0c29463aa305967e64fc31a514d8
> (not able to fetch these ^ commit ids now)
The problem was in the slab tree not fs, sorry for the noise:
https://lore.kernel.org/all/52be272d-009b-477b-9929-564f75208168%40suse.cz
> qemu-x86_64:
> * ltp-syscalls/fanotify14
> * ltp-syscalls/ioctl04
> * etc..
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> Test log:
> ---------
> tst_tmpdir.c:316: TINFO: Using /scratch/ltp-8XkJXJek4F/LTP_iocSaDyQw
> as tmpdir (ext2/ext3/ext4 filesystem)
> tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
> <6>[ 70.394900] loop0: detected capacity change from 0 to 614400
> tst_test.c:1158: TINFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
> mke2fs 1.47.1 (20-May-2024)
> tst_test.c:1860: TINFO: LTP version: 20240930
> tst_test.c:1864: TINFO: Tested kernel: 6.12.0-rc7 #1 SMP
> PREEMPT_DYNAMIC @1731766491 x86_64
> tst_test.c:1703: TINFO: Timeout per run is 0h 02m 30s
> ioctl04.c:29: TPASS: BLKROGET returned 0
> <6>[ 70.921794] EXT4-fs (loop0): mounting ext2 file system using the
> ext4 subsystem
> ioctl04.c:42: TPASS: BLKROGET returned 1
> ioctl04.c:53: TPASS: Mounting RO device RW failed: EACCES (13)
> <4>[ 70.931891] sysfs: cannot create duplicate filename
> '/kernel/slab/:a-0000176'
> <4>[ 70.932354] CPU: 0 UID: 0 PID: 992 Comm: ioctl04 Not tainted 6.12.0-rc7 #1
> <4>[ 70.932936] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> BIOS 1.16.3-debian-1.16.3-2 04/01/2014
> <4>[ 70.933433] Call Trace:
> <4>[ 70.933894] <TASK>
> <4>[ 70.934161] dump_stack_lvl+0x96/0xb0
> <4>[ 70.934608] dump_stack+0x14/0x20
> <4>[ 70.934909] sysfs_warn_dup+0x5f/0x80
> <4>[ 70.935215] sysfs_create_dir_ns+0xd0/0xf0
> <4>[ 70.935521] kobject_add_internal+0xa8/0x2e0
> <4>[ 70.935944] kobject_init_and_add+0x8c/0xd0
> <4>[ 70.936265] sysfs_slab_add+0x11a/0x1f0
> <4>[ 70.936446] do_kmem_cache_create+0x433/0x500
> <4>[ 70.936622] __kmem_cache_create_args+0x19c/0x250
> <4>[ 70.936827] ext4_mb_init+0x690/0x7e0
> <4>[ 70.937180] ext4_fill_super+0x1934/0x31e0
> <4>[ 70.937547] ? sb_set_blocksize+0x21/0x70
> <4>[ 70.937911] ? __pfx_ext4_fill_super+0x10/0x10
> <4>[ 70.938346] get_tree_bdev_flags+0x13c/0x1d0
> <4>[ 70.938780] get_tree_bdev+0x14/0x20
> <4>[ 70.939118] ext4_get_tree+0x19/0x20
> <4>[ 70.939354] vfs_get_tree+0x2e/0xe0
> <4>[ 70.939717] path_mount+0x309/0xb00
> <4>[ 70.940025] ? putname+0x5e/0x80
> <4>[ 70.940183] __x64_sys_mount+0x11d/0x160
> <4>[ 70.940353] x64_sys_call+0x1719/0x20b0
> <4>[ 70.940516] do_syscall_64+0xb2/0x1d0
> <4>[ 70.940711] entry_SYSCALL_64_after_hwframe+0x77/0x7f
> <4>[ 70.941202] RIP: 0033:0x7f667d9dd4ea
> <4>[ 70.941527] Code: 48 8b 0d 39 39 0d 00 f7 d8 64 89 01 48 83 c8
> ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00
> 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 06 39 0d 00 f7 d8 64
> 89 01 48
> <4>[ 70.942905] RSP: 002b:00007ffe22faecf8 EFLAGS: 00000246
> ORIG_RAX: 00000000000000a5
> <4>[ 70.943283] RAX: ffffffffffffffda RBX: 00007f667d8d26c8 RCX:
> 00007f667d9dd4ea
> <4>[ 70.943788] RDX: 00007ffe22fb0e59 RSI: 000055e50098e60b RDI:
> 000055e50099cca0
> <4>[ 70.944248] RBP: 000055e50098e5d8 R08: 0000000000000000 R09:
> 0000000000000000
> <4>[ 70.944479] R10: 0000000000000001 R11: 0000000000000246 R12:
> 00007ffe22faed0c
> <4>[ 70.944704] R13: 000055e50098e60b R14: 0000000000000000 R15:
> 0000000000000000
> <4>[ 70.945086] </TASK>
> <3>[ 70.946069] kobject: kobject_add_internal failed for :a-0000176
> with -EEXIST, don't try to register things with the same name in the
> same directory.
> <3>[ 70.948453] SLUB: Unable to add cache ext4_groupinfo_1k to sysfs
> <4>[ 70.951178] __kmem_cache_create_args(ext4_groupinfo_1k) failed
> with error -22
> <4>[ 70.952636] CPU: 0 UID: 0 PID: 992 Comm: ioctl04 Not tainted 6.12.0-rc7 #1
> <4>[ 70.953183] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
> BIOS 1.16.3-debian-1.16.3-2 04/01/2014
> <4>[ 70.953975] Call Trace:
> <4>[ 70.954215] <TASK>
> <4>[ 70.954460] dump_stack_lvl+0x96/0xb0
> <4>[ 70.954877] dump_stack+0x14/0x20
> <4>[ 70.955079] __kmem_cache_create_args+0x7d/0x250
> <4>[ 70.955331] ext4_mb_init+0x690/0x7e0
> <4>[ 70.955698] ext4_fill_super+0x1934/0x31e0
> <4>[ 70.956271] ? sb_set_blocksize+0x21/0x70
> <4>[ 70.958236] ? __pfx_ext4_fill_super+0x10/0x10
> <4>[ 70.958570] get_tree_bdev_flags+0x13c/0x1d0
> <4>[ 70.958812] get_tree_bdev+0x14/0x20
> <4>[ 70.958990] ext4_get_tree+0x19/0x20
> <4>[ 70.959752] vfs_get_tree+0x2e/0xe0
> <4>[ 70.960137] path_mount+0x309/0xb00
> <4>[ 70.960340] ? putname+0x5e/0x80
> <4>[ 70.960560] __x64_sys_mount+0x11d/0x160
> <4>[ 70.961572] x64_sys_call+0x1719/0x20b0
> <4>[ 70.961841] do_syscall_64+0xb2/0x1d0
> <4>[ 70.962060] entry_SYSCALL_64_after_hwframe+0x77/0x7f
> <4>[ 70.963017] RIP: 0033:0x7f667d9dd4ea
> <4>[ 70.963229] Code: 48 8b 0d 39 39 0d 00 f7 d8 64 89 01 48 83 c8
> ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00
> 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 06 39 0d 00 f7 d8 64
> 89 01 48
> <4>[ 70.964889] RSP: 002b:00007ffe22faecf8 EFLAGS: 00000246
> ORIG_RAX: 00000000000000a5
> <4>[ 70.965471] RAX: ffffffffffffffda RBX: 00007f667d8d26c8 RCX:
> 00007f667d9dd4ea
> <4>[ 70.965693] RDX: 00007ffe22fb0e59 RSI: 000055e50098e60b RDI:
> 000055e50099cca0
> <4>[ 70.965938] RBP: 000055e50098e5d8 R08: 0000000000000000 R09:
> 0000000000000000
> <4>[ 70.966152] R10: 0000000000000001 R11: 0000000000000246 R12:
> 00007ffe22faed0c
> <4>[ 70.966370] R13: 000055e50098e60b R14: 0000000000000000 R15:
> 0000000000000000
> <4>[ 70.966593] </TASK>
> <0>[ 70.969266] EXT4-fs: no memory for groupinfo slab cache
> <3>[ 70.970744] EXT4-fs (loop0): failed to initialize mballoc (-12)
> <3>[ 70.977680] EXT4-fs (loop0): mount failed
> ioctl04.c:67: TFAIL: Mounting RO device RO failed: ENOMEM (12)
>
> Summary:
> passed 3
> failed 1
>
> Build image:
> -----------
> - https://qa-reports.linaro.org/lkft/sashal-linus-next/build/v6.11-15432-gac3274b9a6ec/testrun/25851045/suite/ltp-syscalls/test/ioctl04/log
> - https://qa-reports.linaro.org/lkft/sashal-linus-next/build/v6.11-15430-gc12cd257292c/testrun/25848631/suite/ltp-syscalls/test/ioctl04/history/
> - https://qa-reports.linaro.org/lkft/sashal-linus-next/build/v6.11-15432-gac3274b9a6ec/testrun/25851045/suite/ltp-syscalls/test/ioctl04/details/
> - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2ow28dxrEwN5dFu4vChS2wgU93J
>
> Steps to reproduce:
> ------------
> - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2ow28dxrEwN5dFu4vChS2wgU93J/reproducer
>
> metadata:
> ----
> Linux version: 6.12.0-rc7
> git repo: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linus-next.git
> git sha: ac3274b9a6ec132398615faaa725c8fa23700219
> kernel config:
> https://storage.tuxsuite.com/public/linaro/lkft/builds/2ow9ILyg8kMOGCJOc8VDIGOlz1h/config
> build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2ow9ILyg8kMOGCJOc8VDIGOlz1h/
> toolchain: gcc-13
> config: gcc-13-lkftconfig
> arch: x86_64 and testing is in progress for other architectures
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>
Powered by blists - more mailing lists