[Ovmsdev] Download log files

Michael Balzer dexter at expeedo.de
Fri Sep 13 20:20:26 HKT 2024


"a2l" is in the support directory: 
https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/tree/master/vehicle/OVMS.V3/support

Pass it the .elf file of the build that crashed & the backtrace to get 
the source lines.

Example:

balzer at leela:~/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3> 
a2ll tmp/3.3.004-236-gd6eaf8ae-elf/ovms3.elf 0x4008ddae 0x4008e049 
0x400849ef 0x40084b15 0x40142cd1 0x40137f0b 0x4013799a 0x40093027 
0x4008449d 0x400848f9 0x4000bec7 0x4026ee1d 0x4012bb62 0x4012bb71 
0x40322936 0x40126aeb 0x40126c79

"a2ll" is "a2l" with the output piped to less. You can pass both 
backtrace variants.

I keep the latest builds locally at hand and also provide the .elf files 
in the firmware repository on my server.

Regards,
Michael


Am 12.09.24 um 23:26 schrieb solterra--- via OvmsDev:
> Thanks for the suggestion.
>
> It seems that something got corrupted in my setup. I had non-ASCII 
> characters in my config list, and I wasn't able to perform a backup 
> properly. After doing a factory reset, everything is back to normal.
>
> Could you clarify what the a2l script is that you mentioned? I'd like 
> to check my memory and crash backtrace as you suggested.
>
> Appreciate your help!
>
>
> On 9/12/2024 1:54 AM, Michael Balzer via OvmsDev wrote:
>> Via http and scp, never had issues downloading the logs.
>>
>> Maybe check your memory situation & the crash backtrace using the a2l 
>> script.
>>
>> Regards,
>> Michael
>>
>>
>> Am 12.09.24 um 01:40 schrieb solterra--- via OvmsDev:
>>> How are folks downloading their log files?
>>>
>>> It seems like I cause a crash whenever I try to download a file from 
>>> the web browser.
>>>
>>> Thank you
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240913/7d32dfd3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240913/7d32dfd3/attachment.sig>


More information about the OvmsDev mailing list