From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel Date: Sun, 23 Aug 2009 02:56:12 +0800 Message-ID: <4A903F4C.5060605@asiasoftsea.net> References: <902537.86052.qm@web56104.mail.re3.yahoo.com> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0718478595==" Return-path: In-Reply-To: <902537.86052.qm@web56104.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: bderzhavets@yahoo.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0718478595== Content-Type: multipart/alternative; boundary="------------070803070506060608020304" This is a multi-part message in MIME format. --------------070803070506060608020304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit OMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels. Here is what I did: A. Booted computer using NVIDIA card 1. nvidia-installer --uninstall 2. yum groupremove "X Window System" 3. yum groupinstall "X Window System" 4. Xorg -configure 5. mv /root/xorg.conf.new /etc/X11/xorg.conf-nv 6. Make sure xorg.conf-nv contains "Driver 'nv'" 7. cd /etc/X11; ln -s xorg.conf-nv xorg.conf 8. Check X server is started successfully B. Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB 1. Xorg -configure 2. vi /root/xorg.conf.new 3. Remove all sections related to nv inside xorg.conf.new, leaving only intel 4. cp /root/xorg.conf.new /etc/X11/xorg.conf-intel 5. cd /etc/X11; ln -s xorg.conf-intel xorg.conf 6. Start X server. This causes garbage GUI output. 7. Add nomodeset kernel parameter to /boot/grub/grub.conf. Reboot again. 8. Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output! The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either. Hence, instead of using NVIDIA graphics cards with Xen pv_ops dom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB). Congratulate me on my success!!! -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/22/2009 10:22 PM, Boris Derzhavets wrote: > I don't have it. > I am not expecting PVOPS kernel to have Nvidia support in a > foreseeable future. > B. > > --- On *Sat, 8/22/09, Teo En Ming (Zhang Enming) > //* wrote: > > > From: Teo En Ming (Zhang Enming) > Subject: RE: [Xen-devel] Compiling nouveau open source nvidia > graphics card drivers for Xen paravirt-operations domain 0 kernel > To: bderzhavets@yahoo.com > Cc: xen-devel@lists.xensource.com > Date: Saturday, August 22, 2009, 9:52 AM > > Nope. What is the link? > > Regards, > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > > Technical Support Engineer > > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > > Republic of Singapore > Mobile: +65-9648-9798 > MSN: teoenming@hotmail.com > > ------------------------------------------------------------------------ > > *From:* Boris Derzhavets [mailto: bderzhavets@yahoo.com ] > *Sent:* Saturday, August 22, 2009 9:23 PM > *To:* enming.teo@asiasoftsea.net > *Cc:* xen-devel@lists.xensource.com > *Subject:* Re: [Xen-devel] Compiling nouveau open source nvidia > graphics card drivers for Xen paravirt-operations domain 0 kernel > > All what i do on F11:- > > # yum install vncserver > > Then put in /etc/rc.local > > export HOME=/root > vncserver :1 -geometry 1280x1024 -depth 16 > > Reboot Xen Host and connect remotely via vncviewer , using local > X-server and GDM on Xen Host. KDM fails to with Xen. > > There was one feed from Ian Campbell regarding Nvidia support by > pvops kernel, > followed by Jeremy Fitzhardinge notice. :( > > Do you remember that ? > > Boris. > P.S. GeForce 8500 GT installed on my box. > --- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /< > enming.teo@asiasoftsea.net >/* wrote: > > > From: Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > > Subject: Re: [Xen-devel] Compiling nouveau open source nvidia > graphics card drivers for Xen paravirt-operations domain 0 kernel > To: enming.teo@asiasoftsea.net > Cc: bderzhavets@yahoo.com , xen-devel@lists.xensource.com > Date: Saturday, August 22, 2009, 8:57 AM > > I might give Driver "intel" a try in xorg.conf.. Let me reboot to > Intel GMA4500 first. > > -- > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > > Technical Support Engineer > > Information Technology Department > > Asiasoft Online Pte Ltd > > Tampines Central 1 #04-01 Tampines Plaza > > Singapore 529541 > > Republic of > Singapore > > Mobile : +65-9648-9798 > > MSN:teoenming@hotmail.com > > Alma Maters: Singapore Polytechnic, > National University of > Singapore > > > > On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote: > > Dear Boris, > > Could you get X.org X server to work with Xen pv-ops dom 0 kernels > 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit? > > There is no nouveau driver for jeremy's dom 0 kernel. And when I > tried to compiled nouveau against Jeremy's kernel, it would not work. > > Although I could compile and install official nvidia drivers > against Jeremy's kernel, X server will hang and freeze. > > So I tried to use driver "nv" and "vesa" for X server when I > booted Jeremy's kernel. But X still would not work and give me a > backtrace. > > All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16. > > If I switch over to using onboard integrated graphics Intel GMA > 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 > kernel? What driver can I use in xorg.conf? > > Thank you. > > -- > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > > Technical Support Engineer > > Information Technology Department > > Asiasoft Online Pte Ltd > > Tampines Central 1 #04-01 Tampines Plaza > > Singapore 529541 > > Republic of > Singapore > > Mobile : +65-9648-9798 > > MSN:teoenming@hotmail.com > > Alma Maters: Singapore Polytechnic, > National University of > Singapore > > > > On 08/22/2009 08:44 PM, Boris Derzhavets wrote: > > > Do I need to request nouveau and tungsten developers to make ttm > and nouveau > > code Xen pvops dom 0 aware? > > Why would you expect them to take care of Xen pvops ? > > > Boris. > > --- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) > //* wrote: > > > From: Mr. Teo En Ming (Zhang Enming) > Subject: Re: [Xen-devel] Compiling nouveau open source nvidia > graphics card drivers for Xen paravirt-operations domain 0 kernel > To: enming.teo@asiasoftsea.net > Cc: xen-devel@lists.xensource.com > Date: Saturday, August 22, 2009, 8:31 AM > > Dear Pasi, > > I have compiled ttm and nouveau successfully against the > stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 > patch. > > So it seems that nouveau could not be compiled against Xen pv-ops > dom 0 kernel and could not work with it. > > Do I need to request nouveau and tungsten developers to make ttm > and nouveau code Xen pvops dom 0 aware? > > -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile : +65-9648-9798 > MSN: teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > > On 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote: > > Dear Pasi, > > > > I am now trying to compile ttm and nouveau against stock vanilla > 2.6.31-rc6 kernel with-out dom 0 patch. > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: > 08/20/09 18:06:00 > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > --------------070803070506060608020304 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
OMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels.

