Thursday, March 6, 2014

kernel debugging via UML



I was going through UML linux kernel debugging here:
http://www.youtube.com/watch?v=li5EiItG-GU
Very Good effort.

some tips  based on my expereince:

you need to enable following , if you are going to use Fedora20 based rootfs.(available here fs.devloop.org.uk )

CONFIG_BLK_DEV_INITRD=y

CONFIG_CGROUPS=y

CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_EXT4_DEBUG=y

./linux ubda=$PWD/Fedora20-x86-root_fs  mem=512m  init=/bin/bas


No comments:

Post a Comment