From: Sander Eikelenboom Subject: Re: pci-passthrough not working on 4.0.1-rc1-pre: mm.c:3847:d10 Bad page 00000000001beab4: ed=ffff830151210000(10), sd=ffff830151210000, caf=8000000000000002, taf=7400000000000001 Date: Wed, 21 Apr 2010 23:44:40 +0200 Message-ID: <1365246793.20100421234440@eikelenboom.it> References: <954516187.20100416170742@eikelenboom.it> <20100419141950.GA18513@phenom.dumpdata.com> <1497488369.20100419164714@eikelenboom.it> <20100419155936.GA11619@phenom.dumpdata.com> <103758397.20100419181342@eikelenboom.it> <20100419162736.GA9988@phenom.dumpdata.com> <1144401458.20100419190923@eikelenboom.it> <1934472801.20100419192319@eikelenboom.it> <20100419182839.GA8349@phenom.dumpdata.com> <1538293002.20100421155829@eikelenboom.it> <20100421150202.GA6906@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100421150202.GA6906@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org For the fun of it, with the 2.6.33 and pvgrub with kernel line iommu=3Dsoft of iommu=3D1 it fails to boot (no output from= a kernel booting) with kernel line iommu=3Doff .. it boots fine. Does something in the regular kernel around the iommu stuff get run that ea= rly in the boot that if it fails it doesn't give output, and could that be = triggered by the handing over from mini-os to the actual kernel ? Wednesday, April 21, 2010, 5:02:02 PM, you wrote: > On Wed, Apr 21, 2010 at 03:58:29PM +0200, Sander Eikelenboom wrote: >> Hi Konrad, >>=20 >> Only tested it today, but the 2.6.33 kernel i used from your tree a coup= le of weeks ago also gives the bad page in xm dmesg. > This is with the new Xen version (4.1) or the older one? Can you send me > your guest config file? What happens if you don't use pv-grub and > instead plunk the kernel and initrd straight from the guest and > set it them to 'kernel=3Dblah' and 'initrd=3Dblah2' >> The domU doesn't even boot, on console it reports the things below in th= is case it seems to go wrong on domain creation allready. >> I think port 5 refers to pci device 5 i'm trying to passthrough, without= the pci=3D['0000:05:00.0'] line the domain boots fine. > There is a bug in the pv-grub (or py-grub?) where extra > arguments (such as iommu=3Dsoft) choke the loader. Somebody else saw this > some time ago and as a work-around referenced the kernel and initrm > directly.=20 >>=20 >> Booting 'Debian GNU/Linux, vmlinuz-2.6.33' >>=20 >> lock >> root (hd1) >> Filesystem type is ext2fs, using whole disk >> kernel /boot/vmlinuz-2.6.33 root=3D/dev/xvda2 ro iommu=3Dsoft s= wiotlb=3Dforc >> e >> initrd /boot/initrd.img-2.6.33 >>=20 >> close blk: backend=3D/local/domain/0/backend/vbd/21/51713 node=3Ddevice/= vbd/51713 >> close blk: backend=3D/local/domain/0/backend/vbd/21/51714 node=3Ddevice/= vbd/51714 >> port 5 still bound! >>=20 >>=20 >> in xm dmesg: >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >> (XEN) mm.c:3847:d21 Bad page 000000000013ea83: ed=3Dffff8301f3a70000(21)= , sd=3Dffff8301f3a70000, caf=3D8000000000000002, taf=3D7400000000000001 >>=20 --=20 Best regards, Sander mailto:linux@eikelenboom.it