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

Bug#594684: xserver-xorg-video-siliconmotion: siliconmotion driver segfaults on a Lemote YeeLoong (SM712 LynxEM+)



Package: xserver-xorg-video-siliconmotion
Version: 1:1.7.4-1
Severity: important

*** Please type your report below this line ***
I use a Yemote YeeLoong MIPS-based netbook:
http://wiki.gnewsense.org/Projects/Lemote#toc17

I use the extra staging (kernel) driver sm7xx to be able to use the console
at all (See http://bugs.debian.org/594642 ).

If I have  xserver-xorg-video-siliconmotion installed on my system (either
the one from testing or the one from experimental), X crashes at startup.
I have to remove it. This allows the fbdev video driver to be used (which
works generally well).

I was not able to get any useful backtrace from the core file. So I added
some debug messages to the driver. The last part of the log below with
those debug messages (befault the segfault message):

(II) SMI(0): No legacy BIOS found -- trying PCI
(EE) SMI(0): Cannot read V_BIOS (5) No such file or directory
(WW) SMI(0): VBE initialization failed: falling back to UseBIOS disabled.
(--) SMI(0): Chipset: "LynxEM+"
(==) SMI(0): Dual head disabled
(==) SMI(0): Using XAA acceleration architecture
(==) SMI(0): Tzafrir: Msg1 (SMI_PreInit)
(==) SMI(0): Tzafrir: Msg2 (SMI_PreInit)
(==) SMI(0): Tzafrir: Starting (SMI_MapMmio)
(==) SMI(0): Tzafrir: Starting (SMI_EnableMmio)
(==) SMI(0): Tzafrir: in if() (SMI_EnableMmio)
(==) SMI(0): Tzafrir: After vgaHWSetStdFuncs (SMI_EnableMmio)

So it basically segfaults at the first outb() in SMI_EnableMmio().

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Oct 15  2008 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2182900 Jul 15 20:02 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
00:08.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev b0)

/etc/X11/xorg.conf does not exist.

Kernel version (/proc/version):
Linux version 2.6.35-trunk-loongson-2f (Debian 2.6.35-1~experimental.2) (maks@debian.org) (gcc version 4.4.5 20100728 (prerelease) (Debian 4.4.4-8) ) #1 Tue Aug 17 21:45:32 UTC 2010

Xorg X server log files on system:
-rw-r--r-- 1 root root 43204 Dec 15  2009 /var/log/Xorg.20.log
-rw-r--r-- 1 root root  7367 Dec 16  2009 /var/log/Xorg.1.log
-rw-r--r-- 1 root root  6898 Aug 28 13:50 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-sb1-bcm91250a mips Debian
Current Operating System: Linux hungmung 2.6.35-trunk-loongson-2f #1 Tue Aug 17 21:45:32 UTC 2010 mips64
Kernel command line: console=tty root=/dev/sda1 PMON_VER=LM8089-1.4.5 EC_VER=PQ1D20  machtype=lemote-yeeloong-2f-8.9inches 
Build Date: 15 July 2010  04:20:25PM
xorg-server 2:1.7.7-3 (Cyril Brulebois <kibi@debian.org>) 
Current version of pixman: 0.16.4
	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: Sat Aug 28 13:50:49 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x602160
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:0:8:0) 126f:0712:0000:0000 Silicon Motion, Inc. SM712 LynxEM+ rev 176, Mem @ 0x40000000/16777216
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched siliconmotion as autoconfigured driver 0
(==) Matched fbdev as autoconfigured driver 1
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "siliconmotion"
(II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
(II) Module siliconmotion: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.7.4
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.6.901, module version = 0.4.2
	ABI class: X.Org Video Driver, version 6.0
(II) SMI: driver (version 1.7.4) for Silicon Motion Lynx chipsets: Lynx,
	LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
(II) FBDEV: driver for framebuffer: fbdev
(II) Primary Device is: PCI 00@00:08:0
(WW) Falling back to old probe method for siliconmotion
(--) Assigning device section with no busID to primary device
(--) Chipset LynxEM+ found
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 0.1.0
	ABI class: X.Org Video Driver, version 6.0
(II) SMI(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
(==) SMI(0): Depth 24, (--) framebuffer bpp 32
(==) SMI(0): RGB weight 888
(==) SMI(0): Default visual is TrueColor
(==) SMI(0): PCI Burst enabled
(==) SMI(0): PCI Retry enabled
(==) SMI(0): Using Hardware Cursor
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Video Driver, version 6.0
(II) SMI(0): No legacy BIOS found -- trying PCI
(EE) SMI(0): Cannot read V_BIOS (5) No such file or directory
(WW) SMI(0): VBE initialization failed: falling back to UseBIOS disabled.
(--) SMI(0): Chipset: "LynxEM+"
(==) SMI(0): Dual head disabled
(==) SMI(0): Using XAA acceleration architecture

Backtrace:
0: (vdso) (4C+0xffffffff) [(nil)]
Segmentation fault at address 0x3c4

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


udev information:
P: /devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input2/event2
N: input/event2
S: char/13:66
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: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input2/event2
E: SUBSYSTEM=input
E: DEVNAME=input/event2
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_VENDOR=SuYin
E: ID_VENDOR_ENC=SuYin
E: ID_VENDOR_ID=064e
E: ID_MODEL=USB_2.0_Camera
E: ID_MODEL_ENC=USB\x202.0\x20Camera
E: ID_MODEL_ID=a114
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_BUS=usb
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uvcvideo
E: ID_PATH=pci-0000:00:09.1-usb-0:1:1.0
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: MAJOR=13
E: MINOR=66
E: DEVLINKS=/dev/char/13:66 /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

P: /devices/platform/i8042/serio0/input/input0/event0
N: input/event0
S: char/13:64
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input0/event0
E: SUBSYSTEM=input
E: DEVNAME=input/event0
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: MAJOR=13
E: MINOR=64
E: DEVLINKS=/dev/char/13:64 /dev/input/by-path/platform-i8042-serio-0-event-kbd

P: /devices/platform/i8042/serio1/input/input1/event1
N: input/event1
S: char/13:65
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input1/event1
E: SUBSYSTEM=input
E: DEVNAME=input/event1
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: MAJOR=13
E: MINOR=65
E: DEVLINKS=/dev/char/13:65 /dev/input/by-path/platform-i8042-serio-1-event-mouse

P: /devices/platform/i8042/serio1/input/input1/mouse0
N: input/mouse0
S: char/13:32
S: input/by-path/platform-i8042-serio-1-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input1/mouse0
E: SUBSYSTEM=input
E: DEVNAME=input/mouse0
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: MAJOR=13
E: MINOR=32
E: DEVLINKS=/dev/char/13:32 /dev/input/by-path/platform-i8042-serio-1-mouse

DRM Information from dmesg:


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: mipsel (mips64)

Kernel: Linux 2.6.35-trunk-loongson-2f
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-video-siliconmotion depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  xserver-xorg-core [xorg-video 2:1.7.7-3  Xorg X server - core server

xserver-xorg-video-siliconmotion recommends no packages.

xserver-xorg-video-siliconmotion suggests no packages.

-- no debconf information

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
tzafrir@debian.org    |                    | friend



Reply to: