News for hackers. Stuff that matters.
Re:Fully Dockerized Linux kernel debugging environment by suprjami on Thursday August 11, 2022 @07:13AM (#32424015)
Interesting idea, my work is all kernel so running containers has traditionally not been interesting to me.

Raw gdb against vmlinux is really doing it hard though. How about crash with pykdump?

https://github.com/crash-utility/crash

https://pykdump.readthedocs.io/

Re:Fully Dockerized Linux kernel debugging environment by 0xricksanchez on Thursday August 11, 2022 @03:09PM (#32430324)
Hi author of like-dbg here :)! The attached debugger is not just raw GDB but is using https://hugsy.github.io/gef/ to make debugging less of a pain. It's still not perfect but helps plenty already. I was not aware of the crash utility you linked, I'll definitely take a closer look :)!
Re:Fully Dockerized Linux kernel debugging environment by ungamed on Thursday August 11, 2022 @10:51AM (#32426616)
I dont think I can do it without crash, just too many things can go wrong.
Re:Fully Dockerized Linux kernel debugging environment by acoard on Friday August 12, 2022 @01:26AM (#32434978)
What’s your local dev environment like? VMs?
Re:Fully Dockerized Linux kernel debugging environment by suprjami on Friday August 12, 2022 @06:08AM (#32436426)
Yes, all KVM on Linux.

For released code, work has an internal instance of the brew build system that the Fedora Project uses.