Re: [BUG] /proc/mtrr I/O error

From: Yinghai Lu
Date: Tue Sep 02 2008 - 19:08:18 EST


On Tue, Sep 2, 2008 at 3:46 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 29 Aug 2008 16:38:24 -0500
> Bob Tracy <rct@xxxxxxxxxxxxxxxx> wrote:
>
>> With 2.6.27-rc4 and possibly earlier kernels, I see the following:
>>
>> $ cat /proc/mtrr
>> cat: /proc/mtrr: Input/output error
>>
>> Processor is an AMD K6-III/450.
>>
>
> static int mtrr_open(struct inode *inode, struct file *file)
> {
> if (!mtrr_if)
> return -EIO;
>
>
>
> Beats me. Perhaps something broke in mtrr_bp_init().
>
> It would be useful to know if 2.6.26 worked OK.
>

two patches needed..

http://lkml.org/lkml/2008/9/1/307
[PATCH 4/6] x86: delay early cpu initialization until cpuid is done
http://lkml.org/lkml/2008/9/1/308
[PATCH 5/6] x86: move mtrr cpu cap setting early in early_init_xxxx

YH
--
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/