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 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] non-page-aligned MMIO BAR found since 3.3

To: "'Christoph Langbein'" <christoph@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] non-page-aligned MMIO BAR found since 3.3
From: "Ian Carr" <icarr@xxxxxxxxxxxxxxxxx>
Date: Wed, 24 Sep 2008 11:27:25 +0100
Cc:
Delivery-date: Wed, 24 Sep 2008 03:28:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1222193860.8723.4.camel@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1222193860.8723.4.camel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckdqL466EYQjicgTN21FEEUPUQQLwAhjZpw
Hi, I am having a similar problem with a network card. I have posted here
but so far received no response.

Are you trying to pass the card through to a domU using pciback hiding?

Do I take it from your message that this same arrangement worked OK with
3.2? With the same kernel version/driver?

I have also received mail from another user, off list, with a similar
problem relating to 3.3.

I would be very grateful if you could pass on any solutions you come up
with.

All the best

Ian

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Christoph
Langbein
Sent: 23 September 2008 19:18
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] non-page-aligned MMIO BAR found since 3.3

Hello,
I've done an update from xen 3.2 to 3.3. Since 3.3 I can not use my
TV-Card anymore. The error message is "Error: pci: 0000:10:0a.0:
non-page-aligned MMIO BAR found."

lspci shows the card as 10:0a.0 Multimedia controller: Philips
Semiconductors SAA7146 (rev 01)

Any hints ?
Thanks in advance
Christoph

