What means "sysfs: cannot create duplicate filename '/devices/platform/ff000100.localbus/d0000044.gpio-controller'"
From: Christophe Leroy
Date: Mon Apr 04 2022 - 04:16:59 EST
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