do_page_fault(): sending SIGSEGV to fast-gpio for invalid read access from 00000600
-
@Lazar-Demin It was working fine in 0.1.6 b137, and not working since 0.1.6 b138 (up to 0.1.9-b157). Whatever was changed between 137 and 138, that would by bmy main suspect.
-
Anyone heard of any updates to this issue? Seems like the onion people only now and then comments and then its all quiet for a long time or forever.
-
@Lazar-Demin @administrators @Global-Moderators
Hi Lazar, I am sure you guys are busy with the shipping and interruptions you had etc. I still wonder how you handle software support during this period? There seems to several issues out there that should be pretty straight forward to solve and not take much of your time but stops many people in doing their work. Have you guys consider being somewhat more open about what prevents you from just fixing these issues ASAP? I see that there are several images being built continuously but not any updates to the issues?While I, hopefully, have your attention. Do you know the reason why Onion has elected to not build with POSIX Messaging Queues enabled (mqueue)? This is an essential part of messaging between threads and processes and is enabled in the Kernel by default by most Linux distros. It would only require to enable the flag CONFIG_POSIX_MQUEUE when building. This one flag is enabled by default but NOT enabled in Onion builds.
Enabling this feature would open up a lot of possible IPC features on your device.
Thanks,
Michael
-
Ok, b160 fixes the missing
/dev/mem
device so fast-gpio will now work correctly!.
Also, we're now building the firmware with POSIX Messaging Queues enabled!The issue was that our kernel config was setup to enable DEVMEM and DEV_KMEM, but for some reason the regular buildroot config had that disabled.
We're getting a better handle on the remaining shipments and the customer support backlog so we'll be spending more time actually making the Omega better in March. We hear what you guys are saying in terms of the community working the make the firmware better, so we will be open sourcing the firmware sometime in March as well
Thank you all for your continued patience and support for a young company
-
@Lazar-Demin said in do_page_fault(): sending SIGSEGV to fast-gpio for invalid read access from 00000600:
Ok, b160 fixes the missing
/dev/mem
device so fast-gpio will now work correctly!.
Also, we're now building the firmware with POSIX Messaging Queues enabled!The issue was that our kernel config was setup to enable DEVMEM and DEV_KMEM, but for some reason the regular buildroot config had that disabled.
What, already? Amazing, it's only been several months now!
-
@Lazar-Demin Thanks for that. Can you also add the command line devmem for us tinkerers please.
-
@Jo-Kritzinger , just update to b160 firmware! Then it should work ... or did I misunderstand you?
-
@Luciano-S. there is also a command called
devmem
that pokes a hole through the os and allows you to directly access the memory, great for accessing hardware registers. Read the article "WS281x, SK6812 driver for the Omega2?" posted by @luz. in there he uses the command to investigate pwm.
-
there is also a command called
devmem
that pokes a hole through the os and allows you to directly access the memoryActually it is the kernel driver that creates the /dev/mem device which is the hole through the usual OS restrictions .
The
devmem
tool merely provides an easy way to make use of that from the command line.
-
@Chris-Stratton Thanks for clearing that up Chris. Where is the
devmem
tool?
-
@Jo-Kritzinger said in do_page_fault(): sending SIGSEGV to fast-gpio for invalid read access from 00000600:
@Chris-Stratton Thanks for clearing that up Chris. Where is the
devmem
tool?It's usually provided as part of busybox, if it is present in the build I'd expect it to be in the path by default, it may well be in /sbin or another usual location for binaries. If it is provided by busybox then the
devmem
file entry will probably just be a simlink to the busybox executable andbusybox devemem .....
may also work.
-
@Chris-Stratton I did a
find / -name devmem
which resulted in zero hits. I don't know (yet - new to linux world) how to make a custom build and that's why I asked @Lazar-Demin to include it in the build. I'd be grateful if you could guide me how to add it myself.
-
@Jo-Kritzinger Basically, you need someone to provide you with the LEDE SDK or you need to compile LEDE yourself in order to be able to configure custom settings for busybox and to compile it with them. Or, you can hope for the Onion-devs to include devmem in their images and just grab the version I compiled at https://dl.dropboxusercontent.com/u/11811685/omega2-stuff/devmem as a temporary solution.
-
@WereCatf So a wget into /tmp folder and a opkg install? I'll give it a go, thank you.
-
@Jo-Kritzinger It's not even an opkg-package, it's just a raw executable. Give it executable permissions with
chmod u+x devmem
and run it with./devmem
-
-
@WereCatf said in do_page_fault(): sending SIGSEGV to fast-gpio for invalid read access from 00000600:
@Jo-Kritzinger It's not even an opkg-package, it's just a raw executable. Give it executable permissions with
chmod u+x devmem
and run it with./devmem
Is that actually a fully busybox common executable? It certainly seems to contain strings that would make sense in other tools like
ping
, but still probably a quick pragmatic solution.
-
@Chris-Stratton Yes, it's just busybox. Jo wanted devmem and this was the easiest and quickest way.
-
@Lazar-Demin said here:
We're getting a better handle on the remaining shipments and the customer support backlog so we'll be spending more time actually making the Omega better in March. We hear what you guys are saying in terms of the community working the make the firmware better, so we will be open sourcing the firmware sometime in March as well
Great to hear that!
Don't forget to have a look at the githup PR's
Thank you all for your continued patience and support for a young company
I sympathize with your situation, It's always difficult to choose between urgent and important when there's too much to do.
I just think keeping the enthusiasm in the community for doing things with the Omega2 going is important. So making sure those that are willing to invest a lot of time are not blocked standing before closed source doors for too long is also important.
-
@luz With you on this one.