Home Forums Software discussion OS – ubuntu Crash after booting for about a minute

This topic contains 5 replies, has 2 voices, and was last updated by  glasgall 1 week, 5 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #424

    vgm
    Participant

    I got my Espressobin a few days ago, and was following some pages on the wiki to try to setup Ubuntu 16.04 on it. I learned about kermit and how to communicate with it over /dev/ttyUSBX (It seems the 12v adapter in addition to the microUSB cable is required to get it to show up as a device over USB) and was able to get Ubuntu to come up and boot from a microSD. However, after a minute or two, I get a stack trace and have to reboot the device. I haven’t tried any other operating systems yet, but I am wondering if there are any immediate red flags for this type of issue. (bad SD? filesystem? kernel? PSU? hardware?).

    As for specific steps that I took, they were from the following pages:
    Creating Ubuntu Filesystem to get rootfs.tar.bz2
    Build Kernel to get the Image and .dtb files
    Setting U-Boot Parameters to get the Espressobin to boot from mmc and set that as default

    And then the next page that I was going through was Ubuntu – Initial Network Configuration, and if I’m quick enough I can actually get the network connection set up before it crashes.

    Here is the trace:

    [   98.334284] Unhandled fault: synchronous parity error (0x96000018) at 0xffffffc000bceb2c
    [   98.342617] Internal error: : 96000018 [#1] PREEMPT SMP
    [   98.348053] Modules linked in:
    [   98.351030] CPU: 1 PID: 491 Comm: kworker/1:1 Not tainted 4.4.8-armada-17.02.2-g8148be9 #1
    [   98.359560] Hardware name: Marvell Armada 3720 Community Board (DT)
    [   98.365858] task: ffffffc039158b00 ti: ffffffc039074000 task.ti: ffffffc039074000
    [   98.373674] PC is at __schedule+0x70/0x5d0
    [   98.378069] LR is at __schedule+0x48/0x5d0
    [   98.382202] pc : [<ffffffc00087c8f8>] lr : [<ffffffc00087c8d0>] pstate: 60000145
    [   98.389927] sp : ffffffc039077d60
    [   98.392804] x29: ffffffc039077d60 x28: 0000000000000000 
    [   98.398735] x27: ffffffc000bce000 x26: 0000000000000000 
    [   98.404217] x25: 0000000000000001 x24: ffffffc000c480c4 
    [   98.409701] x23: ffffffc00087ce9c x22: ffffffc039158b00 
    [   98.415183] x21: ffffffc03efded80 x20: ffffffc000bce000 
    [   98.420667] x19: ffffffc000bad000 x18: 0000000000000063 
    [   98.426152] x17: 0000007f8d8d2028 x16: 0000000000000001 
    [   98.431633] x15: 0000000000000001 x14: 00000000ffffffff 
    [   98.437116] x13: 00000000ffffffff x12: 000000000007a120 
    [   98.442597] x11: 0000000000000003 x10: 00000000000f4240 
    [   98.448079] x9 : aaaaaaaaaaaaaaab x8 : ffffffc03efe2a00 
    [   98.453561] x7 : ffffffc03efdab80 x6 : 0000000000000000 
    [   98.459045] x5 : fffffffffffffffc x4 : 00000000ffff3b01 
    [   98.464529] x3 : 0000000000000000 x2 : 000000003e431000 
    [   98.470011] x1 : 000000003e431000 x0 : ffffffc000bce000 
    [   98.475495] 
    [   98.477026] Process kworker/1:1 (pid: 491, stack limit = 0xffffffc039074020)
    [   98.483945] Stack: (0xffffffc039077d60 to 0xffffffc039078000)
    [   98.490055] 7d60: ffffffc039077db0 ffffffc00087ce9c ffffffc039074000 ffffffc0393d1030
    [   98.498498] 7d80: ffffffc03efde598 ffffffc03efde580 ffffffc039074000 ffffffc000c480c4
    [   98.506142] 7da0: 0000000000000000 0000000000000000 ffffffc039077dd0 ffffffc0000cce84
    [   98.514048] 7dc0: ffffffc0393d1000 ffffffc0000cce80 ffffffc039077e30 ffffffc0000d2a04
    [   98.522221] 7de0: ffffffc03910f200 ffffffc000c51060 ffffffc000a6f198 ffffffc0393d1000
    [   98.530396] 7e00: ffffffc0000cccd8 0000000000000000 0000000000000000 0000000000000000
    [   98.538391] 7e20: 0000000000000000 0000000000000000 0000000000000000 ffffffc000085c50
    [   98.546476] 7e40: ffffffc0000d2928 ffffffc03910f200 0000000000000000 0000000000000000
    [   98.554650] 7e60: 0000000000000000 ffffffc0000db180 ffffffc0000d2928 0000000000000000
    [   98.562735] 7e80: 0000000000000000 ffffffc0393d1000 0000000000000000 0000000000000000
    [   98.570820] 7ea0: ffffffc039077ea0 ffffffc039077ea0 0000000000000000 ffffffc000000000
    [   98.578815] 7ec0: ffffffc039077ec0 ffffffc039077ec0 0000000000000000 0000000000000000
    [   98.586810] 7ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.595074] 7f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.602979] 7f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.611243] 7f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.619775] 7f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.627329] 7f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.635503] 7fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   98.643408] 7fc0: 0000000000000000 0000000000000000 0000000000000000 0000000000000005
    [   98.651583] 7fe0: 0000000000000000 0000000000000000 c82236e3bbff3b66 d87e707bf2f67ffd
    [   98.659664] Call trace:
    [   98.662274] [<ffffffc00087c8f8>] __schedule+0x70/0x5d0
    [   98.667395] [<ffffffc00087ce9c>] schedule+0x44/0xb8
    [   98.672787] [<ffffffc0000cce84>] worker_thread+0x1ac/0x498
    [   98.678444] [<ffffffc0000d2a04>] kthread+0xdc/0xf0
    [   98.683476] [<ffffffc000085c50>] ret_from_fork+0x10/0x40
    [   98.689135] Code: b9401800 7100041f 54002561 d0001a80 (b94b2c00) 
    [   98.695373] ---[ end trace b12c45a94e9f2843 ]---
    [   98.699671] note: kworker/1:1[491] exited with preempt_count 1
    [   98.705848] Unable to handle kernel paging request at virtual address ffffffffffffffd8
    [   98.714388] pgd = ffffffc038e5b000
    [   98.717720] [ffffffffffffffd8] *pgd=0000000038ecb003, *pud=0000000038ecb003, *pmd=0000000000000000
    [   98.726980] Internal error: Oops: 96000005 [#2] PREEMPT SMP
    [   98.732638] Modules linked in:
    [   98.735879] CPU: 1 PID: 491 Comm: kworker/1:1 Tainted: G      D         4.4.8-armada-17.02.2-g8148be9 #1
    [   98.745666] Hardware name: Marvell Armada 3720 Community Board (DT)
    [   98.751963] task: ffffffc039158b00 ti: ffffffc039074000 task.ti: ffffffc039074000
    [   98.759956] PC is at kthread_data+0x4/0x10
    [   98.764177] LR is at wq_worker_sleeping+0x14/0xd0
    [   98.769116] pc : [<ffffffc0000d2e64>] lr : [<ffffffc0000cda04>] pstate: 600001c5
    [   98.776576] sp : ffffffc039077a40
    [   98.779544] x29: ffffffc039077a40 x28: ffffffc039450000 
    [   98.785474] x27: ffffffc000bce000 x26: 0000000000000000 
    [   98.790958] x25: 0000000000000001 x24: ffffffc039158f60 
    [   98.796441] x23: ffffffc00087ce9c x22: ffffffc039158b00 
    [   98.801923] x21: ffffffc03efded80 x20: ffffffc000bce000 
    [   98.807405] x19: 0000000000000001 x18: 000000000000000e 
    [   98.812887] x17: 0000000000000007 x16: 0000000000000001 
    [   98.818368] x15: 0000000000000007 x14: 000000000000000e 
    [   98.823849] x13: 0000000000000013 x12: 000000000000001a 
    [   98.829334] x11: ffffffc039077a40 x10: ffffffc039158b60 
    [   98.834816] x9 : 0000000000000000 x8 : 0000000000000000 
    [   98.840298] x7 : 0000000002e1e2f2 x6 : 0000000000000241 
    [   98.845783] x5 : ffffffc03efdee40 x4 : ffffffc03efdf6b0 
    [   98.851265] x3 : 0000000000000001 x2 : ffffffc000c51838 
    [   98.856746] x1 : 0000000000000001 x0 : 0000000000000000 
    [   98.862229] 
    [   98.863760] Process kworker/1:1 (pid: 491, stack limit = 0xffffffc039074020)
    [   98.870858] Stack: (0xffffffc039077a40 to 0xffffffc039078000)
    [   98.876700] 7a40: ffffffc039077a60 ffffffc00087ccbc ffffffc000bad000 ffffffc039158b00
    [   98.884785] 7a60: ffffffc039077ab0 ffffffc00087ce9c ffffffc039074000 ffffffc039077b30
    [   98.892780] 7a80: ffffffc0390777a8 ffffffc000bce000 0000000000000000 ffffffc039158b00
    [   98.900863] 7aa0: 0000000000000001 0000000000000000 ffffffc039077ad0 ffffffc0000b9e4c
    [   98.908948] 7ac0: ffffffc039158b00 ffffffc0000b9e0c ffffffc039077b40 ffffffc000089b94
    [   98.917123] 7ae0: ffffffc000c4d000 0000000000000000 ffffffc000a6a728 ffffffc039077c40
    [   98.925118] 7b00: ffffffc039074000 ffffffc039158b00 0000000000000001 0000000000000000
    [   98.933292] 7b20: ffffffc000bce000 0000000000000000 ffffffc039077b30 ffffffc039077b30
    [   98.941198] 7b40: ffffffc039077b80 ffffffc000089c7c 0000000096000018 ffffffc000bd9a10
    [   98.949282] 7b60: ffffffc000bceb2c ffffffc039077c40 0000000060000145 0000000000000025
    [   98.957545] 7b80: ffffffc039077b90 ffffffc0000822fc ffffffc039077d60 ffffffc000085428
    [   98.965540] 7ba0: ffffffc000bad000 ffffffc000bce000 ffffffc039077d60 ffffffc00087c8f8
    [   98.973713] 7bc0: 0000000000000007 ffffffc000000000 ffffffc000bceb2c ffffffc0007446cc
    [   98.981798] 7be0: ffffffc039077c50 ffffffc00071d75c ffffffc0392e6400 ffffffc039594900
    [   98.990332] 7c00: ffffffc039594800 0000000000004e20 ffffffc000bce000 ffffffc0392e6400
    [   98.998424] 7c20: ffffffc039077c60 ffffffc000108af4 ffffffc03efddf30 ffffffc03efdab80
    [   99.006516] 7c40: ffffffc000bce000 000000003e431000 000000003e431000 0000000000000000
    [   99.014070] 7c60: 00000000ffff3b01 fffffffffffffffc 0000000000000000 ffffffc03efdab80
    [   99.022065] 7c80: ffffffc03efe2a00 aaaaaaaaaaaaaaab 00000000000f4240 0000000000000003
    [   99.030328] 7ca0: 000000000007a120 00000000ffffffff 00000000ffffffff 0000000000000001
    [   99.038323] 7cc0: 0000000000000001 0000007f8d8d2028 0000000000000063 ffffffc000bad000
    [   99.046319] 7ce0: ffffffc000bce000 ffffffc03efded80 ffffffc039158b00 ffffffc00087ce9c
    [   99.054403] 7d00: ffffffc000c480c4 0000000000000001 0000000000000000 ffffffc000bce000
    [   99.062576] 7d20: 0000000000000000 ffffffc039077d60 ffffffc00087c8d0 ffffffc039077d60
    [   99.070751] 7d40: ffffffc00087c8f8 0000000060000145 ffffffc00087ce9c ffffffc0000cca98
    [   99.078836] 7d60: ffffffc039077db0 ffffffc00087ce9c ffffffc039074000 ffffffc0393d1030
    [   99.086832] 7d80: ffffffc03efde598 ffffffc03efde580 ffffffc039074000 ffffffc000c480c4
    [   99.094916] 7da0: 0000000000000000 0000000000000000 ffffffc039077dd0 ffffffc0000cce84
    [   99.102911] 7dc0: ffffffc0393d1000 ffffffc0000cce80 ffffffc039077e30 ffffffc0000d2a04
    [   99.111085] 7de0: ffffffc03910f200 ffffffc000c51060 ffffffc000a6f198 ffffffc0393d1000
    [   99.119707] 7e00: ffffffc0000cccd8 0000000000000000 0000000000000000 0000000000000000
    [   99.127798] 7e20: 0000000000000000 0000000000000000 0000000000000000 ffffffc000085c50
    [   99.135263] 7e40: ffffffc0000d2928 ffffffc03910f200 0000000000000000 0000000000000000
    [   99.143348] 7e60: 0000000000000000 ffffffc0000db180 ffffffc0000d2928 0000000000000000
    [   99.151521] 7e80: 0000000000000000 ffffffc0393d1000 0000000000000000 0000000000000000
    [   99.159606] 7ea0: ffffffc039077ea0 ffffffc039077ea0 0000000000000001 ffffffc000010001
    [   99.167601] 7ec0: ffffffc039077ec0 ffffffc039077ec0 0000000000000000 0000000000000000
    [   99.175864] 7ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.183859] 7f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.192033] 7f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.200565] 7f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.208119] 7f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.216293] 7f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.224288] 7fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [   99.232462] 7fc0: 0000000000000000 0000000000000000 0000000000000000 0000000000000005
    [   99.240367] 7fe0: 0000000000000000 0000000000000000 c82236e3bbff3b66 d87e707bf2f67ffd
    [   99.249076] Call trace:
    [   99.251151] [<ffffffc0000d2e64>] kthread_data+0x4/0x10
    [   99.256365] [<ffffffc00087ccbc>] __schedule+0x434/0x5d0
    [   99.262290] [<ffffffc00087ce9c>] schedule+0x44/0xb8
    [   99.267059] [<ffffffc0000b9e4c>] do_exit+0x68c/0x9b0
    [   99.272003] [<ffffffc000089b94>] die+0x1a4/0x1c0
    [   99.276674] [<ffffffc000089c7c>] arm64_notify_die+0x1c/0x60
    [   99.282601] [<ffffffc0000822fc>] do_mem_abort+0x94/0x98
    [   99.287722] Exception stack(0xffffffc039077ba0 to 0xffffffc039077cc0)
    [   99.294550] 7ba0: ffffffc000bad000 ffffffc000bce000 ffffffc039077d60 ffffffc00087c8f8
    [   99.302635] 7bc0: 0000000000000007 ffffffc000000000 ffffffc000bceb2c ffffffc0007446cc
    [   99.310631] 7be0: ffffffc039077c50 ffffffc00071d75c ffffffc0392e6400 ffffffc039594900
    [   99.318804] 7c00: ffffffc039594800 0000000000004e20 ffffffc000bce000 ffffffc0392e6400
    [   99.326800] 7c20: ffffffc039077c60 ffffffc000108af4 ffffffc03efddf30 ffffffc03efdab80
    [   99.334883] 7c40: ffffffc000bce000 000000003e431000 000000003e431000 0000000000000000
    [   99.342968] 7c60: 00000000ffff3b01 fffffffffffffffc 0000000000000000 ffffffc03efdab80
    [   99.351053] 7c80: ffffffc03efe2a00 aaaaaaaaaaaaaaab 00000000000f4240 0000000000000003
    [   99.359227] 7ca0: 000000000007a120 00000000ffffffff 00000000ffffffff 0000000000000001
    [   99.367222] [<ffffffc000085428>] el1_da+0x18/0x70
    [   99.372611] [<ffffffc00087ce9c>] schedule+0x44/0xb8
    [   99.377381] [<ffffffc0000cce84>] worker_thread+0x1ac/0x498
    [   99.383219] [<ffffffc0000d2a04>] kthread+0xdc/0xf0
    [   99.388161] [<ffffffc000085c50>] ret_from_fork+0x10/0x40
    [   99.393105] Code: a8c37bfd d65f03c0 d503201f f9420000 (f85d8000) 
    
    #425

    glasgall
    Participant

    I had this exact issue. I fixed it by disabling ubuntu’s attempt to enable the ondemand governor

    (sudo systemctl disable ondemand and then pkill ondemand to kill the running job)

    It makes me a little nervous to be running at max clock all the time, but it hasn’t crashed yet.

    #427

    vgm
    Participant

    Thanks, that worked! No crashes so far and it seems to behave like a normal Ubuntu install. I’m guessing that the ramifications of this are increased power usage?

    #428

    glasgall
    Participant

    Yes, and the associated increased heat dissipation, which is what I’m concerned about, given that it doesn’t ship with heatsinks.

    #453

    vgm
    Participant

    Wow, left it on all weekend and it got burning hot to the touch (no crash though). I may have to try another OS anyway then. Impressed with the performance I got out of it, however.

    Is it normal that it won’t boot Ubuntu when powered only over 5v MicroUSB?

    #455

    glasgall
    Participant

    It’s only ever powered on for me at all – running ubuntu or buildroot – with the 12v adapter plugged in.

    I don’t think another userland would make a difference. I’m using the kernel from the Globalscale buildroot image (which defaults to the performance governor), and the buildroot image doesn’t do anything to change that (so the Globalscale buildroot image would have the same behavior). The panic on trying to change governors is definitely a kernel issue, not a userland one.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop