LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2004, 10:14 PM   #1
shyam_d_sundar
Member
 
Registered: Mar 2004
Posts: 43

Rep: Reputation: 15
Red face resolution problem in Redhat 9.0 with i386


Hi,
I am a newbie to Linux. (obvously switching from windows). I have installed Redhat 9.0.
Before getting into linux, I want to set the resultion to atleast 1024x768.

I have an Intel82810 graphics driver. Even Linux had identified it correctly during installation.

But, I cant change to screen resolution beyond 800x600. I tried all the things I am told to in the relevant Intel product release notes for Linux.

I also had a problem when I exeecute the command
rpm --rebuild .....

It says the option is invalid.

I even tried to change the config file. But, it reverts back to the 800x600 resolution.

I have good resolution in windows. Please let me know how to make that work in Linux.

I am sticking to windows just bcos of this. Please help me.
BTW, I badly need resolution to view my solution in Computational Fluid Dynamics, and to type reports.

Rgds,
Shyam

System configuration::
PIII-Tualatin 1.4GHz (100x5)
256 MB RAM (Linux can identify this)
LILO bootup manager
Intel 82810 graphics card (this too is identified by linux)
 
Old 03-01-2004, 10:20 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
bo selecta !

rpm --rebuild is a very old method of doing it.
use 'rpmbuild --rebuild' instead

and for resolution.... manually edit it.
as root
edit the file /etc/X11/XF86Config

look for the resolution section and edit it manually.
 
Old 03-02-2004, 01:23 AM   #3
shyam_d_sundar
Member
 
Registered: Mar 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Hi,
Thanks for that. But, there is another one issue.

When I use rpmbuild --rebuild .... (the intel driver package), it gives me an error.

[root@localhost install]# rpmbuild --recompile i810gtt-0.2-4.src.rpm
Installing i810gtt-0.2-4.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.89814
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf I810Gtt-0.2
+ /bin/mkdir -p I810Gtt-0.2
+ cd I810Gtt-0.2
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/I810Gtt-0.2.tar.gz
+ tar -xvvf -
-rw-r--r-- root/root 20474 2000-06-13 10:11:33 agpgart.c
-rw-r--r-- root/root 3101 1999-09-28 07:35:30 agpgart.h
-rw-r--r-- root/root 2943 1999-09-28 20:59:48 testgart.c
-rw-r--r-- root/root 580 1999-12-01 23:25:06 README
-rw-r--r-- root/root 6161 2000-06-14 03:36:13 Makefile
-rw-r--r-- root/root 25 2000-06-14 03:34:31 linux/autoconf.h
drwxr-xr-x Creating directory: linux
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.78856
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd I810Gtt-0.2
+ LANG=C
+ export LANG
+ make 'OPT_CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686'
Expect kernel source at location /usr/src/linux
Sym.link /usr/src/linux -> where you have your sources
make: *** [sanity] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.78856 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.78856 (%build)

Please advise,
Rgd,
Shyam
 
Old 03-02-2004, 01:28 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You probably need to install the kernel source, which you should be able to find on the Redhat CDROMs using the add/remove softwares tool.
 
Old 03-02-2004, 01:59 AM   #5
shyam_d_sundar
Member
 
Registered: Mar 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Hi,
You were right. I installed the sources.
But, again, it gave the error when I rebuilt this one.
Actually, first it said that it cant find the source folder. It was pointing to /usr/src/linux, whereas the link was of the name linux-2.4. Hence, I created another link named linux. Then it compiled, but gave this error.

