RE: [PATCH 0/6] PCI Express Advanced Error Reporting Driver
From: Nguyen, Tom L
Date: Mon Mar 14 2005 - 13:36:17 EST
On Friday, March 11, 2005 11:21 PM Greg KH wrote:
>> - Report the errors to user.
>This is done through the syslog, right? Is that acceptable?
Reporting the errors to user can be written automatically to
/var/log/messages or be manually consumed through the syslog. I am not
sure whether it is acceptable or not, but I like your below suggestion.
>It looks like you are logging a lot of stuff, all without a kernel log
>level, which is going to really mess up syslog parsers.
>Have you thought about just providing userspace with access to the
>message, in binary form, from a sysfs file, and causing a kevent to
>userspace up to know to read from the file? That way all of the
>of the error log can be done in userspace, and there is no formatting
>the messages from within the kernel.
Again, I like this suggestion.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/