From owner-freebsd-current@FreeBSD.ORG Sat Sep 7 15:05:04 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id 2ECBB156; Sat, 7 Sep 2013 15:05:04 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-vb0-x231.google.com (mail-vb0-x231.google.com [IPv6:2607:f8b0:400c:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D2A4B25BA; Sat, 7 Sep 2013 15:05:03 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id w16so2858176vbb.36 for ; Sat, 07 Sep 2013 08:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VlFwR6gKeRGUx5esAAgtqpmcvrjzhFaAxY1YC7T+Zu0=; b=AqojoNgjomJW33G/lFGnfVSoqGVwNQIxAEyOAFQ5H5Egu7RBN09M4PkpVLa3XQ3ClN AdlbvQ5pych8rC7bHt2KKc8chcYieJel98hhEYFdN38kNS+mMWyUQmJ+NsXOUa8ausy5 hPUmsiXjwwN5d5CPNmXfykB987BCa7c0HeN9M0bKZ2y7ORxyLrdks32fZkmJmMl/E4Rp 16NGHSGLwa1+6p4jUPzVH30rNvhS/J75o3KhKdRWQRosGkOhY2ntvyKZplVeCOo54qHv uwa7Lz3X4DpnBiYQ0oXXPfoOPUFaMr6rvi/H3qhFiPV25jJkonUkVkPnv+KMTItsZPSJ i9sg== MIME-Version: 1.0 X-Received: by 10.52.98.131 with SMTP id ei3mr6706826vdb.4.1378566302528; Sat, 07 Sep 2013 08:05:02 -0700 (PDT) Received: by 10.220.65.132 with HTTP; Sat, 7 Sep 2013 08:05:02 -0700 (PDT) In-Reply-To: <1378483253.1598.3.camel@localhost> References: <1378483253.1598.3.camel@localhost> Date: Sat, 7 Sep 2013 17:05:02 +0200 Message-ID: Subject: Re: Interesting panic from the Yahoo builder (10-current) From: Davide Italiano To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-current@FreeBSD.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 15:05:04 -0000 On Fri, Sep 6, 2013 at 6:00 PM, Sean Bruno wrote: > Our "yBSD" builder needs to mount a disk image temporarily that has a > dos partition (for openstack-ish things) to put configs into it. It > seems that under high stress, we can squeeze a panic out of it in > namei(). > > Sean > > > Unread portion of the kernel message buffer: > panic: namei: nameiop contaminated with flags > cpuid = 8 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe048d8e53b0 > kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe048d8e5460 > vpanic() at vpanic+0x126/frame 0xfffffe048d8e54a0 > kassert_panic() at kassert_panic+0x136/frame 0xfffffe048d8e5510 > namei() at namei+0x2c8/frame 0xfffffe048d8e5600 > msdosfs_mount() at msdosfs_mount+0x556/frame 0xfffffe048d8e57c0 > vfs_donmount() at vfs_donmount+0xc35/frame 0xfffffe048d8e5aa0 > sys_nmount() at sys_nmount+0x72/frame 0xfffffe048d8e5ae0 > amd64_syscall() at amd64_syscall+0x223/frame 0xfffffe048d8e5bf0 > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe048d8e5bf0 > --- syscall (378, FreeBSD ELF64, sys_nmount), rip = 0x8000a8b68a, rsp = 0x7fffffffd508, rbp = 0x7fffffffdb30 --- > Uptime: 34m55s > Dumping 1140 out of 16350 MB:..2%..12%..22%..31%..41%..51%..61%..71%..82%..92% > > Reading symbols from /boot/modules/msdosfs.ko...done. > Loaded symbols for /boot/modules/msdosfs.ko > #0 doadump (textdump=1) at pcpu.h:227 > 227 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) Hangup detected on fd 0 > error detected on stdin Can you please print the value of cnp->cn_nameiop (or, even better, the whole struct) before the panic? Thanks, -- Davide "A mathematical theory is not to be considered complete until you have made it so clear that you can explain it to the first man whom you meet on the street." (D. Hilbert)