Author Topic: Docker install causes unrecoverable NMI  (Read 4272 times)

Elevennails

  • Newbie
  • *
  • Posts: 14
    • View Profile
Docker install causes unrecoverable NMI
« on: February 25, 2020, 12:49:32 pm »
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

https://docs.docker.com/install/linux/docker-ce/debian

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

Has anyone got any ideas how i can debug? does any know why it force reboots?

Sorry i'm a noob really.

Thanks

Elevennails

Elevennails

  • Newbie
  • *
  • Posts: 14
    • View Profile
Docker install causes unrecoverable NMI
« Reply #1 on: February 29, 2020, 09:43:26 am »
Just tried again, Seems to get as far as trying to create sockets and powers off. Trying to restart then sends the cosmo into a reboot loop and i have to revert the image to a fresh install.

This is my last hurdle to have everything i need

Anyone got any ideas how i can debug. Or what might be going wrong.

szopin

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Docker install causes unrecoverable NMI
« Reply #2 on: March 01, 2020, 07:47:18 am »
Quote from: Elevennails
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

https://docs.docker.com/install/linux/docker-ce/debian

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

Has anyone got any ideas how i can debug? does any know why it force reboots?

Sorry i'm a noob really.

Thanks

Elevennails

You could try armhf version, not really sure how good the support for arm64 is from libhybris side (jolla doesn't support it yet afaik and they are(were?) the biggest contributor to libhybris, so very likely it's still lacking)

Beiriannydd

  • Newbie
  • *
  • Posts: 36
    • View Profile
Docker install causes unrecoverable NMI
« Reply #3 on: March 01, 2020, 02:04:49 pm »
Quote from: Elevennails
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

The ODROID was, I expect, running a Linux rather than an android kernel.  The permissions on Android are essentially single user oriented and the root account isn't just trusted to be able to do anything.

If we can turn the Android off in the kernel and keep a functioning machine (I don't need more than wifi when in Linux mode) then we'll be able to use docker.  There is no port I know of docker to Android which works.

This is what some people want, but it is useless to me.  Termux is a more useful linux environment on Cosmo than Gemian is for me.  Yes, Docker doesn't work but I don't expect it to and it isn't laggy or with widgets which fill the useful screen area.

Unfortunately I have a lot on at the moment and can't spend the time on this.  I suspect that we may be close to being able to run a standard kernel on the old Gemini.  That is probably where I will put my effort when I have time and keep this machine as a really decent Android.

Elevennails

  • Newbie
  • *
  • Posts: 14
    • View Profile
Docker install causes unrecoverable NMI
« Reply #4 on: March 05, 2020, 12:04:09 pm »
Quote from: szopin
Quote from: Elevennails
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

https://docs.docker.com/install/linux/docker-ce/debian

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

Has anyone got any ideas how i can debug? does any know why it force reboots?

Sorry i'm a noob really.

Thanks

Elevennails

You could try armhf version, not really sure how good the support for arm64 is from libhybris side (jolla doesn't support it yet afaik and they are(were?) the biggest contributor to libhybris, so very likely it's still lacking)

Thanks gave it a go didn't work loads of missing libraries

Elevennails

  • Newbie
  • *
  • Posts: 14
    • View Profile
Docker install causes unrecoverable NMI
« Reply #5 on: March 05, 2020, 12:06:14 pm »
Quote from: Beiriannydd
Quote from: Elevennails
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

The ODROID was, I expect, running a Linux rather than an android kernel.  The permissions on Android are essentially single user oriented and the root account isn't just trusted to be able to do anything.

If we can turn the Android off in the kernel and keep a functioning machine (I don't need more than wifi when in Linux mode) then we'll be able to use docker.  There is no port I know of docker to Android which works.

This is what some people want, but it is useless to me.  Termux is a more useful linux environment on Cosmo than Gemian is for me.  Yes, Docker doesn't work but I don't expect it to and it isn't laggy or with widgets which fill the useful screen area.

Unfortunately I have a lot on at the moment and can't spend the time on this.  I suspect that we may be close to being able to run a standard kernel on the old Gemini.  That is probably where I will put my effort when I have time and keep this machine as a really decent Android.


Thanks for your efforts. Hopefully one day

szopin

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Docker install causes unrecoverable NMI
« Reply #6 on: March 05, 2020, 12:12:36 pm »
Quote from: Elevennails
Quote from: szopin
Quote from: Elevennails
If i install docker on the Cosmo it NMI reboots during the software installs. Not sure why guess it's a missing library I've followed the instructions from here selecting the arm64 build.

https://docs.docker.com/install/linux/docker-ce/debian

Unfortunately I can't capture the log files as i am unable to restart the debian image once it fails and have to flash the image back.

I have had this running on an ODRIOD before so i know it should work.

Has anyone got any ideas how i can debug? does any know why it force reboots?

Sorry i'm a noob really.

Thanks

Elevennails

You could try armhf version, not really sure how good the support for arm64 is from libhybris side (jolla doesn't support it yet afaik and they are(were?) the biggest contributor to libhybris, so very likely it's still lacking)

Thanks gave it a go didn't work loads of missing libraries

I wonder if it'll be possible to get a full armhf version of gemian on cosmo, jolla has been bugfixing libhybris with this in mind for 7 years now and no way few people from planet will get it as polished (main reason SFOS is still 32bit system, it's a huge undertaking), but very likely just not possible if china provided arm64 driver blobs, we're probably stuck with kwin crashes for long time