printk() is function that is used to print messages in the kernel code. The messages are stored into an internal buffer and show on the registered consoles. They could be read and stored by userspace when the system is running. The messages might not reach the console or userpace when the system crashes. One way to see them is reading them from a kernel crashump.

crash-python is a semantic debugger for the Linux kernel. It is a very powerful tool for analyzing kernel crashdumps.

There is going to be a new lockless implementation of the internal kernel logbuffer. The messages will be stored a more complicated way. There will be actually two ringbuffer. One for data and one for metadata. There will be also flags that will define validity of each entry.

The aim of this project is to allow reading the new format of the lockless ring buffer by crash-python.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 19

Activity

  • over 4 years ago: mkubecek liked this project.
  • almost 5 years ago: MDoucha liked this project.
  • almost 5 years ago: pmladek originated this project.

  • Comments

    • pmladek
      almost 2 years ago by pmladek | Reply

      It was finished during the Hackweek 19.

    Similar Projects

    This project is one of its kind!