Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SGI-O2 installed, keyboard crashes sometimes [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
UltraHarry
n00b
n00b


Joined: 27 Dec 2003
Posts: 21
Location: Hamburg

PostPosted: Sat Nov 12, 2005 10:53 am    Post subject: SGI-O2 installed, keyboard crashes sometimes [SOLVED] Reply with quote

Hi all,
first of all I want to thank everybody involved into the gentoo-mips-project for the great work that was done so far. After some drawbacks due to my incompetence I've just finished my own setup on a SGI-O2 with kernel 2.6.13.4 mips64, arcboot 3.8.4

What works:
- The kernel gives output to a 1600sw flat-panel adapter if SetLoadOptions is set to "video=1280x1024-16@60". Unfortunately i cannot get it to work at 1600x1024, which is the panels native mode. I guess this is due to the fact, that the fb-device still only supports 4MB.

- X11 didn't start up when i first emerged it, cause USE="dlloader" was missing. Thanks to geoman for the tip! (although I don't understand, what dlloader is good for). The X11 fb-driver, to my surprise, works great at 1600x1024-15. If I set up to 1600x1024-16 the underlaying palette gets corrupted and i have some really strange "rainbow"-effects.

- Xfce 4.1.1.2-r4 works
- kvirc 3.2.0 works

Problems:
I've found, that after some hours the atkbd driver gets corrupted. I don't know what causes this behaviour, 'cause when the machine e.g. compiles, i usually only press "shift"
from time to time, to recover the terminal's screen blanker. I found tons of these messages at syslog-ng:
Code:

...
Nov 11 22:02:46 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x0 on mace/serio0).
Nov 11 22:02:46 bluebox atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
Nov 11 22:02:46 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x0 on mace/serio0).
Nov 11 22:02:46 bluebox atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
Nov 11 22:02:46 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x0 on mace/serio0).
Nov 11 22:02:46 bluebox atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
...
Nov 11 22:03:10 bluebox atkbd.c: Keyboard on mace/serio0 reports too many keys pressed.
Nov 11 22:03:10 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x17c on mace/serio0).
Nov 11 22:03:10 bluebox atkbd.c: Use 'setkeycodes 7c <keycode>' to make it known.
Nov 11 22:03:10 bluebox atkbd.c: Keyboard on mace/serio0 reports too many keys pressed.
Nov 11 22:03:10 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x144 on mace/serio0).
Nov 11 22:03:10 bluebox atkbd.c: Use 'setkeycodes 44 <keycode>' to make it known.
Nov 11 22:03:10 bluebox atkbd.c: Unknown key pressed (raw set 2, code 0x177 on mace/serio0).
Nov 11 22:03:10 bluebox atkbd.c: Use 'setkeycodes 77 <keycode>' to make it known.
Nov 12 03:40:16 bluebox syslog-ng[5500]: STATS: dropped 0
...


Afterwards i can't use the keyboard anymore.
The same happens to the mouse, which afair loses it's synchronization.

Keyboard and mouse are from SGI and were delivered as a bundle with the box.

Here you can find my config.gz
and
here you can find my xorg.conf


What I found somewhat irritating when doing the setup:
- The Gentoo-Mips-Handbook is imho a bit too unspecific at this time. I know there are quite a lot different machines running on mips. Therefore it might be better to provide some separate subcategories e.g. for O2, Indy and so on. At this time i doubt anyone could set up it's own kernel / arcboot installation by just following the instructions of the handbook. As for building the (64bit O2-)kernel, a short Mini-HowTo would be wonderful, including the hint to emerge gcc-mips64 FIRST. ;-)
The same goes for arcboot. A great help was the arcboot-micro-howto which solved my problems.

From here:
I'd really like to see mozilla-firefox running on my machine, but for now the ebuild failes to emerge.
The kernel doesn't provide any drivers for onboard audio of an O2, so I'll probably install an old pci soundcard of mine. Has anyone done this before?

Regards,
Harry

