On Thu, Nov 22, 2012 at 11:44 AM, Jan Schmidt <list.l...@jan-o-sch.net> wrote: > I'm currently debugging something in btrfs in good old printk style, > generating > around 10MB/min. I'm seeing /proc/kmsg returning eof on a blocking read (and, > side note, syslog-ng won't reopen it, effectively stopping logging kernel > messages silently).
Are you sure there is not something else that opens the same file? Even once might be enough to return 0. The too simple locking logic in /proc/kmsg cannot support multiple readers properly, it never did. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/