[Bug 489846] New: pci passthrough error "non-page-aligned MMIO BAR found"
https://bugzilla.novell.com/show_bug.cgi?id=489846 Summary: pci passthrough error "non-page-aligned MMIO BAR found" Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: pgnet.trash@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 i've, rpm -qa | egrep -i "kernel-xen|^xen-3" kernel-xen-2.6.27.21-4.1 kernel-xen-base-2.6.27.21-4.1 kernel-xen-extra-2.6.27.21-4.1 xen-3.3.1_18494_03-1.8 on pci passthrough of # 04:07.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 02) with config ... pci = [ '04:07.0', '04:08.0' ] ... to an OS 11.1 DomU, launch fails with Error: pci: 0000:04:07.0: non-page-aligned MMIO BAR found. digging, it's been seen upstream, http://lists.xensource.com/archives/html/xen-users/2008-09/msg00803.html but no resolution that i've found as yet. as the report's hardware is different than mine, i'm guessing Xen's the liekly culprit? Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User jbeulich@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c1 Jan Beulich <jbeulich@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jbeulich@novell.com Resolution| |INVALID --- Comment #1 from Jan Beulich <jbeulich@novell.com> 2009-03-30 08:44:02 MDT --- Please use the "reassigndev=" command line option, which is a requirement to pass through devices that have misaligned MMIO regions (and that you can't make the BIOS assign at a page boundary). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c2 --- Comment #2 from pgnet _ <pgnet.trash@gmail.com> 2009-03-30 08:55:42 MDT --- (In reply to comment #1)
Please use the "reassigndev=" command line option,
will do ...
which is a requirement
i've clearly missed this ... hints as to where it's mentioned?
to pass through devices that have misaligned MMIO regions (and that you can't make the BIOS assign at a page boundary).
if i add reassigndev=(04:07.0) should physdev_dom0_hide=(04:07.0) also/still be used? removed? not clear about the relationship, if any, between the two. thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User jbeulich@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c3 --- Comment #3 from Jan Beulich <jbeulich@novell.com> 2009-03-30 09:09:02 MDT --- Yes, for the time being they need to both be used. 11.2 and probably SLE11SP1 will likely have a solution that doesn't require this duplication. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c4 pgnet _ <pgnet.trash@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #4 from pgnet _ <pgnet.trash@gmail.com> 2009-03-30 10:01:20 MDT --- doesn't seem to do the trick :-/ grep assign /boot/grub/menu.lst module /vmlinuz-xen root=/dev/vg0/ROOT resume=/dev/vgS/SWAP showopts console=tty0 console=xvc0,57600 elevator=cfq max_loop=64 physdev_dom0_hide=(04:07.0)(04:08.0) reassigndev=(04:07.0) reboot grep pci test.cfg pci = [ '04:07.0', '04:08.0' ] xm create -c test.cfg Error: pci: 0000:04:07.0: non-page-aligned MMIO BAR found. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User jbeulich@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c5 Jan Beulich <jbeulich@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #5 from Jan Beulich <jbeulich@novell.com> 2009-03-31 01:24:09 MDT --- Actually, first of all - I'm unclear where you found references to the physdev_dom0_hide= option. Such a kernel option simply doesn't exist to my knowledge. Hiding is done by using either pciback's pci_devs_to_hide= option or the sysfs interface. Second, the format of the value to be passed to reassigndev= is a comma separated list of ssss:bb:dd.f or bb:dd.f (i.e. without any parentheses). The reason I closed this and 489735 as invalid is because you're not really reporting bugs here - you're rather asking support style questions, which you should be using mailing lists for (not sure if there are any other support methods for OpenSuSE products). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c6 --- Comment #6 from pgnet _ <pgnet.trash@gmail.com> 2009-03-31 08:44:21 MDT --- (In reply to comment #5)
Actually, first of all - I'm unclear where you found references to the physdev_dom0_hide= option. Such a kernel option simply doesn't exist to my knowledge. Hiding is done by using either pciback's pci_devs_to_hide= option or the sysfs interface.
hm. that's news to me, http://wiki.xensource.com/xenwiki/XenBooting?highlight=%28physdev_dom0_hide%... "physdev_dom0_hide=List of PCI slots to hide from domain 0, Format is '(%02x:%02x.%1x)(%02x:%02x.%1x)' and so on." although, my cp-n-paste mistake above -- it's on the kernel line ... afaict, there's no mention whatsoever of "pci_devs_to_hide" @ the xen site can you share where that's documented?
Second, the format of the value to be passed to reassigndev= is a comma separated list of ssss:bb:dd.f or bb:dd.f (i.e. without any parentheses).
ok, thanks. again, no mention on the xen wiki or opensuse sites. did find, http://article.gmane.org/gmane.comp.emulators.xen.devel/56940 docs?
The reason I closed this and 489735 as invalid is because you're not really reporting bugs here - you're rather asking support style questions, which you should be using mailing lists for (not sure if there are any other support methods for OpenSuSE products).
well, ok. i'll disagree -- reporting reproducible "errors" that are a result of not-implementing un-documented parameters seems legitimate as a bug -- not a support issue; but my opinion doesn't matter here. thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User jbeulich@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c7 --- Comment #7 from Jan Beulich <jbeulich@novell.com> 2009-03-31 08:58:03 MDT ---
afaict, there's no mention whatsoever of "pci_devs_to_hide" @ the xen site
can you share where that's documented?
I'm looking at the sources. But sorry, the module option really just is hide= (but still doesn't belong on the´kernel line for our kernels). Perhaps the doc you're looking at is stale... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c8 --- Comment #8 from pgnet _ <pgnet.trash@gmail.com> 2009-03-31 09:22:11 MDT --- thanks
Perhaps the doc you're looking at is stale...
that's a completely _different_ discussion about xen, xen on opensuse & xen on sles ;-) anyway, made the recommended changes; now getting a crash. per suggestion, reticently moving this to the lists, http://lists.opensuse.org/opensuse-virtual/2009-03/msg00015.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User jbeulich@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c9 --- Comment #9 from Jan Beulich <jbeulich@novell.com> 2009-03-31 10:02:43 MDT --- Now what you report there is indeed a bug (as any kernel crash is). I'd suggest opening a new report, attaching the full kernel and hypervisor messages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c10 --- Comment #10 from pgnet _ <pgnet.trash@gmail.com> 2009-03-31 10:10:49 MDT --- lol, and :-( -- at the same time. will do. thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=489846 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489846#c11 --- Comment #11 from pgnet _ <pgnet.trash@gmail.com> 2009-03-31 10:27:54 MDT --- done --> https://bugzilla.novell.com/show_bug.cgi?id=490770 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com