From owner-freebsd-stable@FreeBSD.ORG Tue Mar 18 22:13:50 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5F8298E for ; Tue, 18 Mar 2014 22:13:50 +0000 (UTC) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 782FB793 for ; Tue, 18 Mar 2014 22:13:50 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id b57so5242453eek.40 for ; Tue, 18 Mar 2014 15:13:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=DwWoSUbBKs/UyHf0OWegrXzynAQwY5U6bLDgj3xVieM=; b=TFV7VIY/cbHGP+YIVkn0Hd1VxU3rGiZDOJ27ErBPfHwH2ggS/ol/sSKqEwMWpk6v7Q Q4f6N333/lLePNkgeEN9/RpYR8Ld13rU9vsxlu9J8ywF+QnVBmvVZVxFCIpAXYn7GtdF 4mMN9mZ1VhMlVBKsgR8Opu8n68YIJK4N2xK1YeE8I2yYAaNp78x8KtPzxuIPxI22jiqu XFeuE/MzDV6+hCo6OCJ+vVhLCyLksVVWrijBk80zacmXx395u92LibMcWgC22LTOtiVE BgCR2OP0rZHxBofHAxOUkOQQ4kXfp2RgU3IPN3rSTvPbDT8ghmjNfA+KWNZbgv8htk+c B5hg== X-Gm-Message-State: ALoCoQkwJv993g3b2nq/mJmxRTROxRz3FOTsbR3ScdeN4RRX8KXUndMVTMqCh3yC1QFo19RXZUyf X-Received: by 10.14.95.8 with SMTP id o8mr16355792eef.15.1395179207330; Tue, 18 Mar 2014 14:46:47 -0700 (PDT) Received: from rnote.ddteam.net (100-69-133-95.pool.ukrtel.net. [95.133.69.100]) by mx.google.com with ESMTPSA id p8sm37844683eef.26.2014.03.18.14.46.45 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 18 Mar 2014 14:46:46 -0700 (PDT) Date: Tue, 18 Mar 2014 23:46:23 +0200 From: Aleksandr Rybalko To: Kevin Oberman Subject: Re: Clock issues and crash on resume on 10-Stable r263062M Message-Id: <20140318234623.61a99182.ray@ddteam.net> In-Reply-To: References: <201403181527.17100.jhb@freebsd.org> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ray@freebsd.org, FreeBSD-STABLE Mailing List , John Baldwin X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 22:13:51 -0000 On Tue, 18 Mar 2014 14:38:31 -0700 Kevin Oberman wrote: > On Tue, Mar 18, 2014 at 12:27 PM, John Baldwin > wrote: > > > On Saturday, March 15, 2014 3:44:46 pm Kevin Oberman wrote: > > > 2. The time does not update after resume. After about 2 seconds, > > > ehe > > system > > > crashes. > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 0; apic id = 00 > > > fault virtual address = 0x30 > > > fault code = supervisor read data, page not present > > > instruction pointer = 0x20:0xffffffff808c9ef3 > > > stack pointer = 0x28:0xfffffe00f13548e0 > > > frame pointer = 0x28:0xfffffe00f13549b0 > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > > processor eflags = interrupt enabled, resume, IOPL = 0 > > > current process = 12 (swi4: clock) > > > trap number = 12 > > > panic: page fault > > > cpuid = 0 > > > KDB: stack backtrace: > > > #0 0xffffffff808ed460 at kdb_backtrace+0x60 > > > #1 0xffffffff808b4e35 at panic+0x155 > > > #2 0xffffffff80c97022 at trap_fatal+0x3a2 > > > #3 0xffffffff80c972f9 at trap_pfault+0x2c9 > > > #4 0xffffffff80c96a8b at trap+0x5bb > > > #5 0xffffffff80c7dd42 at calltrap+0x8 > > > #6 0xffffffff808ca304 at softclock+0x94 > > > #7 0xffffffff8088929b at intr_event_execute_handlers+0xab > > > #8 0xffffffff808896e6 at ithread_loop+0x96 > > > #9 0xffffffff80886f4a at fork_exit+0x9a > > > #10 0xffffffff80c7e27e at fork_trampoline+0xe > > > [...] > > > #0 doadump (textdump=) at pcpu.h:219 > > > 219 pcpu.h: No such file or directory. > > > in pcpu.h > > > (kgdb) #0 doadump (textdump=) at pcpu.h:219 > > > #1 0xffffffff808b4ab0 in kern_reboot (howto=260) > > > at /usr/src/sys/kern/kern_shutdown.c:452 > > > #2 0xffffffff808b4e74 in panic (fmt=) > > > at /usr/src/sys/kern/kern_shutdown.c:759 > > > #3 0xffffffff80c97022 in trap_fatal (frame=, > > > eva=) > > > at /usr/src/sys/amd64/amd64/trap.c:875 > > > #4 0xffffffff80c972f9 in trap_pfault (frame=0xfffffe00f1354830, > > usermode=0) > > > at /usr/src/sys/amd64/amd64/trap.c:692 > > > #5 0xffffffff80c96a8b in trap (frame=0xfffffe00f1354830) > > > at /usr/src/sys/amd64/amd64/trap.c:456 > > > #6 0xffffffff80c7dd42 in calltrap () > > > at /usr/src/sys/amd64/amd64/exception.S:232 > > > #7 0xffffffff808c9ef3 in softclock_call_cc (c=0xffffffff813834b8, > > > cc=0xffffffff81527680, direct=0) at > > /usr/src/sys/kern/kern_timeout.c:701 > > > #8 0xffffffff808ca304 in softclock (arg=0xffffffff81527680) > > > at /usr/src/sys/kern/kern_timeout.c:810 > > > > This is actually a crash in newcons. Try setting > > kern.vt.suspendswitch to 0 > > as a workaround. > > > > -- > > John Baldwin > > > > Ack! I had forgotten seeing the thread on this just a while back, > before vt was committed to 10. > > Thanks so much! > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com Looks like I have to invert default for it :) Sorry for making such problems. WBW -- Aleksandr Rybalko