add support for dmesg