File: kernel_debugging.txt

package info (click to toggle)
v4l2loopback 0.15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 664 kB
  • sloc: ansic: 6,550; sh: 301; makefile: 200
file content (22 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
some hints how to debug kernel panics


https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks


basically it is:
- run tests in a virtual machine (i use VirtualBox)
- configure the vm to have a serial output
	VirtualBox-Settings/Serial Ports
		enable serial port COM1
		port mode: Raw File
		file path: /tmp/vbox_serial.log
- configure the vm's kernel to log to the kernel:
	add "console=tty console=ttyS0,9600" to the kernel-parms
	(i put that into grub)
- reboot
- raise the vm's kernel console verbosity:
	echo 7 > /proc/sys/kernel/printk

- run
- examine /tmp/vbox_serial.log on the host