Skip to content

Instantly share code, notes, and snippets.

View andrecurvello's full-sized avatar

André Márcio de Lima Curvello andrecurvello

View GitHub Profile
@andrecurvello
andrecurvello / strace_pwm.txt
Created June 26, 2018 03:26
Strace Output from Python execution of Adafruit_BBIO test of PWM Module
1080 execve("/usr/bin/python", ["python", "pwm.py"], [/* 16 vars */]) = 0
1080 brk(NULL) = 0xf94000
1080 uname({sysname="Linux", nodename="beaglebone", ...}) = 0
1080 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
1080 mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f74000
1080 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
1080 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
1080 fstat64(3, {st_mode=S_IFREG|0644, st_size=24325, ...}) = 0
1080 mmap2(NULL, 24325, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f6e000
1080 close(3) = 0
@andrecurvello
andrecurvello / dmesg_bbgw_debian_9_4_2018_iot.txt
Created June 26, 2018 03:31
dmesg output from BeagleBone Green Wireless with Debian 9.4 2018-06-17 4GB SD IoT
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.49-ti-r54 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Green Wireless
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] On node 0 totalpages: 130560
@andrecurvello
andrecurvello / console_error_msg_adafruit_bbio_adc_example_bbgw_debian_iot.txt
Created June 26, 2018 04:29
Output execution of Adafruit_BBIO ADC Example on BBGW Debian 9.4 2018-06-17 4GB SD IoT
root@beaglebone:~# sudo strace -f -o trace_adc.txt python adc.py
Message from syslogd@beaglebone at Jun 26 03:45:41 ...
kernel:[ 950.630547] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
Message from syslogd@beaglebone at Jun 26 03:45:41 ...
kernel:[ 950.747719] Process python (pid: 1053, stack limit = 0xdae7a218)
Message from syslogd@beaglebone at Jun 26 03:45:41 ...
kernel:[ 950.753752] Stack: (0xdae7bce8 to 0xdae7c000)