xconfig/agpgart problems, 2.6, intel 875p
Is anyone running a 2.6 kernel without X issues on a Gigabyte 8ik100 mobo
and/or an Intel 875p chipset? My system includes: P4 3GHz 800 MHzFSB, Gigabyte 8iK 1100 mobo, 1 GB dual channel DDR, Intel 875P chipset dual channel bios, Matrox Millenium G550, Texas Instruments OHCI i333 1394 host controller Intel 82801EB ultra ata controller, 82801ER raid controller (not running RAID) ICH5R sata controller After installing Fedora Core 2 on this system I cannot configure X. system-config-display hangs, generally with an error about an undefined SESSION_MANAGER environment variable. The /var/log/Xorg.set.0 file ends with: FATAL: Module agpgart not found. [drm] failed to load kernel module "agpgart" My understanding is that with FC2 agpgart is built into the 2.6 kernel rather than as a loadable module. The Intel 875p chip is officially "unsupported." I would like to try using the agp try_unsupported option, but don't know how (if?) this can this be done when agpgart is not a loadable module? FC2 built both an smp 2.6.5-1.358 kernel (which I assume is the one I want to use) and a single processor kernel, and xconfig fails identically with both kernels. I posted this problem to the fedora lisw but received no replies. Googling other gnu/linux forums/newsgroups has not turned up threads on this problem. I initially tested this h/w with Knoppix 3.4, kernel 2.4.26, XFree86 v. 4.3.0.1 which configured, booted into and ran X with no problems using agpgart and mga modules and "generic Intel routines" for the Intel chip. I tried booting from a Suse 9.1 Live CD but it, too, could not boot into init 5. I also did a FC1, kernel 2.4.26 install but had similar xconfig issues. I would prefer to get FC2 working, but am reaching a dead end in my knowledge of agpgart and wouldn't know what options to try changing to build a new kernel. If anyone has 2.6 running on Gentoo or Mandrake 10 I'd love to hear it. Thanks in advance for any pointers or information. |
i doubt they made the agpgart module built in cause people using nvidia don't use it but use the nvidia one instead -- so assume it's a module
try su insmod agpgart agp_try_unsupported=1 then try the config if the config utility is the problem try as user cd ~ XFree86 -configure that will but or should put a file in your home dir named XF86Config.new test your new file XFree86 -xf86config ~/XF86Config.new if you get an X it works (cntrl-alt-backspace to get out) if it works just copy it to where it goes and edit by hand to get it the way you want |
Thanks for the suggestion but the problem is deeper than this. Perhaps I should
have included more information. First, for licensing reasons Fedora (like several other gnu/linux distros) has moved from XFree86 4.x to x.org, so the config utility is a little different. After an init 3 boot my dmesg shows: Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected an Intel i875 Chipset. agpgart: Maximum main memory to use for agp memory: 941M agpgart: AGP aperture is 128M @ 0xe8000000 lsmod does not show agpgart or any agp modules loaded. Attempts to load agpgart, with or without the try_unsupported=1 option fail: modprobe agpgart [try_unsupported=1] FATAL: Module agpgart not found. [drm] failed to load kernel module "agpgart" (insmod agpgart agp_try_unsupported=1 similarly fails with: "can't read 'agpgart' ; No such file or directory) Also without success I tried adding these lines to modprobe.conf option agpgart agp_try_unsupported=1 alias /dev/agpgart agpgart and tried appending "agp_try_unsupported=1" to my grub kernel line and rebooting. My /lib/modules/`uname -r`/drivers/char directory does not include an agp directory or an agpgart.o driver. "locate agpgart" shows only these files: /lib/modules/2.6.5-1.358smp/build/include/linux/agpgart.h /lib/modules/2.6.5-1.358/build/include/linux/agpgart.h /usr/include/linux/agpgart.h /usr/src/linux-2.6.5-1.358/include/linux/agpgart.h /dev/agpgart So, unless I am missing something, no agpgart module was built during the install, and when I try to configure X it fails, as noted above, because it cannot find an agp bus driver. Is it possible to patch the kernel to build an agpgart module? Do I have to build a new kernel, and if so, where in menuconfig or autoconf.h would I look to make changes to build an agpgart module? I'm over my head here and would much appreciate any sugestions. |
try this, at the end of the last grub line
of the section you are booting add this boot parameter Code:
|
Quote:
I still can't load agpgart with modprobe. Trying to configure X does load the mga driver but still fails and hangs. The modprobe and config errors are the same as before. /var/log/messages does give a slightly different output, if this is any clue: /var/log/messages output BEFORE trying the video boot loader option above: Jun 15 12:38:29 localhost kernel: Linux agpgart interface v0.100 (c) Dave Jones Jun 15 12:38:29 localhost kernel: agpgart: Detected an Intel i875 Chipset. Jun 15 12:38:29 localhost kernel: agpgart: Maximum main memory to use for agp memory: 941M Jun 15 12:38:29 localhost kernel: agpgart: AGP aperture is 128M @ 0xe8000000 /var/log/messages output AFTER trying the matroxfb parameter above: Jun 15 12:39:33 localhost kernel: [drm] Initialized mga 3.1.0 20021029 on minor 0 Jun 15 12:39:33 localhost kernel: agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0. Jun 15 12:39:33 localhost kernel: agpgart: Device is in legacy mode, falling back to 2.x Jun 15 12:39:33 localhost kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode Jun 15 12:39:33 localhost kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode Bottom line: none of the modprobe or boot loader options I have tried so far seem to have any effect without a loadable agpgart.o driver. |
yea i'm stumped
the kernel is obviously functioning with the correct modules built in like you said this post will bump you back up and i give you this xorg.conf file supplied by someone else on the matrox forum using fedora 2(i don't know wheather stock or the matrox driver) possibly if you adjust the monitor ???????? and check the logs ????? something might come of it. like you said i don't see where other people are having this problem alot but i did see where someone with an ati video card was having exactly the same trouble (fedora bugs list) possibly someone else will come along with an answer Code:
# Xorg configuration created by system-config-display |
Thanks for your suggestions but nothing has worked so I've got to move on...
Since I have not been able to configure X with either Fc2 or Suse 9.1 I'm going to try with either gentoo or Mandrake 10. If things don't go better I'll borrow and swap in an nvidia graphics board and its driver, since my understanding is that nvidia drivers include their own agp module that can be used in place of the kernel agpgart module. As a last resort I'll temporarily install Knoppix 3.4 kernel 2.4 (which I know works on my system) or k. 2.6 to hard disk and run that until a better solution presents itself. I would be very curious to know if anyone is running a 2.6 (or even 2.4) kernel on hardware similar to mine, and, if so, does your system have a loadable agpgart.o module in /lib/modules/`uname -r`/drivers/char |
http://www.linuxquestions.org/questi...readid=193508#
I finally configured X. In case anyone else runs into a similar problem, the solution, for me, was a combination of 1) using the Matrox driver for the G550 in place of the default kernel mga module 2) use analog rather than dvi (I don't have dvi working yet, although the Matrox release notes say that the included HAL library provides dvi support for the G550 -- still working on this part) 3) tweak some display settings I had tried some of these things individually but not together. I don't know if they all were necessary, but I was firing with everything I had. Whew! back to work. |
All times are GMT -5. The time now is 07:44 PM. |