Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X installation problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Tue Feb 19, 2008 11:41 pm    Post subject: X installation problems Reply with quote

I've been trying to install X using "emerge xorg-x11" and up to this point things were going smoothly until I attempted to use "startx". I received this message/error:

(EE) Failed to load module "vga" (module doen not exist, 0)
(EE) Failed to load module "mouse" (module doen not exist, 0)
(EE) Failed to load module "kbd" (module doen not exist, 0)
(EE) No drivers availalbe.

Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X swerver ":0.0"
after 0 request (0 known processed) with 0 events remaining.

Gentoo is running on this old beige G3 powermac, 350Mhz, 320MB RAM, 20GB HD, ATI RagePro Video.

Any help with this issue would be greatly appreciated as I'm now going on 1 week of working on trying to get a running version of Linux on this old beast.
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Wed Feb 20, 2008 7:01 am    Post subject: Reply with quote

It sounds like you need to set INPUT_DEVICES and VIDEO_CARDS variables in make.conf and emerge xorg-server again.

Something like:
Code:

VIDEO_CARDS="mach64 fbdev"
INPUT_DEVICES="evdev keyboard mouse"


Then when you have those modules built, emerge Xorgautoconfig and try running that to generate the xorg config file.
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Wed Feb 20, 2008 7:02 pm    Post subject: Reply with quote

I actually did set those two variables in my make.conf file, they are set to
VIDEO_CARDS="ati"
INPUT_DEVICES="keyboard mouse"

I tried to use xorgautoconfig but that fails to work. However, I successfully used the xorgcfg command and that took me through a step by step question type thing asking me some things about my hardware etc. After completing that I remember it saying something to the effect of "4 lines in xorg.conf need edited" or something like that. I've set the horizontal sync rates to those that are listed in the manual for my monitor and selected "ATI (generic)" for my video card (as it is an old ATI RagePro on this beige G3) and entered the amount of vram (6mb).
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Wed Feb 20, 2008 7:20 pm    Post subject: Reply with quote

There are a couple of weird things about your errors then


  1. config file is attempting to load vga driver instead of ati
  2. the keyboard and mouse modules are not found either, and according to your INPUT_DEVICES they should have been built


Do you have following packages installed, if not you need to emerge xorg-server again:

  • x11-drivers/xf86-input-keyboard
  • x11-drivers/xf86-input-mouse
  • x11-drivers/xf86-video-ati


I'm assuming you've already verified that ati driver handles mach64 chipset, because I know it used to be handled by a separate mach64 driver. Actually, maybe you should add mach64 to VIDEO_CARDS before emerging the server.
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Wed Feb 20, 2008 10:04 pm    Post subject: Reply with quote

ok, now I've emerged the 3 items you listed separately (rather than emerging the entire xorg-server which takes quite a while on this slower machine). upon attempting to use "startx" I get a black screen, then a graphical X appears momentarily in the middle of the screen and I get this message:

(WW) ****INVALID IO ALLOCATION**** b: 0xfe000c00 e: 0xfe000cff correcting
(EE) end of block range 0xfdffffff < begin 0xfe000000
(II) Module already built-in
(II) Module already built-in
/etc/X11/xinit/xinitrc: line 45: twm: command not found
/etc/X11/xinit/xinitrc: line 46: xclock: command not found
/etc/X11/xinit/xinitrc: line 47: xterm: command not found
/etc/X11/xinit/xinitrc: line 48: xterm: command not found
/etc/X11/xinit/xinitrc: line 49: exec: xterm: not found
FreeFontPatch: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Wed Feb 20, 2008 10:08 pm    Post subject: Reply with quote

I'm currently in the process of emerging xorg-server again because I have the error listed above. I'll post results when its finished and hopefully working
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Wed Feb 20, 2008 11:10 pm    Post subject: Reply with quote

Hey! It sounds like you're there!! You just need to install some X clients now. The X cursor thing was your X server running, before realizing that it couldn't find even the most basic X apps like xterm to run.
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Thu Feb 21, 2008 1:06 am    Post subject: Reply with quote

well, I've emerged xorg-server again and upon using "startx" I get the same results. The graphical "X" in the middle of the screen and the same message:

(WW) ****INVALID IO ALLOCATION**** b: 0xfe000c00 e: 0xfe000cff correcting
(EE) end of block range 0xfdffffff < begin 0xfe000000
(II) Module already built-in
(II) Module already built-in
/etc/X11/xinit/xinitrc: line 45: twm: command not found
/etc/X11/xinit/xinitrc: line 46: xclock: command not found
/etc/X11/xinit/xinitrc: line 47: xterm: command not found
/etc/X11/xinit/xinitrc: line 48: xterm: command not found
/etc/X11/xinit/xinitrc: line 49: exec: xterm: not found
FreeFontPatch: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.

At this point I am completely lost as to where to go from here (being a noob and all)
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Thu Feb 21, 2008 2:06 am    Post subject: Reply with quote

Ahem, I think you didn't understand what I was trying to say in the previous post...

your X server seems to be WORKING! However, it can't find any X applications to run.

As a start, 'emerge xterm' and you should see a silly little borderless terminal window come up in the upper left of your screen. If that works, next you decide what window manager and other fun applications you want to install.
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sat Feb 23, 2008 1:12 am    Post subject: Reply with quote

ok, I have yet more issues apparently. The xserver does run (as you said) i emerged xterm and I do have the silly window type deal (its actually 1 large window in the upper left and 2 smaller, one under the other, on the right hand side) the mouse cursor is present but if i move the mouse it disappears, focus goes to the bottom right-most window and some sort of hell breaks loose and i cant change focus back. I have emerged xfce4 by suggestion of someone and i can use the "startxfce4" and it brings me the default xfce4 desktop and the Panel but once again mouse seems to cause havoc. Do I have to setup something specifically to support the 1 button ADB II mouse?
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sat Feb 23, 2008 3:03 pm    Post subject: Reply with quote

alrighty, got the mouse and the proper resolution working. Only having some issues emerging firefox. Well, one issue:

ERROR: www-client/mozilla-firefox-2.0.0.12 failed.
Call Stack:
ebuild.sh, line 49: Called src_compile
environment, line 3117: Called die
the specific snippet of code:
emake ${jobs} || die
the die message:
(no error message)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Feb 23, 2008 3:45 pm    Post subject: Reply with quote

That's not the error message, the real error message would be further back in your log. Most likely, you ran out of memory/disk space or perhaps an invalid instruction. We'd have to see the log though.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum