Re: SYSFS "errors"

From: Felipe Balbi
Date: Mon Feb 18 2013 - 15:04:59 EST


On Mon, Feb 18, 2013 at 08:40:32PM +0100, Borislav Petkov wrote:
> 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.

yeah, that would be cool :-)

--
balbi

Attachment: signature.asc
Description: Digital signature