xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Chapuis Nicolas <ingchapuisnicolas@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Destroy laptop with pcistub
Date: Mon, 18 Nov 2013 10:43:16 -0500	[thread overview]
Message-ID: <20131118154316.GA3364@phenom.dumpdata.com> (raw)
In-Reply-To: <528808E3.3030605@gmail.com>

On Sun, Nov 17, 2013 at 01:08:03AM +0100, Chapuis Nicolas wrote:
> Hi everybody.
> For begin, congratulation for your excellent jobs...
> xen work fine on my main server.
> But I would to push with vga passtrough,
> with an dell laptop latitude E6520.
> modprobe pci-stub
> 
> echo "10de 1056" > /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
> echo "10de 0e08" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:01:00.1" > /sys/bus/pci/devices/0000\:01\:00.1/driver/unbind
> echo "0000:01:00.1" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c26" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1d.0" > /sys/bus/pci/devices/0000\:00\:1d.0/driver/unbind
> echo "0000:00:1d.0" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c2d" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1a.0" > /sys/bus/pci/devices/0000\:00\:1a.0/driver/unbind
> echo "0000:00:1a.0" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c20" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1b.0" > /sys/bus/pci/devices/0000\:00\:1b.0/driver/unbind
> echo "0000:00:1b.0" > /sys/bus/pci/drivers/pci-stub/bind
> echo "14e4 4727" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:03:00.0" > /sys/bus/pci/devices/0000\:03\:00.0/driver/unbind
> echo "0000:03:00.0" > /sys/bus/pci/drivers/pci-stub/bind
> 
> here all was right, juste 01:00.0 and 01:00.1 doesn't work
> for have screen given to domU....
> for search little more, I have try (PCI express):
> echo "8086 1c10" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1c.0" > /sys/bus/pci/devices/0000\:00\:1c.0/driver/unbind
> echo "0000:00:1c.0" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c12" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1c.1" > /sys/bus/pci/devices/0000\:00\:1c.1/driver/unbind
> echo "0000:00:1c.1" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c14" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1c.2" > /sys/bus/pci/devices/0000\:00\:1c.2/driver/unbind
> echo "0000:00:1c.2" > /sys/bus/pci/drivers/pci-stub/bind
> echo "8086 1c16" > /sys/bus/pci/drivers/pci-stub/new_id
> echo "0000:00:1c.3" > /sys/bus/pci/devices/0000\:00\:1c.3/driver/unbind
> echo "0000:00:1c.3" > /sys/bus/pci/drivers/pci-stub/bind
> 
> with Xen 4.4 and last linux kernel from :
> git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git

Please use the Linus one.
> 
> that was good until 10-15minutes,
> when an moment, .... shutdown...

Did you launch any guests?

> and never can reboot.
> no bios access, sadly, I thing the laptop is dead.

What are some of the PCI devices you passed in? As, in what
does lspci show?

Did you by any chance pass in also your disk controller?


> 
> I'm so sorry, I can have more information about kernel conf,
> just not forgetten with in begin the last debian installation server.7
> 
> thanks for heard me.
> good luck and fine jobs.

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

  reply	other threads:[~2013-11-18 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-17  0:08 Destroy laptop with pcistub Chapuis Nicolas
2013-11-18 15:43 ` Konrad Rzeszutek Wilk [this message]
2013-11-19  8:32   ` Chapuis Nicolas

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=20131118154316.GA3364@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=ingchapuisnicolas@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).