hygoni / linux

Linux kernel source tree
Other
1 stars 1 forks source link

sysfs: cannot create duplicate filename '/kernel/slab/:0000256' #13

Closed hygoni closed 3 years ago

hygoni commented 3 years ago

[ 1.769788] Initialise system trusted keyrings [ 1.774538] workingset: timestamp_bits=56 max_order=22 bucket_order=0 [ 1.781716] sysfs: cannot create duplicate filename '/kernel/slab/:0000256' [ 1.788785] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #17 [ 1.793170] Freeing initrd memory: 23148K [ 1.789780] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1.789780] Call Trace: [ 1.789780] dump_stack_lvl+0x34/0x44 [ 1.789780] sysfs_warn_dup.cold+0x17/0x24 [ 1.789780] sysfs_create_dir_ns+0xb7/0xd0 [ 1.789780] kobject_add_internal+0xa1/0x270 [ 1.789780] kobject_init_and_add+0x71/0xa0 [ 1.789780] ? kmem_cache_alloc_trace+0x3a/0x1a0 [ 1.789780] sysfs_slab_add+0xff/0x1e0 [ 1.789780] ? kmem_cache_init+0x16a/0x16a [ 1.789780] slab_sysfs_init+0x7a/0xe9 [ 1.789780] ? kmem_cache_init+0x16a/0x16a [ 1.789780] do_one_initcall+0x3c/0x1b0 [ 1.789780] kernel_init_freeable+0x1ba/0x202 [ 1.789780] ? rest_init+0xb0/0xb0 [ 1.789780] kernel_init+0x11/0x110 [ 1.789780] ret_from_fork+0x1f/0x30 [ 1.872165] kobject_add_internal failed for :0000256 with -EEXIST, don't try to register things with the same name in the same directory. [ 1.884617] SLUB: Unable to add boot slab pool_workqueue to sysfs [ 1.891217] SLUB: Unable to add boot slab alias posix_timers_cache to sysfs [ 1.898330] SLUB: Unable to add boot slab alias rpc_tasks to sysfs [ 1.904628] SLUB: Unable to add boot slab alias bio-216 to sysfs [ 1.910759] SLUB: Unable to add boot slab alias biovec-16 to sysfs [ 1.917052] SLUB: Unable to add boot slab alias filp to sysfs [ 1.922906] SLUB: Unable to add boot slab alias key_jar to sysfs [ 1.929085] sysfs: cannot create duplicate filename '/kernel/slab/:0000256' [ 1.936154] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #17 [ 1.937144] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1.937144] Call Trace: [ 1.937144] dump_stack_lvl+0x34/0x44 [ 1.937144] sysfs_warn_dup.cold+0x17/0x24 [ 1.937144] sysfs_create_dir_ns+0xb7/0xd0 [ 1.937144] kobject_add_internal+0xa1/0x270 [ 1.937144] kobject_init_and_add+0x71/0xa0 [ 1.937144] ? kmem_cache_alloc_trace+0x3a/0x1a0 [ 1.937144] sysfs_slab_add+0xff/0x1e0 [ 1.937144] __kmem_cache_create+0x3df/0x540 [ 1.937144] kmem_cache_create_usercopy+0x1b9/0x300 [ 1.937144] ? aio_setup+0x74/0x74 [ 1.937144] kmem_cache_create+0xd/0x10 [ 1.937144] io_uring_init+0x1e/0x28 [ 1.937144] do_one_initcall+0x3c/0x1b0 [ 1.937144] kernel_init_freeable+0x1ba/0x202 [ 1.937144] ? rest_init+0xb0/0xb0 [ 1.937144] kernel_init+0x11/0x110 [ 1.937144] ret_from_fork+0x1f/0x30 [ 2.023629] kobject_add_internal failed for :0000256 with -EEXIST, don't try to register things with the same name in the same directory. [ 2.036081] Kernel panic - not syncing: kmem_cache_create_usercopy: Failed to create slab 'io_kiocb'. Error -17 [ 2.037069] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #17 [ 2.037069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 2.037069] Call Trace: [ 2.037069] dump_stack_lvl+0x34/0x44 [ 2.037069] panic+0xe8/0x29f [ 2.037069] kmem_cache_create_usercopy.cold+0x4a/0x4a [ 2.037069] ? aio_setup+0x74/0x74 [ 2.037069] kmem_cache_create+0xd/0x10 [ 2.037069] io_uring_init+0x1e/0x28 [ 2.037069] do_one_initcall+0x3c/0x1b0 [ 2.037069] kernel_init_freeable+0x1ba/0x202 [ 2.037069] ? rest_init+0xb0/0xb0 [ 2.037069] kernel_init+0x11/0x110 [ 2.037069] ret_from_fork+0x1f/0x30 [ 2.037069] Kernel Offset: 0x3c000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 2.037069] ---[ end Kernel panic - not syncing: kmem_cache_create_usercopy: Failed to create slab 'io_kiocb'. Error -17 ]---

