Bug 823658

Summary: matrox_w1 module blocks use of mga driver
Product: [openSUSE] openSUSE 12.3 Reporter: Felix Miata <mrmazda>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P3 - Medium CC: wbauer
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Felix Miata 2013-06-06 11:36:04 UTC
Created attachment 543090 [details]
y2logs

This affects 12.3 as well.

I upgraded a G400 system from 12.2 to 12.3 with zypper, which rendered mga driver unavailable, and same for appropriate display mode. Fresh 13.1M1 installation produced this in Xorg.0.log:

(EE) mga: The PCI device 0x525 at 01@00:00:0 has a kernel module claiming it.
(EE) mga: This driver cannot operate until it has been unloaded.

After testing by 'modprobe -r matrox_w1', I got mga to work automatically in both 12.3 & 13.1 by setting 'blacklist matrox_w1' in /etc/modprobe.d/90-user.conf, setting NO_KMS_IN_INITRD="yes" in /etc/sysconfig/kernel, and rebuilding initrd.

Installation process needs to make this configuration automatically.
Comment 1 Wolfgang Bauer 2013-06-06 12:31:04 UTC
(In reply to comment #0)
> Installation process needs to make this configuration automatically.
That is only a workaround.

But it should already be fixed upstream with the following commit:
http://cgit.freedesktop.org/xorg/driver/xf86-video-mga/commit/?id=49381ff2c3aa98be5bb84494b2ad3f81a0d31bcc

Maybe this can be included in the openSUSE package?
Comment 2 Felix Miata 2013-06-06 13:07:55 UTC
comment 1 commit URL refers to this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697532
Comment 4 Wolfgang Bauer 2013-06-06 13:29:03 UTC
(In reply to comment #3)
> http://download.opensuse.org/repositories/home:/wolfi323:/branches:/openSUSE:/12.3:/Update/standard/i586/xf86-video-mga-1.6.2-2.5.1.i586.rpm
> fixes 12.3 without the comment 9 workaround

Those packages contain the patch mentioned in comment#1
Comment 5 Stefan Dirsch 2013-06-07 02:23:22 UTC
Fixed in obs://X11:XOrg and submitrequested for openSUSE:Factory (SR#177970).
Comment 6 Stefan Dirsch 2013-06-07 02:23:39 UTC
Bug closing ...
Comment 7 Wolfgang Bauer 2013-06-07 09:39:55 UTC
Reopening because 12.3 is also affected and it is not yet fixed there.
Comment 8 Wolfgang Bauer 2013-06-07 09:42:33 UTC
Mr Maintenance:
Is it ok to release this as online update?
Comment 9 Benjamin Brunner 2013-06-10 02:21:09 UTC
Wolfgang or Stefan, could one of you open a maintenancerequest with the updated 12.3 package, please? Thanks.
Comment 10 Stefan Dirsch 2013-06-10 02:25:28 UTC
Wolfang, could you take care of this? Ever did an openSUSE maintenance update?

Description:

  http://en.opensuse.org/Portal:Maintenance
Comment 11 Wolfgang Bauer 2013-06-10 05:30:05 UTC
Done, MR#178340.

@Stefan:
JFYI, you put the wrong bug number into the .changes file.
Comment 12 Bernhard Wiedemann 2013-06-10 06:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (823658) was mentioned in
https://build.opensuse.org/request/show/178339 Maintenance / 
https://build.opensuse.org/request/show/178340 Maintenance /
Comment 13 Benjamin Brunner 2013-06-10 06:02:54 UTC
Thanks both of you. Update started, see openSUSE:Maintenance:1751.
Comment 14 Stefan Dirsch 2013-06-10 06:13:20 UTC
(In reply to comment #11)
> Done, MR#178340.
> 
> @Stefan:
> JFYI, you put the wrong bug number into the .changes file.

Ouch. Fixed now. (SR#178347)
Comment 15 Stefan Dirsch 2013-06-10 06:13:46 UTC
Closing as fixed again.
Comment 16 Swamp Workflow Management 2013-06-17 06:05:28 UTC
openSUSE-RU-2013:1020-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 823658
CVE References: 
Sources used:
openSUSE 12.3 (src):    xf86-video-mga-1.6.2-2.4.1