Subject: Xfree86-4.2.1 testers wanted
To: None <>
From: mel kravitz <>
List: port-alpha
Date: 12/07/2002 14:11:04
For the brave who don't mind living on the edge...
Those who wan't to turn their single pci bus alphas..
as400-> as1000a and PWS 433->600 machines into true X boxes,and 
use all SRM/XFree86-4.4.1 supported PCI vga cards(includes Matrox G400,
ati-Radeon 7000 V/E up to 64MBytes Vram which i have heavily tested).
Running current 1.6K is best,  Then follow:
download xfree.tar.gz from
tar xzvf xfree.tar.gz
in /usr/xsrc/xfree/xc
make World
make clean
after it completes edit /usr/xsrc../xc/programs,Makefile change
and edit the Makefile in ../xc/programs/Xserver line~223
with the same: EXTRA+LOAD_FLAGS = -W1 -Bstatic
In /usr/xsrc/xfree/xc/...programs/Xserver/hw/xfree86/os-support/bsd
patch bsd_axp.c and bsd_video.c with (patches on request- too large for
mail server).
then in /usr/xsrc/xfree/xc :
make includes
make && make install
use xf86config to build an /etc/X11/XF86Config (mkdir -p /etc/X11, if it
does not exist) file:
use vi or pico to edit this file before you 'startx' or 'xinit'
to make sure you can return to text mode with the following(my
ATI-radeon XF86Config file):
Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 5"
Section "Device"
    Identifier  "ATI Rage 128"
    Driver      "ati"
    VideoRam    65536
    Option     "ShadowFB" # required for glint or mga bds, not ati)
    BusID       "PCI:1:10:0" # check /var/log/XFree86.0.log to get PCI #
    # Insert Clocks lines here if appropriate
see for all available "Options" and supported 
cards, if a card does not work as a vga card in SRM you can NOT use it.
nvidia cards appear not to work, i upodated SRM firmware to 6.2, i
understand 6.3 is now out (8/02. I have not updated SRM beyond 7.2.
For kernel patches and /etc/rc.conf /etc/ttys and login notes see:

Make a copy of the GENERIC kernel configuration file, and modify the
copy thus:

1) uncomment the second of these two lines:

# Disable kernel security.
#options         INSECURE

2) set the WS console and Workstation Console sections to:

# WS console uses SUN or VT100 terminal emulation
options         WSEMUL_VT100
options         WSDISPLAY_COMPAT_USL

# Workstation Console attachments
pckbc0          at isa?
pms*            at      pckbc?
#wsdisplay*     at      cfb?
wsdisplay*      at      vga?
#wsdisplay*     at      sfb?
#wsdisplay*      at      tga?
wskbd*          at      pckbd? console ?
wsmouse*        at      pms?

3) add this line:

pseudo-device    wsmux 2

then build a new kernel from the new configuration file.
In /etc/rc.conf change NO to YES in this line:

wscons=YES              wscons_flags=""    #setup from wscons.conf    

In /etc/ttys replace the lines:

ttyE0 "/usr/libexec/getty std.9600"   vt100 off secure
ttyE1 "/usr/libexec/getty std.9600"   vt100 off secure

with these:

ttyE0 "/usr/libexec/getty std.9600"   vt100 on secure
ttyE1 "/usr/libexec/getty std.9600"   vt100 on secure
ttyE2 "/usr/libexec/getty std.9600"   vt100 on secure
ttyE3 "/usr/libexec/getty std.9600"   vt100 on secure

Login notes:
Because of the new kernel configuration for the console you will not 
be able to login to the boot screen.  Instead type ctrl-alt-F2,F3,F4 to 
bring up a login prompt on one of the alternate consoles and use it.
As su #scanpci should return pci bus data as a test.
$startx -twm window manager and your off to building your X box.
many current /usr/pkgsrc/graphics programs indicate "not for
alpha...-B.S.) just edit Makefile and change -i386 to -alpha
'ogle' will complete and work this way,you however need a decent 16bit
48KHZ pci sound card (ISA card (ess driver in PWS machines) is 8bit ogle
will fail with audio failure, even though xmms seems to play mp3's.
I will upload xsrc-4.2.1.tar.gz built from the above with patches, which
i have used on 3 seperate scsi drives to build 4.2.1 on PWS 433au,500au
and 600au on 12/9/02 at
Best -Mel