Attending this event?
June 21-24, 2022
Austin, Texas, USA + Virtual
View More Details & Registration
Note: The schedule is subject to change.

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for Open Source Summit North America 2022 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

This schedule is automatically displayed in Central Daylight Time (UTC -5). To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date."

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.

Back To Schedule
Thursday, June 23 • 11:10am - 11:50am
If (oops) { Do_not_panic(); } - Lucky Tyagi, Samsung Semiconductor India R&D Center

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Log in to leave feedback.
Linux Kernel has two types of panics, namely, hard panics (Aiee!) and soft panics (Oops!). A soft panic occurs when kernel encounters a fault or exception in code, and then it dumps the stack trace in the debug console. The stack dump contains the processor status and the CPU register values when the panic occurred. Any developer must have a good understanding of the target architecture and Linux kernel internals to perform the root cause analysis of an Oops and to debug the issue. This talk is intended for developers who have just begun their journey in Linux Kernel Development. A general methodology of debugging a kernel soft panic is discussed in this talk which can be followed by anyone as starting steps. To achieve this, a simple soft panic is triggered and then a standard approach is followed, which involves understanding the kernel stack dump, back tracing to the faulty code from dump, deciding on which tool to use for debugging depending on the location of faulty code. This talk also discusses several exception templates with examples and guides to understand their types and category for accelerated debugging. The main tools discussed in this paper are, printk, oops tracing, ksymoops, KDB and KGDB.


Lucky Tyagi

Staff Engineer, Samsung Semiconductor India R&D Center
Lucky Tyagi is pursuing his professional quest of exploring, understanding and learning Linux Kernel internals as a Staff Engineer in Samsung(SSIR). He is currently working on Quad SPI (QSPI) flash memory devices while holding experience on Linux Device Drivers, Yocto Build System... Read More →

Thursday June 23, 2022 11:10am - 11:50am CDT
Griffin Hall (Level 2)
  Embedded Linux Conference (ELC), Linux in Devices