Bug#594684: xserver-xorg-video-siliconmotion: siliconmotion driver segfaults on a Lemote YeeLoong (SM712 LynxEM+)
Package: xserver-xorg-video-siliconmotion
Version: 1:1.7.7-2+b1
Followup-For: Bug #594684
Hello!
I try use https://wiki.debian.org/DebianYeeloong/HowTo/Install for start X-server.
Unfortunally both patches (01_mips-sarea.diff, 20_mipsel_support_loongson_mmio.patch)
not apply on xorg-server-1.15.0.
-- Package-specific info:
X server symlink status:
------------------------
lrwxrwxrwx 1 root root 13 Mar 1 21:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2471800 Feb 7 19:16 /usr/bin/Xorg
VGA-compatible devices on PCI bus:
----------------------------------
00:08.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev b0)
Xorg X server configuration file status:
----------------------------------------
-rwxr-xr-x 1 root root 993 Mar 1 22:48 /etc/X11/xorg.conf
Contents of /etc/X11/xorg.conf:
-------------------------------
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Device"
Identifier "Card0"
Driver "siliconmotion"
Option "pci_burst" "true"
Option "HWCursor" "true"
Option "VideoKey" "45000"
Option "UseBIOS" "false"
Option "PanelSize" "1024x600"
Option "CSCVideo" "false"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
EndSection
/etc/X11/xorg.conf.d does not exist.
/etc/modprobe.d contains no KMS configuration files.
Kernel version (/proc/version):
-------------------------------
Linux version 3.12-1-loongson-2f (debian-kernel@lists.debian.org) (gcc version 4.8.2 (Debian 4.8.2-14) ) #1 Debian 3.12.9-1 (2014-02-01)
Xorg X server log files on system:
----------------------------------
-rw-r--r-- 1 root root 7170 Mar 12 12:25 /var/log/Xorg.0.log
Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
---------------------------------------------------------------------
[ 6242.655]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 6242.724] X Protocol Version 11, Revision 0
[ 6242.747] Build Operating System: Linux 3.2.0-4-sb1-bcm91250a mips Debian
[ 6242.772] Current Operating System: Linux yeeloong 3.12-1-loongson-2f #1 Debian 3.12.9-1 (2014-02-01) mips64
[ 6242.773] Kernel command line: machtype=lemote-yeeloong-2f-8.9inches root=UUID=50a3c27f-b88e-439a-82b5-cb30b267de3a ro rd_start=0x80b70000 rd_size=0xb60ea4
[ 6242.851] Build Date: 07 February 2014 02:26:29PM
[ 6242.877] xorg-server 2:1.15.0-2 (http://www.debian.org/support)
[ 6242.903] Current version of pixman: 0.32.4
[ 6242.956] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6242.956] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6243.068] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 12 12:25:26 2014
[ 6243.097] (==) Using config file: "/etc/X11/xorg.conf"
[ 6243.127] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6243.129] (==) No Layout section. Using the first Screen section.
[ 6243.129] (**) |-->Screen "Screen0" (0)
[ 6243.129] (**) | |-->Monitor "<default monitor>"
[ 6243.130] (**) | |-->Device "Card0"
[ 6243.130] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 6243.130] (==) Automatically adding devices
[ 6243.130] (==) Automatically enabling devices
[ 6243.130] (==) Automatically adding GPU devices
[ 6243.131] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 6243.131] Entry deleted from font path.
[ 6243.131] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 6243.131] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6243.131] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6243.131] (II) Loader magic: 0x63c010
[ 6243.131] (II) Module ABI versions:
[ 6243.131] X.Org ANSI C Emulation: 0.4
[ 6243.131] X.Org Video Driver: 15.0
[ 6243.131] X.Org XInput driver : 20.0
[ 6243.131] X.Org Server Extension : 8.0
[ 6243.134] (--) PCI:*(0:0:8:0) 126f:0712:0000:0000 rev 176, Mem @ 0x40000000/16777217
[ 6243.165] Initializing built-in extension Generic Event Extension
[ 6243.194] Initializing built-in extension SHAPE
[ 6243.224] Initializing built-in extension MIT-SHM
[ 6243.253] Initializing built-in extension XInputExtension
[ 6243.282] Initializing built-in extension XTEST
[ 6243.311] Initializing built-in extension BIG-REQUESTS
[ 6243.340] Initializing built-in extension SYNC
[ 6243.369] Initializing built-in extension XKEYBOARD
[ 6243.397] Initializing built-in extension XC-MISC
[ 6243.426] Initializing built-in extension SECURITY
[ 6243.454] Initializing built-in extension XINERAMA
[ 6243.482] Initializing built-in extension XFIXES
[ 6243.509] Initializing built-in extension RENDER
[ 6243.535] Initializing built-in extension RANDR
[ 6243.562] Initializing built-in extension COMPOSITE
[ 6243.587] Initializing built-in extension DAMAGE
[ 6243.612] Initializing built-in extension MIT-SCREEN-SAVER
[ 6243.637] Initializing built-in extension DOUBLE-BUFFER
[ 6243.662] Initializing built-in extension RECORD
[ 6243.687] Initializing built-in extension DPMS
[ 6243.711] Initializing built-in extension Present
[ 6243.734] Initializing built-in extension DRI3
[ 6243.756] Initializing built-in extension X-Resource
[ 6243.776] Initializing built-in extension XVideo
[ 6243.795] Initializing built-in extension XVideo-MotionCompensation
[ 6243.816] Initializing built-in extension SELinux
[ 6243.835] Initializing built-in extension XFree86-VidModeExtension
[ 6243.852] Initializing built-in extension XFree86-DGA
[ 6243.868] Initializing built-in extension XFree86-DRI
[ 6243.883] Initializing built-in extension DRI2
[ 6243.883] (II) LoadModule: "glx"
[ 6243.884] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 6243.886] (II) Module glx: vendor="X.Org Foundation"
[ 6243.886] compiled for 1.15.0, module version = 1.0.0
[ 6243.886] ABI class: X.Org Server Extension, version 8.0
[ 6243.886] (==) AIGLX enabled
[ 6243.901] Loading extension GLX
[ 6243.901] (II) LoadModule: "siliconmotion"
[ 6243.901] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[ 6243.902] (II) Module siliconmotion: vendor="X.Org Foundation"
[ 6243.902] compiled for 1.15.0, module version = 1.7.7
[ 6243.902] Module class: X.Org Video Driver
[ 6243.902] ABI class: X.Org Video Driver, version 15.0
[ 6243.902] (II) SMI: driver (version 1.7.7) for Silicon Motion Lynx chipsets: Lynx,
LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
[ 6243.903] (--) using VT number 7
[ 6243.987] (WW) Falling back to old probe method for siliconmotion
[ 6243.988] (--) Assigning device section with no busID to primary device
[ 6243.988] (--) Chipset LynxEM+ found
[ 6243.988] (II) Loading sub module "vgahw"
[ 6243.988] (II) LoadModule: "vgahw"
[ 6243.989] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 6243.990] (II) Module vgahw: vendor="X.Org Foundation"
[ 6243.990] compiled for 1.15.0, module version = 0.1.0
[ 6243.990] ABI class: X.Org Video Driver, version 15.0
[ 6243.990] (II) SMI(0): Creating default Display subsection in Screen section
"Screen0" for depth/fbbpp 16/16
[ 6243.990] (**) SMI(0): Depth 16, (--) framebuffer bpp 16
[ 6243.990] (==) SMI(0): RGB weight 565
[ 6243.990] (==) SMI(0): Default visual is TrueColor
[ 6243.991] (**) SMI(0): Option "pci_burst" "true"
[ 6243.991] (**) SMI(0): Option "HWCursor" "true"
[ 6243.991] (**) SMI(0): Option "VideoKey" "45000"
[ 6243.991] (**) SMI(0): Option "UseBIOS" "false"
[ 6243.991] (**) SMI(0): Option "PanelSize" "1024x600"
[ 6243.991] (**) SMI(0): Option "CSCVideo" "false"
[ 6243.991] (**) SMI(0): PCI Burst enabled
[ 6243.991] (==) SMI(0): PCI Retry enabled
[ 6243.991] (**) SMI(0): Using Hardware Cursor
[ 6243.991] (**) SMI(0): Option: Video key set to 0x0000AFC8
[ 6243.991] (**) SMI(0): Option: UseBIOS disabled.
[ 6243.991] (--) SMI(0): Chipset: "LynxEM+"
[ 6243.991] (==) SMI(0): Dual head disabled
[ 6243.991] (==) SMI(0): Using XAA acceleration architecture
[ 6243.992] (EE)
[ 6243.992] (EE) Backtrace:
[ 6243.992] (EE) 0: /usr/bin/X (xorg_backtrace+0x78) [0x5eac28]
[ 6243.993] (EE)
[ 6243.993] (EE) Segmentation fault at address 0x3c4
[ 6243.993] (EE)
Fatal server error:
[ 6243.993] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 6243.994] (EE)
[ 6243.994] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6243.994] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6243.994] (EE)
[ 6244.163] (EE) Server terminated with error (1). Closing log file.
udev information:
-----------------
P: /devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input3
E: DEVPATH=/devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input3
E: EV=3
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=USB_2.0_Camera
E: ID_MODEL_ENC=USB\x202.0\x20Camera
E: ID_MODEL_ID=a114
E: ID_PATH=pci-0000:00:09.1-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_09_1-usb-0_1_1_0
E: ID_REVISION=1017
E: ID_SERIAL=SuYin_USB_2.0_Camera_CN0317-S30C-MC03-VS-B20081113
E: ID_SERIAL_SHORT=CN0317-S30C-MC03-VS-B20081113
E: ID_TYPE=video
E: ID_USB_DRIVER=uvcvideo
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=SuYin
E: ID_VENDOR_ENC=SuYin
E: ID_VENDOR_ID=064e
E: KEY=100000 0 0 0 0 0 0
E: MODALIAS=input:b0003v064EpA114e1017-e0,1,kD4,ramlsfw
E: NAME="USB 2.0 Camera"
E: PHYS="usb-0000:00:09.1-1/button"
E: PRODUCT=3/64e/a114/1017
E: PROP=0
E: SUBSYSTEM=input
E: USEC_INITIALIZED=7977986
P: /devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input3/event2
N: input/event2
S: input/by-id/usb-SuYin_USB_2.0_Camera_CN0317-S30C-MC03-VS-B20081113-event-if00
S: input/by-path/pci-0000:00:09.1-usb-0:1:1.0-event
E: BACKSPACE=guess
E: DEVLINKS=/dev/input/by-id/usb-SuYin_USB_2.0_Camera_CN0317-S30C-MC03-VS-B20081113-event-if00 /dev/input/by-path/pci-0000:00:09.1-usb-0:1:1.0-event
E: DEVNAME=/dev/input/event2
E: DEVPATH=/devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input3/event2
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_MODEL=USB_2.0_Camera
E: ID_MODEL_ENC=USB\x202.0\x20Camera
E: ID_MODEL_ID=a114
E: ID_PATH=pci-0000:00:09.1-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_09_1-usb-0_1_1_0
E: ID_REVISION=1017
E: ID_SERIAL=SuYin_USB_2.0_Camera_CN0317-S30C-MC03-VS-B20081113
E: ID_SERIAL_SHORT=CN0317-S30C-MC03-VS-B20081113
E: ID_TYPE=video
E: ID_USB_DRIVER=uvcvideo
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=SuYin
E: ID_VENDOR_ENC=SuYin
E: ID_VENDOR_ID=064e
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
E: USEC_INITIALIZED=7984636
E: XKBLAYOUT=us
E: XKBMODEL=pc105
P: /devices/platform/i8042/serio0/input/input0
E: DEVPATH=/devices/platform/i8042/serio0/input/input0
E: EV=120013
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_PATH=platform-i8042-serio-0
E: ID_PATH_TAG=platform-i8042-serio-0
E: ID_SERIAL=noserial
E: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
E: LED=7
E: MODALIAS=input:b0011v0001p0002eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
E: MSC=10
E: NAME="AT Raw Set 2 keyboard"
E: PHYS="isa0060/serio0/input0"
E: PRODUCT=11/1/2/ab41
E: PROP=0
E: SUBSYSTEM=input
E: USEC_INITIALIZED=6711093
P: /devices/platform/i8042/serio0/input/input0/event0
N: input/event0
S: input/by-path/platform-i8042-serio-0-event-kbd
E: BACKSPACE=guess
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-0-event-kbd
E: DEVNAME=/dev/input/event0
E: DEVPATH=/devices/platform/i8042/serio0/input/input0/event0
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_PATH=platform-i8042-serio-0
E: ID_PATH_TAG=platform-i8042-serio-0
E: ID_SERIAL=noserial
E: MAJOR=13
E: MINOR=64
E: SUBSYSTEM=input
E: USEC_INITIALIZED=7237936
E: XKBLAYOUT=us
E: XKBMODEL=pc105
P: /devices/platform/i8042/serio1/input/input2
E: DEVPATH=/devices/platform/i8042/serio1/input/input2
E: EV=7
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_PATH=platform-i8042-serio-1
E: ID_PATH_TAG=platform-i8042-serio-1
E: ID_SERIAL=noserial
E: KEY=670000 0 0 0 0 0 0 0 0
E: MODALIAS=input:b0011v0002p000Fe0000-e0,1,2,k110,111,112,115,116,r0,1,6,8,amlsfw
E: NAME="FSPPS/2 Sentelic FingerSensingPad"
E: PHYS="isa0060/serio1/input0"
E: PRODUCT=11/2/f/0
E: PROP=0
E: REL=143
E: SUBSYSTEM=input
E: USEC_INITIALIZED=6711357
P: /devices/platform/i8042/serio1/input/input2/event1
N: input/event1
S: input/by-path/platform-i8042-serio-1-event-mouse
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse
E: DEVNAME=/dev/input/event1
E: DEVPATH=/devices/platform/i8042/serio1/input/input2/event1
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_PATH=platform-i8042-serio-1
E: ID_PATH_TAG=platform-i8042-serio-1
E: ID_SERIAL=noserial
E: MAJOR=13
E: MINOR=65
E: SUBSYSTEM=input
E: USEC_INITIALIZED=7239375
P: /devices/platform/i8042/serio1/input/input2/mouse0
N: input/mouse0
S: input/by-path/platform-i8042-serio-1-mouse
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-mouse
E: DEVNAME=/dev/input/mouse0
E: DEVPATH=/devices/platform/i8042/serio1/input/input2/mouse0
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_PATH=platform-i8042-serio-1
E: ID_PATH_TAG=platform-i8042-serio-1
E: ID_SERIAL=noserial
E: MAJOR=13
E: MINOR=32
E: SUBSYSTEM=input
E: USEC_INITIALIZED=6711474
DRM Information from dmesg:
---------------------------
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: mipsel (mips64)
Kernel: Linux 3.12-1-loongson-2f
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xserver-xorg-video-siliconmotion depends on:
ii libc6 2.17-97
ii xserver-xorg-core [xorg-video-abi-15] 2:1.15.0-2
xserver-xorg-video-siliconmotion recommends no packages.
xserver-xorg-video-siliconmotion suggests no packages.
-- no debconf information
Reply to: