lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 29 Aug 2008 10:37:09 -0700
From:	"Yinghai Lu" <yhlu.kernel@...il.com>
To:	"J.A. Magallón" <jamagallon@....com>
Cc:	Linux-Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Out of mtrrs

On Fri, Aug 29, 2008 at 9:17 AM, "J.A. Magallón" <jamagallon@....com> wrote:
>
> On 2008.08.29, at 18:01, Arjan van de Ven wrote:
>
>> On Fri, 29 Aug 2008 17:32:49 +0200
>> ""J.A. Magallón"" <jamagallon@....com> wrote:
>>
>>> Hi all...
>>>
>>> I'm using the xorg intel driver, and drm/X report it has no free mtrrs
>>> in kernel to set up:
>>>
>>> one:~# cat /proc/mtrr
>>> reg00: base=0xfffe0000 (4095MB), size= 128KB: write-protect, count=1
>>> reg01: base=0xfffc0000 (4095MB), size= 128KB: uncachable, count=1
>>> reg02: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
>>> reg03: base=0x10000000 ( 256MB), size= 256MB: write-back, count=1
>>> reg04: base=0x1f800000 ( 504MB), size=   8MB: uncachable, count=1
>>> reg05: base=0x1f600000 ( 502MB), size=   2MB: uncachable, count=1
>>> reg06: base=0x1f500000 ( 501MB), size=   1MB: uncachable, count=1
>>> reg07: base=0x00000000 (   0MB), size= 128KB: uncachable, count=1
>>>
>
> with disable_mtrr_trim, I get te same:
>
> reg00: base=0xfffe0000 (4095MB), size= 128KB: write-protect, count=1
> reg01: base=0xfffc0000 (4095MB), size= 128KB: uncachable, count=1
> reg02: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
> reg03: base=0x10000000 ( 256MB), size= 256MB: write-back, count=1
> reg04: base=0x1f800000 ( 504MB), size=   8MB: uncachable, count=1
> reg05: base=0x1f600000 ( 502MB), size=   2MB: uncachable, count=1
> reg06: base=0x1f500000 ( 501MB), size=   1MB: uncachable, count=1
> reg07: base=0x00000000 (   0MB), size= 128KB: uncachable, count=1
>

the mtrr looks crazy from setting by BIOS...

32bit or 64bit?

please set
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1

and boot with "debug" in boot command line...

and send out

dmesg -s 262144 > dmesg.txt

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