printk与syslog(至少在Redhat中是这样的)+Ubuntu下用最简单的读到/proc/kmsg

NoSuchKey