linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What means "sysfs: cannot create duplicate filename '/devices/platform/ff000100.localbus/d0000044.gpio-controller'"
@ 2022-04-04  8:16 Christophe Leroy
  2022-04-08 15:14 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe Leroy @ 2022-04-04  8:16 UTC (permalink / raw)
  To: Rob Herring; +Cc: linux-kernel, devicetree

Hi,

During boot I'm getting "sysfs: cannot create duplicate filename 
'/devices/platform/ff000100.localbus/d0000044.gpio-controller'"

Below is a grep of "d0000044.gpio-controller" in the log.

Any of what the problem can be and what I have to look for and do to 
avoid it ?


[    2.150954] device: 'd0000044.gpio-controller': device_add
[    2.156358] bus: 'platform': add device d0000044.gpio-controller
[    2.162725] bus: 'platform': __driver_probe_device: matched device 
d0000044.gpio-controller with driver u16-gpio
[    2.172833] platform d0000044.gpio-controller: error -EPROBE_DEFER: 
wait for supplier pic@22
[    2.181019] platform d0000044.gpio-controller: Added to deferred list
[    2.471981] device: 
'platform:d0000000.pic--platform:d0000044.gpio-controller': device_add
[    2.480639] devices_kset: Moving d0000044.gpio-controller to end of list
[    2.487142] platform d0000044.gpio-controller: Linked as a consumer 
to d0000000.pic
[    2.575677] device: 
'platform:d0000044.gpio-controller--platform:ff000100.localbus:led_pwr': 
device_add
[    2.591964] platform ff000100.localbus:led_pwr: Linked as a consumer 
to d0000044.gpio-controller
[    2.648662] device: 
'platform:d0000044.gpio-controller--platform:d0000042.GPIO': device_add
[    2.662877] platform d0000042.GPIO: Linked as a consumer to 
d0000044.gpio-controller
[    2.785941] device: 'd0000044.gpio-controller': device_add
[    2.791614] sysfs: cannot create duplicate filename 
'/devices/platform/ff000100.localbus/d0000044.gpio-controller'
[    2.900228] kobject_add_internal failed for d0000044.gpio-controller 
with -EEXIST, don't try to register things with the same name in the 
same directory.
[    9.797402] platform ff000100.localbus:led_pwr: error -EPROBE_DEFER: 
supplier d0000044.gpio-controller not ready
[   11.229927] devices_kset: Moving d0000044.gpio-controller to end of list
[   11.248799] platform d0000044.gpio-controller: Retrying from deferred 
list
[   11.255806] bus: 'platform': __driver_probe_device: matched device 
d0000044.gpio-controller with driver u16-gpio
[   11.265862] bus: 'platform': really_probe: probing driver u16-gpio 
with device d0000044.gpio-controller
[   11.321422] driver: 'u16-gpio': driver_bound: bound to device 
'd0000044.gpio-controller'
[   11.331732] bus: 'platform': really_probe: bound device 
d0000044.gpio-controller to driver u16-gpio

Thanks
Christophe

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What means "sysfs: cannot create duplicate filename '/devices/platform/ff000100.localbus/d0000044.gpio-controller'"
  2022-04-04  8:16 What means "sysfs: cannot create duplicate filename '/devices/platform/ff000100.localbus/d0000044.gpio-controller'" Christophe Leroy
@ 2022-04-08 15:14 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-04-08 15:14 UTC (permalink / raw)
  To: Christophe Leroy; +Cc: linux-kernel, devicetree

On Mon, Apr 4, 2022 at 3:16 AM Christophe Leroy
<christophe.leroy@csgroup.eu> wrote:
>
> Hi,
>
> During boot I'm getting "sysfs: cannot create duplicate filename
> '/devices/platform/ff000100.localbus/d0000044.gpio-controller'"
>
> Below is a grep of "d0000044.gpio-controller" in the log.
>
> Any of what the problem can be and what I have to look for and do to
> avoid it ?

Do you have 2 DT nodes at the same address?

If not maybe something with fw_devlink is screwing up. Can you try
disabling (there's a cmdline option).

Rob

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-08 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04  8:16 What means "sysfs: cannot create duplicate filename '/devices/platform/ff000100.localbus/d0000044.gpio-controller'" Christophe Leroy
2022-04-08 15:14 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).