AGP Gart Error
Alright, I have freshly compiled my kernel. Anyway, I compiled AGP Gart as a module with the VIA chipset.
To make a long story short, when I reboot into my new kernel or even the stock kernel I get errors. Code:
Linux agpgart interface v0.99 (c) Jeff Hartmann Basically, if someone can help me troubleshoot this and get it working, I will greatly appreciate it. NOTE: This error occurs under ALL kernels: 2.4.29/2.4.30/2.6.11.7 |
I forgot to mention the chipsets.
North: Via KM400 (VT8378) South: VT8237 Here is my machine: http://www2.newegg.com/Product/Produ...82E16856115017 |
Strange, because it seems you did everything exactly the way it should be, AGPGART should if I'm not mistakem be compiled as a module and not directly into the kernel. One possible thing you can try, I hope you kept your original kernel 2.4, boot into that and look through the syslog and dmesg, and see exactly what it says about AGPGART, there might be something else you have missed, but I am trying to rack my brain and figure out what, because really it sounds like you compiled AGPGART as a module, and thats usually a good way to go.... :scratch:
edit: Nice system BTW. :) |
Thanks, I'll post my dmesg.
Code:
Linux version 2.4.30 (root@bigp) (gcc version 3.3.5) #1 Thu May 5 13:12:15 EDT 2005 |
Also, here is my syslog. It's partial to stuff I'm getting errors on.
Code:
May 5 12:51:34 bigp kernel: agpgart: Trying generic Via routines for device id: 3205 |
do you have a /sys directory ?
if not, you should do a " #mkdir /sys " as root. then logout of X and rerun /etc/rc.d/rc.S and do a " #modprobe agpgart " mayby it also solves your agp-prob. ( do a " #modprobe agpgart " to check ) egag |
try to put shpchp and pciehp in /etc/hotplug/blacklist, they seem to fill your log
Do you see agpgart and via_agp with lsmod ? |
root@bigp:/sys# ls -al
total 1 drwxr-xr-x 2 root root 48 2004-05-12 00:03 ./ drwxr-xr-x 19 root root 432 2005-05-02 15:20 ../ ^ i did have a sys dir. root@bigp:/sys# lsmod Module Size Used by Not tainted ohci1394 25296 0 (unused) ieee1394 44548 0 [ohci1394] uhci 25276 0 (unused) ehci-hcd 18028 0 (unused) usbcore 61836 1 [uhci ehci-hcd] |
egag, i did what you said, i saved the output.
Code:
Testing root filesystem status: read-write filesystem root@bigp:~# modprobe agpgart /lib/modules/2.4.30/kernel/drivers/char/agp/agpgart.o: init_module: Invalid argument /lib/modules/2.4.30/kernel/drivers/char/agp/agpgart.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.30/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.30/kernel/drivers/char/agp/agpgart.o failed /lib/modules/2.4.30/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed Also, when I compile my kernel, at the end of 'make modules_install', I get the following line -- it just seems a bit suspicious to me. Code:
d /lib/modules/2.4.30; \ |
yeah....some errors were to expect there.
( rc.S is the startupscript and it tries to check the filesystems, but they are mounted rw already ) but i thought /sys was missing. and that wasn't the case. maybe check your bios-settings for agp. should be enabled with aperture of 64 mb ( that's from my memory, not sure ) EDIT: that last message from modules_install is normal. egag |
Only 64mb? I have it set to 128mb, which is the actual size of my ATI card.
I'm not even trying to get the ATi drivers to work right now, I just want agpgart to work first. |
well....i don't know if aperture size has to equal the cards memory-size.
but the only thing i can think of right now would be the bios settings, as that agp-error appears with every kernel you tried. maybe just try it and see ? btw: i have 64 mb on my graph-card, so you might be right. egag |
I don't know any BIOS settings that could possibly effect this other than that. Everything is basically default in my bios with the exception of the setting to change from onboard video to agp.
|
did you try a 64 mb setting ?
egag |
Yeah, I still got the same error. So, what I did was record all the values in my AGP section of the BIOS.
AGP Aperature: 128mb (I did have it at 64mb) AGP Mode: 8x AGP Driving Control: DA Fast Write: Enabled Master 1 WS Write: Disabled Master 1 WS Read: Disabled AGP 3.0 Calibration Cycle: Enabled VGA Shared Memory Size: Disabled |
All times are GMT -5. The time now is 11:06 AM. |