From owner-freebsd-xen@FreeBSD.ORG Sat May 15 00:16:17 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC920106566B for ; Sat, 15 May 2010 00:16:17 +0000 (UTC) (envelope-from john.c.prather@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C33588FC08 for ; Sat, 15 May 2010 00:16:17 +0000 (UTC) Received: by pwi9 with SMTP id 9so1854418pwi.13 for ; Fri, 14 May 2010 17:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XyUsUsKhRZn6AiSLlsbA9fnsf1fGKCuw7Ja6BzsrDi4=; b=flJJWQM6vrKGZUp84lRh3gsLfT3RU/zovk0NvmwXjFb7hWI2OXYzu8E3Gf79DbqFaS ZW5s9A8jifR0HOGLNnH53mMSEFrJ+B1hx7SrbozSdc3Sy7lobNJwsu6Svxb+dJYNfQDR KP640joIuheO3Z2JAE26XBVq11BVGwCRzllvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZoXQb3QOr6s65ilH2kXWc3VEKaGFYWeN/llr+C9YMdsRy3qoVhMImF7XSxTGT6oAqb ODtAHvV7WXkrzyvdBiar14aJRCaZ9nQqeTYRDtOfq9ontGvIFDKA/OICzFsGSnb9Ehcx 5BB1nVlhrJWldz4rUhExo3MSoJhwLcz4TCGvM= MIME-Version: 1.0 Received: by 10.141.214.42 with SMTP id r42mr1247890rvq.88.1273880877524; Fri, 14 May 2010 16:47:57 -0700 (PDT) Received: by 10.140.186.8 with HTTP; Fri, 14 May 2010 16:47:57 -0700 (PDT) In-Reply-To: <1273836706.12145.12.camel@opensolaris> References: <1273836510.12145.10.camel@opensolaris> <1273836706.12145.12.camel@opensolaris> Date: Fri, 14 May 2010 16:47:57 -0700 Message-ID: From: John Prather To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Xen 8 & 9 DomU kernel panic with 2 or more virtual CPU X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 00:16:18 -0000 This seems to affect most people trying to use FreeBSD on xen i386 paravirt= . I was trying it on Linode, and got 8.0-RELEASE to actually boot by hacking MAXCPU to 1 in sys/i386/include/param.h but even then, when it was under load (building world or lots of ports) it would occasionally panic. 8-STABLE wouldn't even boot with MAXCPU hacked to 1 to avoid VCPUOP_initialise panic, throwing panic on HYPERVISOR_update_va_mapping instead. I played around a bit with hacking the sys source, but I don't know enough about XEN or even FreeBSD kernel behavior to figure out what's going wrong here. On Fri, May 14, 2010 at 4:31 AM, masterito wrote: > Hello. > > I have the same problem, but other error. > > When I create machine with 1 CPU (vcpus=3D1) - all work fine, but when > I =A0create machine with 4 CPU (vcpus=3D4) I see kernel panic on console: > > APIC: Using the MPTable enumerator. > SMP: Added CPU 0 (BSP) > SMP: Added CPU 1 (AP) > SMP: Added CPU 2 (AP) > SMP: Added CPU 3 (AP) > gdtpfn=3D3df8cb pdptpfn=3Df63f4 > panic: HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, > &ctxt): /usr/src/sys/i386/xen/mp_machdep.c:929 > cpuid =3D 0 > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at =A0 =A0 =A0kdb_enter+0x3a: movl =A0 =A0$0,kdb_why > db> > > ---