Re: [PATCH v4] tty: tty_port: add workqueue to flip tty buffer
From: kernel test robot
Date: Thu Dec 04 2025 - 00:47:11 EST
Hello,
kernel test robot noticed "sysfs:cannot_create_duplicate_filename" on:
commit: 95d87185a8405310cbbe8062ccd7be5ae753eef0 ("[PATCH v4] tty: tty_port: add workqueue to flip tty buffer")
url: https://github.com/intel-lab-lkp/linux/commits/Xin-Zhao/tty-tty_port-add-workqueue-to-flip-tty-buffer/20251129-021405
base: https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git tty-linus
patch link: https://lore.kernel.org/all/20251128181048.429570-1-jackzxcui1989@xxxxxxx/
patch subject: [PATCH v4] tty: tty_port: add workqueue to flip tty buffer
in testcase: boot
config: x86_64-randconfig-012-20251129
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-------------------------------------------------------------------------------+------------+------------+
| | 2bf95a9bcb | 95d87185a8 |
+-------------------------------------------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 10 |
| sysfs:cannot_create_duplicate_filename | 0 | 10 |
| Kernel_panic-not_syncing:Couldn't_allocate_pty_flip_workqueue | 0 | 10 |
+-------------------------------------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202512041303.7192024b-lkp@xxxxxxxxx
[ 4.498402][ T1] fuse: init (API version 7.45)
[ 4.502618][ T1] 9p: Installing v9fs 9p2000 file system support
[ 4.547788][ T1] Key type asymmetric registered
[ 4.552574][ T1] Asymmetric key parser 'x509' registered
[ 4.553270][ T1] Asymmetric key parser 'pkcs8' registered
[ 5.571435][ T1] sysfs: cannot create duplicate filename '/devices/virtual/workqueue/pty-flip-wq'
[ 5.572557][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G T 6.18.0-rc3-00003-g95d87185a840 #1 PREEMPT(lazy)
[ 5.573895][ T1] Tainted: [T]=RANDSTRUCT
[ 5.574362][ T1] Call Trace:
[ 5.574719][ T1] <TASK>
[ 5.575036][ T1] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:122)
[ 5.575523][ T1] sysfs_warn_dup.cold (kbuild/src/consumer/fs/sysfs/dir.c:32)
[ 5.576047][ T1] sysfs_create_dir_ns (kbuild/src/consumer/fs/sysfs/dir.c:63 (discriminator 1))
[ 5.576591][ T1] ? sysfs_create_mount_point (kbuild/src/consumer/fs/sysfs/dir.c:41)
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251204/202512041303.7192024b-lkp@xxxxxxxxx
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki