Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
U5 New 2004.1 Install Xorg sorta Hangs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
hootinholler
n00b
n00b


Joined: 02 Jun 2004
Posts: 2

PostPosted: Wed Jun 16, 2004 4:41 pm    Post subject: U5 New 2004.1 Install Xorg sorta Hangs Reply with quote

I hate for my first post to be a request for help. I am new to gentoo, this is my first install (actually my like 5th try at my first install for various reasons).

I have an Ultra 5 that Xorg hangs after putting up a grey background and an X cursor-pointer. It takes a long time (~1.5 min) to get this screen. When I say it hangs I mean it hangs, No ^D, ^C, or ^-alt-BS response, I have to kill it from a remote session to regain control. The mouse does move the cursor, but doesn't seem to register clicks.

I had XFree installed, but was having trouble configuring it, when I saw that Xorg was the recommended X implementation so I unmerged it and emerge'd xorg. It was a happy build. I did the opengl-update xorg-x11 step also.

I only see 1 thing in the log to be excited over, it tries and fails a boatload of resolutions, which I assume is where the time is going. The stderr output reports that it can't init font path elements: /usr/X11R6/lib/X11/fonts/[local|Speedo|type1] but, the log reports these fonts as having been loaded from /usr/X11R6/lib/modules/fonts The directories are respective links to //usr/share/fonts

The rest of this message is config info. If you can spot what I've done to hose this please let me know.

dmesg reports video card as:
atyfb: 3D RAGE (GT) [0x4754 rev 0x9a] 2M SGRAM, 14.31818 MHz XTAL, 200 MHz PLL, 67 Mhz MCLK, 67 Mhz XCLK
Console: switching to colour frame buffer device 144x56
fb0: ATY Mach64 frame buffer device on PCI

The monitor is a Hitachi HM-4020-D Branded HP, Which I want to run at 1280x1024, H: 60-85 V: 60-120

I have Mach64 support compiled into the kernel, not a module, and other non-ati card support unselected.

Xorg -configure didn't seem to set the keyboard, mouse and monitor correctly so I used xorgconfig to generate the xorg.conf file. The pertinent bits I am using are:

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "sun"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "BusMouse"
Option "Device" "/dev/sunmouse"
EndSection

Section "Monitor"
Identifier "hp"
HorizSync 60-85
VertRefresh 60-120
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

Section "Device"
Identifier "Video"
Driver "ati"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "Video"
Monitor "hp"
DefaultDepth 8

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Thu Jun 17, 2004 6:18 pm    Post subject: Reply with quote

I seem to be having the same problem myself. I did all the xorg.conf manually. Checked mine against your's and everything seems to match up. The only difference I'm getting is that my X will load immediately (~5 seconds) and give me the standard terminal windows and X cursor. My mouse doesn't move and if I try to hit any kill keys it beeps. Also, I cannot log in remotely to kill it. The system has to be turned off. Not even STOP+A works. Note that I also get the font errors and that seems to be the only warnings I show in my log as well. I sure hope we can get this worked out...I'm trying to build three of these things. Have you had any luck with XFree?
Back to top
View user's profile Send private message
hootinholler
n00b
n00b


Joined: 02 Jun 2004
Posts: 2

PostPosted: Thu Jun 17, 2004 8:33 pm    Post subject: Reply with quote

rinacabj wrote:
I seem to be having the same problem myself.

Welcome to my world ;)
rinacabj wrote:
I did all the xorg.conf manually. Checked mine against your's and everything seems to match up. The only difference I'm getting is that my X will load immediately (~5 seconds) and give me the standard terminal windows and X cursor.

I get no XTerms at all.
rinacabj wrote:
My mouse doesn't move and if I try to hit any kill keys it beeps.

My mouse will move the cursor, and I get no beeps, but I might not have sound support compiled into the kernel. Have you tried catting /dev/sunmouse? I found this: http://www.gentoo.org/doc/en/xorg-config.xml usefull in getting this far. I was hoping to draw a reply like "Oh yeah, you have to do foo to bar with a type 5 keyboard/mouse to get it recognized by Xorg", but alas...
rinacabj wrote:
Also, I cannot log in remotely to kill it. The system has to be turned off. Not even STOP+A works. Note that I also get the font errors and that seems to be the only warnings I show in my log as well. I sure hope we can get this worked out...I'm trying to build three of these things.

Yes, that's true here as well the keyboard disconnect is complete. It's funny that I can cat the /dev files for the keyboard and mouse and get reasonable results.
How are you trying to remote login? I configured sshd to do it. I believe that telnet is disabled by default on install, and sshd needs to have the server keys to be generated and then rc-added. Then I'm using PuTTy to talk to it from my windoze box.
rinacabj wrote:
Have you had any luck with XFree?

Well, I didn't get a clean emerge/build before I abandoned it, so technically no, but, I stopped early in the process.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Thu Jun 17, 2004 8:56 pm    Post subject: Reply with quote

i got a little further. first i noticed that i had my mouse protocal configured wrong. I switched to to BusMouse and reloaded x. now i've got mouse support but the keyboard is still not good. found out that was a problem with the key mapping, being that its a sun keyboard and i'm used to pc keyboards. so after that all was good. still dont have the keymappings exact but its working well enough. i also had a little trouble with my video drivers but its all worked out now. i'd post my xorg.conf if i could but there were some problems and i had to take it down. I will post them as soon as I can.

One thing is was thinking is maybe you don't have a window manager configured? What do you have listed as XSESSION in your rc.conf? That could be why you're not getting any mouse click response and no xterms.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Fri Jun 18, 2004 6:36 pm    Post subject: Reply with quote

xorg.conf
Code:

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath   "/usr/X11R6/lib/modules"
EndSection

Section "Module"
    Load   "dbe"
    SubSection   "extmod"
   Option   "omit xfree86-dga"
    EndSubSection
    Load   "type1"
    Load   "freetype"
EndSection

Section "ServerFlags"
    Option   "blank time"   "10"
    Option   "standby time"   "20"
    Option   "suspend time"   "30"
    Option   "off time"   "60"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "keyboard"
    Option   "AutoRepeat"   "300 9"
    Option      "XkbRules"   "sun"
    Option      "XkbModel"   "type5"     
    Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option   "Protocol"   "BusMouse"
    Option   "Device"   "/dev/sunmouse"
EndSection

Section "Monitor"
    Identifier   "Generic Monitor"
    HorizSync   48.4
    VertRefresh   60
EndSection

Section "Device"
    Identifier "ati onboard chip"
    Driver "ati"
EndSection

Section "Screen"
    Identifier   "Screen 1"
    Device   "ati onboard chip"
    Monitor   "Generic Monitor"
    DefaultDepth 16

    SubSection "Display"
        Depth      16
        Modes      "800x600"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen "Screen 1"
    InputDevice   "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


I would like to see how some others have their sun keyboards set up for X. I'm using a Sun Type 6 serial with a serial mouse pass-through. Everything seems to be good with the keymapping except the ability to switch out of X and back in to a terminal via CTRL+ALT+F key. Not that big of a deal but it would be nice.
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Fri Jun 18, 2004 6:52 pm    Post subject: Reply with quote

Adding
Code:
Option "HandleSpecialKeys" "Always"
to my xorg.conf fixed my terminal switching problem. Now my keyboard layout is fine.
Back to top
View user's profile Send private message
GenTimJS
Guru
Guru


Joined: 03 May 2003
Posts: 406
Location: NH, USA

PostPosted: Sun Jun 20, 2004 1:46 am    Post subject: This is going to sound dumb... Reply with quote

This is going to sound very stupid, but I've made stupid mistakes and I know how easy it is to overlook little things sometimes...

but ..

do you have an .xinitrc file in your home directory with some kind of window manager (like fluxbox .. runs ok even on slow stuff) trying to start?

If so, which one? Logs?

if not, give it a shot and see if it changes anything.
_________________
-Tim Smith
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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