Here is what I did:

A.	Booted computer using NVIDIA card

1.	nvidia-installer --uninstall

2.	yum groupremove "X Window System"

3.	yum groupinstall "X Window System"

4.	Xorg -configure

5.	mv /root/xorg.conf.new /etc/X11/xorg.conf-nv

6. 	Make sure xorg.conf-nv contains "Driver 'nv'"

7.	cd /etc/X11; ln -s xorg.conf-nv xorg.conf

8.	Check X server is started successfully

B.	Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB

1.	Xorg -configure

2.	vi /root/xorg.conf.new

3.	Remove all sections related to nv inside 
xorg.conf.new, leaving only intel

4.	cp /root/xorg.conf.new /etc/X11/xorg.conf-intel

5.	cd /etc/X11; ln -s xorg.conf-intel xorg.conf

6.	Start X server. This causes garbage GUI output.

7.	Add nomodeset kernel parameter to /boot/grub/grub.conf. Reboot again.

8.	Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output!


The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either.

Hence,  instead of using NVIDIA graphics cards with Xen pv_ops dom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB). 

Congratulate me on my success!!!

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore



On 08/22/2009 10:22 PM, Boris Derzhavets wrote:
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future.
B.

--- On Sat, 8/22/09, Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net> wrote:

From: Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: bderzhavets@yahoo.com
Cc: xen-devel@lists.xensource.com
Date: Saturday, August 22, 2009, 9:52 AM

Nope. What is the link?

 

Regards,
 

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)

Technical Support Engineer

Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541

Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com


From: Boris Derzhavets [mailto: bderzhavets@yahoo.com ]
Sent: Saturday, August 22, 2009 9:23 PM
To: enming.teo@asiasoftsea.net
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel

 

All what i do on F11:-

# yum install vncserver

Then put in /etc/rc.local

export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16

Reboot Xen Host and connect remotely via vncviewer  , using local X-server and GDM on Xen Host. KDM fails to with Xen.

There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(

 Do you remember that ?

Boris.
P.S. GeForce 8500 GT installed on my box.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > wrote:


From: Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net >
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: enming.teo@asiasoftsea.net
Cc: bderzhavets@yahoo.com , xen-devel@lists.xensource.com
Date: Saturday, August 22, 2009, 8:57 AM

I might give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.

-- 

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 

Technical Support Engineer 

Information Technology Department

Asiasoft Online Pte Ltd

Tampines Central 1 #04-01 Tampines Plaza 

 Singapore 529541

 Republic of
 Singapore

 Mobile : +65-9648-9798

MSN: teoenming@hotmail.com

Alma Maters: Singapore Polytechnic,
 National University of
 Singapore



On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:

Dear Boris,

Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?

There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.

Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.

So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.

All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.

If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?

Thank you.

-- 

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 

Technical Support Engineer 

Information Technology Department

Asiasoft Online Pte Ltd

Tampines Central 1 #04-01 Tampines Plaza 

 Singapore 529541

 Republic of
 Singapore

 Mobile : +65-9648-9798

MSN: teoenming@hotmail.com

Alma Maters: Singapore Polytechnic,
 National University of
 Singapore



On 08/22/2009 08:44 PM, Boris Derzhavets wrote:

> Do I need to request nouveau and tungsten developers to make ttm and nouveau
> code Xen pvops dom 0 aware?

Why would you expect them to take care of Xen pvops ?


Boris.

--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net> wrote:


From: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: enming.teo@asiasoftsea.net
Cc: xen-devel@lists.xensource.com
Date: Saturday, August 22, 2009, 8:31 AM

Dear Pasi,

I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.

So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.

Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?

-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile : +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore



On 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>




_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

 

 


  


_______________________________________________

Xen-devel mailing list

  Xen-devel@lists.xensource.com

  http://lists.xensource.com/xen-devel

  

 

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09 18:06:00


-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel







--------------070803070506060608020304--



--===============0718478595==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

--===============0718478595==--