Re: [PATCH 0/6] PCI Express Advanced Error Reporting Driver

From: Greg KH
Date: Sat Mar 12 2005 - 03:10:08 EST


On Fri, Mar 11, 2005 at 04:10:28PM -0800, long wrote:
>
> - Report the errors to user.

This is done through the syslog, right? Is that acceptable?

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 error
message, in binary form, from a sysfs file, and causing a kevent to wake
userspace up to know to read from the file? That way all of the parsing
of the error log can be done in userspace, and there is no formatting of
the messages from within the kernel.

thanks,

greg k-h
-
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/