Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

XServer - Success (sort of)



Hello,

i've found two bugs in spx.c:

1. WSDISPLAYIO_LINEBYTES is missing in spx_ioctl()

2. the line:  spx_putchar(ss, row, col, c, attr);
   in spx_show_screen() causes the panic, which i expierienced several
   weeks ago. i'm not 100% sure, what the function do, but if i comment
   out the line, the xserver starts :)

The mouse works fine, but the keyboard has some problems. Maybe they are already fixed in -current, maybe it's a problem with my bastard-xorg-binary, build from OpenBSD-sourcecode.

I will try out a modified patched -current kernel and send the patches later today or tomorrow.




Xorg.0.log:

X Window System Version 6.9.0 (for OpenBSD)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: NetBSD/vax 5.1_RC2 [ELF]
Current Operating System: NetBSD/vax 5.1_RC4 [ELF]
(VS4090_DEBUG) #
7: Thu Oct 28 20:05:22 UTC 2010 root@vax:/usr/src/sys/arch/vax/compile/VS4090_DEBUG vax
Build Date: 09 June 2010
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 28 20:47:31 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout"
(**) |-->Screen "Screen" (0)
(**) |   |-->Monitor "Monitor"
(**) |   |-->Device "Device"
(**) |-->Input Device "Keyboard"
(**) |-->Input Device "Mouse"
(**) FontPath set to 
"/usr/X11R7/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) Using wscons driver
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
(II) wsfb: driver for wsdisplay framebuffer: wsfb
(II) wsfb(0): using default device
(II) Running in FRAMEBUFFER Mode
(II) wsfb(0): Creating default Display subsection in Screen section
        "Screen" for depth/fbbpp 8/8
(==) wsfb(0): Depth 8, (==) framebuffer bpp 8
(==) wsfb(0): Default visual is PseudoColor
(==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
(II) wsfb(0): Vidmem: 1280k
(==) wsfb(0): DPI set to (75, 75)
(==) wsfb(0): Using HW cursor
(**) wsfb(0): Using "Shadow Framebuffer"
(==) wsfb(0): Backing store disabled
(WW) No HW cursor support found
(==) RandR enabled
(**) Option "CoreKeyboard"
(**) Keyboard: Core Keyboard
(**) Option "Protocol" "wskbd"
(**) Keyboard: Protocol: wskbd
(**) Option "Device" "/dev/wskbd"
(--) LK-201: Keyboard type: Keyboard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "wsmouse"
(**) Mouse: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(**) Option "Emulate3Buttons" "true"
(**) Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse: Buttons: 11
(II) XINPUT: Adding extended input device "Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard" (type: KEYBOARD)

/etc/X11/xorg.conf:

Section "Files"
        FontPath        "/usr/X11R7/lib/X11/fonts/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
EndSection

Section "Monitor"
        Identifier      "Monitor"
EndSection

Section "Device"
        Identifier      "Device"
        Driver          "wsfb"
EndSection

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "kbd"
        Option      "Protocol" "wskbd"
        Option      "Device"   "/dev/wskbd"
EndSection

Section "InputDevice"
        Identifier      "Mouse"
        Driver          "mouse"
        Option          "Protocol" "wsmouse"
        Option          "Device"   "/dev/wsmouse"
        Option          "Emulate3Buttons" "true"
EndSection

Section "Screen"
        Identifier      "Screen"
        Device          "Device"
        Monitor         "Monitor"
EndSection

Section "ServerLayout"
        Identifier      "Layout"
        Screen          "Screen"
        InputDevice     "Keyboard" "CoreKeyboard"
        InputDevice     "Mouse" "CorePointer"
EndSection



Home | Main Index | Thread Index | Old Index