Package: qemu-kvm
Version: 1.1.1+dfsg-1
Severity: normal

Dear Maintainer,

I try to bind my WiFi card - Atheros ( module ath5k) - with my VM 
in dorder to present WiFi card to the VM.
I try this with PCi Passtrough.
I have read a lot on internet, and done this:

- Activate iommu with for my kernel:

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.2.0-3-amd64
root=/dev/mapper/vg01-root ro hugepages=20 intel_iommu=on quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.2.0-3-amd64
root=/dev/mapper/vg01-root ro hugepages=20 intel_iommu=on quiet
[    0.000000] Intel-IOMMU: enabled
[    0.008416] IOMMU 0: reg_base_addr fed90000 ver 1:0 cap
c90780106f0462 ecap f02076
[    1.233856] IOMMU 0 0xfed90000: using Queued invalidation
[    1.233863] IOMMU: Setting RMRR:
[    1.233875] IOMMU: Setting identity map for device 0000:00:1a.2
[0xcefd7000 - 0xcefd7fff]
[    1.233906] IOMMU: Setting identity map for device 0000:00:1a.1
[0xcefd6000 - 0xcefd6fff]
[    1.233930] IOMMU: Setting identity map for device 0000:00:1a.0
[0xcefd5000 - 0xcefd5fff]
[    1.233955] IOMMU: Setting identity map for device 0000:00:1d.2
[0xcefd4000 - 0xcefd4fff]
[    1.233979] IOMMU: Setting identity map for device 0000:00:1d.1
[0xcefd3000 - 0xcefd3fff]
[    1.234003] IOMMU: Setting identity map for device 0000:00:1d.0
[0xcefd2000 - 0xcefd2fff]
[    1.234027] IOMMU: Setting identity map for device 0000:00:1a.7
[0xcefd1000 - 0xcefd1fff]
[    1.234053] IOMMU: Setting identity map for device 0000:00:1d.7
[0xcefd0000 - 0xcefd0fff]
[    1.234071] IOMMU: Prepare 0-16MiB unity mapping for LPC
[    1.234081] IOMMU: Setting identity map for device 0000:00:1f.0 [0x0
- 0xffffff]


- Then, activate the kvm module parameter (as request in syslog and VM
  log !):

options kvm  allow_unsafe_assigned_interrupts=1

- Kernel: 3.2.0-3-amd64
- qmeu-kvm: 1.1.1+dfsg-1

But each time, impossible to boot, with this messsage in virt-manager:
Unable to read from monitor: Connection reset by peer

Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in
    cb_wrapper
    callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 66,
    in tmpcb
    callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line
    1114, in startup
    self._backend.create()
    File "/usr/lib/python2.7/dist-packages/libvirt.py",
    line 620, in create
    if ret == -1: raise libvirtError
    ('virDomainCreate() failed', dom=self)
    libvirtError: Unable to read from monitor:
  Connection reset by peer

The good new ... is that the VM boot with my ethernet NIC card !

Any idea ?

Thanks for the troubleshooting, and the response !

Rgds,

Michael Chlon




-- Package-specific info:


/proc/cpuinfo:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.31
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.47
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 4
initial apicid  : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.47
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1862.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.48
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.46
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 5
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.47
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 6
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 5
initial apicid  : 5
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.47
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz
stepping        : 5
microcode       : 0x11
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca 
sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5866.48
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (995, 'testing'), (985, 'unstable'), (500, 'stable-updates'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemu-kvm depends on:
ii  adduser             3.113+nmu3
ii  ipxe                1.0.0+git-20120202.f6840ba-3
ii  ipxe-qemu           1.0.0+git-20120202.f6840ba-3
ii  libaio1             0.3.109-3
ii  libasound2          1.0.25-4
ii  libbluetooth3       4.99-2
ii  libbrlapi0.5        4.4-4
ii  libc6               2.13-35
ii  libcurl3-gnutls     7.26.0-1
ii  libglib2.0-0        2.32.3-1
ii  libgnutls26         2.12.20-1
ii  libiscsi1           1.4.0-3
ii  libjpeg8            8d-1
ii  libncurses5         5.9-10
ii  libpng12-0          1.2.49-1
ii  libpulse0           2.0-6
ii  libsasl2-2          2.1.25.dfsg1-5
ii  libsdl1.2debian     1.2.15-5
ii  libspice-server1    0.11.0-1
ii  libtinfo5           5.9-10
ii  libusbredirparser0  0.4.3-2
ii  libuuid1            2.20.1-5.1
ii  libvdeplug2         2.3.2-4
ii  libx11-6            2:1.5.0-1
ii  python              2.7.3~rc2-1
ii  qemu-keymaps        1.1.0+dfsg-1
ii  qemu-utils          1.1.0+dfsg-1
ii  seabios             1.7.0-1
ii  vgabios             0.7a-3
ii  zlib1g              1:1.2.7.dfsg-13

Versions of packages qemu-kvm recommends:
ii  bridge-utils  1.5-4
ii  iproute       20120521-3

Versions of packages qemu-kvm suggests:
ii  debootstrap  1.0.42
ii  samba        2:3.6.6-3
ii  vde2         2.3.2-4

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to