xm dmesg:
(XEN) Xen version 3.3.1-rc1-pre (root@xxxxxxxxx) (gcc version 4.3.1
(Debian 4.3.1-9) ) Tue Sep 23 08:34:41 CEST 2008
(XEN) Latest ChangeSet: Mon Sep 15 11:42:31 2008 +0100
18412:536475e491cc
(XEN) Command line: vtd=1 iommu=1
(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 8 MBR signatures
(XEN)  Found 6 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009dc00 (usable)
(XEN)  000000000009dc00 - 00000000000a0000 (reserved)
(XEN)  00000000000c8000 - 00000000000cc000 (reserved)
(XEN)  00000000000e0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000bff50000 (usable)
(XEN)  00000000bff50000 - 00000000bff5f000 (ACPI data)
(XEN)  00000000bff5f000 - 00000000bff60000 (ACPI NVS)
(XEN)  00000000bff60000 - 00000000c0000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec10000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ff000000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000440000000 (usable)
(XEN) System RAM: 16382MB (16776116kB)
(XEN) ACPI: RSDP 000F7060, 0024 (r2 PTLTD )
(XEN) ACPI: XSDT BFF57611, 00A4 (r1 PTLTD        XSDT    6040000  LTP
0)
(XEN) ACPI: FACP BFF5EC78, 00F4 (r3 INTEL  TUMWATER  6040000 PTL
3)
(XEN) ACPI: DSDT BFF5A8D1, 4333 (r1  Intel SEABURG   6040000 MSFT
3000000)
(XEN) ACPI: FACS BFF5FFC0, 0040
(XEN) ACPI: DMAR BFF5ED6C, 00E0 (r1 Intel  OEMDMAR   6040000 LOHR
1)
(XEN) ACPI: APIC BFF5EE4C, 00C8 (r1 PTLTD        APIC    6040000  LTP
0)
(XEN) ACPI: MCFG BFF5EF14, 003C (r1 PTLTD    MCFG    6040000  LTP
0)
(XEN) ACPI: HPET BFF5EF50, 0038 (r1 PTLTD  HPETTBL   6040000  LTP
1)
(XEN) ACPI: BOOT BFF5EF88, 0028 (r1 PTLTD  $SBFTBL$  6040000  LTP
1)
(XEN) ACPI: SPCR BFF5EFB0, 0050 (r1 PTLTD  $UCRTBL$  6040000 PTL
1)
(XEN) ACPI: SSDT BFF58F44, 025F (r1  PmRef  Cpu0Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58E9E, 00A6 (r1  PmRef  Cpu7Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58DF8, 00A6 (r1  PmRef  Cpu6Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58D52, 00A6 (r1  PmRef  Cpu5Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58CAC, 00A6 (r1  PmRef  Cpu4Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58C06, 00A6 (r1  PmRef  Cpu3Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58B60, 00A6 (r1  PmRef  Cpu2Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF58ABA, 00A6 (r1  PmRef  Cpu1Tst     3000 INTL
20050228)
(XEN) ACPI: SSDT BFF576B5, 1405 (r1  PmRef    CpuPm     3000 INTL
20050228)
(XEN) Xen heap: 13MB (14184kB)
(XEN) Domain heap initialised
(XEN) Processor #4 7:7 APIC version 20
(XEN) Processor #0 7:7 APIC version 20
(XEN) Processor #1 7:7 APIC version 20
(XEN) Processor #5 7:7 APIC version 20
(XEN) Processor #2 7:7 APIC version 20
(XEN) Processor #6 7:7 APIC version 20
(XEN) Processor #3 7:7 APIC version 20
(XEN) Processor #7 7:7 APIC version 20
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 9, version 32, address 0xfec88000, GSI 24-47
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Intel VT-d has been enabled
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2493.825 MHz processor.
(XEN) HVM: VMX enabled
(XEN) CPU0: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 1/0 eip 8c000
(XEN) CPU1: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 2/1 eip 8c000
(XEN) CPU2: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 3/5 eip 8c000
(XEN) CPU3: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 4/2 eip 8c000
(XEN) CPU4: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 5/6 eip 8c000
(XEN) CPU5: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 6/3 eip 8c000
(XEN) CPU6: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Booting processor 7/7 eip 8c000
(XEN) CPU7: Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz stepping 06
(XEN) Total of 8 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) checking TSC synchronization across 8 CPUs: passed.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 8 CPUs
(XEN) I/O virtualisation enabled
(XEN) I/O virtualisation for PV guests disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0x200000 -> 0x5c64ec
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000428000000->000000042c000000 (4075037 pages
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff805c64ec
(XEN)  Init. ramdisk: ffffffff805c7000->ffffffff81642800
(XEN)  Phys-Mach map: ffffffff81643000->ffffffff8357a0e8
(XEN)  Start info:    ffffffff8357b000->ffffffff8357b4a4
(XEN)  Page tables:   ffffffff8357c000->ffffffff8359b000
(XEN)  Boot stack:    ffffffff8359b000->ffffffff8359c000
(XEN)  TOTAL:         ffffffff80000000->ffffffff83800000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 8 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 108kB init memory.
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f8
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f8
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f8
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f8
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f0
(XEN) mm.c:676:d2 Non-privileged (2) attempt to map I/O space 000000f8

relevant part in the log:
[2008-09-23 20:13:23 4241] INFO (XendDomainInfo:1922) createDevice:
pci : {'devs': [{'slot': '0x0a', 'bus': '0x10', 'domain': '0x0000',
'uuid': 'b37fec85-b742-83b8-d83e-ce0225d0b14c', 'func': '0x0'}], 'uuid':
'dae6d6a0-1eda-759b-29f6-b921a604aad7'}
[2008-09-23 20:13:23 4241] ERROR (XendDomainInfo:2286)
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 2278, in
_initDomain
    self._createDevices()
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1924, in
_createDevices
    devid = self._createDevice(devclass, config)
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1891, in
_createDevice
    return self.getDeviceController(deviceClass).createDevice(devConfig)
  File "//usr/lib64/python/xen/xend/server/DevController.py", line 94,
in createDevice
    self.setupDevice(config)
  File "//usr/lib64/python/xen/xend/server/pciif.py", line 432, in
setupDevice
    self.setupOneDevice(domain, bus, slot, func)
  File "//usr/lib64/python/xen/xend/server/pciif.py", line 289, in
setupOneDevice
    raise VmError("pci: %s: non-page-aligned MMIO BAR found." %
dev.name)
VmError: pci: 0000:10:0a.0: non-page-aligned MMIO BAR found.
[2008-09-23 20:13:23 4241] ERROR (XendDomainInfo:467) VM start failed
Traceback (most recent call last):
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 447, in
start
    XendTask.log_progress(31, 60, self._initDomain)
  File "//usr/lib64/python/xen/xend/XendTask.py", line 209, in
log_progress
    retval = func(*args, **kwds)
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 2289, in
_initDomain
    raise exn
VmError: pci: 0000:10:0a.0: non-page-aligned MMIO BAR found.




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.1/1686 - Release Date: 24/09/2008
06:29

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.1/1686 - Release Date: 24/09/2008
06:29


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>