From owner-freebsd-xen@FreeBSD.ORG Tue Jan 12 21:06:00 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 EA285106568D for ; Tue, 12 Jan 2010 21:06:00 +0000 (UTC) (envelope-from fredmaeser@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id A1E508FC20 for ; Tue, 12 Jan 2010 21:06:00 +0000 (UTC) Received: by yxe1 with SMTP id 1so21218185yxe.3 for ; Tue, 12 Jan 2010 13:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=yoO+bUb4rkc1E3NazOmkXXEfBy4i5Tls7NzTbsIpGL4=; b=a6C2vKxRYkCl15earKp4IwiUFRaFw8T9X4oFCVZed6SL8W4N/sM+cVObCMZsGlBOXg gVTPPFeTpi6xI36KmgR2/tuNi2GwuT5VrEUpfXkdHwvE44GSKdd/LzYcaWp0kNQxAFvf SzfGsVPPcgjrTzNw7TqvzFLU7+ufRgiILylZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hmvvQMJ961R5Wx+kZsvdrSvnk3eWVZDYQAgibpO51zwIfwM+lPY3ZBrt+34hvA9fbr xs6ev7L3R6wjBRsIwkCznVZ7uh4ys77mkadTMZJShmaRCOa0v/sX8GBTNtD0ktB6jKiL k7TXj3JG4fGY8A/8tSmAEIlxu8xfWq/8weqzk= MIME-Version: 1.0 Sender: fredmaeser@gmail.com Received: by 10.90.16.12 with SMTP id 12mr2171965agp.46.1263330351268; Tue, 12 Jan 2010 13:05:51 -0800 (PST) In-Reply-To: <4B4CE3A9.3030001@deployis.eu> References: <5903990b1001121140wa3bd39ah6c950aeace925a3@mail.gmail.com> <4B4CE3A9.3030001@deployis.eu> Date: Tue, 12 Jan 2010 14:05:51 -0700 X-Google-Sender-Auth: 4f4a942247ac5717 Message-ID: <5903990b1001121305h3a50e0a3q7e8eb92227112f48@mail.gmail.com> From: Fred Crandall To: =?ISO-8859-1?Q?G=F3t_Andr=E1s?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: Kernel panic and general question on stability for FreeBSD 8 xen domU 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: Tue, 12 Jan 2010 21:06:01 -0000 No. Single CPU configured for the guest. Fred On Tue, Jan 12, 2010 at 2:03 PM, G=F3t Andr=E1s wr= ote: > Hi, > > Did you give more than one vcpus to the guest? > > Regards, > > Andras > > Fred Crandall wrote: >> >> Hi there all, >> >> I have a paravirtualized =A0FreeBSD 8 xen domU going that I have >> intermittent and repeatable kernel panic issues with. This is using a >> i386 xen paravirtualized kernel from up to date (as of this morning at >> the latest try) RELENG_8 sources. Ive tried this on a linux 64bit dom0 >> and 32bit dom0 both running xen 3.4.2. =A0The kernel will panic at >> random from anywhere form a few hours to a few days with: >> >> panic: mutex vm page queue mutex not owned at >> /usr/src/sys/i386/xen/xen_machdep.c:431 >> KDB: enter: panic >> >> Fairly low load when this happens, currently the domU machine only >> runs some minor sendmail load. I can also get the domU virtual to >> kernel panic in the same way on demand by having the configure script >> run on the libgcrypt port or by running and exiting memtest. The >> libgcrypt issue being the same as described in PR 140313. >> >> Also tried running the domU kernel without SMP support, I see the same >> results. >> >> So curious if anyone has any ideas on something Im missing or if >> others see similar issues on a RELENG_8 i386 xen kernel. >> >> Below, is also my current kernel configuration. >> >> cpu =A0 =A0 =A0 =A0 =A0 =A0 I686_CPU >> ident =A0 =A0 =A0 =A0 =A0 XEN >> >> makeoptions =A0 =A0 DEBUG=3D-g =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Build ke= rnel with gdb(1) debug >> symbols >> makeoptions =A0 =A0 MODULES_OVERRIDE=3D"" >> >> options =A0 =A0 =A0 =A0 SCHED_ULE =A0 =A0 =A0 =A0 =A0 =A0 =A0 # ULE sche= duler >> options =A0 =A0 =A0 =A0 PREEMPTION =A0 =A0 =A0 =A0 =A0 =A0 =A0# Enable k= ernel thread preemption >> #options =A0 =A0 =A0 =A0SCHED_4BSD >> >> options =A0 =A0 =A0 =A0 INET =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# In= terNETworking >> options =A0 =A0 =A0 =A0 INET6 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # IPv6= communications protocols >> options =A0 =A0 =A0 =A0 SCTP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# St= ream Control Transmission >> Protocol >> options =A0 =A0 =A0 =A0 FFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Be= rkeley Fast Filesystem >> options =A0 =A0 =A0 =A0 SOFTUPDATES =A0 =A0 =A0 =A0 =A0 =A0 # Enable FFS= soft updates support >> options =A0 =A0 =A0 =A0 UFS_ACL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Suppor= t for access control lists >> options =A0 =A0 =A0 =A0 UFS_DIRHASH =A0 =A0 =A0 =A0 =A0 =A0 # Improve pe= rformance on big >> directories >> options =A0 =A0 =A0 =A0 UFS_GJOURNAL =A0 =A0 =A0 =A0 =A0 =A0# Enable gjo= urnal-based UFS >> journaling >> options =A0 =A0 =A0 =A0 NFSCLIENT =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Network = Filesystem Client >> options =A0 =A0 =A0 =A0 NFSSERVER =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Network = Filesystem Server >> options =A0 =A0 =A0 =A0 NFSLOCKD =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Networ= k Lock Manager >> options =A0 =A0 =A0 =A0 NFS_ROOT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# NFS us= able as /, requires >> NFSCLIENT >> options =A0 =A0 =A0 =A0 MSDOSFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # MSDOS = Filesystem >> options =A0 =A0 =A0 =A0 CD9660 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# ISO = 9660 Filesystem >> options =A0 =A0 =A0 =A0 PROCFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Proc= ess filesystem (requires >> PSEUDOFS) >> options =A0 =A0 =A0 =A0 PSEUDOFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Pseudo= -filesystem framework >> options =A0 =A0 =A0 =A0 GEOM_PART_GPT =A0 =A0 =A0 =A0 =A0 # GUID Partiti= on Tables. >> options =A0 =A0 =A0 =A0 GEOM_LABEL =A0 =A0 =A0 =A0 =A0 =A0 =A0# Provides= labelization >> options =A0 =A0 =A0 =A0 COMPAT_43TTY =A0 =A0 =A0 =A0 =A0 =A0# BSD 4.3 TT= Y compat (sgtty) >> options =A0 =A0 =A0 =A0 COMPAT_FREEBSD4 =A0 =A0 =A0 =A0 # Compatible wit= h FreeBSD4 >> options =A0 =A0 =A0 =A0 COMPAT_FREEBSD5 =A0 =A0 =A0 =A0 # Compatible wit= h FreeBSD5 >> options =A0 =A0 =A0 =A0 COMPAT_FREEBSD6 =A0 =A0 =A0 =A0 # Compatible wit= h FreeBSD6 >> options =A0 =A0 =A0 =A0 COMPAT_FREEBSD7 =A0 =A0 =A0 =A0 # Compatible wit= h FreeBSD7 >> options =A0 =A0 =A0 =A0 KTRACE =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# ktra= ce(1) support >> options =A0 =A0 =A0 =A0 STACK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # stac= k(9) support >> options =A0 =A0 =A0 =A0 SYSVSHM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV-s= tyle shared memory >> options =A0 =A0 =A0 =A0 SYSVMSG =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV-s= tyle message queues >> options =A0 =A0 =A0 =A0 SYSVSEM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV-s= tyle semaphores >> options =A0 =A0 =A0 =A0 _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B rea= l-time >> extensions >> options =A0 =A0 =A0 =A0 KBD_INSTALL_CDEV =A0 =A0 =A0 =A0# install a CDEV= entry in /dev >> options =A0 =A0 =A0 =A0 AUDIT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Secu= rity event auditing >> >> # Debugging for use in -current >> options =A0 =A0 =A0 =A0 KDB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # En= able kernel debugger support. >> options =A0 =A0 =A0 =A0 DDB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Su= pport DDB. >> options =A0 =A0 =A0 =A0 GDB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Su= pport remote GDB. >> options =A0 =A0 =A0 =A0 INVARIANTS =A0 =A0 =A0 =A0 =A0 =A0 =A0# Enable c= alls of extra sanity >> checking >> options =A0 =A0 =A0 =A0 INVARIANT_SUPPORT =A0 =A0 =A0 # Extra sanity che= cks of internal >> structures, required by INVARIANTS >> options =A0 =A0 =A0 =A0 WITNESS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Enable= checks to detect >> deadlocks and cycles >> options =A0 =A0 =A0 =A0 WITNESS_SKIPSPIN =A0 =A0 =A0 =A0# Don't run witn= ess on spinlocks >> for speed >> >> options =A0 =A0 =A0 =A0 PAE >> nooption =A0 =A0 =A0 =A0NATIVE >> option =A0 =A0 =A0 =A0 =A0XEN >> nodevice =A0 =A0 =A0 =A0atpic >> nodevice =A0 =A0 =A0 =A0isa >> options =A0 =A0 =A0 =A0 MCLSHIFT=3D12 >> >> options =A0 =A0 =A0 =A0 IPFIREWALL >> # To make an SMP kernel, the next two lines are needed >> #options =A0 =A0 =A0 =A0SMP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Sy= mmetric MultiProcessor Kernel >> #device =A0 =A0 =A0 =A0 apic =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# I/= O APIC >> >> >> device =A0 =A0 =A0 =A0 =A0atkbdc =A0 =A0 =A0 =A0 =A0# AT keyboard contro= ller >> device =A0 =A0 =A0 =A0 =A0atkbd =A0 =A0 =A0 =A0 =A0 # AT keyboard >> device =A0 =A0 =A0 =A0 =A0psm =A0 =A0 =A0 =A0 =A0 =A0 # PS/2 mouse >> device =A0 =A0 =A0 =A0 =A0pci >> >> device =A0 =A0 =A0 =A0 =A0kbdmux =A0 =A0 =A0 =A0 =A0# keyboard multiplex= er >> >> # Pseudo devices. >> device =A0 =A0 =A0 =A0 =A0loop =A0 =A0 =A0 =A0 =A0 =A0# Network loopback >> device =A0 =A0 =A0 =A0 =A0random =A0 =A0 =A0 =A0 =A0# Entropy device >> device =A0 =A0 =A0 =A0 =A0ether =A0 =A0 =A0 =A0 =A0 # Ethernet support >> device =A0 =A0 =A0 =A0 =A0tun =A0 =A0 =A0 =A0 =A0 =A0 # Packet tunnel. >> device =A0 =A0 =A0 =A0 =A0pty =A0 =A0 =A0 =A0 =A0 =A0 # Pseudo-ttys (tel= net etc) >> device =A0 =A0 =A0 =A0 =A0md =A0 =A0 =A0 =A0 =A0 =A0 =A0# Memory "disks" >> device =A0 =A0 =A0 =A0 =A0gif =A0 =A0 =A0 =A0 =A0 =A0 # IPv6 and IPv4 tu= nneling >> device =A0 =A0 =A0 =A0 =A0faith =A0 =A0 =A0 =A0 =A0 # IPv6-to-IPv4 relay= ing (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 =A0 =A0 =A0 =A0 =A0bpf =A0 =A0 =A0 =A0 =A0 =A0 # Berkeley packet = filter >> >> >> The domU kernel is booted via pvgrub, ther kernel called via: >> >> kernel /boot/kernel/kernel >> vfs.root.mountfrom=3Dufs:xbd0s1a,kern.hz=3D100,xencons=3Dtty >> >> >> Thanks all, >> >> Fred >> _______________________________________________ >> 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" >