* linux-next: runtime warning after merge of the driver-core tree
@ 2023-03-07 2:43 Stephen Rothwell
2023-03-07 6:31 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2023-03-07 2:43 UTC (permalink / raw)
To: Greg KH
Cc: Greg Kroah-Hartman, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 2576 bytes --]
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: 0
kobject_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.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: linux-next: runtime warning after merge of the driver-core tree
2023-03-07 2:43 linux-next: runtime warning after merge of the driver-core tree Stephen Rothwell
@ 2023-03-07 6:31 ` Greg KH
2023-03-07 6:48 ` Stephen Rothwell
2023-03-07 6:54 ` Greg KH
0 siblings, 2 replies; 6+ messages in thread
From: Greg KH @ 2023-03-07 6:31 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Tue, Mar 07, 2023 at 01:43:13PM +1100, Stephen Rothwell wrote:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: runtime warning after merge of the driver-core tree
2023-03-07 6:31 ` Greg KH
@ 2023-03-07 6:48 ` Stephen Rothwell
2023-03-07 8:01 ` Greg KH
2023-03-07 6:54 ` Greg KH
1 sibling, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2023-03-07 6:48 UTC (permalink / raw)
To: Greg KH; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
Hi Greg,
On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <greg@kroah.com> wrote:
>
> On Tue, Mar 07, 2023 at 01:43:13PM +1100, Stephen Rothwell wrote:
> > 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...
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
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: runtime warning after merge of the driver-core tree
2023-03-07 6:48 ` Stephen Rothwell
@ 2023-03-07 8:01 ` Greg KH
2023-03-07 11:51 ` Stephen Rothwell
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2023-03-07 8:01 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Tue, Mar 07, 2023 at 05:48:55PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <greg@kroah.com> wrote:
> >
> > On Tue, Mar 07, 2023 at 01:43:13PM +1100, Stephen Rothwell wrote:
> > > 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...
> 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/20230307075102.3537-1-gregkh@linuxfoundation.org
I'll queue that up to my tree so hopefully linux-next will be working
properly tomorrow. Sorry for the bug.
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: runtime warning after merge of the driver-core tree
2023-03-07 8:01 ` Greg KH
@ 2023-03-07 11:51 ` Stephen Rothwell
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2023-03-07 11:51 UTC (permalink / raw)
To: Greg KH; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
Hi Greg,
On Tue, 7 Mar 2023 09:01:56 +0100 Greg KH <greg@kroah.com> wrote:
>
> On Tue, Mar 07, 2023 at 05:48:55PM +1100, Stephen Rothwell wrote:
> > Hi Greg,
> >
> > On Tue, 7 Mar 2023 07:31:57 +0100 Greg KH <greg@kroah.com> wrote:
> > >
> > > On Tue, Mar 07, 2023 at 01:43:13PM +1100, Stephen Rothwell wrote:
> > > > 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...
> > 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.
> Anyway, should now be fixed with:
> https://lore.kernel.org/r/20230307075102.3537-1-gregkh@linuxfoundation.org
>
> 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 ;-)
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-next: runtime warning after merge of the driver-core tree
2023-03-07 6:31 ` Greg KH
2023-03-07 6:48 ` Stephen Rothwell
@ 2023-03-07 6:54 ` Greg KH
1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2023-03-07 6:54 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Tue, Mar 07, 2023 at 07:31:57AM +0100, Greg KH wrote:
> On Tue, Mar 07, 2023 at 01:43:13PM +1100, Stephen Rothwell wrote:
> > 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...
Oh nevermind, this is my fault, the patch is buggy, let me fix it up,
sorry for the noise...
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-03-07 11:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07 2:43 linux-next: runtime warning after merge of the driver-core tree Stephen Rothwell
2023-03-07 6:31 ` Greg KH
2023-03-07 6:48 ` Stephen Rothwell
2023-03-07 8:01 ` Greg KH
2023-03-07 11:51 ` Stephen Rothwell
2023-03-07 6:54 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox