LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-28-2004, 12:41 PM   #1
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Rep: Reputation: 15
Question Plz help me X-windows


Hi everyone,

I am caught into a strange problem, Problem is that the linux boot normally but it come to loading X-window it hangs and nothing come to the screen. Even I can't switch to text mode b'coz it didn't do any thing, then i have to boot it again then it comes normally after one or two boots.
When i tried to get to text mode and then to X-window by using startx it didn't go into graphic and give an error like this:

XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com

Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
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 Mar 21 00:18:25 2004
(==) Using config file: "/etc/X11/XF86Config"


i checked log file and it is as follows:

drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmGetBusid returned ''
(II) I810(0): [drm] loaded kernel module for "i830" driver
(II) I810(0): [drm] created "i830" driver at busid "PCI:0:2:0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xd01f9000
(II) I810(0): [drm] mapped SAREA 0xd01f9000 to 0x40017000
(II) I810(0): [drm] framebuffer handle = 0x88020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 1536 kB for the back buffer at 0x7c00000.
(II) I810(0): Allocated 1536 kB for the depth buffer at 0x7a00000.
(II) I810(0): Allocated 32 kB for the logical context at 0x79f8000.
(II) I810(0): Allocated 1024 kB for the DMA buffers at 0x78f8000.
(II) I810(0): Allocated 8960 kB for textures at 0xff740000
(II) I810(0): Updated framebuffer allocation size from 3072 to 3096 kByte
(II) I810(0): Updated pixmap cache from 768 scanlines to 780 scanlines
(II) I810(0): 0x863bfa0: Memory at offset 0x00020000, size 3096 kBytes
(II) I810(0): 0x863bfc0: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x863bfe4: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x863c014: Memory at offset 0x07fee000, size 64 kBytes
(II) I810(0): 0x863c034: Memory at offset 0x07ffe000, size 4 kBytes
(II) I810(0): 0x863c054: Memory at offset 0x07c00000, size 1536 kBytes
(II) I810(0): 0x863c074: Memory at offset 0x07a00000, size 1536 kBytes
(II) I810(0): 0x863c0d4: Memory at offset 0x079f8000, size 32 kBytes
(II) I810(0): 0x863c0b4: Memory at offset 0x078f8000, size 1024 kBytes
(II) I810(0): 0x863c094: Memory at offset 0x00326000, size 8960 kBytes
(II) I810(0): Activating tiled memory for the back buffer.
(II) I810(0): Activating tiled memory for the depth buffer.
(II) I810(0): [drm] Registers = 0x80000000
(II) I810(0): [drm] Back Buffer = 0x8fc00000
(II) I810(0): [drm] Depth Buffer = 0x8fa00000
(II) I810(0): [drm] DMA Buffers = 0x8f8f8000
(II) I810(0): [drm] ring buffer = 0x88000000
(II) I810(0): [drm] textures = 0x88326000
(II) I810(0): [drm] added 256 4096 byte DMA buffers
(II) I810(0): [drm] dma control initialized, using IRQ 11
(II) I810(0): [dri] visual configs initialized
(==) I810(0): Write-combining range (0x88000000,0x8000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) I810(0): xf86BindGARTMemory: bind key 7 at 0x007df000 (pgoffset 2015)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07fee000 (pgoffset 32750)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffe000 (pgoffset 32766)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07c00000 (pgoffset 31744)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x07a00000 (pgoffset 31232)
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x079f8000 (pgoffset 31224)
(II) I810(0): xf86BindGARTMemory: bind key 6 at 0x078f8000 (pgoffset 30968)
(II) I810(0): Before: SWF1 is 0x00000008
(II) I810(0): After: SWF1 is 0x00000008
(II) I810(0): Display plane A is enabled.
(II) I810(0): Display plane B is disabled.
(II) I810(0): PIPEACONF is 0x80000000
(II) I810(0): Mode bandwidth is 66 Mpixel/s
(II) I810(0): maxBandwidth is 1152 Mbyte/s, pipe bandwidths are 184 Mbyte/s, 0 Mbyte/s
(WW) I810(0): Extended BIOS function 0x5f61 not supported.


LZ if anyone tellme what is the probelm and what is the solution of this problem even i am little scared that power boot evry time will harm my hardware..............

Plz help me !!!!!!!!!!! I shall be very thankful to you

Plz help me !!!!!!!!!!!!!!!!!!

Last edited by ritturaj; 03-28-2004 at 12:44 PM.
 
Old 03-28-2004, 02:11 PM   #2
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 31
Never heard of anything like it, sounds more like a hardware-problem... Do you have any other OS's on your system? How do they behave?
 
Old 03-28-2004, 02:57 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
First thing is, don't just switch the power off, you may damage the hard drive or something. If you press alt, ctrl and f6 (or is it f5?) together it should get you to a command prompt. Login as root and enter init 0 to turn the computer off. init 6 will reboot. so will alt, ctrl and del. It sounds to me like there is a problem with your /etc/X11/XF86Config file. If I were you I would login as root at the command prompt and run xf86config . The two cruicial things you need to know are the vertical and horzontal refresh rates for your monitor. Also, I notice in your log file above that X is having trouble loading DRI. It might be a good idea to comment out the line
Load "dri"
in /etc/X11/XF86Config. Put a # at the front of the line so it reads
# Load "dri"
until you get things sorted out.
 
Old 03-28-2004, 11:58 PM   #4
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Original Poster
Rep: Reputation: 15
Yes I am having Wondows on the other hard disk and that boots normally
And the problem is only with Linux

Thanks for the suggestion I will try to do it and write out what happened
 
Old 03-30-2004, 12:25 PM   #5
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Original Poster
Rep: Reputation: 15
Unhappy Problem persists

As suggestted by you i Have tried commenting the DRI in the /etc/X11/XFree86config but it is of no avail , my server crashed on startx

The log file is as follows


XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com

Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
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: Tue Mar 30 23:46:30 2004
(==) Using config file: "/etc/X11/XF86Config"
Parse error on line 122 of section Screen in file /etc/X11/XF86Config
"EndSection" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

Plz help me !!!!!!!!!!!!!!!!

Ritturaj
 
Old 03-30-2004, 12:37 PM   #6
akhilnair
LQ Newbie
 
Registered: Mar 2004
Distribution: MANDRAKE 9.2
Posts: 14

Rep: Reputation: 0
hi u didnt mention what disto u are using..
 
Old 03-30-2004, 10:21 PM   #7
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Original Poster
Rep: Reputation: 15
X-Window

I am using RedHat linux 9.0 (Shrike) with kernal 2.4.20-8
and other information are as follows:
RAM is 256Mb
graphics card Intel 845G inbuilt graphics card
two hard disk with 40 GB eac one for windows which is working fine and other with lInux which has all sorts of trouble

ritturaj
 
Old 03-31-2004, 04:27 AM   #8
LinuxSrilanka
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
Does the machine boots normally upto Xwindow
When you install what the resolution u select for Xwindow
 
Old 03-31-2004, 06:51 AM   #9
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Original Poster
Rep: Reputation: 15
problem X-window

yeah it boots normally when i boot it upto init 3 but when i try to do startx it hangs, or if i change default value in inittab for init 5 it again hangsand i can't even migrate to init 3 from there.

the resolution i select is 1028*786

ritturaj
 
Old 03-31-2004, 02:38 PM   #10
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try 1024x768. I still think it's more likely the error is with the vertical and horizontal refresh rates for your monitor.
 
Old 03-31-2004, 09:53 PM   #11
ritturaj
LQ Newbie
 
Registered: Jul 2003
Location: New delhi
Posts: 24

Original Poster
Rep: Reputation: 15
X windows

sir,

It is already 1028x768, what should I set for the horizontal and vertcal refresh rate
 
  


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
need windows manager. plz help! dauphinfay Linux - Software 6 07-11-2005 08:36 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
Reccomend a non windows PDA plz unholy Linux - Laptop and Netbook 5 04-17-2004 02:51 PM
Windows better than LInux? plz help calvinchan2 Linux - Newbie 10 08-21-2003 11:39 AM
Windows Programming question (don't shoot me plz) Citizen Bleys Programming 1 05-08-2002 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 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