From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 18:43:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6571916A474; Wed, 21 Jun 2006 18:43:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1EAC43D45; Wed, 21 Jun 2006 18:43:18 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6E27D46BA4; Wed, 21 Jun 2006 14:43:15 -0400 (EDT) Date: Wed, 21 Jun 2006 19:43:15 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Martin Blapp In-Reply-To: <20060621202508.S17514@godot.imp.ch> Message-ID: <20060621193941.Y8526@fledge.watson.org> References: <20060621202508.S17514@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Patrick Guelat , freebsd-stable@freebsd.org, dunstan@FreeBSD.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 18:43:19 -0000 On Wed, 21 Jun 2006, Martin Blapp wrote: > I just upgraded from 5.5 (stable btw.) to 6.1 and after 10 hours I got a > nice panic. Does this look like some tty problem ? It looks like a tty or devfs problem. > This is the machine which made that many problems with PREEMTION enabled in > earlier releases of 5.x. Is it possible that I'm hitting now again the same > bugs or is it clearly a tty related problem ? I'm not sure there's evidence it's caused by preemption, but it's not impossible that preemption makes it more likely to happen, or facilitates it happening on non-SMP systems. Wojciech Koszek has recently been looking into devfs-related races that trigger for pty's, which could be relevant to what you're seeing, so I've CC'd him. Robert N M Watson Computer Laboratory University of Cambridge > > kgdb /var/core/kernel.debug /var/core/vmcore.6 > > #0 0xc0663002 in doadump () > #1 0xc066355e in boot () > #2 0xc06638b5 in panic () > #3 0xc085c6b6 in trap_fatal () > #4 0xc085c3bf in trap_pfault () > #5 0xc085bfb5 in trap () > #6 0xc0848bea in calltrap () > #7 0xc0693b51 in ttymodem () > #8 0xc0698362 in ptcclose () > #9 0xc0638a6f in giant_close () > #10 0xc06162bf in devfs_close () > #11 0xc086dc1c in VOP_CLOSE_APV () > #12 0xc06c87e2 in vn_close () > #13 0xc06c974a in vn_closefile () > #14 0xc06162e7 in devfs_close_f () > #15 0xc0642cdc in fdrop_locked () > #16 0xc0642c29 in fdrop () > #17 0xc06411c7 in closef () > #18 0xc063e329 in close () > #19 0xc085c9f7 in syscall () > #20 0xc0848c3f in Xint0x80_syscall () > #21 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > > Unfortunaltly I get this with the debug kernel. > Does one have to boot with the debug.kernel itself > to get a trace which is usable ? > > kgdb /var/core/kernel.debug /var/core/vmcore.6 > > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > > Martin Blapp, > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 > PGP: > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ >