All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: "Teo En Ming (Zhang Enming)" <enming.teo@asiasoftsea.net>
Cc: xen-devel@lists.xensource.com, weidong.han@intel.com,
	'Cox'' <alan@lxorguk.ukuu.org.uk>
Subject: Re: Xen Paravirt Operations Domain 0 SerialConsoleProblem
Date: Tue, 25 Aug 2009 09:53:15 +0300	[thread overview]
Message-ID: <20090825065315.GY19938@edu.joroinen.fi> (raw)
In-Reply-To: <1F4E3F4BD3164AFAAB52792B1062E7C8@ASOITIS16>

On Tue, Aug 25, 2009 at 12:17:19PM +0800, Teo En Ming (Zhang Enming) wrote:
> Hi Weidong,
>  
> I understood now. http://xenbits.xensource.com/xen-3.4-testing.hg and
> http://xenbits.xensource.com/xen-unstable.hg are completely different
> mercurial branches. I am using xen 3.4.1 testing which means my code won't
> have the pci-stub patch you have attached.
>  
> When I go back home after work I will do:
>  
> # cd /usr/src
> # hg clone http://xenbits.xensource.com/xen-unstable.hg
> # cd xen-unstable.hg
> # make xen
> # make install-xen
> # make tools
> # make install-tools
>  
> Is xen-unstable very unstable?

It shouldn't be _very_ unstable, but you might see some problems every now
and then.

> Will it work with my pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6?

Yes.

>  I believe I only have to download, compile and
> install xen-unstable right? I shouldn't have to do anything with my current
> pv-ops dom 0 kernels?
> 

Yes, that's true.

-- Pasi
 
