Re: SYSFS "errors"

From: Borislav Petkov
Date: Mon Feb 18 2013 - 14:40:39 EST


On Mon, Feb 18, 2013 at 08:47:35PM +0200, Felipe Balbi wrote:
> On Mon, Feb 18, 2013 at 06:45:27PM +0100, Borislav Petkov wrote:
> > On Mon, Feb 18, 2013 at 07:27:00PM +0200, Felipe Balbi wrote:
> > > No such device - /sys/devices/system/edac/mc/mc0/sdram_scrub_rate
> >
> > Looks like your edac module doesn't allow scrub rate setting. Which edac
> > driver is that? dmesg?
>
> $ lsmod | grep -i edac
> i7core_edac 22414 0
> edac_core 43453 2 i7core_edac

Ok, that would be those i7s which reportedly do
not support reading/setting the scrub rate, see
27100db0e0d381d24b6f3cb1a4f439996e7c00c8, for example.

So this is as expected.

Maybe it would be more correct if the core would return "N/A" or
"unsupported" or something to that effect in such cases, to conform with
the readable flag of the sysfs file.

Hmm.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/