add new way to get dmesg
add new way to get dmesg