From owner-freebsd-xen@FreeBSD.ORG Tue Jan 12 21:41:20 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 0BD811065670 for ; Tue, 12 Jan 2010 21:41:20 +0000 (UTC) (envelope-from got.andras@deployis.eu) Received: from mail.deployis.eu (mail.deployis.eu [217.20.135.253]) by mx1.freebsd.org (Postfix) with ESMTP id 914A18FC19 for ; Tue, 12 Jan 2010 21:41:19 +0000 (UTC) Received: from bc9d0c05.mobile.pool.telekom.hu ([188.157.12.5]:44276) by mail.deployis.eu with esmtpsa (Exim 4.69 #1 (Debian)) id 1NUntr-0008UX-Pi from ; Tue, 12 Jan 2010 22:03:40 +0100 Message-ID: <4B4CE3A9.3030001@deployis.eu> Date: Tue, 12 Jan 2010 22:03:37 +0100 From: =?ISO-8859-1?Q?G=F3t_Andr=E1s?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Fred Crandall References: <5903990b1001121140wa3bd39ah6c950aeace925a3@mail.gmail.com> In-Reply-To: <5903990b1001121140wa3bd39ah6c950aeace925a3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:41:20 -0000 Hi, Did you give more than one vcpus to the guest? Regards, Andras Fred Crandall wrote: > 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 > _______________________________________________ > 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"