~/talk

How to Investigate Issues on Linux Embedded System?

Talkat LinuxCon @ OSS Japan 2022 · 2022-12-05..12-06· [embedded-and-hardware]
links:none on file
slides:none on file

Shows concrete debugging steps for R-Car Linux boards: uses ftrace and memtest to capture traces and rare memory corruption, enables early-console and KDB for early boot and live kernel inspection, and adds targeted printk/circular-buffer hooks when tracing affects timing. Presents three root causes: a register-overlap bug in USB endpoint setup, DMA-corruptions in a high physical-memory region fixed by controller settings, and a race in UDC storage fixed with a spinlock.

AI-written summary · about

  1. 0:00Intro
  2. 0:18Overview of this session
  3. 1:31When do we observe issues?
  4. 2:31What kind of issues do we observe?
  5. 4:23How to find the root cause?
  6. 11:14Investigation ways - #define DEBUG
  7. 12:40Investigation ways - memtest
  8. 13:25Investigation ways - ftrace
  9. 16:03Investigation ways - perf
  10. 17:45Investigation ways - memory logging example
  11. 20:07Case studies - The USB HID driver cannot work correctly
  12. 25:26Case studies - NFS rootfs cannot work on a new SoC
  13. 30:16Case studies - Kernel panic while data transferring
  14. 32:21Case studies - Probing a device driver fails
  15. 33:32Case studies - Performance issue
  16. 36:15Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.