hygoni commented 3 years ago

Booting the kernel. [ 0.000000] Linux version 5.15.0-rc2+ (root@debian) (gcc (Debian 8.3.0-6) 8.3.0, GNU l1 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-rc2+ root=UUID=c80e81d2-107aY [ 0.000000] x86/fpu: x87 FPU will use FXSAVE [ 0.000000] signal: max sigframe size: 1440 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bffdefff] usable [ 0.000000] BIOS-e820: [mem 0x00000000bffdf000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000023fffffff] usable [ 0.000000] printk: bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/01/2014 [ 0.000000] tsc: Fast TSC calibration failed [ 0.000000] last_pfn = 0x240000 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: PAT not supported by the CPU. [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
Memory KASLR using RDTSC... [ 0.000000] last_pfn = 0xbffdf max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f5c50-0x000f5c5f] [ 0.000000] RAMDISK: [mem 0x37343000-0x37998fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F5C10 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x00000000BFFE143E 000030 (v01 BOCHS BXPCRSDT 00000001 BXPC 00) [ 0.000000] ACPI: FACP 0x00000000BFFE12E2 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00) [ 0.000000] ACPI: DSDT 0x00000000BFFDFC80 001662 (v01 BOCHS BXPCDSDT 00000001 BXPC 00) [ 0.000000] ACPI: FACS 0x00000000BFFDFC40 000040 [ 0.000000] ACPI: APIC 0x00000000BFFE1356 0000B0 (v01 BOCHS BXPCAPIC 00000001 BXPC 00) [ 0.000000] ACPI: HPET 0x00000000BFFE1406 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00) [ 0.000000] ACPI: Reserving FACP table memory at [mem 0xbffe12e2-0xbffe1355] [ 0.000000] ACPI: Reserving DSDT table memory at [mem 0xbffdfc80-0xbffe12e1] [ 0.000000] ACPI: Reserving FACS table memory at [mem 0xbffdfc40-0xbffdfc7f] [ 0.000000] ACPI: Reserving APIC table memory at [mem 0xbffe1356-0xbffe1405] [ 0.000000] ACPI: Reserving HPET table memory at [mem 0xbffe1406-0xbffe143d] [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000023fffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x23fff8000-0x23fffbfff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000023fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x00000000bffdefff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000023fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000023fffffff] [ 0.000000] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 97 pages in unavailable ranges [ 0.000000] On node 0, zone Normal: 33 pages in unavailable ranges [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 8 CPUs, 0 hotplug CPUs [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0xbffdf000-0xbfffffff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfeffbfff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0xfeffc000-0xfeffffff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xfffbffff] [ 0.000000] PM: hibernation: Registered nosave memory: [mem 0xfffc0000-0xffffffff] [ 0.000000] [mem 0xc0000000-0xfeffbfff] available for PCI devices [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, maxs [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:8 nr_node_ids:1 [ 0.000000] percpu: Embedded 48 pages/cpu s157976 r8192 d30440 u262144 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064095 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-rc2+ root=UUID=c80e81Y [ 0.000000] Unknown command line parameters: BOOT_IMAGE=/boot/vmlinuz-5.15.0-rc2+ [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 8138632K/8388084K available (14350K kernel code, 2581K rwdata, 362) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] Kernel/User page tables isolation: enabled [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.000000] NR_IRQS: 4352, nr_irqs: 488, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x4a8/0x677 with crng_in0 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] printk: console [tty0] enabled [ 0.000000] printk: console [ttyS0] enabled [ 0.000000] printk: console [ttyS0] enabled [ 0.000000] printk: bootconsole [earlyser0] disabled [ 0.000000] printk: bootconsole [earlyser0] disabled [ 0.000000] ACPI: Core revision 20210730 [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1s [ 0.001000] APIC: Switch to symmetric I/O mode setup [ 0.002000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.010000] tsc: Unable to calibrate against PIT [ 0.011000] tsc: using HPET reference calibration [ 0.012000] tsc: Detected 2799.688 MHz processor [ 0.000016] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x285b19d397cs [ 0.013775] Calibrating delay loop (skipped), value calculated using timer frequency..) [ 0.014769] pid_max: default: 32768 minimum: 301 [ 0.015790] LSM: Security Framework initializing [ 0.016782] SELinux: Initializing. [ 0.017809] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.018786] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) Poking KASLR using RDTSC... [ 0.024884] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.025767] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.026774] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitn [ 0.027768] Spectre V2 : Mitigation: Full generic retpoline [ 0.028768] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context swh [ 0.029768] Speculative Store Bypass: Vulnerable [ 0.030773] MDS: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.034183] Freeing SMP alternatives memory: 44K [ 0.137524] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x) [ 0.137894] Performance Events: PMU not available due to virtualization, using softwar. [ 0.140083] rcu: Hierarchical SRCU implementation. [ 0.141050] smp: Bringing up secondary CPUs ... [ 0.142064] x86: Booting SMP configuration: [ 0.142769] .... node #0, CPUs: #1 [ 0.000763] smpboot: CPU 1 Converting physical 0 to logical die 1 [ 0.217770] #2 [ 0.000763] smpboot: CPU 2 Converting physical 0 to logical die 2 [ 0.288058] #3 [ 0.000763] smpboot: CPU 3 Converting physical 0 to logical die 3 [ 0.360056] #4 [ 0.000763] smpboot: CPU 4 Converting physical 0 to logical die 4 [ 0.433078] #5 [ 0.000763] smpboot: CPU 5 Converting physical 0 to logical die 5 [ 0.504050] #6 [ 0.000763] smpboot: CPU 6 Converting physical 0 to logical die 6 [ 0.577052] #7 [ 0.000763] smpboot: CPU 7 Converting physical 0 to logical die 7 [ 0.648967] smp: Brought up 1 node, 8 CPUs [ 0.649771] smpboot: Max logical packages: 8 [ 0.650768] smpboot: Total of 8 processors activated (44804.57 BogoMIPS) [ 0.656931] devtmpfs: initialized [ 0.658030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_nss [ 0.659773] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.661765] PM: RTC time: 14:28:42, date: 2021-09-25 [ 0.663939] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.664884] audit: initializing netlink subsys (disabled) [ 0.666846] audit: type=2000 audit(1632580121.667:1): state=initialized audit_enabled=1 [ 0.667062] thermal_sys: Registered thermal governor 'step_wise' [ 0.667769] thermal_sys: Registered thermal governor 'user_space' [ 0.668927] cpuidle: using governor menu [ 0.670843] ACPI: bus type PCI registered [ 0.673062] PCI: Using configuration type 1 for base access [ 0.675662] Kprobes globally optimized [ 0.677028] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.677893] cryptomgr_test (56) used greatest stack depth: 15168 bytes left [ 0.691910] ACPI: Added _OSI(Module Device) [ 0.692769] ACPI: Added _OSI(Processor Device) [ 0.693768] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.694768] ACPI: Added _OSI(Processor Aggregator Device) [ 0.695769] ACPI: Added _OSI(Linux-Dell-Video) [ 0.696768] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.697768] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.699952] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.703021] ACPI: Interpreter enabled [ 0.703782] ACPI: PM: (supports S0 S3 S4 S5) [ 0.704766] ACPI: Using IOAPIC for interrupt routing [ 0.705794] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" ang [ 0.706988] ACPI: Enabled 2 GPEs in block 00 to 0F [ 0.711851] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.712775] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3] [ 0.713786] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended P. [ 0.714842] PCI host bridge to bus 0000:00 [ 0.715770] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.716769] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.717770] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.718769] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 0.719769] pci_bus 0000:00: root bus resource [mem 0x240000000-0x2bfffffff window] [ 0.720771] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.722161] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.726233] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.731652] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 [ 0.736081] pci 0000:00:01.1: reg 0x20: [io 0xc040-0xc04f] [ 0.738933] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.739767] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.741768] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.742769] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.745187] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 [ 0.749613] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI [ 0.749828] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB [ 0.753058] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000 [ 0.756778] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref] [ 0.762778] pci 0000:00:02.0: reg 0x18: [mem 0xfebb0000-0xfebb0fff] [ 0.774785] pci 0000:00:02.0: reg 0x30: [mem 0xfeba0000-0xfebaffff pref] [ 0.777615] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000 [ 0.779469] pci 0000:00:03.0: reg 0x10: [mem 0xfeb80000-0xfeb9ffff] [ 0.781424] pci 0000:00:03.0: reg 0x14: [io 0xc000-0xc03f] [ 0.788304] pci 0000:00:03.0: reg 0x30: [mem 0xfeb00000-0xfeb7ffff pref] [ 0.792175] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 [ 0.793917] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 [ 0.795073] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 [ 0.797100] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 [ 0.797943] ACPI: PCI: Interrupt link LNKS configured for IRQ 9 [ 0.799932] iommu: Default domain type: Translated [ 0.800767] iommu: DMA domain TLB invalidation policy: lazy mode [ 0.801871] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.802763] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,loce [ 0.802871] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.803769] vgaarb: loaded [ 0.804967] SCSI subsystem initialized [ 0.807029] ACPI: bus type USB registered [ 0.807795] usbcore: registered new interface driver usbfs [ 0.808789] usbcore: registered new interface driver hub [ 0.809796] usbcore: registered new device driver usb [ 0.810792] pps_core: LinuxPPS API ver. 1 registered [ 0.811766] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.812779] PTP clock support registered [ 0.814923] Advanced Linux Sound Architecture Driver Initialized. [ 0.816017] NetLabel: Initializing [ 0.816767] NetLabel: domain hash size = 128 [ 0.817766] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.818807] NetLabel: unlabeled traffic allowed by default [ 0.820769] PCI: Using ACPI for IRQ routing [ 0.823027] hpet: 3 channels of 0 reserved for per-cpu timers [ 0.824812] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.825766] hpet0: 3 comparators, 64-bit 100.000000 MHz counter [ 0.832111] clocksource: Switched to clocksource tsc-early [ 0.846093] VFS: Disk quotas dquot_6.6.0 [ 0.858780] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.867241] pnp: PnP ACPI init [ 0.872914] pnp: PnP ACPI: found 6 devices [ 0.900592] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 20s [ 0.911870] NET: Registered PF_INET protocol family [ 0.918601] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.928638] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, ) [ 0.938884] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.948370] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.957234] TCP: Hash tables configured (established 65536 bind 65536) [ 0.965054] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.973173] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.981992] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.990462] RPC: Registered named UNIX socket transport module. [ 0.997755] RPC: Registered udp transport module. [ 1.004080] RPC: Registered tcp transport module. [ 1.010204] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.018477] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 1.025875] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 1.033479] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 1.041690] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window] [ 1.049728] pci_bus 0000:00: resource 8 [mem 0x240000000-0x2bfffffff window] [ 1.057856] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 1.064903] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 1.072073] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 1.079459] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000d] [ 1.088858] PCI: CLS 0 bytes, default 64 [ 1.093895] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.094119] Unpacking initramfs... [ 1.101952] software IO TLB: mapped [mem 0x00000000bbfdf000-0x00000000bffdf000] (64MB) [ 1.128575] Initialise system trusted keyrings [ 1.135679] workingset: timestamp_bits=56 max_order=21 bucket_order=0 [ 1.144152] [SLAB] slab pid_namespace got its name :0000136 [ 1.151610] [SLAB] slab rpc_inode_cache got its name rpc_inode_cache [ 1.159040] [SLAB] slab ip4-frags got its name :0000200 [ 1.165406] [SLAB] slab xfrm_state got its name :0000768 [ 1.171743] [SLAB] slab PING got its name :0000960 [ 1.177571] [SLAB] slab RAW got its name RAW [ 1.182858] [SLAB] slab tw_sock_TCP got its name :0000240 [ 1.189283] [SLAB] slab request_sock_TCP got its name :0000296 [ 1.196169] [SLAB] slab TCP got its name :0002240 [ 1.201836] [SLAB] slab hugetlbfs_inode_cache got its name hugetlbfs_inode_cache [ 1.210188] [SLAB] slab dquot got its name :0000256 [ 1.216217] [SLAB] slab request_queue got its name :0001888 [ 1.217596] Freeing initrd memory: 6488K [ 1.222903] [SLAB] slab biovec-max got its name :0004096 [ 1.234893] [SLAB] slab biovec-128 got its name :0002048 [ 1.241513] [SLAB] slab biovec-64 got its name :0001024 [ 1.248950] [SLAB] slab sock_inode_cache got its name sock_inode_cache [ 1.257872] [SLAB] slab skbuff_fclone_cache got its name :0000512 [ 1.264867] [SLAB] slab skbuff_head_cache got its name skbuff_head_cache [ 1.272533] [SLAB] slab file_lock_cache got its name :0000216 [ 1.279238] [SLAB] slab net_namespace got its name :0003200 [ 1.285749] [SLAB] slab buffer_head got its name :0000104 [ 1.293006] [SLAB] slab taskstats got its name :0000352 [ 1.300086] [SLAB] slab proc_dir_entry got its name proc_dir_entry [ 1.308159] [SLAB] slab proc_inode_cache got its name proc_inode_cache [ 1.316660] [SLAB] slab seq_file got its name :0000120 [ 1.323532] [SLAB] slab bdev_cache got its name bdev_cache [ 1.330805] [SLAB] slab shmem_inode_cache got its name shmem_inode_cache [ 1.339459] [SLAB] slab mnt_cache got its name :0000320 [ 1.346554] [SLAB] slab inode_cache got its name inode_cache [ 1.354060] [SLAB] slab dentry got its name dentry [ 1.360645] [SLAB] slab names_cache got its name names_cache [ 1.368182] [SLAB] slab avtab_extended_perms got its name :0000040 [ 1.376296] [SLAB] slab avc_xperms_data got its name :0000032 [ 1.383644] [SLAB] slab iint_cache got its name iint_cache [ 1.390115] [SLAB] slab lsm_file_cache got its name :0000016 [ 1.396828] [SLAB] slab uts_namespace got its name uts_namespace [ 1.403718] [SLAB] slab mm_struct got its name mm_struct [ 1.410012] [SLAB] slab files_cache got its name :0000704 [ 1.416531] [SLAB] slab signal_cache got its name :0001088 [ 1.423183] [SLAB] slab sighand_cache got its name sighand_cache [ 1.430391] [SLAB] slab task_struct got its name task_struct [ 1.437295] [SLAB] slab cred_jar got its name :0000192 [ 1.443697] [SLAB] slab anon_vma got its name anon_vma [ 1.449996] [SLAB] slab pid got its name :0000128 [ 1.455866] [SLAB] slab Acpi-Operand got its name :0000072 [ 1.462543] [SLAB] slab Acpi-Parse got its name :0000056 [ 1.469035] [SLAB] slab Acpi-State got its name :0000080 [ 1.475720] [SLAB] slab numa_policy got its name :0000024 [ 1.482183] [SLAB] slab perf_event got its name :0000992 [ 1.488527] [SLAB] slab trace_event_file got its name :0000088 [ 1.495237] [SLAB] slab ftrace_event_field got its name :0000048 [ 1.502082] [SLAB] slab pool_workqueue got its name :0000256 [ 1.508900] sysfs: cannot create duplicate filename '/kernel/slab/:0000256' [ 1.516684] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #7 [ 1.517650] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/014 [ 1.517650] Call Trace: [ 1.517650] dump_stack_lvl+0x33/0x42 [ 1.517650] sysfs_warn_dup.cold.3+0x17/0x23 [ 1.517650] sysfs_create_dir_ns+0xae/0xe0 [ 1.517650] kobject_add_internal+0xa1/0x220 [ 1.517650] ? rdinit_setup+0x27/0x27 [ 1.517650] kobject_init_and_add+0x71/0xa0 [ 1.517650] ? kmem_cache_alloc_trace+0x33/0x1a0 [ 1.517650] sysfs_slab_add.cold.123+0x3c/0xa2 [ 1.517650] slab_sysfs_init+0x81/0xf0 [ 1.517650] ? kmem_cache_init+0x16a/0x16a [ 1.517650] do_one_initcall+0x3f/0x1b0 [ 1.517650] kernel_init_freeable+0x1c5/0x20f [ 1.517650] ? rest_init+0xb0/0xb0 [ 1.517650] kernel_init+0x11/0x110 [ 1.517650] ret_from_fork+0x22/0x30 [ 1.612037] kobject_add_internal failed for :0000256 with -EEXIST, don't try to regist. [ 1.625034] SLUB: Unable to add boot slab pool_workqueue to sysfs [ 1.632054] [SLAB] slab radix_tree_node got its name radix_tree_node [ 1.639239] [SLAB] slab task_group got its name :0000384 [ 1.645539] [SLAB] slab vmap_area got its name :0000064 [ 1.651721] [SLAB] slab dma-kmalloc-8k got its name dma-kmalloc-8k [ 1.658874] [SLAB] slab dma-kmalloc-4k got its name dma-kmalloc-4k [ 1.666675] [SLAB] slab dma-kmalloc-2k got its name dma-kmalloc-2k [ 1.674641] [SLAB] slab dma-kmalloc-1k got its name dma-kmalloc-1k [ 1.683026] [SLAB] slab dma-kmalloc-512 got its name dma-kmalloc-512 [ 1.691504] [SLAB] slab dma-kmalloc-256 got its name dma-kmalloc-256 [ 1.699873] [SLAB] slab dma-kmalloc-128 got its name dma-kmalloc-128 [ 1.708106] [SLAB] slab dma-kmalloc-64 got its name dma-kmalloc-64 [ 1.716114] [SLAB] slab dma-kmalloc-32 got its name dma-kmalloc-32 [ 1.724251] [SLAB] slab dma-kmalloc-16 got its name dma-kmalloc-16 [ 1.732406] [SLAB] slab dma-kmalloc-8 got its name dma-kmalloc-8 [ 1.740418] [SLAB] slab dma-kmalloc-192 got its name dma-kmalloc-192 [ 1.748773] [SLAB] slab dma-kmalloc-96 got its name dma-kmalloc-96 [ 1.757092] [SLAB] slab kmalloc-rcl-8k got its name kmalloc-rcl-8k [ 1.765280] [SLAB] slab kmalloc-rcl-4k got its name kmalloc-rcl-4k [ 1.773444] [SLAB] slab kmalloc-rcl-2k got its name kmalloc-rcl-2k [ 1.781763] [SLAB] slab kmalloc-rcl-1k got its name kmalloc-rcl-1k [ 1.789946] [SLAB] slab kmalloc-rcl-512 got its name kmalloc-rcl-512 [ 1.798306] [SLAB] slab kmalloc-rcl-256 got its name kmalloc-rcl-256 [ 1.806634] [SLAB] slab kmalloc-rcl-192 got its name kmalloc-rcl-192 [ 1.815295] [SLAB] slab kmalloc-rcl-128 got its name kmalloc-rcl-128 [ 1.823619] [SLAB] slab kmalloc-rcl-96 got its name kmalloc-rcl-96 [ 1.831720] [SLAB] slab kmalloc-rcl-64 got its name kmalloc-rcl-64 [ 1.839942] [SLAB] slab kmalloc-rcl-32 got its name kmalloc-rcl-32 [ 1.848027] [SLAB] slab kmalloc-rcl-16 got its name kmalloc-rcl-16 [ 1.856108] [SLAB] slab kmalloc-rcl-8 got its name kmalloc-rcl-8 [ 1.864005] [SLAB] slab kmalloc-8k got its name kmalloc-8k [ 1.871538] [SLAB] slab kmalloc-4k got its name kmalloc-4k [ 1.878999] [SLAB] slab kmalloc-2k got its name kmalloc-2k [ 1.886404] [SLAB] slab kmalloc-1k got its name kmalloc-1k [ 1.893824] [SLAB] slab kmalloc-512 got its name kmalloc-512 [ 1.901387] [SLAB] slab kmalloc-256 got its name kmalloc-256 [ 1.909143] [SLAB] slab kmalloc-192 got its name kmalloc-192 [ 1.916734] [SLAB] slab kmalloc-128 got its name kmalloc-128 [ 1.924340] [SLAB] slab kmalloc-96 got its name kmalloc-96 [ 1.931776] [SLAB] slab kmalloc-64 got its name kmalloc-64 [ 1.939553] [SLAB] slab kmalloc-32 got its name kmalloc-32 [ 1.946925] [SLAB] slab kmalloc-16 got its name kmalloc-16 [ 1.954311] [SLAB] slab kmalloc-8 got its name kmalloc-8 [ 1.961472] [SLAB] slab kmem_cache_node got its name kmem_cache_node [ 1.970257] [SLAB] slab kmem_cache got its name kmem_cache [ 1.977659] SLUB: Unable to add boot slab alias posix_timers_cache to sysfs [ 1.986718] SLUB: Unable to add boot slab alias rpc_tasks to sysfs [ 1.994905] SLUB: Unable to add boot slab alias bio-216 to sysfs [ 2.003006] SLUB: Unable to add boot slab alias biovec-16 to sysfs [ 2.011090] SLUB: Unable to add boot slab alias filp to sysfs [ 2.018857] SLUB: Unable to add boot slab alias key_jar to sysfs [ 2.025940] [SLAB] slab dio got its name :0000640 [ 2.031660] [SLAB] slab kioctx got its name :0000576 [ 2.037642] [SLAB] slab io_kiocb got its name :0000256 [ 2.043647] sysfs: cannot create duplicate filename '/kernel/slab/:0000256' [ 2.051405] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #7 [ 2.052378] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/014 [ 2.052378] Call Trace: [ 2.052378] dump_stack_lvl+0x33/0x42 [ 2.052378] sysfs_warn_dup.cold.3+0x17/0x23 [ 2.052378] sysfs_create_dir_ns+0xae/0xe0 [ 2.052378] kobject_add_internal+0xa1/0x220 [ 2.052378] kobject_init_and_add+0x71/0xa0 [ 2.052378] ? kmem_cache_alloc_trace+0x33/0x1a0 [ 2.052378] sysfs_slab_add.cold.123+0x3c/0xa2 [ 2.052378] kmem_cache_create+0x212/0x450 [ 2.052378] ? cond_resched+0x10/0x20 [ 2.052378] kmem_cache_create_usercopy+0x1c5/0x310 [ 2.052378] ? aio_setup+0x74/0x74 [ 2.052378] ? rdinit_setup+0x27/0x27 [ 2.052378] kmem_cache_create+0xd/0x10 [ 2.052378] io_uring_init+0x1e/0x28 [ 2.052378] do_one_initcall+0x3f/0x1b0 [ 2.052378] kernel_init_freeable+0x1c5/0x20f [ 2.052378] ? rest_init+0xb0/0xb0 [ 2.052378] kernel_init+0x11/0x110 [ 2.052378] ret_from_fork+0x22/0x30 [ 2.164083] kobject_add_internal failed for :0000256 with -EEXIST, don't try to regist. [ 2.177404] Kernel panic - not syncing: kmem_cache_create_usercopy: Failed to create s7 [ 2.178282] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc2+ #7 [ 2.192091] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1 04/014 [ 2.192091] Call Trace: [ 2.192091] dump_stack_lvl+0x33/0x42 [ 2.192091] panic+0xe8/0x29f [ 2.192091] ? free_kmem_cache_nodes+0x3c/0x50 [ 2.192091] kmem_cache_create_usercopy.cold.34+0x48/0x48 [ 2.192091] ? aio_setup+0x74/0x74 [ 2.192091] ? rdinit_setup+0x27/0x27 [ 2.192091] kmem_cache_create+0xd/0x10 [ 2.192091] io_uring_init+0x1e/0x28 [ 2.192091] do_one_initcall+0x3f/0x1b0 [ 2.192091] kernel_init_freeable+0x1c5/0x20f [ 2.192091] ? rest_init+0xb0/0xb0 [ 2.192091] kernel_init+0x11/0x110 [ 2.192091] ret_from_fork+0x22/0x30 [ 2.192091] Kernel Offset: 0x20600000 from 0xffffffff81000000 (relocation range: 0xfff) [ 2.192091] ---[ end Kernel panic - not syncing: kmem_cache_create_usercopy: Failed to-

hygoni commented 3 years ago

Why isn't it creating unique ID? :<

hygoni commented 3 years ago

Hmm... just added sttaic variable slab_unique_id. ff12a03172c1 is there better way to fix?

hygoni commented 3 years ago

It seems it was caused by enabling it. Close this issue I have no provision for enabling it on all slab cache of kernel.