[Fedora-xen] kernel-2.6.32.10-1.2.92.xendom0.fc12.x86_64 X broken on MacBook

W. Michael Petullo mike at flyn.org
Sat Apr 3 16:51:01 UTC 2010


>>> I just tried kernel-2.6.32.10-1.2.92.xendom0.fc12.x86_64 from Mike
>>> Young's repository on my MacBook and found that the video driver does
>>> not seem to work. Lspci reports:
>>>
>>> 02:00.0 VGA compatible controller: nVidia Corporation GeForce 9400M (rev b1)
  
>> What is the grub.conf entry? Have you passed nomodeset to the kernel module?
 
> I tried adding nomodeset, but that did not help by itself. I ended up
> doing the following:
> 
> 1. Add nomodeset to kernel command line.
> 
> 2. Create an xorg.conf that uses the VESA driver (X -configure, edit).
> 
> 3. Deactivate dri2 and dri in xorg.conf.
> 
> 4. Boot Xen Dom0 kernel into runlevel 3.
> 
> 5. rmmod nouveau; init 5.

I was able to simplify this a bit:

1. Add nomodeset to kernel command line.

2. Remove all xorg video drivers except the VESA driver.

3. Add "blacklist nouveau" to /etc/modprobe.d/blacklist-nouveau.conf.

4. Run "dracut --force" to rebuild initramfs with new blacklist entry.

This avoids the requirement for a hard-coded xorg.conf. I previously
had trouble keeping the nouveau module from loading. I had forgotten
that it is necessary to rebuild an initramfs to ensure the system does
not load blacklisted modules.

-- 
Mike

:wq


More information about the xen mailing list