Git Product home page Git Product logo

rpmsg-sysfs's Introduction

RPMsg-sysfs

Linux sysfs interface for RPMsg

alt text

rpmsg-sysfs's People

Contributors

dusancervenkanxp avatar flit avatar mareknovaknxp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpmsg-sysfs's Issues

Failed to unlaod this modules used by -1 on IMX8QXP 4.14.78-toradex

Failed to unlaod this modules on IMX8QXP.
4.14.78-toradex_imx_4.14.78_1.0.0_ga-bring_up-gaf64dc9-dirty
Logs :
[ 2398.652989] Unable to handle kernel NULL pointer dereference at virtual address 00000070
[ 2398.661132] Mem abort info:
[ 2398.663968] Exception class = DABT (current EL), IL = 32 bi ts
[ 2398.669909] SET = 0, FnV = 0
[ 2398.672985] EA = 0, S1PTW = 0
[ 2398.676186] Data abort info:
[ 2398.679085] ISV = 0, ISS = 0x00000006
[ 2398.682950] CM = 0, WnR = 0
[ 2398.685921] user pgtable: 4k pages, 48-bit VAs, pgd = ffff800 079d67000
[ 2398.692471] [0000000000000070] *pgd=00000000f634e003, *pud=00 000000f9d15003, *pmd=0000000000000000
[ 2398.701466] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[ 2398.707037] Modules linked in: rpmsg_multiept(-) crc3 2_ce crct10dif_ce isofs [last unloaded: imx_rpmsg_tty]
[ 2398.717492] CPU: 1 PID: 13208 Comm: rmmod Not tainted 4.14.78 -toradex_imx_4.14.78_1.0.0_ga-bring_up-gaf64dc9-dirty #1
[ 2398.728104] Hardware name: Conti Colibri iMX8QXP (DT)
[ 2398.733161] task: ffff800078ab5e80 task.stack: ffff0000131880 00
[ 2398.739096] PC is at sysfs_delete_link+0x38/0x70
[ 2398.743715] LR is at sysfs_delete_link+0x28/0x70
[ 2398.748338] pc : [] lr : [] pstate: 60000145
[ 2398.755737] sp : ffff00001318bc50
[ 2398.759047] x29: ffff00001318bc50 x28: ffff800078ab5e80
[ 2398.764363] x27: ffff000008a61000 x26: 000000000000006a
[ 2398.769680] x25: 0000000000000124 x24: ffff80007995c010
[ 2398.774997] x23: ffff000009010000 x22: ffff800079eb8280
[ 2398.780313] x21: 0000000000000000 x20: ffff8000797d5a18
[ 2398.785630] x19: ffff000008ffd000 x18: 000000000000002f
[ 2398.790947] x17: 000000000042d2c8 x16: ffff00000812c4d0
[ 2398.796264] x15: 0000000000000000 x14: ffff80007b175628
[ 2398.801582] x13: ffff80001071ce90 x12: ffff80007b175488
[ 2398.806897] x11: ffff80007b1754b0 x10: 0000000000000000
[ 2398.812214] x9 : 0000000000000030 x8 : 00000000400c0000
[ 2398.817530] x7 : 0000000000210d00 x6 : 000000000000002f
[ 2398.822849] x5 : ffff000008276f80 x4 : 0000000000000000
[ 2398.828164] x3 : 0000000000000000 x2 : 0000000000000000
[ 2398.833481] x1 : 0000000000000000 x0 : ffff8000797f8e58
[ 2398.838800] Process rmmod (pid: 13208, stack limit = 0xffff00 0013188000)
[ 2398.845506] Call trace:
[ 2398.847950] Exception stack(0xffff00001318bb10 to 0xffff00001 318bc50)
[ 2398.854397] bb00: ffff80007 97f8e58 0000000000000000
[ 2398.862233] bb20: 0000000000000000 0000000000000000 000000000 0000000 ffff000008276f80
[ 2398.870067] bb40: 000000000000002f 0000000000210d00 000000004 00c0000 0000000000000030
[ 2398.877903] bb60: 0000000000000000 ffff80007b1754b0 ffff80007 b175488 ffff80001071ce90
[ 2398.885739] bb80: ffff80007b175628 0000000000000000 ffff00000 812c4d0 000000000042d2c8
[ 2398.893576] bba0: 000000000000002f ffff000008ffd000 ffff80007 97d5a18 0000000000000000
[ 2398.901414] bbc0: ffff800079eb8280 ffff000009010000 ffff80007 995c010 0000000000000124
[ 2398.909248] bbe0: 000000000000006a ffff000008a61000 ffff80007 8ab5e80 ffff00001318bc50
[ 2398.917086] bc00: ffff00000827b158 ffff00001318bc50 ffff00000 827b168 0000000060000145
[ 2398.924920] bc20: ffff00001318bc30 ffff00000827877c 0000fffff fffffff ffff00000827aeb8
[ 2398.932755] bc40: ffff00001318bc50 ffff00000827b168
[ 2398.937641] [] sysfs_delete_link+0x38/0x70
[ 2398.943307] [] device_remove_class_symlinks +0x90/0xb0
[ 2398.949925] [] device_del+0x124/0x310
[ 2398.955153] [] device_unregister+0x14/0x30
[ 2398.960836] [] channel_device_free+0x80/0x1 d8 [rpmsg_multiept]
[ 2398.968947] [] channel_device_free+0x180/0x 1d8 [rpmsg_multiept]
[ 2398.977137] [] rpmsg_dev_remove+0x38/0x70
[ 2398.982713] [] device_release_driver_intern al+0x174/0x210
[ 2398.989678] [] driver_detach+0x44/0x80
[ 2398.994995] [] bus_remove_driver+0x54/0xc0
[ 2399.000659] [] driver_unregister+0x2c/0x50
[ 2399.006325] [] unregister_rpmsg_driver+0xc/ 0x20
[ 2399.012439] [] cleanup_module+0x48/0xf48 [ rpmsg_multiept]
[ 2399.020106] [] SyS_delete_module+0x1b8/0x22 0
[ 2399.025936] Exception stack(0xffff00001318bec0 to 0xffff00001 318c000)
[ 2399.032387] bec0: 000000003a5b17b8 0000000000000800 000000000 000000a 0000ffffcaf43491
[ 2399.040221] bee0: 0000ffffac811390 1999999999999999 000000000 0000000 0000ffffac7d1670
[ 2399.048058] bf00: 000000000000006a 0000000000000005 000000000 0000000 0000000000000028
[ 2399.055895] bf20: 746c756d5f67736d 0000ffffac6d02c8 0000ffffa c6c2de0 0000000000000000
[ 2399.063729] bf40: 0000ffffac78f740 000000000042d2c8 000000000 0004010 000000003a5b1750
[ 2399.071567] bf60: 0000ffffcaf44d5b 0000ffffcaf44748 0000ffffc af44740 000000003a5b0260
[ 2399.079403] bf80: 0000000000417de0 0000000000000000 000000000 0417000 0000000000000000
[ 2399.087237] bfa0: 0000000000000000 0000ffffcaf444d0 000000000 0411e88 0000ffffcaf444d0
[ 2399.095073] bfc0: 0000ffffac78f748 0000000080000000 000000003 a5b17b8 000000000000006a
[ 2399.102909] bfe0: 0000000000000000 0000000000000000 000000000 0000000 0000000000000000
[ 2399.110749] [] __sys_trace_return+0x0/0x4
[ 2399.116328] Code: f9401aa0 d2800015 b40000a0 f9401a81 (7940e0 21)
[ 2399.122425] ---[ end trace 9ec6eb1f4dfe8be9 ]---
[ 2399.127110] note: rmmod[13208] exited with preempt_count 1
Segmentation fault

in lsmod used by shows -1
Module Size Used by
rpmsg_multiept 36864 -1

sysfs: cannot create duplicate filename '/class/rpmsg'

When inserting this kernel module on kernel 5.4.85 I can see the following traces in dmesg.

sysfs: cannot create duplicate filename '/class/rpmsg'
kobject_add_internal failed for rpmsg with -EEXIST, don't try to register things with the same name in the same directory.

Known issue?

Failed patch linux 4.9.11

Hi, I have failed patch kernel as I did successfully for previous one version.
Here are terminal output and files in txt format.

patching file Kconfig
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file Kconfig.rej
patching file Makefile
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file rpmsg_multiept.c

Makefile.txt
Kconfig.txt

rpmsg_multiept.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.