public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@sous-sol.org>
To: Dmitri Seletski <drjoms@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: wifi pci card issue in windows host.
Date: Mon, 21 Dec 2009 11:41:51 -0800	[thread overview]
Message-ID: <20091221194151.GB5979@sequoia.sous-sol.org> (raw)
In-Reply-To: <4B2FA6CE.9050203@gmail.com>

* Dmitri Seletski (drjoms@gmail.com) wrote:
> Dmitri Seletski wrote:
> > Hello folks.
> > My goal is to make my pci based network card work under windows
> > guest.(obviously using windows drivers)
> >
> > this is device i am interested in:
> > 01:07.0 Network controller: Atheros Communications Inc. AR5416
> > 802.11abgn Wireless PCI Adapter (rev 01)
> >     Subsystem: D-Link System Inc Device 3a6b
> >     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
> > Stepping- SERR+ FastB2B+ DisINTx-
> >     Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR- INTx-
> >     Latency: 168, Cache Line Size: 64 bytes
> >     Interrupt: pin A routed to IRQ 16
> >     Region 0: Memory at f9ff0000 (32-bit, non-prefetchable) [size=64K]
> >     Capabilities: [40] #00 [0000]
> >     Kernel driver in use: ath9k
> >     Kernel modules: ath9k
> >
> > uname -a: Linux dimko 2.6.32 #4 SMP PREEMPT Thu Dec 17 02:45:45 GMT 2009
> > x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

Unlikely you have an IOMMU in this box, so you won't really be able to
assign this device to the guest.

> > below commands I have executed:
> > #echo "1186 3a6b" > /sys/bus/pci/drivers/pci-stub/new_id
> > #echo 0000:01:07.0 > /sys/bus/pci/devices/0000\:01\:07.0/driver/unbind
> > #echo 0000:01:07.0 > /sys/bus/pci/drivers/pci-stub/bind
> >
> > last command gives:  "echo: write error: No such device"
> > I have "pci_stub" module loaded.

Can you show the output of lspci -nn -s 01:07.0 from the host?

thanks,
-chris

      reply	other threads:[~2009-12-21 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 16:09 wifi pci card issue in windows host Dmitri Seletski
2009-12-21 16:48 ` Dmitri Seletski
2009-12-21 19:41   ` Chris Wright [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=20091221194151.GB5979@sequoia.sous-sol.org \
    --to=chrisw@sous-sol.org \
    --cc=drjoms@gmail.com \
    --cc=kvm@vger.kernel.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