[root@localhost install]# rpmbuild --rebuild i810gtt-0.2-4.src.rpm
Installing i810gtt-0.2-4.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.78327
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf I810Gtt-0.2
+ /bin/mkdir -p I810Gtt-0.2
+ cd I810Gtt-0.2
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/I810Gtt-0.2.tar.gz
+ tar -xvvf -
-rw-r--r-- root/root 20474 2000-06-13 10:11:33 agpgart.c
-rw-r--r-- root/root 3101 1999-09-28 07:35:30 agpgart.h
-rw-r--r-- root/root 2943 1999-09-28 20:59:48 testgart.c
-rw-r--r-- root/root 580 1999-12-01 23:25:06 README
-rw-r--r-- root/root 6161 2000-06-14 03:36:13 Makefile
-rw-r--r-- root/root 25 2000-06-14 03:34:31 linux/autoconf.h
drwxr-xr-x Creating directory: linux
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.78327
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd I810Gtt-0.2
+ LANG=C
+ export LANG
+ make 'OPT_CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686'
gcc -O2 -g -pipe -march=i386 -mcpu=i686 -DMODULE -D__KERNEL__ -DCONFIG_PCI -I. -I/usr/src/linux/include -pipe -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCONFIG_MODVERSIONS -DCONFIG_MTRR -DCONFIG_1GB -c -o agpgart.o agpgart.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from agpgart.c:46:
/usr/src/linux/include/asm/processor.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/include/asm/processor.h:65: requested alignment is not a constantIn file included from agpgart.c:48:
linux/modversions.h:128:1: warning: "__ver___insmod_ipt" redefined
linux/modversions.h:126:1: warning: this is the location of the previous definition
linux/modversions.h:130:1: warning: "__ver___insmod_ipt" redefined
linux/modversions.h:128:1: warning: this is the location of the previous definition
linux/modversions.h:132:1: warning: "__ver___insmod_ipt" redefined
linux/modversions.h:130:1: warning: this is the location of the previous definition
linux/modversions.h:505:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/module.h:12,
from agpgart.c:46:
/usr/src/linux/include/asm/processor.h:267:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/mm.h:30,
from agpgart.c:58:
/usr/src/linux/include/linux/mmzone.h:34: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/include/linux/mmzone.h:34: requested alignment is not a constant
In file included from agpgart.c:61:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated,
use linux/slab.h instead.
In file included from /usr/src/linux/include/linux/highmem.h:5,
from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/src/linux/include/asm/io.h:47,
from /usr/src/linux/include/asm/pci.h:35,
from /usr/src/linux/include/linux/pci.h:657,
from agpgart.c:62:
/usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/src/linux/include/asm/pgalloc.h:93: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux/include/asm/pgalloc.h:93: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/pgalloc.h:93: for each function it appears in.)
In file included from /usr/src/linux/include/asm/io.h:47,
from /usr/src/linux/include/asm/pci.h:35,
from /usr/src/linux/include/linux/pci.h:657,
from agpgart.c:62:
/usr/src/linux/include/linux/vmalloc.h: In function `vmalloc':
/usr/src/linux/include/linux/vmalloc.h:36: `boot_cpu_data_R0657d037' undeclared
(first use in this function)
/usr/src/linux/include/linux/vmalloc.h: In function `vmalloc_dma':
/usr/src/linux/include/linux/vmalloc.h:45: `boot_cpu_data_R0657d037' undeclared
(first use in this function)
/usr/src/linux/include/linux/vmalloc.h: In function `vmalloc_32':
/usr/src/linux/include/linux/vmalloc.h:54: `boot_cpu_data_R0657d037' undeclared
(first use in this function)
In file included from agpgart.c:77:
/usr/src/linux/include/asm/uaccess.h: In function `verify_area':
/usr/src/linux/include/asm/uaccess.h:64: `boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux/include/asm/uaccess.h: In function `__constant_copy_to_user':
/usr/src/linux/include/asm/uaccess.h:550: `boot_cpu_data_R0657d037' undeclared (first use in this function)
In file included from agpgart.c:77:
/usr/src/linux/include/asm/uaccess.h: In function `__constant_copy_from_user':
/usr/src/linux/include/asm/uaccess.h:558: `boot_cpu_data_R0657d037' undeclared (first use in this function)
agpgart.c: In function `gart_mmap':
agpgart.c:744: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
agpgart.c:744: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
agpgart.c:744: too few arguments to function `remap_page_range_R2baf18f2'
agpgart.c: At top level:
agpgart.c:776: warning: initialization from incompatible pointer type
agpgart.c:777: warning: initialization from incompatible pointer type
agpgart.c:778: warning: initialization from incompatible pointer type
agpgart.c:781: warning: initialization from incompatible pointer type
agpgart.c:782: warning: initialization from incompatible pointer type
agpgart.c:783: warning: initialization from incompatible pointer type
agpgart.c:786: warning: initialization from incompatible pointer type
make: *** [agpgart.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.78327 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.78327 (%build)
 
Old 03-02-2004, 02:06 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
make sure the driver you're compiling supports your kernel

Last edited by Demonbane; 03-02-2004 at 02:09 AM.
 
Old 03-02-2004, 09:45 AM   #7
shyam_d_sundar
Member
 
Registered: Mar 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Hi all,
Thanks for your clarifications.
Since I am totally new to Linux, I didnot have patience to try dwindling with the recompilation.

I downloaded and installed mandrake, which took me by surprise. I installed it in 20 mins!!!!!!

I am now not repenting for choosing Linux (think no one repents)..

Hope to make contributions to this wonderful community.
I am really touched by the instant replies to my queries.

I have another one doubt in Mandrake which I will post in another thread.

The resolution part is solved for now

Regards,
Shyam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
resolution change problem with Redhat 9.0(Shrike) and NVIDIA alagenchev Red Hat 1 10-25-2004 08:24 PM
RedHat 9.0 - Resolution Problem ddaas Red Hat 4 10-25-2004 08:23 PM
Strange resolution problem in RedHat 9 with a GeForce 4 Ti4400 Skaarjj Linux - Newbie 6 03-01-2004 02:53 PM
Problem with screen resolution in RedHat 7.1 jader9920 Linux - Newbie 2 01-23-2004 04:28 PM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 06:50 AM


All times are GMT -5. The time now is 11:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration