From: Bruce Edge Subject: Re: xen/master pvops kernel boot consistently hangs on i7 with xen 3.4/3.5 where 2.6.30.3 git kernel works. Date: Mon, 12 Oct 2009 06:53:29 -0700 Message-ID: <45c43ef50910120653q258e0b9en203b3c477f34fc86@mail.gmail.com> References: <45c43ef50910110722m2598f485ibff531b8fb892953@mail.gmail.com> <4D05DB80B95B23498C72C700BD6C2E0B35165D64@pdsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4D05DB80B95B23498C72C700BD6C2E0B35165D64@pdsmsx502.ccr.corp.intel.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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org No change at all. The xen console is still responding though, so I dumped the full debug output here: http://pastebin.com/d538465af ...as before (XEN) PCI add device 01:03.0 (XEN) PCI add device 01:04.0 (XEN) PCI add device 01:04.2 (XEN) PCI add device 01:04.4 (XEN) PCI add device 01:04.6 (XEN) io_apic.c:2208: (XEN) ioapic_guest_write: apic=3D0, pin=3D20, irq=3D20 (XEN) ioapic_guest_write: new_entry=3D0001a014 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2208: (XEN) ioapic_guest_write: apic=3D0, pin=3D23, irq=3D23 (XEN) ioapic_guest_write: new_entry=3D0001a017 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) io_apic.c:2208: (XEN) ioapic_guest_write: apic=3D0, pin=3D22, irq=3D22 (XEN) ioapic_guest_write: new_entry=3D0001a016 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch input to DOM0) (XEN) 'h' pressed -> showing installed handlers -Bruce On Sun, Oct 11, 2009 at 11:10 PM, Yu, Ke wrote: > Could you try to add " hpet=3Ddisable" option to dom0 command line. If it= works, then we meet the same issue. this issue is caused by the dom0 misus= ing of HPET, we are cooking a patch to fix this issue. > > Best Regards > Ke > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lis= ts.xensource.com] On Behalf Of Bruce Edge > Sent: Sunday, October 11, 2009 10:23 PM > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] xen/master pvops kernel boot consistently hangs on i= 7 with xen 3.4/3.5 where 2.6.30.3 git kernel works. > > I'm running out of things to try. I would really appreciate a clue as > to what to look at next. It's not a full lockup as the CTRL-A*3 xen > debug console still works, but the xen/master dom0 shows no signs of > life. > > The current 2.6.31.1 pvops=A0 xen/master kernel hangs when running under > Xen on a proliant the a supermicro, both X58 i7 boxes. > > I've tried booting with these xen versions (both of which work with a > 2.6.30.3 dom0) > =A0=A0 http://xenbits.xensource.com/xen-unstable.hg > =A0=A0 http://xenbits.xensource.com/xen-3.4-testing.hg > > And with the 2.6.31.1 source from both (is there a difference?) > =A0=A0 git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux= -2.6-xen > =A0=A0 git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/m= aster > > I've attached my .config, but here are the xen related settings: > CONFIG_XEN=3Dy > CONFIG_XEN_TIME_VSYSCALL=3Dy > CONFIG_XEN_MAX_DOMAIN_MEMORY=3D32 > CONFIG_XEN_SAVE_RESTORE=3Dy > CONFIG_XEN_DEBUG_FS=3Dy > CONFIG_XEN_DOM0=3Dy > CONFIG_XEN_PRIVILEGED_GUEST=3Dy > CONFIG_XEN_DOM0_PCI=3Dy > CONFIG_MICROCODE_XEN=3Dy > CONFIG_PCI_XEN=3Dy > CONFIG_XEN_BLKDEV_FRONTEND=3Dy > CONFIG_XEN_NETDEV_FRONTEND=3Dy > CONFIG_XEN_KBDDEV_FRONTEND=3Dm > CONFIG_HVC_XEN=3Dy > CONFIG_XEN_FBDEV_FRONTEND=3Dm > CONFIG_XEN_BALLOON=3Dy > CONFIG_XEN_SCRUB_PAGES=3Dy > CONFIG_XEN_DEV_EVTCHN=3Dy > CONFIG_XEN_BACKEND=3Dy > CONFIG_XEN_BLKDEV_BACKEND=3Dy > CONFIG_XEN_NETDEV_BACKEND=3Dy > CONFIG_XENFS=3Dy > CONFIG_XEN_COMPAT_XENFS=3Dy > CONFIG_XEN_SYS_HYPERVISOR=3Dy > CONFIG_XEN_XENBUS_FRONTEND=3Dy > CONFIG_XEN_S3=3Dy > CONFIG_XEN_GNTDEV=3Dy > > I'm building the kernels with make deb-pkg, installing the resultant 2 > packages, firmware and kernel, and building the initrd. I assume that > that's no different from running make; make modules_install, etc... on > the target box? > > The boot options I'm using are: > title=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Xen 3.5-unstable / Ubuntu 9.04, kerne= l 2.6.31.1 clean > uuid=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 915b8d5f-dc27-4234-adac-26382dfef7c= 2 > kernel=A0=A0=A0=A0=A0=A0=A0=A0=A0 /xen-3.5-unstable.gz com1=3D115200,8n1 = console=3Dcom1 > module=A0=A0=A0=A0=A0=A0=A0=A0=A0 /vmlinuz-2.6.31.1 > root=3DUUID=3De0a8abaf-ebb4-4a46-a968-36764653b87f ro console=3Dxvc0 > module=A0=A0=A0=A0=A0=A0=A0=A0=A0 /initrd.img-2.6.31.1 > > as well as: > > title =A0 =A0 =A0 =A0 =A0 Xen 3.5-unstable / Ubuntu 9.04, kernel 2.6.31.1 > uuid =A0 =A0 =A0 =A0 =A0 =A0915b8d5f-dc27-4234-adac-26382dfef7c2 > kernel =A0 =A0 =A0 =A0 =A0/xen-3.5-unstable.gz com1=3D115200,8n1 console= =3Dcom1 > acpi=3Dforce apic=3Don dom0_max_vcpus=3D1 dom0_vcpus_pin=3Dtrue > iommu=3D1,no-intremap,passthrough loglvl=3Dall loglvl_guest=3Dall > module =A0 =A0 =A0 =A0 =A0/vmlinuz-2.6.31.1 > root=3DUUID=3De0a8abaf-ebb4-4a46-a968-36764653b87f ro console=3Dxvc0 > pciback.hide=3D(07:00.0)(07:00.1)(07:00.2)(07:00.3)(14:00.0)(14:00.1)(17:= 00.0)(17:00.1) > acpi=3Dforce > module =A0 =A0 =A0 =A0 =A0/initrd.img-2.6.31.1 > > and everything in between. > > I've tried booting the xen/master 2.6.31.1 kernel on bare metal > instead of under xen and there's zero console output. > > Should this work, or does this kernel _only_ run under Xen? > > I can boot both xen versions, 3.5-unstable and 3.4-testing with a > 2.6.30.3 dom0. This _does_ work, but it uses the older kernel: > > title =A0 =A0 =A0 =A0 =A0 Xen 3.5-unstable / Ubuntu 9.04, kernel 2.6.30.3 > uuid =A0 =A0 =A0 =A0 =A0 =A0915b8d5f-dc27-4234-adac-26382dfef7c2 > kernel =A0 =A0 =A0 =A0 =A0/xen-3.5-unstable.gz com1=3D115200,8n1 console= =3Dcom1 > acpi=3Dforce apic=3Don dom0_max_vcpus=3D1 dom0_vcpus_pin=3Dtrue > iommu=3D1,no-intremap,passthrough loglvl=3Dall loglvl_guest=3Dall > module =A0 =A0 =A0 =A0 =A0/vmlinuz-2.6.30.3 > root=3DUUID=3De0a8abaf-ebb4-4a46-a968-36764653b87f ro console=3Dxvc0 > pciback.hide=3D(07:00.0)(07:00.1)(07:00.2)(07:00.3)(14:00.0)(14:00.1)(17:= 00.0)(17:00.1) > acpi=3Dforce > module =A0 =A0 =A0 =A0 =A0/initrd.img-2.6.30.3 > > I've tried toggling these settings in the BIOS with no effect: > - hyperthreading > - exec memory protection > - disabling all unneeded PCI cards > - APIC > > Any other BIOS items I should tweak to test? > > This is the tail of the console output before the hang > > (XEN) PCI add device 17:00.0 > (XEN) PCI add device 17:00.1 > (XEN) PCI add device 07:00.0 > (XEN) PCI add device 07:00.1 > (XEN) PCI add device 07:00.2 > (XEN) PCI add device 07:00.3 > (XEN) PCI add device 02:00.0 > (XEN) PCI add device 02:00.1 > (XEN) PCI add device 03:00.0 > (XEN) PCI add device 03:00.1 > (XEN) PCI add device 01:03.0 > (XEN) PCI add device 01:04.0 > (XEN) PCI add device 01:04.2 > (XEN) PCI add device 01:04.4 > (XEN) PCI add device 01:04.6 > (XEN) io_apic.c:2208: > (XEN) ioapic_guest_write: apic=3D0, pin=3D20, irq=3D20 > (XEN) ioapic_guest_write: new_entry=3D0001a014 > (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! > (XEN) io_apic.c:2208: > (XEN) ioapic_guest_write: apic=3D0, pin=3D23, irq=3D23 > (XEN) ioapic_guest_write: new_entry=3D0001a017 > (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! > (XEN) io_apic.c:2208: > (XEN) ioapic_guest_write: apic=3D0, pin=3D22, irq=3D22 > (XEN) ioapic_guest_write: new_entry=3D0001a016 > (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! > (XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch > input to DOM0) > > The CTRL-a does still work. What output from that can I post to help debu= g this? > > I've already posted the full boot output so I'll resist the temptation > to include it again. > > -Bruce >