Bug 433038
| Summary: | X fails to start on IBM Power5 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | James Laska <jlaska> | ||||||||
| Component: | kernel | Assignee: | Don Zickus <dzickus> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | James Laska <jlaska> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 5.2 | CC: | dzickus, epollard, jturner | ||||||||
| Target Milestone: | beta | Keywords: | Regression | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | powerpc | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | RHBA-2008-0314 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-05-21 15:09:38 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
James Laska
2008-02-15 20:18:27 UTC
Created attachment 295035 [details]
Xorg.0.log (RHEL5.2)
Created attachment 295036 [details]
Xorg.0.log (RHEL-5-Server/U1)
Old log said: (II) FBDEV(0): hardware: MATROX (video memory: 16384kB) (II) FBDEV(0): checking modes against framebuffer device... (II) FBDEV(0): checking modes against monitor... (--) FBDEV(0): Virtual size is 640x480 (pitch 640) (**) FBDEV(0): Built-in mode "current": 25.2 MHz, 31.5 kHz, 59.9 Hz (II) FBDEV(0): Modeline "current" 25.18 640 664 760 800 480 491 493 525 -hsync -vsync -csync Which is plausble. New log says: (II) FBDEV(0): hardware: OFfb display (video memory: 300kB) (II) FBDEV(0): checking modes against framebuffer device... (II) FBDEV(0): checking modes against monitor... (--) FBDEV(0): Virtual size is 640x480 (pitch 640) (**) FBDEV(0): Built-in mode "current": 100.0 MHz, 147.1 kHz, 282.8 Hz (II) FBDEV(0): Modeline "current" 100.00 640 656 664 680 480 496 504 520 -hsync -vsync -csync which is just egregiously dumb. There's absolutely no way to do 640x480x32 in 300k of memory. This pretty firmly places blame on a kernel change. X does not attempt to tell the kernel which framebuffer driver to load, so the 5.2 kernel is clearly not loading matroxfb like it should. Reassigning to kernel. is there a system that is in the failing state that can be used for investigation? just a quick note here before I defer to Brad who is now online and looking into this. Soemthing between 5.1 and 5.2 has changed that altered the matroxfb from being built as a module from the -81 src rpm ----------------------------------------------------- config-rhel-ppc64-generic:CONFIG_FB_MATROX=y kernel-2.6.18-ppc64.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc64-debug.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc64-kdump.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc.config:CONFIG_FB_MATROX=y kernel-2.6.18-ppc-smp.config:CONFIG_FB_MATROX=y the -53 src rpm has ----------------------------------------------------- config-rhel-ppc64-generic:CONFIG_FB_MATROX=y kernel-2.6.18-ppc64.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc64-debug.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc64-kdump.config:CONFIG_FB_MATROX=m kernel-2.6.18-ppc.config:CONFIG_FB_MATROX=y kernel-2.6.18-ppc-smp.config:CONFIG_FB_MATROX=y I don't see any change there so I am not sure what to look into next. Of course there are a lot more configs for MATROX so perhaps I narroewd my search to much. Don produced a one line config file change to resolve the issue, and is working with Ed to test out the change. Adding Don to the cc list as I believe he will post the fix for this one. I will also let him explain the issue if he chooses but there was a problem with the spec file starting in the .67 build of the kernel that caused the matrox driver to not be included. I am currently testing the fix and so far the results look good. Just waiting on visual confirmation that X started without problem. Linux ibm-l4a-lp1.test.redhat.com 2.6.18-81.el5.81.el5.37332 #1 SMP Mon Feb 18 17:08:09 EST 2008 ppc64 ppc64 ppc64 GNU/Linux [root@ibm-l4a-lp1 ~]# grep MATROX /var/log/Xorg.0.log (II) FBDEV(0): hardware: MATROX (video memory: 16384kB) from the logs it picked the right driver this time. When teh driver wasn't compiled in then this line wouldn't have shown up. the brew task for this was task_1174070 Just got confirmation from James, the X server started up with workable colors. So in -67.el5 I made giant updates to the spec file to bring it up to par with the spec guidelines. :) Apparently I missed a spot and the magic rhel config file override for ppc64 didn't get applied thus causing this problem. The patch is simple and the difference can be seen with a 'make prep' (as FB_MATROX will now be enabled on ppc64.config files). Created attachment 295299 [details]
use the correct directory
VERIFIED and tested the kernel-2.6.18-82.el5 and all worked as expected :) Once this bz is moved into MODIFIED ... I'll move it to VERIFIED in 2.6.18-82.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0314.html |