blob: 72e17ceb1244d747fec7aacc9e7cb4fa6c2b4cdc [file] [log] [blame]
Notes for test-runner usage
***************************
Kernel configuration
====================
The test-runner tool requires a kernel that is at least build with these
minimal options for a successful boot.
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI=y
CONFIG_NET=y
CONFIG_INET=y
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
CONFIG_9P_FS=y
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_DEVTMPFS=y
CONFIG_DEBUG_FS=y
These options should be installed as .config in the kernel source directory
followed by this command.
make olddefconfig
After that a default kernel with the required options can be built. More
option (like the Bluetooth subsystem) can be enabled on top of this.
Lock debuging
-------------
To catch locking related issues the following set of kernel config
options may be useful:
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_MUTEXES=y