Module load error
Hi
When I try to load the modules iio_dummy and iio_dummy_evgen, I see the following error in dmesg:
iio_dummy_evgen: exports duplicate symbol iio_dummy_evgen_get_irq (owned by kernel)
Looks like I've got a circular dependency, something that should have been added as a module (or not at all) is built-in by default. Here is the config I've got:
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=yCONFIG_IIO_CONFIGFS=y
Any leads for where the error is popping from?
Thanks
Aishwarya
Quoted 21 lines · Aishwarya Pant
Hi
When I try to load the modules
iio_dummyandiio_dummy_evgen, I see the following error in dmesg:
iio_dummy_evgen: exports duplicate symboliio_dummy_evgen_get_irq(owned by kernel)Looks like I've got a circular dependency, something that should have been added as a module (or not at all) is built-in by default. Here is the config I've got:
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=yCONFIG_IIO_CONFIGFS=y
Quoted 1 line
Any leads for where the error is popping from?
Hi,
Is that the only error related to IIO in dmesg?
Can you please post the output from:
cat .config | grep IIO
and
dmesg | grep iio
Quoted 24 lines · Daniel Baluta
Quoted 21 lines · Aishwarya Pant
Hi
When I try to load the modules
iio_dummyandiio_dummy_evgen, I see the following error in dmesg:
iio_dummy_evgen: exports duplicate symboliio_dummy_evgen_get_irq(owned by kernel)Looks like I've got a circular dependency, something that should have been added as a module (or not at all) is built-in by default. Here is the config I've got:
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=yCONFIG_IIO_CONFIGFS=yQuoted 1 line
Any leads for where the error is popping from?
Quoted 8 lines
Hi,
Is that the only error related to IIO in dmesg?
Can you please post the output from:
cat .config | grep IIO
# CONFIG_SENSORS_IIO_HWMON is not setCONFIG_IIO=yCONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not setCONFIG_IIO_KFIFO_BUF=mCONFIG_IIO_CONFIGFS=yCONFIG_IIO_TRIGGER=yCONFIG_IIO_CONSUMERS_PER_TRIGGER=2CONFIG_IIO_SW_DEVICE=yCONFIG_IIO_SW_TRIGGER=m
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# Hid Sensor IIO CommonCONFIG_HID_SENSOR_IIO_COMMON=yCONFIG_HID_SENSOR_IIO_TRIGGER=y
# IIO dummy driverCONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_IIO_HRTIMER_TRIGGER is not set
# CONFIG_IIO_INTERRUPT_TRIGGER is not set
# CONFIG_IIO_TIGHTLOOP_TRIGGER is not set
# CONFIG_IIO_SYSFS_TRIGGER is not set
# CONFIG_IIO_ST_PRESS is not set
Quoted 4 lines
and
dmesg | grep iio
[ 217.380166] iio_dummy_evgen: exports duplicate symbol iio_dummy_evgen_get_irq (owned by kernel) [ 228.650871] iio_dummy_evgen: exports duplicate symbol
iio_dummy_evgen_get_irq (owned by kernel)
Nothing else just iio_dummy module load error.
Quoted 63 lines · Aishwarya Pant
Quoted 24 lines · Daniel Baluta
Quoted 21 lines · Aishwarya Pant
Hi
When I try to load the modules
iio_dummyandiio_dummy_evgen, I see the following error in dmesg:
iio_dummy_evgen: exports duplicate symboliio_dummy_evgen_get_irq(owned by kernel)Looks like I've got a circular dependency, something that should have been added as a module (or not at all) is built-in by default. Here is the config I've got:
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=yCONFIG_IIO_CONFIGFS=yQuoted 1 line
Any leads for where the error is popping from?
Quoted 8 lines
Hi,
Is that the only error related to IIO in dmesg?
Can you please post the output from:
cat .config | grep IIO
#
CONFIG_SENSORS_IIO_HWMONis not setCONFIG_IIO=yCONFIG_IIO_BUFFER=y
#CONFIG_IIO_BUFFER_CBis not setCONFIG_IIO_KFIFO_BUF=mCONFIG_IIO_CONFIGFS=yCONFIG_IIO_TRIGGER=yCONFIG_IIO_CONSUMERS_PER_TRIGGER=2CONFIG_IIO_SW_DEVICE=yCONFIG_IIO_SW_TRIGGER=m
#CONFIG_IIO_ST_ACCEL_3AXISis not set
# Hid Sensor IIO CommonCONFIG_HID_SENSOR_IIO_COMMON=yCONFIG_HID_SENSOR_IIO_TRIGGER=y
# IIO dummy driverCONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
#CONFIG_IIO_ST_GYRO_3AXISis not set
#CONFIG_IIO_ST_LSM6DSXis not set
#CONFIG_IIO_ST_MAGN_3AXISis not set
#CONFIG_IIO_HRTIMER_TRIGGERis not set
#CONFIG_IIO_INTERRUPT_TRIGGERis not set
#CONFIG_IIO_TIGHTLOOP_TRIGGERis not set
#CONFIG_IIO_SYSFS_TRIGGERis not set
#CONFIG_IIO_ST_PRESSis not setQuoted 3 lines
and
Quoted 7 lines
Quoted 1 line
dmesg | grep iio
[ 217.380166] iio_dummy_evgen: exports duplicate symbol iio_dummy_evgen_get_irq (owned by kernel) [ 228.650871] iio_dummy_evgen: exports duplicate symbol
iio_dummy_evgen_get_irq(owned by kernel)Nothing else just
iio_dummymodule load error.
This is solved thanks. I had an issue with module dependencies.
Quoted 76 lines · Aishwarya Pant
Quoted 2 lines · Aishwarya Pant
Quoted 1 line · Daniel Baluta
On Sat, Mar 11, 2017 at 9:29 PM, Aishwarya Pant <[email protected]
Quoted 3 lines · <javascript:>> wrote:
Quoted 3 lines
Quoted 3 lines
Hi
When I try to load the modules
iio_dummyandiio_dummy_evgen, I seethe
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
following error in dmesg:
iio_dummy_evgen: exports duplicate symboliio_dummy_evgen_get_irq(owned
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
by kernel)
Looks like I've got a circular dependency, something that should
have
Quoted 1 line
Quoted 1 line
Quoted 1 line
been added as a module (or not at all) is built-in by default. Here
is
Quoted 57 lines
Quoted 13 lines
Quoted 11 lines
the config I've got:
#
# IIO dummy driver
#CONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=yCONFIG_IIO_CONFIGFS=yQuoted 1 line
Any leads for where the error is popping from?
Quoted 8 lines
Hi,
Is that the only error related to IIO in dmesg?
Can you please post the output from:
cat .config | grep IIO
#
CONFIG_SENSORS_IIO_HWMONis not setCONFIG_IIO=yCONFIG_IIO_BUFFER=y
#CONFIG_IIO_BUFFER_CBis not setCONFIG_IIO_KFIFO_BUF=mCONFIG_IIO_CONFIGFS=yCONFIG_IIO_TRIGGER=yCONFIG_IIO_CONSUMERS_PER_TRIGGER=2CONFIG_IIO_SW_DEVICE=yCONFIG_IIO_SW_TRIGGER=m
#CONFIG_IIO_ST_ACCEL_3AXISis not set
# Hid Sensor IIO CommonCONFIG_HID_SENSOR_IIO_COMMON=yCONFIG_HID_SENSOR_IIO_TRIGGER=y
# IIO dummy driverCONFIG_IIO_DUMMY_EVGEN=mCONFIG_IIO_SIMPLE_DUMMY=mCONFIG_IIO_SIMPLE_DUMMY_EVENTS=yCONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
#CONFIG_IIO_ST_GYRO_3AXISis not set
#CONFIG_IIO_ST_LSM6DSXis not set
#CONFIG_IIO_ST_MAGN_3AXISis not set
#CONFIG_IIO_HRTIMER_TRIGGERis not set
#CONFIG_IIO_INTERRUPT_TRIGGERis not set
#CONFIG_IIO_TIGHTLOOP_TRIGGERis not set
#CONFIG_IIO_SYSFS_TRIGGERis not set
#CONFIG_IIO_ST_PRESSis not setQuoted 4 lines
and
dmesg | grep iio
[ 217.380166] iio_dummy_evgen: exports duplicate symbol iio_dummy_evgen_get_irq (owned by kernel) [ 228.650871] iio_dummy_evgen: exports duplicate symbol
iio_dummy_evgen_get_irq(owned by kernel)
Quoted 6 lines
Quoted 1 line
Nothing else just
iio_dummymodule load error.This is solved thanks. I had an issue with module dependencies.
Hi Aishwarya,
Can you please share how you solved this.
Thanks in Advance!