Edit:
Now that i've installed udev on the system, the keyboard / mouse don't crash anymore... :oops:
_________________
don't let the SUN go down on me (george michael) - www.hasipara.de
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Fri Nov 25, 2005 6:52 pm    Post subject: Re: SGI-O2 installed, keyboard crashes sometimes [SOLVED] Reply with quote

UltraHarry wrote:
What works:
- The kernel gives output to a 1600sw flat-panel adapter if SetLoadOptions is set to "video=1280x1024-16@60". Unfortunately i cannot get it to work at 1600x1024, which is the panels native mode. I guess this is due to the fact, that the fb-device still only supports 4MB.

This is using the flat-panel adaptor for O2 and not routing VGA to a multilink device then out to the flatpanel?


UltraHarry wrote:
- X11 didn't start up when i first emerged it, cause USE="dlloader" was missing. Thanks to geoman for the tip! (although I don't understand, what dlloader is good for). The X11 fb-driver, to my surprise, works great at 1600x1024-15. If I set up to 1600x1024-16 the underlaying palette gets corrupted and i have some really strange "rainbow"-effects.

I believe this is tied to something funky with Xorg and module loading. Geoman knows all the details on it, but I know it's not pretty.


UltraHarry wrote:
- Xfce 4.1.1.2-r4 works
- kvirc 3.2.0 works

If these aren't keyworded ~mips or mips already, file a bug so we can keyword them.


UltraHarry wrote:
What I found somewhat irritating when doing the setup:
- The Gentoo-Mips-Handbook is imho a bit too unspecific at this time. I know there are quite a lot different machines running on mips. Therefore it might be better to provide some separate subcategories e.g. for O2, Indy and so on. At this time i doubt anyone could set up it's own kernel / arcboot installation by just following the instructions of the handbook. As for building the (64bit O2-)kernel, a short Mini-HowTo would be wonderful, including the hint to emerge gcc-mips64 FIRST. ;-)
The same goes for arcboot. A great help was the arcboot-micro-howto which solved my problems.

One of the things on our list is to get out some kind of "approved" generic kernel configs that will contain something like the bare minimum drivers/options for a system. These would facilitate the configuring of a kernel better. Alternatively, there should be machine-specific configs in arch/mips/config, but those can sometimes vary on what is and isn't enabled.

Arcboot is also on it's way out. We're keeping it around as some users prefer it, but arcload is (in my opinion) a better bootloader. It only lacks the ability to read filesystems in its current iteration, requiring the kernels and the config file to be stored in the volume header. Maybe this'll change in the future, though. The forthcoming update to the Handbook will include a section on the two different styles of configs for both bootloaders.


UltraHarry wrote:
From here:
I'd really like to see mozilla-firefox running on my machine, but for now the ebuild failes to emerge.
The kernel doesn't provide any drivers for onboard audio of an O2, so I'll probably install an old pci soundcard of mine. Has anyone done this before?

Mozilla is considered broken on mips. There's a linker bug in binutils (I believe) which seems to prevent the browser component from building. Some of the debian devs have managed to get a working binary up, but I believe it has its own problems. One of our devs did manage, in one case, to successfully compile it and it apparently worked well, except it inversed the colors on PNG images. However, it'll remain listed as broken until we successfully nail that linker bug.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
UltraHarry
n00b
n00b


Joined: 27 Dec 2003
Posts: 21
Location: Hamburg

PostPosted: Mon Nov 28, 2005 10:52 am    Post subject: Re: SGI-O2 installed, keyboard crashes sometimes [SOLVED] Reply with quote

Kumba wrote:
UltraHarry wrote:
What works:
- The kernel gives output to a 1600sw flat-panel adapter if SetLoadOptions is set to "video=1280x1024-16@60". Unfortunately i cannot get it to work at 1600x1024, which is the panels native mode. I guess this is due to the fact, that the fb-device still only supports 4MB.


This is using the flat-panel adaptor for O2 and not routing VGA to a multilink device then out to the flatpanel?


Yes, I'm using the adaptor. Do you think this adaptor causes those problems? I always thought, the adaptor is just an analog/digital-convertor. Does it have it's own framebuffer?
_________________
don't let the SUN go down on me (george michael) - www.hasipara.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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