[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Upgrade XEN to 4.0.1: AMD-Vi: IOMMU not found! - I/O virtualisation disabled (PCI-Passthrought didn't work again)



Hello XEN-User,

I have made a system upgrade debian lenny to squeeze it works fine. So Xen also get upgraded to 4.0.1. Some fixes with config (sda -> xvda, tty -> hvc0 ...) and everything works well for DomUs.

One thing left: One DomU uses bevore upgrade pcipassthrough and everything worked well. After the upgrade it doesn't - because pcipassthrough could not get the pci-device from Dom0 to DomU. After creation of the DomU there is the error: Error: pci: PCI Backend and pci-stub don't own device 0000:00:16.0

# lspci
...
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
...

#lsusb
...
Bus 007 Device 002: ID 0fce:d039 Sony Ericsson Mobile Communications AB K800i (phone mode)
...

config-file:
kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
memory      = '1024'
root        = '/dev/xvda2 ro'
disk        = [
                  'file:/srv/virtual_disks/asien/swap.img,xvda1,w',
                  'file:/srv/virtual_disks/asien/disk.img,xvda2,w',
              ]
vif         = [ 'ip=10.10.10.11,mac=00:16:3E:00:00:11' ]

pci=['00:16.0', '00:16.2']


on_reboot   = 'restart'
on_crash    = 'restart'
extra = "clocksource=jiffies"



# xm pci-list-assignable-devices don't show anything.

# xm dmesg
(XEN) Xen version 4.0.1 (Debian 4.0.1-4) (waldi@xxxxxxxxxx) (gcc version 4.4.5 (Debian 4.4.5-8) ) Thu Jun  9 18:38:03 UTC 2011
(XEN) Bootloader: GRUB 1.98+20100804-14+squeeze1
(XEN) Command line: placeholder dom0_mem=600M iommu=1 iommu_inclusive_mapping=1 amd-iommu-debug pciback.hide=(00:16.0)(00:16.2)
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 3 MBR signatures
(XEN)  Found 3 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 0000000000098800 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000d7df0000 (usable)
(XEN)  00000000d7df0000 - 00000000d7df1000 (ACPI NVS)
(XEN)  00000000d7df1000 - 00000000d7e00000 (ACPI data)
(XEN)  00000000d7e00000 - 00000000d7f00000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000220000000 (usable)
(XEN) ACPI: RSDP 000F6300, 0014 (r0 GBT   )
(XEN) ACPI: RSDT D7DF1000, 0040 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: FACP D7DF1080, 0074 (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: DSDT D7DF1100, 771A (r1 GBT    GBTUACPI     1000 MSFT  3000000)
(XEN) ACPI: FACS D7DF0000, 0040
(XEN) ACPI: MSDM D7DF8900, 0055 (r3 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: HPET D7DF8980, 0038 (r1 GBT    GBTUACPI 42302E31 GBTU       98)
(XEN) ACPI: MCFG D7DF89C0, 003C (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: TAMG D7DF8A00, 0202 (r1 GBT    GBT   B0 5455312E BG 53450101)
(XEN) ACPI: APIC D7DF8840, 00BC (r1 GBT    GBTUACPI 42302E31 GBTU  1010101)
(XEN) ACPI: SSDT D7DF8C80, 08BC (r1 AMD    POWERNOW        1 AMD         1)
(XEN) System RAM: 8061MB (8255008kB)
(XEN) Domain heap initialised
(XEN) Processor #0 0:5 APIC version 16
(XEN) Processor #1 0:5 APIC version 16
(XEN) Processor #2 0:5 APIC version 16
(XEN) Processor #3 0:5 APIC version 16
(XEN) IOAPIC[0]: apic_id 8, version 33, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1812.206 MHz processor.
(XEN) Initing memory sharing.
(XEN) HVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) AMD-Vi: IOMMU not found!
(XEN) I/O virtualisation disabled

(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) TSC is reliable, synchronization unnecessary
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) do_IRQ: 1.231 No irq handler for vector (irq -1)
(XEN) do_IRQ: 2.231 No irq handler for vector (irq -1)
(XEN) do_IRQ: 3.231 No irq handler for vector (irq -1)
(XEN) Brought up 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1708000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000214000000->0000000218000000 (137216 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81708000
(XEN)  Init. ramdisk: ffffffff81708000->ffffffff8343ac00
(XEN)  Phys-Mach map: ffffffff8343b000->ffffffff83567000
(XEN)  Start info:    ffffffff83567000->ffffffff835674b4
(XEN)  Page tables:   ffffffff83568000->ffffffff83587000
(XEN)  Boot stack:    ffffffff83587000->ffffffff83588000
(XEN)  TOTAL:         ffffffff80000000->ffffffff83800000
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1708000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000214000000->0000000218000000 (137216 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81708000
(XEN)  Init. ramdisk: ffffffff81708000->ffffffff8343ac00
(XEN)  Phys-Mach map: ffffffff8343b000->ffffffff83567000
(XEN)  Start info:    ffffffff83567000->ffffffff835674b4
(XEN)  Page tables:   ffffffff83568000->ffffffff83587000
(XEN)  Boot stack:    ffffffff83587000->ffffffff83588000
(XEN)  TOTAL:         ffffffff80000000->ffffffff83800000
(XEN)  ENTRY ADDRESS: ffffffff81531200
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Scrubbing Free RAM: .........................................................................done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 176kB init memory.
(XEN) traps.c:2308:d0 Domain attempted WRMSR 00000000c0010004 from 00001b91:511490c8 to 00000000:00000000.
(XEN) traps.c:2308:d0 Domain attempted WRMSR 00000000c0010000 from 00000308:0806373b to 00000000:00430076.



 AMD-Vi: IOMMU not found! and I/O virtualisation disabled instead of enabling virtualization in BIOS (Motherboard: Gigabyte MBAM3 AMD-880G GA-880GMA-UD2H with BIOS F1). This Version has worked under previous version of xen. Search in some threads mean to update BIOS maybe the solution. BIOS updated to f6f (newest version), but nothing change. Deactivate and save, activate and save the virtualisation in BIOS no change.

Try some settings iommu=verbose iommu=1 iommu_inclusive_mapping=1 amd-iommu-debug no change. Modul pciback is also included in  /etc/initramfs-tools/modules and used to generate new initrd.

I am searching for days - but no solution yet. Maybee someone could help me or give me a hind for this. Any idea?

kind regards

Marius Meisner


PS: CPU is vt-able: AMD Athlon II X4 600e 2.2GHz AM3 45Watt 2MB
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.