Summary: | sys-kernel/gentoo-sources-3.4.4: kernel module matrox_w1 blocks PCI device, Xorg fails to load mga_drv.so: undefined symbol: MGAStormSync | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://launchpad.net/bugs/1044797 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xorg.conf
Xorg.0.log with matroxfb in kernel and blacklisted matrox_w1 |
Description
Juergen Rose
2012-07-13 08:47:37 UTC
(In reply to comment #0) Hi Juergen, I have some points to consider: 1.) Did you follow these instructions: http://en.gentoo-wiki.com/wiki/Matrox_Card? In the case your answer was yes, please attach in this bug your xorg.conf and your Xorg.0.log (/var/log/Xorg.0.log). 2.) Please check if your kernel framebuffer interface is enabled in the device section of the xorg.conf. Option "UseFBDev" "true" 3.) If you have compiled it as a module, you should add *matroxfb* to your /etc/conf.d/modules file. Hi Mario, it seems, that I switched from matrox to vesa framebuffer going from kernel-x86-3.4.0-gentoo to kernel-x86-3.4.4-gentoo: root@cheetah:/usr/src(49)# egrep "/kernel|[^#]append=|[^#] vga=" /etc/lilo.conf ... image = /boot/kernel-genkernel-x86-3.3.1 append="video=matroxfb:vesa:0x11C domdadm dolvm real_root=/dev/md125" image = /boot/kernel-genkernel-x86-3.3.3 append="video=matroxfb:vesa:0x11C domdadm dolvm real_root=/dev/md125" image = /boot/kernel-genkernel-x86-3.3.4-gentoo append="video=matroxfb:vesa:0x11C domdadm dolvm real_root=/dev/md125" image = /boot/kernel-genkernel-x86-3.4.0-gentoo append="video=matroxfb:vesa:0x11C domdadm dolvm real_root=/dev/md125" image = /boot/kernel-genkernel-x86-3.4.4-gentoo vga=0x31B append="domdadm dolvm real_root=/dev/md125 acpi_enforce_resources=lax" image = /boot/kernel-genkernel-x86-3.5.0-gentoo vga=0x31B append="domdadm dolvm real_root=/dev/md125 acpi_enforce_resources=lax" image = /boot/kernel-genkernel-x86-3.2.14-rt24-rt24 append="video=matroxfb:vesa:0x11C" There was any reason that I switched from matroxfb to vesafb, but I forgot the reason. I will try again with matroxfb. Yes I removed FB_MATROX from linux-3.4.4: root@cheetah:/usr/src(7)# diff linux-3.4.0-gentoo/.config linux-3.4.4-gentoo/.config | grep CONFIG_FB < CONFIG_FB_DDC=m < # CONFIG_FB_BOOT_VESA_SUPPORT is not set > # CONFIG_FB_DDC is not set > CONFIG_FB_BOOT_VESA_SUPPORT=y < # CONFIG_FB_SYS_FILLRECT is not set < # CONFIG_FB_SYS_COPYAREA is not set < # CONFIG_FB_SYS_IMAGEBLIT is not set > CONFIG_FB_SYS_FILLRECT=m > CONFIG_FB_SYS_COPYAREA=m > CONFIG_FB_SYS_IMAGEBLIT=m > CONFIG_FB_DEFERRED_IO=y < # CONFIG_FB_VESA is not set > CONFIG_FB_VESA=y < CONFIG_FB_MATROX=y < # CONFIG_FB_MATROX_MILLENIUM is not set < # CONFIG_FB_MATROX_MYSTIQUE is not set < CONFIG_FB_MATROX_G=y < CONFIG_FB_MATROX_I2C=m < CONFIG_FB_MATROX_MAVEN=m > # CONFIG_FB_MATROX is not set > # CONFIG_FB_TMIO is not set I added it again to linux-3.4.5, but now X fails to start with both linux versions (with vesa and with matrox frambebuffer) with: [ 327.610] (II) LoadModule: "mga" [ 327.611] (II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so [ 327.621] (EE) Failed to load /usr/lib/xorg/modules/drivers/mga_drv.so: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: MGAStormSync [ 327.621] (II) UnloadModule: "mga" [ 327.621] (II) Unloading mga [ 327.621] (EE) Failed to load module "mga" (loader failed, 7) [ 327.621] (II) LoadModule: "evdev" [ 327.621] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 327.621] (II) Module evdev: vendor="X.Org Foundation" [ 327.621] compiled for 1.12.99.902, module version = 2.7.1 [ 327.621] Module class: X.Org XInput Driver [ 327.622] ABI class: X.Org XInput driver, version 18.0 [ 327.622] (EE) No drivers available. [ 327.622] Fatal server error: [ 327.622] no screens found [ 327.623] (EE) Created attachment 319304 [details]
xorg.conf
Created attachment 319306 [details]
Xorg.0.log with matroxfb in kernel and blacklisted matrox_w1
root@cheetah:/root(10)# gzip -cd /proc/config.gz | grep -i matrox
CONFIG_W1_MASTER_MATROX=m
CONFIG_FB_MATROX=y
# CONFIG_FB_MATROX_MILLENIUM is not set
# CONFIG_FB_MATROX_MYSTIQUE is not set
CONFIG_FB_MATROX_G=y
CONFIG_FB_MATROX_I2C=m
CONFIG_FB_MATROX_MAVEN=m
root@cheetah:/root(16)# cat /etc/modprobe.d/blacklist.conf
blacklist matrox_w1
The last issue (Comment 3) happens with xorg-server-1.12.99.902 and xorg-server-1.12.99.903. Fri Jul 13 05:09:39 2012 >>> x11-base/xorg-server-1.12.3 merge time: 13 minutes and 3 seconds. Thu Jul 26 06:57:06 2012 >>> x11-base/xorg-server-1.12.99.902 merge time: 12 minutes and 37 seconds. Thu Jul 26 16:57:54 2012 >>> x11-base/xorg-server-1.12.99.903 merge time: 12 minutes and 28 seconds. root@cheetah:/root(35)# genlop -t xf86-video-mga | tail Thu Jul 26 10:58:50 2012 >>> x11-drivers/xf86-video-mga-1.6.1 merge time: 1 minute and 57 seconds. Thu Jul 26 11:19:41 2012 >>> x11-drivers/xf86-video-mga-1.6.1 merge time: 58 seconds. Thu Jul 26 17:22:04 2012 >>> x11-drivers/xf86-video-mga-1.6.1 merge time: 57 seconds. Hey Juergen, I'm just not able to reproduce this bug so far. But I checked this message below (Xorg.0.log) and looks like that are not compiling correctly because some modules is not enabled in the xorg.conf. [ 546.412] (EE) Failed to load /usr/lib/xorg/modules/drivers/mga_drv.so: /usr/lib/xorg/modules/drivers/mga_drv.so: undefined symbol: MGAStormSync Maybe a solution is: 1.) Download the driver from the vendor 2.) Copy it to /usr/lib/xorg/modules/drivers/ 3.) Try again README: http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors/Matrox I saw an interesting post about this issue too, Please take a look in the link below: http://forums.gentoo.org/viewtopic-p-7101502.html Juergen, or other people with the same issue, if you still experience then please try the previous comment 7 and let us know whether that helped. Relevant link explaining the issue: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-mga/+bug/1044797 |