[lkml]   [2011]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: MTRR allocation failure

On Fri, 9 Sep 2011, Yinghai Lu wrote:
> your BIOS create one new WP entry. so mtrr sanitizer is not triggered...
> Maybe you can just delete first entry before you load drm?

Thank you! That fixes the issue for me.

If anyone else has extra/write-protect entry in /proc/mtrr that can be
deleted - here is what you can drop in /etc/modprobe.d/drm.conf -

# Free up a mtrr entry for drm
install drm /sbin/ && { /sbin/modprobe --ignore-install $CMDLINE_OPTS drm ; }


#modify the grep arg and disable= to your needs

grep write-protect /proc/mtrr

if [ $? -eq 0 ]; then
echo "disable=0" > /proc/mtrr
exit 0

 \ /
  Last update: 2011-09-10 05:35    [W:0.027 / U:0.480 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site