linux-next: runtime warning after merge of the driver-core tree
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc pseries_le_defconfig) produced this boot time warning:
HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc1-01530-ge44d8b957584 #2 Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1202 0xf000005 of:SLOF,HEAD hv:linux,kvm pSeries Call Trace: [c000000003503990] [c000000000e1c9bc] dump_stack_lvl+0x70/0xa0 (unreliable) [c0000000035039c0] [c0000000005a1728] sysfs_warn_dup+0x88/0xc0 [c000000003503a40] [c0000000005a194c] sysfs_create_dir_ns+0x12c/0x170 [c000000003503a90] [c000000000e26b54] kobject_add_internal+0x124/0x3c0 [c000000003503b10] [c000000000e26e60] kobject_add+0x70/0xf0 [c000000003503b90] [c000000000e26f88] kobject_create_and_add+0xa8/0x120 [c000000003503c10] [c00000000204aa58] genhd_device_init+0x84/0xa8 [c000000003503c40] [c0000000000132a0] do_one_initcall+0x80/0x320 [c000000003503d20] [c000000002004a68] kernel_init_freeable+0x304/0x3a4 [c000000003503df0] [c0000000000138a0] kernel_init+0x30/0x1a0 [c000000003503e50] [c00000000000df94] ret_from_kernel_thread+0x5c/0x64 --- interrupt: 0 at 0x0 NIP: 0000000000000000 LR: 0000000000000000 CTR: 0000000000000000 REGS: c000000003503e80 TRAP: 0000 Not tainted (6.3.0-rc1-01530-ge44d8b957584) MSR: 0000000000000000 <> CR: 00000000 XER: 00000000 CFAR: 0000000000000000 IRQMASK: 0 GPR00: 0000000000000000 c000000003504000 0000000000000000 0000000000000000 GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR12: 0000000000000000 0000000000000000 c000000000013878 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: 0kobject_add_internal failed for block with -EEXIST, don't try to register things with the same name in the same directory.kobject_create_and_add: kobject_add error: -17
iommu: Default domain type: Translated
Introduced by commit
721da5cee9d4 ("driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2")
I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc
pseries_le_defconfig) produced this boot time warning:HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'
That is odd. What type of userspace are you running this with? And is there a pointer to the .config anywhere? No one should be needing this old config option anymore, but maybe I messed something up in removing it...
thanks,
greg k-h
Hi Greg,
Quoted 7 lines · On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc
pseries_le_defconfig) produced this boot time warning:
Quoted 7 lines
Quoted 2 lines
HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'That is odd. What type of userspace are you running this with? And is there a pointer to the .config anywhere? No one should be needing this old config option anymore, but maybe I messed something up in removing it...
The userspace is a trivial PowerPC LE initramfs that just shuts down after it boots. However, the warning occurs before the initramfs is even unpacked.
I have attached the generated .config
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 6 lines · Greg KH
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc
pseries_le_defconfig) produced this boot time warning:
Quoted 7 lines
Quoted 2 lines
HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'That is odd. What type of userspace are you running this with? And is there a pointer to the .config anywhere? No one should be needing this old config option anymore, but maybe I messed something up in removing it...
Oh nevermind, this is my fault, the patch is buggy, let me fix it up, sorry for the noise...
greg k-h
Quoted 17 lines · Stephen Rothwell
Hi Greg,
Quoted 7 lines · On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc
pseries_le_defconfig) produced this boot time warning:Quoted 7 lines
Quoted 2 lines
HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'That is odd. What type of userspace are you running this with? And is there a pointer to the .config anywhere? No one should be needing this old config option anymore, but maybe I messed something up in removing it...
Quoted 5 lines
The userspace is a trivial PowerPC LE initramfs that just shuts down after it boots. However, the warning occurs before the initramfs is even unpacked.
I have attached the generated .config
No .config was attached :(
Anyway, should now be fixed with:
https://lore.kernel.org/r/[email protected]
I'll queue that up to my tree so hopefully linux-next will be working properly tomorrow. Sorry for the bug.
greg k-h
Hi Greg,
Quoted 19 lines · On Tue, 7 Mar 2023 09:01:56 +0100 Greg KH <[email protected]> wrote:
Quoted 17 lines · Stephen Rothwell
Hi Greg,
Quoted 14 lines · On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <[email protected]> wrote:
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the driver-core tree, today's linux-next qemu boot (powerpc
pseries_le_defconfig) produced this boot time warning:HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
sysfs: cannot create duplicate filename '//block'That is odd. What type of userspace are you running this with? And is there a pointer to the .config anywhere? No one should be needing this old config option anymore, but maybe I messed something up in removing it...
Quoted 7 lines
Quoted 5 lines
The userspace is a trivial PowerPC LE initramfs that just shuts down after it boots. However, the warning occurs before the initramfs is even unpacked.
I have attached the generated .config
No .config was attached :(
Yeah, sorry, by the time I noticed you had posted that you thought you knew what the problem was, so I didn't bother sending it.
Quoted 5 lines
Anyway, should now be fixed with:
https://lore.kernel.org/r/[email protected]I'll queue that up to my tree so hopefully linux-next will be working properly tomorrow. Sorry for the bug.
OK, thanks. I will let you know if it still warns ;-)
Signature · 2 lines
Cheers, Stephen Rothwell