From owner-freebsd-xen@FreeBSD.ORG Tue Jan 12 20:03:50 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 0E47F1065672 for ; Tue, 12 Jan 2010 20:03:50 +0000 (UTC) (envelope-from fredmaeser@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id C11A88FC0A for ; Tue, 12 Jan 2010 20:03:49 +0000 (UTC) Received: by ywh35 with SMTP id 35so13571196ywh.7 for ; Tue, 12 Jan 2010 12:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=MzOZyNDbrdmjN4NRUySsuSYMFhaO3YV1Fcficcc6g2M=; b=SmOU1TdVH7zQmEnnWiZdpf1rDQjOP7YG4vztx5pAkTibbM37GM4A8YHZmabI7Ro6/N wuoOQoeBSpD6arRJE40Qrl04AgqSNDMrS1rGn3wWlWth0RVOBjrIPt0yIcQhy78bLWmM k+T+c3sP3nFc4C8HH3rnmM671BIYkkE0amr08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=W63A+4yOV+EvNJ2KtEwrLFNfzAWiVr5mo8EKbe9Hi3oUrNuL8fMV90qc9nZgKfETyV AweF/lh0dLs3ktdzNUZuIRJFuX6DpdjZ0fHAggxLik5H1XWLNXWrxnoZb6Mt5XX1CORO HTvXwpeuxYgYpIF/sx0b3nWgFBnwwwom9H3Rg= MIME-Version: 1.0 Sender: fredmaeser@gmail.com Received: by 10.91.19.11 with SMTP id w11mr4458132agi.114.1263325235047; Tue, 12 Jan 2010 11:40:35 -0800 (PST) Date: Tue, 12 Jan 2010 12:40:35 -0700 X-Google-Sender-Auth: e6cd54901b416ab8 Message-ID: <5903990b1001121140wa3bd39ah6c950aeace925a3@mail.gmail.com> From: Fred Crandall To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 20:03:50 -0000 Hi there all, I have a paravirtualized FreeBSD 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. The 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 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_43TTY # BSD 4.3 TTY compat (sgtty) 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 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 options IPFIREWALL # 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 The domU kernel is booted via pvgrub, ther kernel called via: kernel /boot/kernel/kernel vfs.root.mountfrom=ufs:xbd0s1a,kern.hz=100,xencons=tty Thanks all, Fred