> Thank you.
>  
> 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: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.
> xensource.com] On Behalf Of Teo En Ming (Zhang Enming)
> Sent: Tuesday, August 25, 2009 11:51 AM
> To: weidong.han@intel.com
> Cc: 'Alan; xen-devel@lists.xensource.com; 'Cox''
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0
> SerialConsoleProblem
> 
> 
> Hi Weidong, 
>  
> I have taken a look at the patch code you have attached. The date is 6 July
> 2009, which is one month older than the Xen 3.4.1 testing code that I am
> currently using.
>  
> Is this pci-stub patch already in Xen 3.4.1 testing changeset of 6 August
> 2009? If it is not merged into Xen 3.4.1 6 Aug 2009 changeset, then I would
> have to patch my current Xen code using this patch file.
>  
> 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: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.
> xensource.com] On Behalf Of Han, Weidong
> Sent: Tuesday, August 25, 2009 11:28 AM
> To: 'enming.teo@asiasoftsea.net'
> Cc: 'Alan; 'xen-devel@lists.xensource.com'; Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0
> SerialConsoleProblem
> 
> 
> I attached it for you.
>  
> Regards,
> Weidong
> 
>   _____  
> 
> From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] 
> Sent: 2009?$BG/8?$B7n25?$BF| 11:07
> To: Han, Weidong
> Cc: xen-devel@lists.xensource.com; 'Alan Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0
> SerialConsoleProblem
> 
> 
> Dear Weidong,
>  
> I am using Xen 3.4.1 testing with pv-ops dom 0 kernels 2.6.30-rc3 or
> 2.6.31-rc6.
>  
> May I know where I can download changeset 19893 source code and patch Xen 3.
> 4.1 testing with this changeset?
>  
> Thank you.
>  
> 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: Han, Weidong [mailto:weidong.han@intel.com] 
> Sent: Tuesday, August 25, 2009 11:03 AM
> To: 'enming.teo@asiasoftsea.net'
> Cc: 'xen-devel@lists.xensource.com'; 'Alan Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0
> SerialConsoleProblem
> 
> 
> Xen 3.4.1 doesn't include the changeset 19893, so it cannot work for you.
> Basically, I use 2.6.18 dom0 with Xen 3.4, and use pv-ops dom 0 with
> xen-unstable. Anyway, you can port the c/s 19893 to your code, and try
> again.
>  
> Regards,
> Weidong
> 
>   _____  
> 
> From: Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] 
> Sent: 2009?$BG/8?$B7n25?$BF| 10:50
> To: enming.teo@asiasoftsea.net; Han, Weidong
> Cc: xen-devel@lists.xensource.com; 'Alan Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial
> ConsoleProblem
> 
> 
> Hi Weidong,
>  
> I can confirm that I am using Xen 3.4.1 with changeset of 6 August 2009.
> However, I can't remember the changeset number. I need to get home after
> work to find out.
>  
> 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: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.
> xensource.com] On Behalf Of Teo En Ming (Zhang Enming)
> Sent: Tuesday, August 25, 2009 10:41 AM
> To: weidong.han@intel.com
> Cc: xen-devel@lists.xensource.com; 'Alan Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial
> ConsoleProblem
> 
> 
> Hi Weidong,
>  
> I believe I am using Xen 3.4.1 with changeset of 6 August 2009. I can't
> remember the changeset number. I will check and get back to you later.
>  
> Thank you.
>  
> 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: Han, Weidong [mailto:weidong.han@intel.com] 
> Sent: Tuesday, August 25, 2009 10:04 AM
> To: 'enming.teo@asiasoftsea.net'
> Cc: 'pasik@iki.fi'; 'xen-devel@lists.xensource.com'; 'Alan Cox'
> Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial
> ConsoleProblem
> 
> 
> What version of Xen are you using? Make sure after c/s 19893, which enables
> pci-stub to hide devices for assignment.
>  
> It works fine for me.
>  
>  > When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says
> permission denied
> It doesn't matter. It is the same to pciback. You will get the same message
> when you do "cat /sys/bus/pci/drivers/pciback/new_id".
>  
> After use commands to hide 01:00.0 with pci-stub, can you see it use command
> 'ls /sys/bus/pci/drivers/pci-stub/'?
>  
>  
> Regards,
> Weidong
>  
> 
> 
>   _____  
> 
> From: Mr. Teo En Ming (Zhang Enming) [mailto:enming.teo@asiasoftsea.net] 
> Sent: 2009?$BG/8?$B7n25?$BF| 3:33
> To: enming.teo@asiasoftsea.net
> Cc: pasik@iki.fi; xen-devel@lists.xensource.com; Alan Cox; Han, Weidong
> Subject: Re: [Xen-devel] Xen Paravirt Operations Domain 0 Serial Console
> Problem
> 
> 
> I find that following the instructions here at Xen Wiki VtdHowTo don't work:
> 
> 
> 
> Binding Devices to pci-stub
> 
> If using pv-ops dom0, also can use pci-stub to hide devices for assignment
> (example PCI device 01:00.0) * lspci -n * locate the entry for device 01:00.
> 0 and note down the vendor & device ID 8086:10b9 . 
> 
> ...
> 
> 01:00.0 0200: 8086:10b9 (rev 06)
> 
> ...
> 
> 
> * then use following commands to hide it: . 
> 
> echo "8086 10b9" > /sys/bus/pci/drivers/pci-stub/new_id
> 
> echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
> 
> echo "0000:01:00.0" > /sys/bus/pci/drivers/pci-stub/bind
> 
> 
> 
> When I tried to "cat /sys/bus/pci/drivers/pci-stub/new_id", it says
> permission denied.
> 
> 
> 
> My NVIDIA graphics card is using BDF 01:00.0. When I change directory to 
> 
> /sys/bus/pci/devices/0000:01:00.0/, sub-directory driver is not found at
> all.
> 
> 
> 
> Then when I put in pci = [ '01:00.0' ] for the Windows XP Home HVM config,
> it complains about pciback but I am using paravirt-ops dom 0 kernel.
> 
> 
> 
> And when I tried the "xm pci-list-assignable-devices", nothing shows up.
> 
> 
> 
> I have already specified iommu=1 in grub.
> 
> 
> 
> Hope the Intel folks can assist in this matter.
> 
> 
> -- 
> 
> 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/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: 
> 
> I have both the onboard Intel GMA 4500 and the PCI Express x16 NVIDIA
> Geforce 8400 GS. 
> 
> Ng Beng Heng at the University of Michigan has done it. He's using the same
> Intel DQ45CB as me. 
> 
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09
> 18:03:00
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09
> 12:55:00
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09
> 12:55:00
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09
> 12:55:00
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.65/2322 - Release Date: 08/24/09
> 12:55:00
> 
> 

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

      reply	other threads:[~2009-08-25  6:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 16:17 Xen Paravirt Operations Domain 0 Serial Console Problem Mr. Teo En Ming (Zhang Enming)
2009-08-24 16:21 ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 16:44 ` Pasi Kärkkäinen
2009-08-24 17:34   ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 17:37     ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 17:57     ` Pasi Kärkkäinen
2009-08-24 17:59       ` Pasi Kärkkäinen
2009-08-24 18:06       ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:15         ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:28           ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:31             ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:35               ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 18:45           ` Alan Cox
2009-08-24 19:13             ` Pasi Kärkkäinen
2009-08-24 19:23               ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 19:33                 ` Mr. Teo En Ming (Zhang Enming)
2009-08-24 19:35                   ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:49                     ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:57                       ` Mr. Teo En Ming (Zhang Enming)
2009-08-25  0:59                         ` VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 Mr. Teo En Ming (Zhang Enming)
2009-08-25  2:09                           ` Han, Weidong
2009-08-25  2:44                             ` Teo En Ming (Zhang Enming)
2009-08-25  3:05                               ` Han, Weidong
2009-08-25  3:08                                 ` Teo En Ming (Zhang Enming)
2009-08-25  2:04                   ` Xen Paravirt Operations Domain 0 Serial Console Problem Han, Weidong
2009-08-25  2:40                     ` Xen Paravirt Operations Domain 0 Serial ConsoleProblem Teo En Ming (Zhang Enming)
2009-08-25  2:50                       ` Teo En Ming (Zhang Enming)
2009-08-25  3:03                         ` Han, Weidong
2009-08-25  3:06                           ` Xen Paravirt Operations Domain 0 SerialConsoleProblem Teo En Ming (Zhang Enming)
2009-08-25  3:10                             ` Teo En Ming (Zhang Enming)
2009-08-25  3:28                             ` Han, Weidong
2009-08-25  3:51                               ` Teo En Ming (Zhang Enming)
2009-08-25  4:17                                 ` Teo En Ming (Zhang Enming)
2009-08-25  6:53                                   ` Pasi Kärkkäinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090825065315.GY19938@edu.joroinen.fi \
    --to=pasik@iki.fi \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=enming.teo@asiasoftsea.net \
    --cc=weidong.han@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.