You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
Edit the files_url variable on line 3 of the build.sh file to point to the staging s3 server
files_url='https://files.balena-staging.com/' # URL exporting S3 XML
Commit this change
git remote add <your_app_remote>
Make sure you change to the desired resinOS version in the Dockerfile.template and commit the change before you start building this project.
e.g. for 2.26.0:
RUN ./build.sh %%RESIN_MACHINE_NAME%% '2.26.0+rev1.prod' example_module
git push balena
Expected result
1 - The application should be built and pushed to the device.
The application should run successfully and you should see "Hello World" twice in dmesg.
Actual result
OS Version is 2.53.9+rev1
10.08.20 13:35:53 (+0300) main Loading module from example_module_nanopi-neo-air_2.53.9+rev1.prod
10.08.20 13:35:53 (+0300) main hello 12288 -2
10.08.20 13:35:53 (+0300) main rmmod: ERROR: Module hello is in use
10.08.20 13:35:53 (+0300) main Loading module from example_module_nanopi-neo-air_2.53.9+rev1.prod_from_src
10.08.20 13:35:54 (+0300) main insmod: ERROR: could not insert module example_module_nanopi-neo-air_2.53.9+rev1.prod_from_src/hello.ko: File exists
10.08.20 13:35:54 (+0300) main hello 12288 -2
10.08.20 13:35:54 (+0300) main rmmod: ERROR: Module hello is in use
Description
This tests building kernel modules against the kernel module headers we supply for each board.
Steps to reproduce issue
1 - Clone and push the test kernel module build application.
Edit the files_url variable on line 3 of the build.sh file to point to the staging s3 server
files_url='https://files.balena-staging.com/' # URL exporting S3 XML
Commit this change
Make sure you change to the desired resinOS version in the Dockerfile.template and commit the change before you start building this project.
e.g. for 2.26.0:
RUN ./build.sh %%RESIN_MACHINE_NAME%% '2.26.0+rev1.prod' example_module
Expected result
1 - The application should be built and pushed to the device.
The application should run successfully and you should see "Hello World" twice in dmesg.
Actual result
OS Version is 2.53.9+rev1
10.08.20 13:35:53 (+0300) main Loading module from example_module_nanopi-neo-air_2.53.9+rev1.prod
10.08.20 13:35:53 (+0300) main hello 12288 -2
10.08.20 13:35:53 (+0300) main rmmod: ERROR: Module hello is in use
10.08.20 13:35:53 (+0300) main Loading module from example_module_nanopi-neo-air_2.53.9+rev1.prod_from_src
10.08.20 13:35:54 (+0300) main insmod: ERROR: could not insert module example_module_nanopi-neo-air_2.53.9+rev1.prod_from_src/hello.ko: File exists
10.08.20 13:35:54 (+0300) main hello 12288 -2
10.08.20 13:35:54 (+0300) main rmmod: ERROR: Module hello is in use
zcat /proc/config.gz | grep -i unload
CONFIG_MODULE_UNLOAD is not set
CONFIG_MODULE_UNLOAD should be added
Other information
Reported by: Vicentiu Galanopulo
Test configuration: NanoPi Neo Air
Test case number: TC39
Test run: https://resinio.testlodge.com/projects/16238/runs/562636?tab=2&run_suite_id=809935#executed_case_23250662
The text was updated successfully, but these errors were encountered: