Hello again. Still no answers since May. The guide didn't help me.
Now I updated to 9.10, and I have the following kernel & drivers:
Code:
Linux oleg-laptop 2.6.31-6-generic #25-Ubuntu SMP Fri Aug 14 16:25:04 UTC 2009 i686 GNU/Linux
Code:
oleg@oleg-laptop:~$ dpkg -l |grep intel
ii libdrm-intel1 2.4.12-1ubuntu1 Userspace interface to intel-specific kernel
ii xserver-xorg-video-intel 2:2.8.0-0ubuntu2 X.Org X server -- Intel i8xx, i9xx display d
/proc/mtrr:
Code:
oleg@oleg-laptop:~$ cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size=32768MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg02: base=0x0ddc00000 ( 3548MB), size= 4MB, count=1: uncachable
reg03: base=0x0de000000 ( 3552MB), size= 32MB, count=1: uncachable
And again, when I try to run fixmtrr.sh, nothing changes.
fixmtrr.sh:
Code:
#!/bin/sh
echo "Extracing base address and memory size from lspci -v"
# extract the base address for the video memory
address=`lspci -v \
| grep -A 7 VGA\
| grep -F " prefetchable"\
| awk 'BEGIN{OFS="";ORS=""}
{print $3
i = length($3)
while(i<8){
print 0
i++
}}'`
# we extract the memory size as a decimal number from lspci from the correct
# line, we then convert it to hexadecimal and fill it up with the correct
# number of zeroes
hsize=`lspci -v \
| grep -A 7 VGA \
| grep -F " prefetchable" \
| awk '{print $6}' \
| sed 's/[^0-9]//g' \
| awk 'BEGIN {OFS = "";ORS=""}
{ printf "%x" , $1
i = length($1)
while (i<8) {
print 0
i++
} }'`
echo $address
echo $hsize
echo
# check if the mtrr range has already been set and, if it hasn't, set it up
echo 1
echo "Supplying corrected MTRR ranges to /proc/mtrr"
echo "base=0x$address size=0x$hsize type=write-combining"
echo "base=0x$address size=0x$hsize type=write-combining" > /proc/mtrr
echo 2
cat /proc/mtrr
Code:
oleg@oleg-laptop:~$ sudo ./fixmtrr.sh
Extracing base address and memory size from lspci -v
e0000000
10000000
1
Supplying corrected MTRR ranges to /proc/mtrr
base=0xe0000000 size=0x10000000 type=write-combining
2
reg00: base=0x000000000 ( 0MB), size=32768MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg02: base=0x0ddc00000 ( 3548MB), size= 4MB, count=1: uncachable
reg03: base=0x0de000000 ( 3552MB), size= 32MB, count=1: uncachable
oleg@oleg-laptop:~$
lspci -v
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Dell Device 024f
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at f6c00000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at ef98 [size=8]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [d0] Power Management version 3
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Dell Device 024f
Flags: bus master, fast devsel, latency 0
Memory at f6b00000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Help me please!!! I really love Ubuntu, it works great on my second laptop and on office workstation, but it really bothers me with my Dell laptop...
Bookmarks