On Monday, October 17, 2016 at 5:19:49 AM UTC+5:30, Eva Rachel Retuya wrote: > > On Sun, Oct 16, 2016 at 02:23:58PM -0700, Elizabeth Ferdman wrote: > > On Sun, Oct 16, 2016 at 10:04:27AM +0800, Eva Rachel Retuya wrote: > > > Hi Liz, > > > > > > On Sat, Oct 15, 2016 at 02:07:49PM -0700, Elizabeth Ferdman wrote: > > > ----massive snip---- > > > > I think that running $ make -j2 && sudo make modules_install could > solve > > > > this problem? If I can't do insmod can I just do modprobe? > > > > > > > > > > modprobe is OK to use. > > > > > Thanks, I used modprobe and the modules were loaded. > > > > I'm running into this issue in Task 01 > > When I do 'ls -l /config/iio/devices/dummy/' the terminal just hangs. I > > closed the terminal and tried it a few more times but it was just > > freezing and I had to xkill it. I have been following the tutorial. I > > mounted the configfs at /config, made the modules, loaded them, ran > > mkdir /config/iio/devices/dummy/my_dummy_device. > > > > Hi, > > I suggest to do 'make clean' again and start from scratch. > Run 'make menuconfig' and make sure the settings look like this: > {*} Industrial I/O support ---> (instead of module, make this built-in, > use 'y' instead of 'm') > > {*} Enable IIO configuration via configfs (use 'y' instead of 'm') > Enable software IIO device support > Enable software triggers support > > Under IIO dummy driver: > An example driver with no hardware requirements > [*] Event generation support > [*] Buffered capture support > > Compile and install, then boot to that kernel and test if it works. > Hi, I am able to insert module iio_dummy_evgen.ko but when I run $ sudo insmod iio_dummy.ko I got the following error: insmod: ERROR: could not insert module iio_dummy.ko: Unknown symbol in module And in dmesg I am getting following error: iio_dummy: Unknown symbol iio_register_sw_device_type (err 0) Any Idea? > > Eva > > These succeeded: > > lsmod | grep dummy > > ls -l /sys/bus/iio/devices/iio:device0/ > > ls -l /sys/bus/iio/devices/iio_evgen/ > > > > The one that's no working is > > ls -l /config/iio/devices/dummy/my_dummy_device > > or > > ls -l /config/iio/devices/dummy/ > > > > Liz > > > > > Eva > > > > > > > Thanks, > > > > Liz > > > > > > > > > thanks, > > > > > Daniel. > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > Groups "outreachy-kernel" group. > > > > To unsubscribe from this group and stop receiving emails from it, > send an email to outreachy-kern...@googlegroups.com . > > > > To post to this group, send email to outreach...@googlegroups.com > . > > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/outreachy-kernel/20161015210748.GA13776%40localhost. > > > > > For more options, visit https://groups.google.com/d/optout. >