|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD on sparc64 - X acceleration, and partition mirroring?
I've got OpenBSD 5.5 set up on a Sun Ultra Enterprise II, and I've got a couple questions about it. First and foremost, can someone point me to a good introduction on setting up a mirrored partition (i.e. software RAID 1?) I'm thinking of using this as a basic scanning and light image-processing system, and I'd like to keep the resulting image files on both of the internal hard drives, just in case something happens to one of them.
Second, is there any significant amount of support for the acceleration features of the Sun Creator 3D series graphics cards? I know they're nothing fancy by today's standards, but it'd be nice to have some form of acceleration for X. Looking at the log files, it appears that glx is currently set up with Mesa, but it looks like that may be because XAA isn't installed or isn't loading or something. Here's the Xorg.0.log: Code:
[ 160.591] (--) Using wscons driver [ 160.645] X.Org X Server 1.14.5 Release Date: 2013-12-12 [ 160.646] X Protocol Version 11, Revision 0 [ 160.646] Build Operating System: OpenBSD 5.5 sparc64 [ 160.646] Current Operating System: OpenBSD glund.eau.wi.charter.com 5.5 GENERIC.MP#173 sparc64 [ 160.652] Build Date: 26 February 2014 10:07:18PM [ 160.652] [ 160.652] Current version of pixman: 0.32.4 [ 160.653] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 160.653] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 160.656] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 23 15:22:19 2014 [ 160.662] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 160.663] (==) No Layout section. Using the first Screen section. [ 160.664] (==) No screen section available. Using defaults. [ 160.664] (**) |-->Screen "Default Screen Section" (0) [ 160.664] (**) | |-->Monitor "<default monitor>" [ 160.668] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 160.669] (==) Disabling SIGIO handlers for input devices [ 160.670] (==) Automatically adding devices [ 160.670] (==) Automatically enabling devices [ 160.670] (==) Not automatically adding GPU devices [ 160.672] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 160.672] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 160.672] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 160.673] (II) Loader magic: 0x5f21e40020 [ 160.673] (II) Module ABI versions: [ 160.673] X.Org ANSI C Emulation: 0.4 [ 160.673] X.Org Video Driver: 14.1 [ 160.673] X.Org XInput driver : 19.1 [ 160.673] X.Org Server Extension : 7.0 [ 160.676] Initializing built-in extension Generic Event Extension [ 160.676] Initializing built-in extension SHAPE [ 160.676] Initializing built-in extension MIT-SHM [ 160.676] Initializing built-in extension XInputExtension [ 160.676] Initializing built-in extension XTEST [ 160.676] Initializing built-in extension BIG-REQUESTS [ 160.676] Initializing built-in extension SYNC [ 160.676] Initializing built-in extension XKEYBOARD [ 160.676] Initializing built-in extension XC-MISC [ 160.676] Initializing built-in extension SECURITY [ 160.677] Initializing built-in extension XINERAMA [ 160.677] Initializing built-in extension XFIXES [ 160.677] Initializing built-in extension RENDER [ 160.677] Initializing built-in extension RANDR [ 160.677] Initializing built-in extension COMPOSITE [ 160.677] Initializing built-in extension DAMAGE [ 160.677] Initializing built-in extension MIT-SCREEN-SAVER [ 160.677] Initializing built-in extension DOUBLE-BUFFER [ 160.677] Initializing built-in extension RECORD [ 160.678] Initializing built-in extension DPMS [ 160.678] Initializing built-in extension X-Resource [ 160.678] Initializing built-in extension XVideo [ 160.678] Initializing built-in extension XVideo-MotionCompensation [ 160.678] Initializing built-in extension XFree86-VidModeExtension [ 160.678] Initializing built-in extension XFree86-DGA [ 160.678] Initializing built-in extension XFree86-DRI [ 160.678] Initializing built-in extension DRI2 [ 160.679] (II) LoadModule: "glx" [ 160.685] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 160.691] (II) Module glx: vendor="X.Org Foundation" [ 160.691] compiled for 1.14.5, module version = 1.0.0 [ 160.691] ABI class: X.Org Server Extension, version 7.0 [ 160.691] (==) AIGLX enabled [ 160.692] Loading extension GLX [ 160.693] (==) Matched sunffb as autoconfigured driver 0 [ 160.693] (==) Assigned the driver to the xf86ConfigLayout [ 160.693] (II) LoadModule: "sunffb" [ 160.697] (II) Loading /usr/X11R6/lib/modules/drivers/sunffb_drv.so [ 160.700] (II) Module sunffb: vendor="X.Org Foundation" [ 160.701] compiled for 1.14.5, module version = 1.2.2 [ 160.701] Module class: X.Org Video Driver [ 160.701] ABI class: X.Org Video Driver, version 14.1 [ 160.701] (II) SUNFFB: driver for Creator, Creator 3D and Elite 3D [ 160.702] (WW) Falling back to old probe method for sunffb [ 160.703] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 160.705] (II) SUNFFB(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 160.705] (==) SUNFFB(0): RGB weight 888 [ 160.706] (==) SUNFFB(0): Default visual is TrueColor [ 160.706] (==) SUNFFB(0): Using gamma correction (1.0, 1.0, 1.0) [ 160.707] (==) SUNFFB(0): Using HW cursor [ 160.707] (II) Loading sub module "fb" [ 160.707] (II) LoadModule: "fb" [ 160.717] (II) Loading /usr/X11R6/lib/modules/libfb.so [ 160.723] (II) Module fb: vendor="X.Org Foundation" [ 160.723] compiled for 1.14.5, module version = 1.0.0 [ 160.723] ABI class: X.Org ANSI C Emulation, version 0.4 [ 160.723] (II) Loading sub module "xaa" [ 160.723] (II) LoadModule: "xaa" [ 160.747] (WW) Warning, couldn't open module xaa [ 160.747] (II) UnloadModule: "xaa" [ 160.747] (II) Unloading xaa [ 160.748] (EE) SUNFFB: Failed to load module "xaa" (module does not exist, 0) [ 160.748] (II) SUNFFB(0): Loading XAA failed, acceleration disabled [ 160.748] (II) Loading sub module "ramdac" [ 160.748] (II) LoadModule: "ramdac" [ 160.748] (II) Module "ramdac" already built-in [ 160.748] (II) Loading sub module "dbe" [ 160.748] (II) LoadModule: "dbe" [ 160.748] (II) Module "dbe" already built-in [ 160.749] (==) SUNFFB(0): DPI set to (96, 96) [ 160.749] (--) Depth 24 pixmap format is 32 bpp [ 160.756] (II) Autoconfigured Video Device: Detected FFB1-SpeedSort, Z-buffer, Double-buffered. [ 160.756] (II) Autoconfigured Video Device: BT9068 (PAC1) ramdac detected (with normal cursor control) [ 160.757] (II) Autoconfigured Video Device: Detected Creator/Creator3D [ 160.763] (==) SUNFFB(0): Backing store disabled [ 160.763] (==) SUNFFB(0): Silken mouse disabled [ 160.769] (==) SUNFFB(0): DPMS enabled [ 160.770] (==) RandR enabled [ 160.943] (II) AIGLX: Screen 0 is not DRI2 capable [ 160.943] (II) AIGLX: Screen 0 is not DRI capable [ 161.081] (II) AIGLX: Loaded and initialized swrast [ 161.081] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 163.747] (II) config/wscons: checking input device /dev/wskbd [ 163.748] (II) wskbd: using layout us [ 163.749] (II) LoadModule: "kbd" [ 163.758] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [ 163.762] (II) Module kbd: vendor="X.Org Foundation" [ 163.762] compiled for 1.14.5, module version = 1.8.0 [ 163.762] Module class: X.Org XInput Driver [ 163.763] ABI class: X.Org XInput driver, version 19.1 [ 163.763] (II) Using input driver 'kbd' for '/dev/wskbd' [ 163.764] (**) /dev/wskbd: always reports core events [ 163.765] (**) /dev/wskbd: always reports core events [ 163.766] (**) Option "Protocol" "standard" [ 163.766] (**) Option "XkbRules" "base" [ 163.766] (**) Option "XkbModel" "pc105" [ 163.766] (**) Option "XkbLayout" "us" [ 163.767] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [ 163.776] (II) config/wscons: checking input device /dev/wsmouse [ 163.776] (II) LoadModule: "ws" [ 163.785] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [ 163.789] (II) Module ws: vendor="X.Org Foundation" [ 163.789] compiled for 1.14.5, module version = 1.3.0 [ 163.789] Module class: X.Org XInput Driver [ 163.789] ABI class: X.Org XInput driver, version 19.1 [ 163.789] (II) Using input driver 'ws' for '/dev/wsmouse' [ 163.790] (**) /dev/wsmouse: always reports core events [ 163.790] (II) ws: /dev/wsmouse: debuglevel 0 [ 163.790] (**) Option "Device" "/dev/wsmouse" [ 163.791] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 163.791] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [ 163.791] (**) ws: /dev/wsmouse: associated screen: 0 [ 163.792] (II) ws: /dev/wsmouse: minimum x position: 0 [ 163.792] (II) ws: /dev/wsmouse: maximum x position: 1279 [ 163.792] (II) ws: /dev/wsmouse: minimum y position: 0 [ 163.793] (II) ws: /dev/wsmouse: maximum y position: 1023 [ 163.793] (==) ws: /dev/wsmouse: Buttons: 7 [ 163.793] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [ 163.793] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7) [ 163.797] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [ 163.797] (**) /dev/wsmouse: (accel) acceleration profile 0 [ 163.798] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [ 163.798] (**) /dev/wsmouse: (accel) acceleration threshold: 4
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
|
||||
I can answer the first of your two questions. Yes, it is easy to deploy a mirrored partition. Here's a simple "How To", though I will refer you to FAQ 14.21 for a more detailed "How To" and to the softraid(4) and bioctl(8) man pages for command reference.
--- Technique:
Code:
# disklabel -E sd1 Label editor (enter '?' for help at any prompt) > a a offset: [nn] ENTER size: [mmmmmmmmm] 50g Rounding to cylinder (xxxx sectors): yyyyyy FS type: [4.2BSD] raid > q Write new label?: [y] ENTER Code:
# disklabel -E sd2 Label editor (enter '?' for help at any prompt) > a g offset: [nn] ENTER size: [mmmmmmmmm] 50g Rounding to cylinder (xxxx sectors): yyyyyy FS type: [4.2BSD] raid > q Write new label?: [y] ENTER Code:
# bioctl -c 1 -l /dev/sd1a,/dev/sd2g softraid0 sd5 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed sd5: nnnnnMB, 512 bytes/sector, mmmmmmm sectors |
|
|||
Thanks, that worked perfectly. Got it up and running with a minimum of fuss Now I just need to find out about the X acceleration thing...
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73 Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
openbsd on sparc64 IIIi | philo_neo71 | OpenBSD Installation and Upgrading | 10 | 23rd February 2018 10:53 AM |
2D Graphics acceleration in X | virtuvoos | OpenBSD General | 10 | 18th October 2013 02:40 PM |
your favorite mirroring tool | daemonfowl | General software and network | 11 | 10th June 2013 05:50 PM |
Beep or visual signal after booting OpenBSD/sparc64 | hansivers | OpenBSD General | 10 | 20th September 2009 04:08 PM |
Is 3d acceleration available with Intel GMA 3100 (AM64)? | ghost77 | FreeBSD General | 5 | 12th January 2009 11:18 AM |