LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xfree86 not loading in Kernel 2.6.8 in RH9 (https://www.linuxquestions.org/questions/linux-newbie-8/xfree86-not-loading-in-kernel-2-6-8-in-rh9-236049/)

satish427 09-27-2004 11:04 PM

Xfree86 not loading in Kernel 2.6.8 in RH9
 
First of all I sucessfully compiled the kernel v2.8.1 with latest patches from kernel.org into my system with Redhat9 thanks to the support of the documents in this website...... but there r still some hitches...
the Xfree while loading is giving me an error that says


...Using config file /etc/X11/XF86Config
... GARInit: Unable to open /dev/agpgart
...I810(0): AGP GART is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded



so this is what i am getting i tried running redhat-config-Xfree86
and startx but same error

also i tried from /etc/rc.d/init.d/xfs and tried the various options of start stop reload etc...

the other option that seems feasible is to forcible load the agpgart from the place i have the new kernel dump.... (like i created the dump in /root/file1/linux2.6.8.1 and compiled it from here)

so people if u guys can tell me what to do it would be GR8

Regards
Satish

masand 09-27-2004 11:27 PM

hi there

can u tell us what config file did u build ur kernel from???
the best option is to take a config file of the source from the running kernel and use that as ur building block

regards

Longinus 09-27-2004 11:32 PM

i havent done much kerenl configuring stuff but,

it seems when you do the configuration for the kernel before you build it, that you need to check the agpgart option as either built in or as a module

try reconfiguring your kernel again and look for something about the agp in the graphics section and make sure to check it as built-in or as a module

masand 09-27-2004 11:35 PM

hi
thats what i am saying u have skipped some option which are required but u do not know it

i has happend with a me for many times

so build from a config file of running ekrnel

regards

satish427 09-28-2004 02:26 AM

thanx for the support guys...
well when u r telling about config file are u telling about the file that is produced during make config well i followed the steps in the file that is available in the redhat installation in this website.....

so if u can elaborate into what i should do it will be more help ful like some ppl have told me that i should search for the file agpgart.ko and make copy of that and rename it as agpgart.o and insmod it well i want to know can we insmod the .o file directly......

and do i have to recompile the whole thing as i have alredy compiled it twice and two images have formed so also i have to find out how to remove the unwanted images from the system that is entirely all the vmlinuz and sysinst etc ..... do we have to manuallly delete them.......

well thats that for now

masand 09-28-2004 02:45 AM

hi there

do this

get urself a 2.6 kernel rpm from

http://people.redhat.com/arjanv/2.6/RPMS.kernel/

install that rpm

see if it works
then use its config file to remove unwanted options and do not remove them in one go
go for 4-5 times
so that u get good kernel according to ur needs and as many kernels u compile ,remove the unwanted things , so that u get best optimized kernel,i have been doing this and enjoying every part of it with good performance,i have compiled my kernel for over 75 times and now my memory usage stands at 52 MB in KDE apart from those buffers and cache


regards

masand 09-28-2004 02:45 AM

hi there

also upgrade ur modutils and mod init tools package from there

regards


All times are GMT -5. The time now is 05:11 PM.