* [IIO Task1] Module load error
@ 2017-03-11 19:29 Aishwarya Pant
2017-03-11 20:36 ` [Outreachy kernel] " Daniel Baluta
0 siblings, 1 reply; 5+ messages in thread
From: Aishwarya Pant @ 2017-03-11 19:29 UTC (permalink / raw)
To: outreachy-kernel
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=m
CONFIG_IIO_SIMPLE_DUMMY=m
CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
CONFIG_IIO_CONFIGFS=y
Any leads for where the error is popping from?
Thanks
Aishwarya
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Outreachy kernel] [IIO Task1] Module load error
2017-03-11 19:29 [IIO Task1] Module load error Aishwarya Pant
@ 2017-03-11 20:36 ` Daniel Baluta
2017-03-12 4:27 ` Aishwarya Pant
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Baluta @ 2017-03-11 20:36 UTC (permalink / raw)
To: Aishwarya Pant; +Cc: outreachy-kernel
On Sat, Mar 11, 2017 at 9:29 PM, Aishwarya Pant <aishpant@gmail.com> wrote:
> 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=m
> CONFIG_IIO_SIMPLE_DUMMY=m
> CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
> CONFIG_IIO_CONFIGFS=y
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Outreachy kernel] [IIO Task1] Module load error
2017-03-11 20:36 ` [Outreachy kernel] " Daniel Baluta
@ 2017-03-12 4:27 ` Aishwarya Pant
2017-03-12 17:37 ` Aishwarya Pant
0 siblings, 1 reply; 5+ messages in thread
From: Aishwarya Pant @ 2017-03-12 4:27 UTC (permalink / raw)
To: Daniel Baluta; +Cc: outreachy-kernel
On Sat, Mar 11, 2017 at 10:36:28PM +0200, Daniel Baluta wrote:
> On Sat, Mar 11, 2017 at 9:29 PM, Aishwarya Pant <aishpant@gmail.com> wrote:
> > 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=m
> > CONFIG_IIO_SIMPLE_DUMMY=m
> > CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> > CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
> > CONFIG_IIO_CONFIGFS=y
> >
> > 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
# CONFIG_SENSORS_IIO_HWMON is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
CONFIG_IIO_KFIFO_BUF=m
CONFIG_IIO_CONFIGFS=y
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
CONFIG_IIO_SW_DEVICE=y
CONFIG_IIO_SW_TRIGGER=m
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# Hid Sensor IIO Common
CONFIG_HID_SENSOR_IIO_COMMON=y
CONFIG_HID_SENSOR_IIO_TRIGGER=y
# IIO dummy driver
CONFIG_IIO_DUMMY_EVGEN=m
CONFIG_IIO_SIMPLE_DUMMY=m
CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
CONFIG_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
>
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Outreachy kernel] [IIO Task1] Module load error
2017-03-12 4:27 ` Aishwarya Pant
@ 2017-03-12 17:37 ` Aishwarya Pant
2017-03-12 17:49 ` SIMRAN SINGHAL
0 siblings, 1 reply; 5+ messages in thread
From: Aishwarya Pant @ 2017-03-12 17:37 UTC (permalink / raw)
To: Daniel Baluta; +Cc: outreachy-kernel
On Sun, Mar 12, 2017 at 09:57:35AM +0530, Aishwarya Pant wrote:
> On Sat, Mar 11, 2017 at 10:36:28PM +0200, Daniel Baluta wrote:
> > On Sat, Mar 11, 2017 at 9:29 PM, Aishwarya Pant <aishpant@gmail.com> wrote:
> > > 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=m
> > > CONFIG_IIO_SIMPLE_DUMMY=m
> > > CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> > > CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
> > > CONFIG_IIO_CONFIGFS=y
> > >
> > > 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
> # CONFIG_SENSORS_IIO_HWMON is not set
> CONFIG_IIO=y
> CONFIG_IIO_BUFFER=y
> # CONFIG_IIO_BUFFER_CB is not set
> CONFIG_IIO_KFIFO_BUF=m
> CONFIG_IIO_CONFIGFS=y
> CONFIG_IIO_TRIGGER=y
> CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
> CONFIG_IIO_SW_DEVICE=y
> CONFIG_IIO_SW_TRIGGER=m
> # CONFIG_IIO_ST_ACCEL_3AXIS is not set
> # Hid Sensor IIO Common
> CONFIG_HID_SENSOR_IIO_COMMON=y
> CONFIG_HID_SENSOR_IIO_TRIGGER=y
> # IIO dummy driver
> CONFIG_IIO_DUMMY_EVGEN=m
> CONFIG_IIO_SIMPLE_DUMMY=m
> CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> CONFIG_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
> >
> > 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.
This is solved thanks. I had an issue with module dependencies.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Outreachy kernel] [IIO Task1] Module load error
2017-03-12 17:37 ` Aishwarya Pant
@ 2017-03-12 17:49 ` SIMRAN SINGHAL
0 siblings, 0 replies; 5+ messages in thread
From: SIMRAN SINGHAL @ 2017-03-12 17:49 UTC (permalink / raw)
To: outreachy-kernel; +Cc: daniel.baluta
[-- Attachment #1.1: Type: text/plain, Size: 2687 bytes --]
On Sunday, March 12, 2017 at 11:07:14 PM UTC+5:30, Aishwarya Pant wrote:
>
> On Sun, Mar 12, 2017 at 09:57:35AM +0530, Aishwarya Pant wrote:
> > On Sat, Mar 11, 2017 at 10:36:28PM +0200, Daniel Baluta wrote:
> > > On Sat, Mar 11, 2017 at 9:29 PM, Aishwarya Pant <aish...@gmail.com
> <javascript:>> wrote:
> > > > 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=m
> > > > CONFIG_IIO_SIMPLE_DUMMY=m
> > > > CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> > > > CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
> > > > CONFIG_IIO_CONFIGFS=y
> > > >
> > > > 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
> > # CONFIG_SENSORS_IIO_HWMON is not set
> > CONFIG_IIO=y
> > CONFIG_IIO_BUFFER=y
> > # CONFIG_IIO_BUFFER_CB is not set
> > CONFIG_IIO_KFIFO_BUF=m
> > CONFIG_IIO_CONFIGFS=y
> > CONFIG_IIO_TRIGGER=y
> > CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
> > CONFIG_IIO_SW_DEVICE=y
> > CONFIG_IIO_SW_TRIGGER=m
> > # CONFIG_IIO_ST_ACCEL_3AXIS is not set
> > # Hid Sensor IIO Common
> > CONFIG_HID_SENSOR_IIO_COMMON=y
> > CONFIG_HID_SENSOR_IIO_TRIGGER=y
> > # IIO dummy driver
> > CONFIG_IIO_DUMMY_EVGEN=m
> > CONFIG_IIO_SIMPLE_DUMMY=m
> > CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
> > CONFIG_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
> > >
> > > 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.
>
>
> This is solved thanks. I had an issue with module dependencies.
>
> Hi Aishwarya,
Can you please share how you solved this.
Thanks in Advance!
[-- Attachment #1.2: Type: text/html, Size: 3648 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-12 17:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-11 19:29 [IIO Task1] Module load error Aishwarya Pant
2017-03-11 20:36 ` [Outreachy kernel] " Daniel Baluta
2017-03-12 4:27 ` Aishwarya Pant
2017-03-12 17:37 ` Aishwarya Pant
2017-03-12 17:49 ` SIMRAN SINGHAL
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.