ODROID-C2 system crash with gpsd ttyS1+pps

This is for ARMv8 based devices

ODROID-C2 system crash with gpsd ttyS1+pps

Postby carrlile » Mon Mar 20, 2017 8:23 pm

Hi,

I have a gps module connected to ttyS1 (physical pin 8,10 and pps to 12). I also have pps_gpio loaded and ppstest is functioning properly once fix is acquired.

Code: Select all
sudo ppstest /dev/pps0                                                                         
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1490041265.004679853, sequence: 5 - clear  0.000000000, sequence: 0
source 0 - assert 1490041266.004679498, sequence: 6 - clear  0.000000000, sequence: 0
source 0 - assert 1490041267.004680142, sequence: 7 - clear  0.000000000, sequence: 0


I can gpscat / minicom ttyS1 and I see the NMEA sentences. The problem is when I launch gpsd:

Code: Select all
sudo gpsd -nND 3 /dev/ttyS1 /dev/pps
gpsd:INFO: launching (Version 3.16)
gpsd:INFO: listening on port gpsd
gpsd:INFO: stashing device /dev/ttyS1 at slot 0
gpsd:INFO: opening GPS data source type 2 at '/dev/ttyS1'
gpsd:INFO: speed 9600, 8N1
gpsd:INFO: gpsd_activate(2): activated GPS (fd 6)
gpsd:WARN: KPPS:/[   98.101271] Bad mode in Synchronous Abort handler detected, code 0x86000005 -- IABT (current EL)
[   98.109984] CPU: 0 PID: 541 Comm: gpsd Not tainted 3.14.79-19-ARCH #1
[   98.116364] task: ffffffc05b792c80 ti: ffffffc05b014000 task.ti: ffffffc05b014000
[   98.123786] PC is at 0x0
[   98.126288] LR is at uart_wait_modem_status+0xa4/0x1c0
[   98.131370] pc : [<0000000000000000>] lr : [<ffffffc0014b3284>] pstate: 800001c5
[   98.138700] sp : ffffffc05b017bd0
[   98.141978] x29: ffffffc05b017bd0 x28: ffffffc05b014000
[   98.147239] x27: ffffffc05bff2280 x26: 0000000000000040
[   98.152500] x25: 0000000000000100 x24: 0000000000000080
[   98.157761] x23: 0000000000000001 x22: 0000000000000020
[   98.163022] x21: ffffffc05b014000 x20: ffffffc05bff0618
[   98.168284] x19: ffffffc05bff0690 x18: 0000000000000001
[   98.173545] x17: 0000007f78020140 x16: ffffffc0011aaa78
[   98.178806] x15: 0000000000000087 x14: 0000000000000000
[   98.184067] x13: 0000000000000020 x12: 0000007f77d24170
[   98.189329] x11: 00000000003d0f00 x10: 0000007f780b3218
[   98.194590] x9 : 0000000000000000 x8 : 000000000000001d
[   98.199851] x7 : 0000007f77d23779 x6 : 0000000000000000
[   98.205112] x5 : 0000000000000000 x4 : 0000000000000000
[   98.210373] x3 : 0000000000000006 x2 : 0000152a000015e2
[   98.215635] x1 : 0000000000000000 x0 : ffffffc05bff0618
[   98.220897]
[   98.220897] LR: 0xffffffc0014b3204:
[   98.225812] 3204  9101a3a0 a90153f3 927b0036 a90363f7 92790038 a9046bf9 92780039 a9007c1f
[   98.233919] 3224  9101e3a0 f940cb74 927a003a 9103a37b d2800037 a9007c1f aa1403e0 9101e293
[   98.242027] 3244  f9400aa3 f90047bf a9070ba3 941157e2 f9406681 aa1403e0 b9402a62 f9401263
[   98.250134] 3264  a9401664 f9005ba3 f9402421 b900bba2 a9410e62 a90917a4 a90a0fa2 d63f0020
[   98.258242] 3284  aa1403e0 941158ca 9101a3a1 aa1b03e0 97f0bd85 aa1403e0 941157cf a9410e62
[   98.266349] 32a4  aa1403e0 a9401664 a90d0fa2 b9402a61 f9401266 a90c17a4 f90073a6 b900eba1
[   98.274457] 32c4  941158bb f9400aa2 f9000057 d5033bbf b40000b8 b9409ba0 b940cba1 6b00003f
[   98.282564] 32e4  540005a1 b40000b9 b94097a0 b940c7a1 6b00003f 54000501 b40000ba b9409fa0
[   98.290672]
[   98.290672] SP: 0xffffffc05b017b50:
[   98.295588] 7b50  5bff0618 ffffffc0 5b014000 ffffffc0 00000020 00000000 00000001 00000000
[   98.303696] 7b70  00000080 00000000 00000100 00000000 00000040 00000000 5bff2280 ffffffc0
[   98.311803] 7b90  5b014000 ffffffc0 5b017bd0 ffffffc0 014b3284 ffffffc0 5b017bd0 ffffffc0
[   98.319911] 7bb0  00000000 00000000 800001c5 00000000 5bff0690 ffffffc0 0190952c ffffffc0
[   98.328018] 7bd0  5b017cc0 ffffffc0 014b4e2c ffffffc0 0000545c 00000000 5b6eb000 ffffffc0
[   98.336126] 7bf0  5bff2198 ffffffc0 5b6eb000 ffffffc0 000001e0 00000000 000001e0 00000000
[   98.344233] 7c10  5b6eb000 ffffffc0 0000001d 00000000 01ca0000 ffffffc0 010e9660 ffffffc0
[   98.352341] 7c30  5b017c60 ffffffc0 00000000 00000000 5b792c80 ffffffc0 010d3860 ffffffc0
[   98.360449]
[   98.360449] X0: 0xffffffc05bff0598:
[   98.365364] 0598  5d9e6500 ffffffc0 01cc5e30 ffffffc0 01493a08 ffffffc0 00000000 00000000
[   98.373472] 05b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.381579] 05d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.389687] 05f8  00000000 00000000 5bf58480 ffffffc0 5da4cb78 ffffffc0 01507240 ffffffc0
[   98.397794] 0618  6b616b60 00000000 00000000 00000000 002264c0 ffffff80 00000000 00000000
[   98.405902] 0638  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.414009] 0658  00000000 00000000 0000003a 00000000 00000000 00000000 016e3600 00000080
[   98.422117] 0678  00020000 01000000 00000000 00000000 5bff2198 ffffffc0 00000000 00000000
[   98.430229]
[   98.430229] X16: 0xffffffc0011aa9f8:
[   98.435227] a9f8  b9000280 17ffff3c 128002b3 17ffff3a 528b0500 72a80600 6b00009f 54000080
[   98.443334] aa18  11000800 6b00009f 54fff001 aa1403e1 aa1503e0 97fffe85 2a0003f3 17ffff2e
[   98.451442] aa38  12800bd3 17ffff2c 910003e0 9272c401 aa1403e0 f9400421 b1001000 fa413002
[   98.459549] aa58  9a9f27e2 b4ffe202 f9403aa1 52800013 f9402ac0 4b010000 17ffffe2 d503201f
[   98.467657] aa78  a9bc7bfd 910003fd a9025bf5 aa0003f6 a90363f7 aa0103f7 a90153f3 aa0203f8
[   98.475764] aa98  94002936 f27ef415 54000380 aa0003f4 aa1803e2 2a1703e1 aa1503e0 94090d1b
[   98.483872] aab8  2a0003f3 340001a0 37000114 93407e60 a94153f3 a9425bf5 a94363f7 a8c47bfd
[   98.491979] aad8  d65f03c0 d503201f aa1503e0 97ffbc99 17fffff7 d503201f aa1803e3 2a1703e2
[   98.500088]
[   98.500088] X19: 0xffffffc05bff0610:
[   98.509283] 0610  01507240 ffffffc0 6b616b60 00000000 00000000 00000000 002264c0 ffffff80
[   98.521199] 0630  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.529140] 0650  00000000 00000000 00000000 00000000 0000003a 00000000 00000000 00000000
[   98.537035] 0670  016e3600 00000080 00020000 01000000 00000000 00000000 5bff2198 ffffffc0
[   98.545079] 0690  00000000 00000000 00000000 00000000 000015e2 0000152a 00000006 00000000
[   98.553145] 06b0  00000000 00000000 00000000 00000000 01cf0d18 ffffffc0 00000000 00000000
[   98.561193] 06d0  90002000 00000006 0000000f 0000006d 01cf0e68 ffffffc0 00000000 00000001
[   98.569272] 06f0  c11084c0 00000000 5da4ca10 ffffffc0 00000000 00000000 00000000 00000000
[   98.577350]
[   98.577350] X20: 0xffffffc05bff0598:
[   98.585445] 0598  5d9e6500 ffffffc0 01cc5e30 ffffffc0 01493a08 ffffffc0 00000000 00000000
[   98.596828] 05b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.604965] 05d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.613068] 05f8  00000000 00000000 5bf58480 ffffffc0 5da4cb78 ffffffc0 01507240 ffffffc0
[   98.621192] 0618  6b616b60 00000000 00000000 00000000 002264c0 ffffff80 00000000 00000000
[   98.629328] 0638  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.637421] 0658  00000000 00000000 0000003a 00000000 00000000 00000000 016e3600 00000080
[   98.645509] 0678  00020000 01000000 00000000 00000000 5bff2198 ffffffc0 00000000 00000000
[   98.653635]
[   98.653635] X21: 0xffffffc05b013f80:
[   98.662104] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.673685] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.681777] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.689870] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.697953] 4000  00000001 00000000 ffffffff ffffffff 5b792c80 ffffffc0 01ca2210 ffffffc0
[   98.706073] 4020  010b65a0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   98.714233] 4040  00000000 00000000 00000000 00000000 00000002 00000000 57ac6e9d 00000000
[   98.722282] 4060  019182d8 ffffffc0 00000400 00000000 00400000 00000000 00000001 00000000
[   98.730370]
[   98.730370] X27: 0xffffffc05bff2200:
[   98.738828] 2200  00000000 00000000 00000000 00000000 5b722400 ffffffc0 00000100 00010000
[   98.750321] 2220  5b722c00 ffffffc0 5b6eb000 ffffffc0 5b6eb000 ffffffc0 01969c50 ffffffc0
[   98.758415] 2240  00080008 00000000 00000001 00000000 00030003 00000000 5bff2258 ffffffc0
[   98.766515] 2260  5bff2258 ffffffc0 00010001 00000000 5bff2270 ffffffc0 5bff2270 ffffffc0
[   98.774593] 2280  00010001 00000000 5bff2288 ffffffc0 5bff2288 ffffffc0 a0000000 00000000
[   98.782672] 22a0  00000002 00000000 00000001 00000000 5bff22b0 ffffffc0 5bff22b0 ffffffc0
[   98.790804] 22c0  00000000 00000000 00000000 00000000 00000001 00000000 5bff22d8 ffffffc0
[   98.798851] 22e0  5bff22d8 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   98.806940]
[   98.806940] X28: 0xffffffc05b013f80:
[   98.815127] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.826501] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.834566] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.842613] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   98.850697] 4000  00000001 00000000 ffffffff ffffffff 5b792c80 ffffffc0 01ca2210 ffffffc0
[   98.858778] 4020  010b65a0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   98.866938] 4040  00000000 00000000 00000000 00000000 00000002 00000000 57ac6e9d 00000000
[   98.874987] 4060  019182d8 ffffffc0 00000400 00000000 00400000 00000000 00000001 00000000
[   98.883076]
[   98.883076] X29: 0xffffffc05b017b50:
[   98.891060] 7b50  5bff0618 ffffffc0 5b014000 ffffffc0 00000020 00000000 00000001 00000000
[   98.902342] 7b70  00000080 00000000 00000100 00000000 00000040 00000000 5bff2280 ffffffc0
[   98.910481] 7b90  5b014000 ffffffc0 5b017bd0 ffffffc0 014b3284 ffffffc0 5b017bd0 ffffffc0
[   98.918637] 7bb0  00000000 00000000 800001c5 00000000 5bff0690 ffffffc0 0190952c ffffffc0
[   98.926764] 7bd0  5b017cc0 ffffffc0 014b4e2c ffffffc0 0000545c 00000000 5b6eb000 ffffffc0
[   98.934851] 7bf0  5bff2198 ffffffc0 5b6eb000 ffffffc0 000001e0 00000000 000001e0 00000000
[   98.942980] 7c10  5b6eb000 ffffffc0 0000001d 00000000 01ca0000 ffffffc0 010e9660 ffffffc0
[   98.951062] 7c30  5b017c60 ffffffc0 00000000 00000000 5b792c80 ffffffc0 010d3860 ffffffc0
[   98.959118]
[   98.963149] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
[   98.967486] Modules linked in: rt2800usb rt2800lib rt2x00usb rt2x00lib mac80211 cfg80211 spidev w1_gpio spi_gpio spi_bitbang wire meson_gpiomem gxbb_wdt sch_fq_codel ip_tables autofs4
[   98.987637] CPU: 0 PID: 541 Comm: gpsd Not tainted 3.14.79-19-ARCH #1
[   98.992757] task: ffffffc05b792c80 ti: ffffffc05b014000 task.ti: ffffffc05b014000
[   99.000175] PC is at 0x0
[   99.004485] LR is at uart_wait_modem_status+0xa4/0x1c0
[   99.008789] pc : [<0000000000000000>] lr : [<ffffffc0014b3284>] pstate: 800001c5
[   99.015595] sp : ffffffc05b017bd0
[   99.019912] x29: ffffffc05b017bd0 x28: ffffffc05b014000
[   99.028205] x27: ffffffc05bff2280 x26: 0000000000000040
[   99.033490] x25: 0000000000000100 x24: 0000000000000080
[   99.038739] x23: 0000000000000001 x22: 0000000000000020
[   99.043964] x21: ffffffc05b014000 x20: ffffffc05bff0618
[   99.049241] x19: ffffffc05bff0690 x18: 0000000000000001
[   99.054518] x17: 0000007f78020140 x16: ffffffc0011aaa78
[   99.059768] x15: 0000000000000087 x14: 0000000000000000
[   99.064972] x13: 0000000000000020 x12: 0000007f77d24170
[   99.070228] x11: 00000000003d0f00 x10: 0000007f780b3218
[   99.075418] x9 : 0000000000000000 x8 : 000000000000001d
[   99.080645] x7 : 0000007f77d23779 x6 : 0000000000000000
[   99.085923] x5 : 0000000000000000 x4 : 0000000000000000
[   99.091144] x3 : 0000000000000006 x2 : 0000152a000015e2
[   99.096362] x1 : 0000000000000000 x0 : ffffffc05bff0618
[   99.101622]
[   99.101622] LR: 0xffffffc0014b3204:
[   99.109774] 3204  9101a3a0 a90153f3 927b0036 a90363f7 92790038 a9046bf9 92780039 a9007c1f
[   99.121035] 3224  9101e3a0 f940cb74 927a003a 9103a37b d2800037 a9007c1f aa1403e0 9101e293
[   99.129176] 3244  f9400aa3 f90047bf a9070ba3 941157e2 f9406681 aa1403e0 b9402a62 f9401263
[   99.137267] 3264  a9401664 f9005ba3 f9402421 b900bba2 a9410e62 a90917a4 a90a0fa2 d63f0020
[   99.145442] 3284  aa1403e0 941158ca 9101a3a1 aa1b03e0 97f0bd85 aa1403e0 941157cf a9410e62
[   99.153628] 32a4  aa1403e0 a9401664 a90d0fa2 b9402a61 f9401266 a90c17a4 f90073a6 b900eba1
[   99.161805] 32c4  941158bb f9400aa2 f9000057 d5033bbf b40000b8 b9409ba0 b940cba1 6b00003f
[   99.169921] 32e4  540005a1 b40000b9 b94097a0 b940c7a1 6b00003f 54000501 b40000ba b9409fa0
[   99.178026]
[   99.178026] SP: 0xffffffc05b017b50:
[   99.186748] 7b50  5bff0618 ffffffc0 5b014000 ffffffc0 00000020 00000000 00000001 00000000
[   99.198298] 7b70  00000080 00000000 00000100 00000000 00000040 00000000 5bff2280 ffffffc0
[   99.206439] 7b90  5b014000 ffffffc0 5b017bd0 ffffffc0 014b3284 ffffffc0 5b017bd0 ffffffc0
[   99.214521] 7bb0  00000000 00000000 800001c5 00000000 5bff0690 ffffffc0 0190952c ffffffc0
[   99.222630] 7bd0  5b017cc0 ffffffc0 014b4e2c ffffffc0 0000545c 00000000 5b6eb000 ffffffc0
[   99.230741] 7bf0  5bff2198 ffffffc0 5b6eb000 ffffffc0 000001e0 00000000 000001e0 00000000
[   99.238851] 7c10  5b6eb000 ffffffc0 0000001d 00000000 01ca0000 ffffffc0 010e9660 ffffffc0
[   99.246957] 7c30  5b017c60 ffffffc0 00000000 00000000 5b792c80 ffffffc0 010d3860 ffffffc0
[   99.255044]
[   99.255044] X0: 0xffffffc05bff0598:
[   99.263843] 0598  5d9e6500 ffffffc0 01cc5e30 ffffffc0 01493a08 ffffffc0 00000000 00000000
[   99.275421] 05b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.283559] 05d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.291580] 05f8  00000000 00000000 5bf58480 ffffffc0 5da4cb78 ffffffc0 01507240 ffffffc0
[   99.299741] 0618  6b616b60 00000000 00000000 00000000 002264c0 ffffff80 00000000 00000000
[   99.307904] 0638  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.316038] 0658  00000000 00000000 0000003a 00000000 00000000 00000000 016e3600 00000080
[   99.324098] 0678  00020000 01000000 00000000 00000000 5bff2198 ffffffc0 00000000 00000000
[   99.332169]
[   99.332169] X16: 0xffffffc0011aa9f8:
[   99.341037] a9f8  b9000280 17ffff3c 128002b3 17ffff3a 528b0500 72a80600 6b00009f 54000080
[   99.352743] aa18  11000800 6b00009f 54fff001 aa1403e1 aa1503e0 97fffe85 2a0003f3 17ffff2e
[   99.360904] aa38  12800bd3 17ffff2c 910003e0 9272c401 aa1403e0 f9400421 b1001000 fa413002
[   99.368994] aa58  9a9f27e2 b4ffe202 f9403aa1 52800013 f9402ac0 4b010000 17ffffe2 d503201f
[   99.377116] aa78  a9bc7bfd 910003fd a9025bf5 aa0003f6 a90363f7 aa0103f7 a90153f3 aa0203f8
[   99.385241] aa98  94002936 f27ef415 54000380 aa0003f4 aa1803e2 2a1703e1 aa1503e0 94090d1b
[   99.393360] aab8  2a0003f3 340001a0 37000114 93407e60 a94153f3 a9425bf5 a94363f7 a8c47bfd
[   99.401474] aad8  d65f03c0 d503201f aa1503e0 97ffbc99 17fffff7 d503201f aa1803e3 2a1703e2
[   99.409617]
[   99.409617] X19: 0xffffffc05bff0610:
[   99.418766] 0610  01507240 ffffffc0 6b616b60 00000000 00000000 00000000 002264c0 ffffff80
[   99.430616] 0630  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.438709] 0650  00000000 00000000 00000000 00000000 0000003a 00000000 00000000 00000000
[   99.446618] 0670  016e3600 00000080 00020000 01000000 00000000 00000000 5bff2198 ffffffc0
[   99.454561] 0690  00000000 00000000 00000000 00000000 000015e2 0000152a 00000006 00000000
[   99.462627] 06b0  00000000 00000000 00000000 00000000 01cf0d18 ffffffc0 00000000 00000000
[   99.470672] 06d0  90002000 00000006 0000000f 0000006d 01cf0e68 ffffffc0 00000000 00000001
[   99.478753] 06f0  c11084c0 00000000 5da4ca10 ffffffc0 00000000 00000000 00000000 00000000
[   99.486832]
[   99.486832] X20: 0xffffffc05bff0598:
[   99.494929] 0598  5d9e6500 ffffffc0 01cc5e30 ffffffc0 01493a08 ffffffc0 00000000 00000000
[   99.506316] 05b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.514455] 05d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.522557] 05f8  00000000 00000000 5bf58480 ffffffc0 5da4cb78 ffffffc0 01507240 ffffffc0
[   99.530681] 0618  6b616b60 00000000 00000000 00000000 002264c0 ffffff80 00000000 00000000
[   99.538817] 0638  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.546910] 0658  00000000 00000000 0000003a 00000000 00000000 00000000 016e3600 00000080
[   99.554999] 0678  00020000 01000000 00000000 00000000 5bff2198 ffffffc0 00000000 00000000
[   99.563124]
[   99.563124] X21: 0xffffffc05b013f80:
[   99.571593] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.583174] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.591268] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.599361] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.607444] 4000  00000001 00000000 ffffffff ffffffff 5b792c80 ffffffc0 01ca2210 ffffffc0
[   99.615566] 4020  010b65a0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   99.623727] 4040  00000000 00000000 00000000 00000000 00000003 00000000 57ac6e9d 00000000
[   99.631774] 4060  019182d8 ffffffc0 00000400 00000000 00400000 00000000 00000001 00000000
[   99.639863]
[   99.639863] X27: 0xffffffc05bff2200:
[   99.648326] 2200  00000000 00000000 00000000 00000000 5b722400 ffffffc0 00000100 00010000
[   99.659821] 2220  5b722c00 ffffffc0 5b6eb000 ffffffc0 5b6eb000 ffffffc0 01969c50 ffffffc0
[   99.667915] 2240  00080008 00000000 00000001 00000000 00030003 00000000 5bff2258 ffffffc0
[   99.676016] 2260  5bff2258 ffffffc0 00010001 00000000 5bff2270 ffffffc0 5bff2270 ffffffc0
[   99.684096] 2280  00010001 00000000 5bff2288 ffffffc0 5bff2288 ffffffc0 a0000000 00000000
[   99.692176] 22a0  00000002 00000000 00000001 00000000 5bff22b0 ffffffc0 5bff22b0 ffffffc0
[   99.700306] 22c0  00000000 00000000 00000000 00000000 00000001 00000000 5bff22d8 ffffffc0
[   99.708352] 22e0  5bff22d8 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   99.716444]
[   99.716444] X28: 0xffffffc05b013f80:
[   99.724636] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.736018] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.744083] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.752131] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   99.760217] 4000  00000001 00000000 ffffffff ffffffff 5b792c80 ffffffc0 01ca2210 ffffffc0
[   99.768297] 4020  010b65a0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[   99.776455] 4040  00000000 00000000 00000000 00000000 00000003 00000000 57ac6e9d 00000000
[   99.784505] 4060  019182d8 ffffffc0 00000400 00000000 00400000 00000000 00000001 00000000
[   99.792594]
[   99.792594] X29: 0xffffffc05b017b50:
[   99.800579] 7b50  5bff0618 ffffffc0 5b014000 ffffffc0 00000020 00000000 00000001 00000000
[   99.811861] 7b70  00000080 00000000 00000100 00000000 00000040 00000000 5bff2280 ffffffc0
[   99.819998] 7b90  5b014000 ffffffc0 5b017bd0 ffffffc0 014b3284 ffffffc0 5b017bd0 ffffffc0
[   99.828153] 7bb0  00000000 00000000 800001c5 00000000 5bff0690 ffffffc0 0190952c ffffffc0
[   99.836282] 7bd0  5b017cc0 ffffffc0 014b4e2c ffffffc0 0000545c 00000000 5b6eb000 ffffffc0
[   99.844371] 7bf0  5bff2198 ffffffc0 5b6eb000 ffffffc0 000001e0 00000000 000001e0 00000000
[   99.852498] 7c10  5b6eb000 ffffffc0 0000001d 00000000 01ca0000 ffffffc0 010e9660 ffffffc0
[   99.860577] 7c30  5b017c60 ffffffc0 00000000 00000000 5b792c80 ffffffc0 010d3860 ffffffc0
[   99.868633]
[   99.872662] Process gpsd (pid: 541, stack limit = 0xffffffc05b014058)
[   99.877536] Stack: (0xffffffc05b017bd0 to 0xffffffc05b018000)
[   99.883230] 7bc0:                                     5b017cc0 ffffffc0 014b4e2c ffffffc0
[   99.891337] 7be0: 0000545c 00000000 5b6eb000 ffffffc0 5bff2198 ffffffc0 5b6eb000 ffffffc0
[   99.899445] 7c00: 000001e0 00000000 000001e0 00000000 5b6eb000 ffffffc0 0000001d 00000000
[   99.907552] 7c20: 01ca0000 ffffffc0 010e9660 ffffffc0 5b017c60 ffffffc0 00000000 00000000
[   99.915660] 7c40: 5b792c80 ffffffc0 010d3860 ffffffc0 00000000 00000000 00000000 00000000
[   99.923767] 7c60: 00000000 00000000 00000000 00000000 000015e2 0000152a 00000006 00000000
[   99.931875] 7c80: 00000000 00000000 00000000 0000007f 77d23710 0000007f 01081224 ffffffc0
[   99.939983] 7ca0: 5b017d00 ffffffc0 0149d34c ffffffc0 77d23710 0000007f 77d23710 0000007f
[   99.948090] 7cc0: 5b017d60 ffffffc0 01497528 ffffffc0 0000545c 00000000 5b6eb000 ffffffc0
[   99.956197] 7ce0: 5b633000 ffffffc0 000001e0 00000000 5b633000 ffffffc0 000001e0 00000000
[   99.964305] 7d00: 5b6eb000 ffffffc0 0000001d 00000000 77d23710 0000007f 5b6eb000 ffffffc0
[   99.972412] 7d20: ffffffe7 ffffffff 00000000 00000000 5b017d60 ffffffc0 01497560 ffffffc0
[   99.980520] 7d40: 00005401 00000000 5b6eb000 ffffffc0 5b017d60 ffffffc0 01497308 ffffffc0
[   99.988628] 7d60: 5b017e10 ffffffc0 011aa83c ffffffc0 00000000 00000000 000001e0 00000000
[   99.996735] 7d80: 5b633000 ffffffc0 5bfbef78 ffffffc0 0000545c 00000000 000001e0 00000000
[  100.004842] 7da0: 00000117 00000000 5b017d98 ffffffc0 00000010 00000000 00000000 00002000
[  100.012950] 7dc0: 00000000 00000000 00000000 00000000 5b017dd0 ffffffc0 5b017dd0 ffffffc0
[  100.021057] 7de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  100.029165] 7e00: 5b016c00 ffffffc0 5b017e00 ffffffc0 5b017e90 ffffffc0 011aab04 ffffffc0
[  100.037272] 7e20: 00000000 00000000 5b633001 ffffffc0 5b633000 ffffffc0 00000006 00000000
[  100.045380] 7e40: 0000545c 00000000 000001e0 00000000 77d24170 0000007f 00000000 00000000
[  100.053487] 7e60: ffffffff ffffffff 01084c20 ffffffc0 5b017e80 ffffffc0 011b4f80 ffffffc0
[  100.061595] 7e80: 5b017e90 ffffffc0 011aaab8 ffffffc0 77d237b0 0000007f 0108426c ffffffc0
[  100.069702] 7ea0: 77d24170 0000007f 00000000 00000000 ffffffff ffffffff 7802014c 0000007f
[  100.077810] 7ec0: 80000000 00000000 00000015 00000000 00000006 00000000 0000545c 00000000
[  100.085917] 7ee0: 000001e0 00000000 77d23768 0000007f 7828ec70 0000007f 77d23710 0000007f
[  100.094025] 7f00: 00000000 00000000 77d23779 0000007f 0000001d 00000000 00000000 00000000
[  100.102132] 7f20: 780b3218 0000007f 003d0f00 00000000 77d24170 0000007f 00000020 00000000
[  100.110240] 7f40: 00000000 00000000 00000087 00000000 5c0e7380 00000055 78020140 0000007f
[  100.118347] 7f60: 00000001 00000000 77d24170 0000007f 00000000 00000000 780d3000 0000007f
[  100.126455] 7f80: 00000000 00000000 d34b9dd7 0000007f 780d8000 0000007f 00000000 00000000
[  100.134562] 7fa0: 5c0c68e8 00000055 00000001 00000000 5c0eb618 00000055 77d237b0 0000007f
[  100.142670] 7fc0: 5c083808 00000055 77d237b0 0000007f 7802014c 0000007f 80000000 00000000
[  100.150777] 7fe0: 00000006 00000000 0000001d 00000000 1b1f23c9 4acd9f00 3266905d 5455262a
[  100.158882] Call trace:
[  100.163111] [<          (null)>]           (null)
[  100.167328] [<ffffffc0014b4e2c>] uart_ioctl+0x234/0x368
[  100.171548] [<ffffffc001497528>] tty_ioctl+0x260/0xbd8
[  100.176636] [<ffffffc0011aa83c>] do_vfs_ioctl+0x32c/0x568
[  100.181981] [<ffffffc0011aab04>] SyS_ioctl+0x8c/0xa0
[  100.186900] Code: bad PC value


There are no issues when I use a USB gps dongle (such as ND-100S) but ovbiously without PPS.

Any ideas?

EDIT: Tried to get some help from the odroid forum, suggestion was to not use Arch but Ubuntu... Hoping someone can help out here.
carrlile
 
Posts: 4
Joined: Sun Mar 12, 2017 10:00 pm

Re: ODROID-C2 system crash with gpsd ttyS1+pps

Postby carrlile » Tue Mar 21, 2017 2:39 am

According to a post from crashoverride over at odroid's forums, it seems the issue may lie in the uart driver (specifically serial_core.c).

Apparently newer versions of the uart driver check for null values which is not done in the uart_wait_modem_status function in 3.14.
carrlile
 
Posts: 4
Joined: Sun Mar 12, 2017 10:00 pm


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 2 guests