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

2010-04-03 Thread W. Michael Petullo
>>> 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
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


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

2010-03-25 Thread Bill Davidsen
W. Michael Petullo wrote:
>>> 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)
>>>   
>  
>   
>> Have previous versions of the xendom0 kernels worked successfully?
>> 
>
> Yes. However, I have been away from Xen for a few months. I have lost
> track of which kernel I was using before. I know that it worked fine on
> my graphics card with no changes to the default (non-Xen) configuration.
>
>   
>> 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).
>
>   
In the past I have had success using nomodeset followed by either 
"video=vesafb" or "vga=XXX" for a vesa mode. These have the advantage 
(if they work) of (a) not changing the basic config so a better driver 
can be easily tested, and (b) being easily by boot line edit tested 
before making any changes which need file edits.

> 3. Deactivate dri2 and dri in xorg.conf.
>
> 4. Boot Xen Dom0 kernel into runlevel 3.
>
> 5. rmmod nouveau; init 5.
>
> This works (of course, the VESA driver is not optimal).
>
>   


-- 
Bill Davidsen 
  "We can't solve today's problems by using the same thinking we
   used in creating them." - Einstein

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


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

2010-03-25 Thread Boris Derzhavets
  Kernel been built on branch xen/stable-2.6.32.x checked out via JF's Git Repo 
does work with DRM enabled  under Xen 4.0-rc7 on F12. (Radeon HD 4650).  
Appears to be 2.6.32.10 in meantime.
  How much sense does make using rpm's based kernel with "nomodeset"
option ?

Boris

--- On Wed, 3/24/10, Jerry Amundson  wrote:

From: Jerry Amundson 
Subject: Re: [Fedora-xen] kernel-2.6.32.10-1.2.92.xendom0.fc12.x86_64 X broken 
on MacBook
To: xen@lists.fedoraproject.org
Date: Wednesday, March 24, 2010, 10:36 PM

On Wed, Mar 24, 2010 at 8:05 PM, W. Michael Petullo  wrote:
> 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)

Have previous versions of the xendom0 kernels worked successfully?

> The system boots fine until X is supposed to start. Once this happens,
> the console freezes. Otherwise, the system continues to operate and
> respond to network traffic.
>
> The last thing I seen in Xorg.0.log is "(II) NOUVEAU(0): Opened GPU
> channel 2." In a *working* configuration, the next message logged is
> "(II) NOUVEAU(0): [DRI2] Setup complete."
>
> There seems to be some related work here:
>
> http://lists.xensource.com/archives/html/xen-devel/2010-02/msg01105.html

What is the grub.conf entry? Have you passed nomodeset to the kernel module?

jerry
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen



  --
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

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

2010-03-24 Thread W. Michael Petullo
>> 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)
 
> Have previous versions of the xendom0 kernels worked successfully?

Yes. However, I have been away from Xen for a few months. I have lost
track of which kernel I was using before. I know that it worked fine on
my graphics card with no changes to the default (non-Xen) configuration.

> 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.

This works (of course, the VESA driver is not optimal).

-- 
Mike

:wq
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


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

2010-03-24 Thread Jerry Amundson
On Wed, Mar 24, 2010 at 8:05 PM, W. Michael Petullo  wrote:
> 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)

Have previous versions of the xendom0 kernels worked successfully?

> The system boots fine until X is supposed to start. Once this happens,
> the console freezes. Otherwise, the system continues to operate and
> respond to network traffic.
>
> The last thing I seen in Xorg.0.log is "(II) NOUVEAU(0): Opened GPU
> channel 2." In a *working* configuration, the next message logged is
> "(II) NOUVEAU(0): [DRI2] Setup complete."
>
> There seems to be some related work here:
>
> http://lists.xensource.com/archives/html/xen-devel/2010-02/msg01105.html

What is the grub.conf entry? Have you passed nomodeset to the kernel module?

jerry
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen