lkml.org 
[lkml]   [2011]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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/fix-mtrr-local.sh && { /sbin/modprobe --ignore-install $CMDLINE_OPTS drm ; }
/sbin/fix-mtrr-local.sh

#modify the grep arg and disable= to your needs
#!/bin/sh

grep write-protect /proc/mtrr

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

\
 
 \ /
  Last update: 2011-09-10 05:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site