Subject: Re: ultra5 & Xwindows
To: Michael <macallan18@earthlink.net>
From: Amadeus Stevenson <amadeus.stevenson@gmail.com>
List: port-sparc64
Date: 04/30/2005 23:01:23
On 4/29/05, Michael <macallan18@earthlink.net> wrote:
> Hello,
>=20
> > Sorry to flag a dead horse, but is X on ultra5 possible?
>=20
> Yes.
>=20
> > Do the patches work for 2.0?
>=20
> Try a -current kernel, the machfb driver is what you want. If you don't
> feel like compiling your own kernel you can use mine ( I use an Ultra
> 10, same graphics controller, plus USB and SymBIOS SCSI )
> Like this one:
> http://macallan.homeunix.org:6704/stuff/BSD/sparc64/netbsd_Ultra10_04_29.=
bz2
>=20
I booted your kernel and it works great. Hardware is configured, and I
must confess it's the first time since the 5 or 6 years I've been
using netbsd that I've had a full screen, colour console! And at
1280x1024 that was a real suprise. I found a whole new edge to all
those console apps I'd been using in monochrome!
Only thing is that now the ultra5 won't boot to monitor if I don't
connect a keyboard to it; but that's no biggie.
I'll try your XFree86, and if/when it works I'll compile -current
userland as well with USB support and let the list know how it works.
Will I have to recompile X as well?
I'll definitely put all the ultra5 info onto http sometime.
Thanks a lot for your help,
Amadeus
> before you try it make sure you:
> - don't overwrite your working kernel. You may need it if something
> goes wrong.
> - add this to /etc/ttys:
> ttyE0 "/usr/libexec/getty std.9600" xterm-color on secure
> ttyE1 "/usr/libexec/getty std.9600" xterm-color on secure
> ttyE2 "/usr/libexec/getty std.9600" xterm-color on secure
> ttyE3 "/usr/libexec/getty std.9600" xterm-color on secure
> - comment out the 'console...' line or you won't be able to log in on
> the console, ttyE0 will take over instead.
> - make sure you can log in via network in case something goes wrong.
> - add this to your /etc/rc.conf:
> wscons=3Dyes
> ... to get virtual consoles ( switch using STOP-Fn )
>=20
> In the same directory you'll find everything you need to set up X -
> install the 2.0 X11 packages ( make sure to use tar xzpf ... - without
> p some flags get lost, like the setuid flag on XFree86 ), then unpack
> XFree86.tar.bz2. XF86Config is what I use, may not fit your wishes but
> it's a starting point. the xmodmap file is a keymap ( feed it to xmodmap
> ) which makes the cursor keys work properly. Make sure /usr/X11R6/bin/X
> points to /usr/X11R6/bin/XFree86.