LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2003, 12:42 PM   #1
hornokplease
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Rep: Reputation: 15
Talking Startx? AGP GART ? i810 adapter?


I am trying to configure xfree with a i810 onboard graphics adapter. The following errors are thrown up by typing startx : -
----------------------------
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-gentoo-r5 i686 [ELF]
Build Date: 03 September 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Sep 7 22:51:23 2003
(==) Using config file: "/etc/X11/XF86Config"
Using vt 7
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) I810(0): AGP GART support is not available. Make sure your kernel has
agpgart support or that the agpgart kernel module is loaded.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"

after 0 requests (0 known processed) with 0 events remaining.
----------------------------

=>I have checked that i have the latest versions of everything from xfree86.org and read the section on i810 video adapters.

=>I have recompiled my kernel to include in-built support for agpgart and placed the new kernel in /boot with the same name as the old kernel (so no need to run lilo). Insmod did not work for agpgart since i did not have it on my system.

=>I have run "XF86config" multiple times and "XFree86 --configure" but neither produced a working config file.

=>Since i use gentoo, I have read the HOW TO on 3d graphics at the gentoo site which explains how to accquire the agpgart module and dri and followed the instructions.

What should i do to get this working?

Thanks in advance,
:)
 
Old 09-07-2003, 01:03 PM   #2
shadowhunter
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Slackware 10.2 + FRG + 2.6.15
Posts: 232

Rep: Reputation: 30
Are you sure you have a i810 adapter?

I have the 855gm, it needs a new agpgart and i810 module to work.
If you have drivers from intel (like me ) that you need to install, you need to make sure that the agpgart
and the i810 module( + for me the i830 drm) are compiled as modules, not built-in.

Hope this helps...

Geert.
 
Old 09-07-2003, 01:23 PM   #3
hornokplease
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by shadowhunter

you need to make sure that the agpgart
and the i810 module( + for me the i830 drm) are compiled as modules, not built-in.
I have used "make menuconfig" initially to choose "built in"[*] and not Module [M]. So as i understand it, i will need to use menuconfig again and make the kernel again? Only this time i say load as module.

But once compiled will i have to use insmod to load the module?

Also just to clear a doubt, after compiling i placed the image in my /boot and renamed it to the old kernel's name. I did *not* run lilo again. Is that an acceptable way to do it?

The cd with drivers does not contain any linux drivers for i810, but i am sure it is an intel 810 chip set motherboard with onboard graphics.

Thanks shadowhunter!
 
Old 09-07-2003, 02:36 PM   #4
shadowhunter
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Slackware 10.2 + FRG + 2.6.15
Posts: 232

Rep: Reputation: 30
1.
Quote:
But once compiled will i have to use insmod to load the module?
No, insmod should not be needed, to make sure use lsmod and see if the module is loaded, if not use modprobe (better than insmod).

2.
Quote:
Also just to clear a doubt, after compiling i placed the image in my /boot and renamed it to the old kernel's name. I did *not* run lilo again. Is that an acceptable way to do it?
I shouldn't do this that way. try this after compiling and installing modules:
cp /arch/boot/i386/bzImage /boot/vmlinuz-x.x.xx
cp System.map /boot/System.map
nano, vi , ... /etc/lilo.conf
=> add a new image=/boot/vmlinuz-x.x.xx
=> retype the lines under the previous image until other or next image (like root= and read-only and label=linux-test)
lilo (yeah, run lilo)
shutdown -r now (reboot)

now you run your linux-test see if it boots. If not, you can always use your previous kernel to boot from

3.
normally your kernel should support the i810 chipset that way, but to make sure, make them as modules (easier to update, and check the intel website for some new drivers.)

Quote:
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
there should be an option Devfs support:
''/dev file system support'' and mark too ''Automatically mount at boot''.
You'll also need ''Prompt for development and/or incomplete code/drivers'' to see the devfs option.
 
Old 09-07-2003, 05:58 PM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I've never seen a "System.map" file in the /usr/src/linux/arch/i386/boot directory. There's one in /usr/src/linux. Is that the one? If so what do I do with it apart from copying it to /boot? Do I describe it in lilo.conf? I've nver done anything with maps after kernel compilation and I've never had a problem.
 
Old 09-08-2003, 12:15 AM   #6
hornokplease
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Hey shadowhunter- Thanks a LOT !

I changed my options while running "make menuconfig" to what you suggested (module not built in) and ran lilo afterward. When I rebooted, twm with dri ran flawlessly.

Though why it didn't work earlier, i don't understand. Initially i tried making the kernel with agpgart as built in and ran lilo. When i rebooted and did startx, the basic xfree didn't complain but the dri module gave an error like this
[drm] Could not load module agpgart.
If the module was built into the kernel, the support is already present - so why should it want to load a module for it again?

Also the method you suggested for kernel updates is much safer - will use that in the future. (Though didn't get the part about the map file)

Also my /dev seems to be up. But where is this option given?

 
Old 09-08-2003, 09:55 AM   #7
shadowhunter
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Slackware 10.2 + FRG + 2.6.15
Posts: 232

Rep: Reputation: 30
1.
Quote:
I've nver done anything with maps after kernel compilation and I've never had a problem.
this is needed for some programs to run correctly...
(not the kernel)

2.
The option of devfs should be in the filesystem support, but I haven't seen it debian (if I remember well).
It is sure there in arch linux and is needed if you want to boot up your arch system.

3.
Quote:
If the module was built into the kernel, the support is already present - so why should it want to load a module for it again?
modules configure themselves when you load them, I don't know if it is also that way when you built them in into the kernel.
Or maybe xfree reloads the module with different options

Maybe that was the problem, after all I am also a .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AGP Gart Error paitken Slackware 23 05-09-2005 09:19 PM
Missing agp-gart modules (moving from PCI to AGP video card) JLTB Debian 1 03-31-2005 04:08 AM
Intel845 (i810), video memory and AGP gregorya Linux - Hardware 5 05-14-2004 01:55 PM
How agp memory, stencil buffer for Intel i810 graphics GregLee Linux - Hardware 5 05-07-2004 08:40 PM
agp gart tda Linux - General 1 05-15-2003 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration