For anyone using the S2885 or another mainboard with the 8151, there seems to be a problem with the agpgart driver in 2.6 kernels. Further description is here: http://www.x86-64.org/lists/discuss/msg04393.html . I could only get Linux agpgart to detect the AMD 8151 when compiled statically into the 2.6.1 kernel with the patch from x86-64.org. This problem also seems to exist in 2.6.2. Using our current approach, agpgart is loaded as a module after Linux is booted and we've run testbios. Looks like 2.6 users might have to wait for Ron to get the aforementioned fixes into LinuxBIOS so we can get run the VGA BIOS before the kernel tries to boot.
On Fri, 6 Feb 2004, Hendricks David W. wrote:
It should have modprobe agpgart agp_try_unsupported=1 uncommented. I had difficulty loading the module with agp_try_unsupported in kernel 2.6.2, looking into it further right now...
On Fri, 6 Feb 2004, ron minnich wrote:
I sent it to Richard.
I am putting the scripts we use here for info.
ron jotun root # cat FIXGART.sh #!/bin/sh insmod /usr/src/linux/arch/i386/kernel/msr.o # fix the fixed MTRR /root/wrmsr 0xC0010010 0x1e0601 0 /root/wrmsr 0x259 0 0
#fix the IORR1 crap on BOTH northbridges
/root/rdmsr 0xC0010018 /root/wrmsr 0xC0010018 0xd0000000 0xff /root/rdmsr 0xC0010019 /root/wrmsr 0xC0010019 0xd8000000 0xff
# set up 0xd in the whatever setpci -s 0:18.3 94.l setpci -s 0:18.3 94.l=68 setpci -s 0:18.3 94.l setpci -s 0:18.3 90.b setpci -s 0:18.3 90.b=3 setpci -s 0:18.3 90.b setpci -s 0:19.3 94.l setpci -s 0:19.3 94.l=68 setpci -s 0:19.3 94.l setpci -s 0:19.3 90.b setpci -s 0:19.3 90.b=3 setpci -s 0:19.3 90.b # 8151 setpci -s 1:1.0 10.l # setpci -s 1:1.0 10.l=f0000008 # setpci -s 1:1.0 10.l setpci -s 1:1.0 b4.l # setpci -s 1:1.0 b4.l=00010f20 # setpci -s 1:1.0 b4.l jotun root # cat DO_GEFORCEFX.sh #! /bin/sh #insmod /usr/src/linux/arch/i386/kernel/msr.o #/root/wrmsr 0xC0010010 0x1e0601 0 #/root/wrmsr 0x259 0 0 /root/vgabios//testbios --abseg /dev/mem -s 65536 /root/nvbios.bin 2>&1
/tmp/out
modprobe nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 #modprobe agpgart agp_try_unsupported=1 modprobe agpgart jotun root #
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios