openbsd xorg.conf & PRIMEPOWER 250 ( = sparc64 )

owing to talentful people of OpenBSD , i can configure xorg.conf

by ' X -configure " on openbsd4.6 beta .

details is on http://nakajin.dyndns.org/openbsd46b.html




                                                                                          • -

the following is about openbsd 4.5 .
1. I cannot install neither freebsd7.2(sparc64) nor debian(sparc) on primepower250 .
Only openbsd4.5(sparc64) is installed on fujitsu's primepower250 .
Owing to http://www.openbsd.org/sparc64.html , The work was done on a PRIMEPOWER 250, so that model is known to work.


2. how to install

switch on primepower , then put command {0} ok boot cdrom .
Usual install screen apears on CRT .

Once openbsd is installed , to start openbsd is to put command
{0} ok boot .


3. How to configure Xorg .

Usual method ' cd /usr/X11R6/bin ; X -configure ' makes a bad xorg.conf .

So I follow next instraction .


8.2 - X won't start, I get lots of error messages
A common cause for X problems is the machdep.allowaperture sysctl(8)
setting. Since this defaults to being disabled on OpenBSD, this is a
fairly likely cause of the problem.
You need to edit /etc/sysctl.conf and set machdep.allowaperture=2 (or 1,
depending upon your platform). This will allow X to access the aperture
driver, xf86(4), upon the next reboot. It can not be made available
after boot. This can also be set during install if you answer "Y" when
you are asked whether you expect to run the X Window System.
OpenBSD requires that the aperture driver be activated on alpha, amd64,
i386, macppc and sparc64 platforms to control access to the video
boards. Other platforms use a safer way to handle the video system, and
do not need this (and do not have it in their kernel). If you do not
anticipate using X on your system, it is recommended that you not enable
the aperture driver.
For more information about configuring and using X on your platform, see
the /usr/X11R6/README file on your installed system.

I follow the above manual , then the next is naturaly folowed .

  • bash-3.2$ cat comment-out.bat

cat $1 | egrep -v '(^#|^;)' | grep '[A-z]'

and
1) ./comment-out.bat /etc/sysctl.conf
machdep.allowaperture=2 # See xf86(4)
2) ./comment-out.bat /etc/X11/xorg.conf
(this xorg.conf is in /usr/X11R6/README cut here to cut here )

Section "ServerLayout"
Identifier "wsfb"
Screen 0 "Screen0" 0 0
InputDevice "wsmouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "sun"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection
Section "InputDevice"
Identifier "wsmouse0"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection
Section "InputDevice"
Identifier "zsmouse0"
Driver "mouse"
Option "Protocol" "SunMouse"
Option "Device" "/dev/ttyc"
Option "Baudrate" "1200"
EndSection
Section "InputDevice"
Identifier "commouse0"
Driver "mouse"
Option "Protocol" "SunMouse"
Option "Device" "/dev/tty00"
Option "Baudrate" "1200"
EndSection
Section "Monitor"
Identifier "Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-60
VertRefresh 50-70
EndSection
Section "Device"
Identifier "Wsdisplay0"
Driver "wsfb"
Option "device" "/dev/ttyC0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Wsdisplay0"
Monitor "Monitor"
DefaultDepth 8
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection


4. of cource I can use japanese font and japanese input method uim-anthy
on konquror .
Details are on http://nakajin.dyndns.org/openbsd45.html .


OpenBSD sun.my.domain 4.5 GENERIC#1898 sparc64



How to make primepower nfs-server
because primepower does not have dvd-rw drive , so I burn dvd-rw disk with using ubuntu machine's dvd-rw drive .

  • bash-3.2$ cat /etc/rc.conf.local

ntpd_flags= # enabled during install
portmap=YES # see sysctl.conf for nfs client configuration
nfs_server=YES # see sysctl.conf for nfs client configuration

  • bash-3.2$ cat /etc/exports

/SAVE -alldirs -network=192.168.33 -mask=255.255.255.0