WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem

To: "'enming.teo@xxxxxxxxxxxxxxx'" <enming.teo@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: 2009年8月25日 11:03:06 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: 'Alan, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Cox' <alan@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2009年8月24日 20:05:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2970C8E516E74D28A9059B554CA01419@ASOITIS16 >
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E2E65C0C51D14833853FF87F795B9A4B@ASOITIS16 > <2970C8E516E74D28A9059B554CA01419@ASOITIS16 >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acok8b6rcOvO0w5zTtKfH4XMJJGeOwALmnJwAANLP4AAAFOq8AAAXuXg
Thread-topic: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem
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@xxxxxxxxxxxxxxx]
Sent: 2009年8月25日 10:50
To: enming.teo@xxxxxxxxxxxxxxx; Han, Weidong
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; '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@xxxxxxxxxxx


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Teo En Ming (Zhang Enming)
Sent: Tuesday, August 25, 2009 10:41 AM
To: weidong.han@xxxxxxxxx
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; '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@xxxxxxxxxxx


From: Han, Weidong [mailto:weidong.han@xxxxxxxxx]
Sent: Tuesday, August 25, 2009 10:04 AM
To: 'enming.teo@xxxxxxxxxxxxxxx'
Cc: 'pasik@xxxxxx'; 'xen-devel@xxxxxxxxxxxxxxxxxxx'; '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@xxxxxxxxxxxxxxx]
Sent: 2009年8月25日 3:33
To: enming.teo@xxxxxxxxxxxxxxx
Cc: pasik@xxxxxx; xen-devel@xxxxxxxxxxxxxxxxxxx; 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@xxxxxxxxxxx
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/25/2009 03:23 AM, Mr. Teo En Ming (Zhang Enming) wrote: [http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem , Teo En Ming (Zhang Enming)
Next by Date: [Xen-devel] RE: VGA Passthrough with Intel DQ45CB and NVIDIA Geforce 8400 GS PCI Express x16 , Han, Weidong
Previous by Thread: RE: [Xen-devel] Xen Paravirt Operations Domain 0 Serial ConsoleProblem , Teo En Ming (Zhang Enming)
Next by Thread: RE: [Xen-devel] Xen Paravirt Operations Domain 0 SerialConsoleProblem , Teo En Ming (Zhang Enming)
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy

AltStyle によって変換されたページ (->オリジナル) /