Bug 679394

Summary: [RV630] UMS X doesn't start in efi mode on imac 7,1
Product: [Fedora] Fedora Reporter: Raffaele Candeliere <candeliere>
Component: xorg-x11-drv-atiAssignee: Jérôme Glisse <jglisse>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: jglisse, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:modesetting]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-01 19:47:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Xorg.0.log
none
anaconda.xlog
none
Xorg.0.log when started in efi mode
none
xorg.conf
none
dmesg output (in EFI mode)
none
/var/log/messages (EFI mode)
none
"X -configure" command output
none
"X -config xorg.conf.new" command output
none
Xorg.0.log
none
Xorg.1.log
none
Xorg.2.log
none
Xorg.3.log
none
Xorg.4.log
none
Xorg.5.log
none
Xorg.9.log none

Description Raffaele Candeliere 2011-02-22 13:35:05 UTC
Description of problem:
x doesn't start in efi mode

Version-Release number of selected component (if applicable):


How reproducible:
I've been able to install fedora14 on an USB stick and to boot in via GRUB2 in EFI mode and single user mode (imac7,1 with radeon hd2600). But no matter whichever combination of boot options i pass (nomodeset, xdriver=vesa, video=efifb, ecc.) to the kernel i'm not able to start X. Upon telinit 5 all i get is a blank screen. (Also tried to set up a fbdev section in Xorg.conf but also that didn't work) 


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Matěj Cepl 2011-03-02 17:01:18 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information especially concerning your hardware we require that will be helpful in our diagnosis of this issue.

If the computer is not completely frozen when installation fails, switch to the console (Ctrl+Alt+F2) and copy /tmp/X* and /var/log/anaconda.xlog to some other place -- USB stick, some other computer via network, somewhere on the Internet, and please attach it to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

If the computer is completely useless after installation fails, you can also install Fedora with a VESA mode driver (see http://docs.fedoraproject.org/en-US/Fedora/13/html/Installation_Guide/
for more information on that). Then after successful installation you can collect /var/log/anaconda.xlog, /var/log/Xorg.0.log, and the output of the program dmesg instead.

Or you can install Fedora in a text mode completely, and then start X after that. If it fails, still /var/log/Xorg.0.log and the output of dmesg program from the failed attempt to start X would be useful.

We will review this issue again once you've had a chance to attach this information.

Thank you very much in advance.

Comment 2 Raffaele Candeliere 2011-03-05 20:37:02 UTC
Created attachment 482470 [details]
Xorg.0.log

Comment 3 Raffaele Candeliere 2011-03-05 20:43:41 UTC
Created attachment 482472 [details]
anaconda.xlog

Comment 4 Raffaele Candeliere 2011-03-05 20:55:28 UTC
Thank you for your work.
Well, my be i'm redundant, but i'd repeat that the problem is present ONLY in EFI mode. Since EFI support isn't mature in fedora, i've been forced to tamper a bit with the install process. First, i installed fedora in BIOS mode, then i compiled GRUB2 from source and installed it in the EFI system partition of my iMac. So now i've a system which starts flawlessly in BIOS mode, but with no X when started in EFI mode. I can reach a root console adding the option 'single' at the end of the grub2 kernel command line. But when in runlevel one, any command like 'X' or 'telinit 5' produces a black screen, regardless of any option i can pass to the kernel when started by grub2.
By the way, i was forgetting! If i don't pass the 'nomodeset' option the screen goes blank from the very first start.
So, for the moment i can attach the requested files for the system, when booted in BIOS mode. If you ever needed the same files with the system booted in EFI mode, please let me know.

Thanks again

Comment 5 Raffaele Candeliere 2011-03-05 22:29:45 UTC
Created attachment 482476 [details]
Xorg.0.log when started in efi mode

Xorg.0.log when started in efi mode (and kernel option 'video=efifb' passed via the command line)

Comment 6 Raffaele Candeliere 2011-03-05 22:36:56 UTC
Well, i re-tested the system in EFI mode. I start the system in single user mode, then i issue the commands 'X --configure' and 'X -config /xorg.conf.new'.
I get the usual blank screen so i hit ctrl-alt-backspace to terminate X and now i have a Xorg.0.log file. Noticeably it contains the following error:


[   401.530] (EE) RADEON(0): V_BIOS address 0xd00 out of range

Please not that before starting the kernel, in grub2, i load the bios as described in the following guide: http://grub.enbug.org/TestingOnMacbook

Comment 7 Matěj Cepl 2011-03-06 08:42:37 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please attach (all in EFI mode)

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 8 Raffaele Candeliere 2011-03-08 18:17:08 UTC
Created attachment 482971 [details]
xorg.conf

Ok. I'm attaching the xorg.conf file as generated by the "X -confgiure" command (in EFI mode) because, when in BIOS mode i use KMS, hence, have no xorg.conf file.

Comment 9 Raffaele Candeliere 2011-03-08 18:19:07 UTC
Created attachment 482972 [details]
dmesg output (in EFI mode)

... and now all the rest (in EFI mode).

Comment 10 Raffaele Candeliere 2011-03-08 18:23:11 UTC
Created attachment 482973 [details]
/var/log/messages (EFI mode)

Comment 11 Raffaele Candeliere 2011-03-08 18:24:27 UTC
Created attachment 482974 [details]
"X -configure" command output

Comment 12 Raffaele Candeliere 2011-03-08 18:28:07 UTC
Created attachment 482975 [details]
"X -config xorg.conf.new" command output

Comment 13 Raffaele Candeliere 2011-03-08 18:29:34 UTC
Created attachment 482976 [details]
Xorg.0.log

Comment 14 Raffaele Candeliere 2011-03-08 18:30:19 UTC
Created attachment 482977 [details]
Xorg.1.log

Comment 15 Raffaele Candeliere 2011-03-08 18:30:50 UTC
Created attachment 482978 [details]
Xorg.2.log

Comment 16 Raffaele Candeliere 2011-03-08 18:31:44 UTC
Created attachment 482979 [details]
Xorg.3.log

Comment 17 Raffaele Candeliere 2011-03-08 18:32:15 UTC
Created attachment 482980 [details]
Xorg.4.log

Comment 18 Raffaele Candeliere 2011-03-08 18:32:51 UTC
Created attachment 482981 [details]
Xorg.5.log

Comment 19 Raffaele Candeliere 2011-03-08 18:34:00 UTC
Created attachment 482982 [details]
Xorg.9.log

Comment 28 Raffaele Candeliere 2011-09-29 10:29:28 UTC
WOW! Hoorrray for kernel 3.1!
The new kernel (in fedora 15) boots *flawlessly* in EFI mode, even in KMS!
Splash screen, 3d accell. etc.

Great job!

Finally i can use only one boot loader for the whole system!

Thanks

Comment 29 Matěj Cepl 2011-10-01 19:47:44 UTC
Thank you for letting us know.