From owner-freebsd-xen@FreeBSD.ORG Sun May 9 02:54:38 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2F261065672 for ; Sun, 9 May 2010 02:54:37 +0000 (UTC) (envelope-from w3.comete@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 536A08FC0A for ; Sun, 9 May 2010 02:54:36 +0000 (UTC) Received: by wwd20 with SMTP id 20so353232wwd.13 for ; Sat, 08 May 2010 19:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=gV4yBqWVTduSkda9mrAFeDhUg9Y1BHlH9fCRhDWug8I=; b=PKe5W3u+C3D5/71FSWROJC5QIYgD/jqyEEQ/9nPGGamLtTKPrwrwt71kaN/D5DucfW QIvfsCYpJhHpBrpU6OmLh8duSRRhsemHLQbSKUOXXK55EG+Sf+riL//1HItJ/Ux3BA6d KZochkCxUlHZe59NQvrD/UzPbsUl3znYmQEHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=YFJ/UbGh4Us4waQvTaBe1pU+VKnkR/J7BR8LTznE+W2d31AXIRC7GzkZZUSUmfphpM BbyOUPb063z5n1GzkhzYUN/5Sbqd1DtBetaJS5U4C/yJPDDwjepFkR8Un9uePLXX2Fui CviSoZnXAZhgGAwAqnMlbeBKhXshN5pDISM7A= Received: by 10.227.137.205 with SMTP id x13mr2067476wbt.6.1273373675451; Sat, 08 May 2010 19:54:35 -0700 (PDT) Received: from OmegaLap (sml13-4-88-171-14-247.fbx.proxad.net [88.171.14.247]) by mx.google.com with ESMTPS id x34sm23515480wbd.4.2010.05.08.19.54.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 08 May 2010 19:54:34 -0700 (PDT) Sender: Guillaume Seigneuret From: "Guillaume Seigneuret" To: , "'Zladivliba Voskuy'" References: <002301cae6eb$d63549c0$829fdd40$@fr> <003301cae890$c1f760f0$45e622d0$@fr> <007f01caeaec$cd981cc0$68c85640$@fr> <1272965871.32660.14.camel@phoenix.blechhirn.net> <1273005018.3873.432.camel@phoenix.blechhirn.net> In-Reply-To: Date: Sun, 9 May 2010 04:54:33 +0200 Message-ID: <001201caef22$f4fc6a70$def53f50$@fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrvBPJyhhcae374QTq3m2HrKpVl2QAHcEuw Content-Language: fr Cc: freebsd-xen@freebsd.org Subject: RE: FreeBSD on Amazon EC2 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: Sun, 09 May 2010 02:54:38 -0000 HVM is hell ^^ Xen exists to avoid emulation. Cordialement, Guillaume Seigneuret Network and System Security Architect Web=A0:=A0http://www.omegacube.fr Address=A0: H=F4tel Technologique - BP 100 Technop=F4le de Ch=E2teau Gombert 13382 Marseille Cedex 13 -----Message d'origine----- De=A0: owner-freebsd-xen@freebsd.org = [mailto:owner-freebsd-xen@freebsd.org] De la part de K. Macy Envoy=E9=A0: dimanche 9 mai 2010 01:19 =C0=A0: Zladivliba Voskuy Cc=A0: freebsd-xen@freebsd.org Objet=A0: Re: FreeBSD on Amazon EC2 On Wed, May 5, 2010 at 12:39 AM, Zladivliba Voskuy = wrote: > > Well =A0the question is : may =A0FreeBSD run under EC2... really = Solaris I =A0don't care. For i386 (small instances) EC2 either needs to update to a non-antique version of Xen or support for not using linear pagetables needs to be restored to xen/pmap.c. For amd64 (medium and large instances) a new xen/pmap.c would need to be written. This isn't a great deal of work, but most users seem to be having a great deal of success with just running HVM with PV drivers. Cheers, Kip _______________________________________________ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" From owner-freebsd-xen@FreeBSD.ORG Mon May 10 11:07:10 2010 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC3AE106566B for ; Mon, 10 May 2010 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BAF5F8FC21 for ; Mon, 10 May 2010 11:07:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4AB7A9G082270 for ; Mon, 10 May 2010 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4AB7A85082268 for freebsd-xen@FreeBSD.org; Mon, 10 May 2010 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 May 2010 11:07:10 GMT Message-Id: <201005101107.o4AB7A85082268@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org 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: Mon, 10 May 2010 11:07:10 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/145664 xen [xen] mutex vm page queue mutex not owned o kern/144629 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143398 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143340 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143069 xen [xen] [panic] Xen Kernel Panic - Memory modified after o kern/141328 xen [xen] [panic] gstat exit causes kernel panic from unma o kern/140313 xen [xen] [panic] FreeBSD8 RC2 as PV domU crashes during c o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 11 problems total. From owner-freebsd-xen@FreeBSD.ORG Fri May 14 11:48:04 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 77A88106566B for ; Fri, 14 May 2010 11:48:04 +0000 (UTC) (envelope-from admin@masterito.spb.ru) Received: from webmail.majordomo.ru (webmail.majordomo.ru [78.108.81.8]) by mx1.freebsd.org (Postfix) with ESMTP id 8BBAC8FC1E for ; Fri, 14 May 2010 11:48:03 +0000 (UTC) Received: from [85.114.9.98] (helo=[192.168.0.140]) by webmail.majordomo.ru with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OCt7i-000PH8-7v for freebsd-xen@freebsd.org; Fri, 14 May 2010 15:32:10 +0400 From: masterito To: freebsd-xen@freebsd.org In-Reply-To: <1273836510.12145.10.camel@opensolaris> References: <1273836510.12145.10.camel@opensolaris> Content-Type: text/plain; charset="UTF-8" Date: Fri, 14 May 2010 15:31:46 +0400 Message-Id: <1273836706.12145.12.camel@opensolaris> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit 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 Reply-To: admin@masterito.spb.ru 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: Fri, 14 May 2010 11:48:04 -0000 Hello. I have the same problem, but other error. When I create machine with 1 CPU (vcpus=1) - all work fine, but when I create machine with 4 CPU (vcpus=4) 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=3df8cb pdptpfn=f63f4 panic: HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, &ctxt): /usr/src/sys/i386/xen/mp_machdep.c:929 cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db> --- Vasilyev Igor > The last time I checked, FreeBSD/DomU was highly buggy, and this > includes SMP support. > > I never managed to get around to figuring out what wasn't being locked > correctly. :/ > > > Adrian > > > On 1 April 2010 00:49, Guillaume Seigneuret wrote: > > Dear all, > > > > > > > > When I try to make FreeBSD work in Xen domU with multiple vcups, I got a > > kernel panic. If someone have a clue . > > > > > > > > I got the following error : > > > > > > > > WARNING: loader(8) metadata is missing! > > > > GDB: no debug ports present > > > > KDB: debugger backends: ddb > > > > KDB: current backend: ddb > > > > Copyright (c) 1992-2010 The FreeBSD Project. > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > > > The Regents of the University of California. All rights reserved. > > > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > > > FreeBSD 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 > > > > drgk...@redproxy2:/usr/obj/usr/src/sys/XEN i386 > > > > WARNING: WITNESS option enabled, expect reduced performance. > > > > Xen reported: 2526.982 MHz processor. > > > > Timecounter "ixen" frequency 1000000000 Hz quality 0 > > > > CPU: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (2526.98-MHz 686-class > > CPU) > > > > Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = > > 5 > > > > > > Features=0xbfebfbff > ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > > > > Features2=0x98e3fd > CM,SSE4.1,SSE4.2,POPCNT> > > > > AMD Features=0x28100000 > > > > AMD Features2=0x1 > > > > TSC: P-state invariant > > > > > > > > Data TLB: 4 KB pages, 4-way set associative, 64 entries > > > > 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size > > > > L2 cache: 256 kbytes, 8-way associative, 64 bytes/line > > > > real memory = 536870912 (512 MB) > > > > Physical memory chunk(s): > > > > 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) > > > > avail memory = 515362816 (491 MB) > > > > APIC: Using the MPTable enumerator. > > > > SMP: Added CPU 0 (BSP) > > > > ULE: setup cpu 0 > > > > [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) > > > > [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) > > > > Event-channel device installed. > > > > mem: > > > > Pentium Pro MTRR support enabled > > > > nfslock: pseudo-device > > > > null: > > > > random: > > > > io: > > > > crypto: > > > > Grant table initialized > > > > xenbus0: on motherboard > > > > xc0: on motherboard > > > > kernel trap 12 with interrupts disabled > > > > Fatal trap 12: page fault while in kernel mode > > > > cpuid = 0; apic id = 00 > > > > fault virtual address = 0x8 > > > > fault code = supervisor read, page not present > > > > instruction pointer = 0x21:0xc0389142 > > > > stack pointer = 0x29:0xc06c6ad8 > > > > frame pointer = 0x29:0xc06c6af0 > > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > > = DPL 1, pres 1, def32 1, gran 1 > > > > processor eflags = resume, IOPL = 0 > > > > current process = 0 (swapper) > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at intr_execute_handlers+0x12: movl 0x8(%ebx),%eax > > > > db> > > > > db> > > > > db> show alllocks > > > > Process 0 (kernel) thread 0xc044f430 (100000) > > > > exclusive sleep mutex Giant (Giant) r = 0 (0xc0450c50) locked @ > > /usr/src/sys/kern/kern_module.c:117 > > > > > > > > > > > > Or : > > > > > > > > Started domain RedProxy2 (id=23) > > > > WARNING: loader(8) metadata is missing! > > > > GDB: no debug ports present > > > > KDB: debugger backends: ddb > > > > KDB: current backend: ddb > > > > Copyright (c) 1992-2010 The FreeBSD Project. > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > > > The Regents of the University of California. All rights reserved. > > > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > > > FreeBSD 9.0-CURRENT #1: Tue Mar 23 20:38:17 CET 2010 > > > > drgk...@redproxy2:/usr/obj/usr/src/sys/XEN i386 > > > > WARNING: WITNESS option enabled, expect reduced performance. > > > > Xen reported: 2526.984 MHz processor. > > > > Timecounter "ixen" frequency 1000000000 Hz quality 0 > > > > CPU: Intel(R) Xeon(R) CPU X3440 @ 2.53GHz (2526.98-MHz 686-class > > CPU) > > > > Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = > > 5 > > > > > > Features=0xbfebfbff > ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > > > > Features2=0x98e3fd > CM,SSE4.1,SSE4.2,POPCNT> > > > > AMD Features=0x28100000 > > > > AMD Features2=0x1 > > > > TSC: P-state invariant > > > > > > > > Data TLB: 4 KB pages, 4-way set associative, 64 entries > > > > 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size > > > > L2 cache: 256 kbytes, 8-way associative, 64 bytes/line > > > > real memory = 536870912 (512 MB) > > > > Physical memory chunk(s): > > > > 0x00000000007f0000 - 0x000000001f638fff, 518295552 bytes (126537 pages) > > > > avail memory = 515362816 (491 MB) > > > > APIC: Using the MPTable enumerator. > > > > SMP: Added CPU 0 (BSP) > > > > SMP: Added CPU 1 (AP) > > > > gdtpfn=219746 pdptpfn=5cc05 > > > > panic: HYPERVISOR_vcpu_op(VCPUOP_initialise, cpu, &ctxt): > > /usr/src/sys/i386/xen/mp_machdep.c:927 > > > > cpuid = 0 > > > > KDB: enter: panic > > > > > > > > Here are the kernel informations : > > > > uname -a > > > > FreeBSD RedProxy2 9.0-CURRENT FreeBSD 9.0-CURRENT > > > > > > > > Kernel conf : > > > > # > > > > # XEN -- Kernel configuration for i386 XEN DomU > > > > # > > > > # $FreeBSD: src/sys/i386/conf/XEN,v 1.13 2010/03/13 09:21:00 ed Exp $ > > > > > > > > cpu I686_CPU > > > > ident XEN > > > > > > > > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > > > makeoptions MODULES_OVERRIDE="" > > > > > > > > options SCHED_ULE # ULE scheduler > > > > options PREEMPTION # Enable kernel thread preemption > > > > #options SCHED_4BSD > > > > > > > > options INET # InterNETworking > > > > options INET6 # IPv6 communications protocols > > > > options SCTP # Stream Control Transmission Protocol > > > > options FFS # Berkeley Fast Filesystem > > > > options SOFTUPDATES # Enable FFS soft updates support > > > > options UFS_ACL # Support for access control lists > > > > options UFS_DIRHASH # Improve performance on big directories > > > > options UFS_GJOURNAL # Enable gjournal-based UFS journaling > > > > options NFSCLIENT # Network Filesystem Client > > > > options NFSSERVER # Network Filesystem Server > > > > options NFSLOCKD # Network Lock Manager > > > > options NFS_ROOT # NFS usable as /, requires NFSCLIENT > > > > options MSDOSFS # MSDOS Filesystem > > > > options CD9660 # ISO 9660 Filesystem > > > > options PROCFS # Process filesystem (requires > > PSEUDOFS) > > > > options PSEUDOFS # Pseudo-filesystem framework > > > > options GEOM_PART_GPT # GUID Partition Tables. > > > > options GEOM_LABEL # Provides labelization > > > > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > > > > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > > > > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > > > > options COMPAT_FREEBSD7 # Compatible with FreeBSD7 > > > > options KTRACE # ktrace(1) support > > > > options STACK # stack(9) support > > > > options SYSVSHM # SYSV-style shared memory > > > > options SYSVMSG # SYSV-style message queues > > > > options SYSVSEM # SYSV-style semaphores > > > > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions > > > > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > > > > options AUDIT # Security event auditing > > > > > > > > # Debugging for use in -current > > > > options KDB # Enable kernel debugger support. > > > > options DDB # Support DDB. > > > > options GDB # Support remote GDB. > > > > options DEADLKRES # Enable the deadlock resolver > > > > options INVARIANTS # Enable calls of extra sanity checking > > > > options INVARIANT_SUPPORT # Extra sanity checks of internal > > structures, required by INVARIANTS > > > > options WITNESS # Enable checks to detect deadlocks > > and cycles > > > > options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > > > > > > > > options PAE > > > > nooption NATIVE > > > > option XEN > > > > nodevice atpic > > > > nodevice isa > > > > options MCLSHIFT=12 > > > > > > > > # To make an SMP kernel, the next two lines are needed > > > > options SMP # Symmetric MultiProcessor Kernel > > > > device apic # I/O APIC > > > > > > > > > > > > #device atkbdc # AT keyboard controller > > > > #device atkbd # AT keyboard > > > > device psm # PS/2 mouse > > > > device pci > > > > > > > > #device kbdmux # keyboard multiplexer > > > > > > > > # Pseudo devices. > > > > device loop # Network loopback > > > > device random # Entropy device > > > > device ether # Ethernet support > > > > device tun # Packet tunnel. > > > > device pty # Pseudo-ttys (telnet etc) > > > > device md # Memory "disks" > > > > device gif # IPv6 and IPv4 tunneling > > > > device faith # IPv6-to-IPv4 relaying (translation) > > > > > > > > # The `bpf' device enables the Berkeley Packet Filter. > > > > # Be aware of the administrative consequences of enabling this! > > > > # Note that 'bpf' is required for DHCP. > > > > device bpf # Berkeley packet filter > > > > > > > > device pf > > > > device pfsync > > > > device pflog > > > > device carp > > > > > > > > option IPSEC > > > > option IPSEC_ESP > > > > device crypto > > > > > > > > options ALTQ > > > > options ALTQ_CBQ # Class Bases Queuing (CBQ) > > > > options ALTQ_RED # Random Early Detection (RED) > > > > options ALTQ_RIO # RED In/Out > > > > options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) > > > > options ALTQ_PRIQ # Priority Queuing (PRIQ) > > > > options ALTQ_NOPCC # Required for SMP build > > > > > > > > Informations about the Xen domU : > > > > > > > > Xen 3.4 amd 64 with 2.6.32-3-xen-amd64 linux kernel. > > > > > > > > > > > > Thanks by advance. > > > > > > > > Regards, > > > > > > Guillaume Seigneuret > > 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> > > ---