From owner-freebsd-current@FreeBSD.ORG Sat Oct 31 22:42:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 514CD106566C for ; Sat, 31 Oct 2009 22:42:29 +0000 (UTC) (envelope-from gallasch@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) by mx1.freebsd.org (Postfix) with ESMTP id C68EA8FC1D for ; Sat, 31 Oct 2009 22:42:28 +0000 (UTC) Received: (qmail 11075 invoked by uid 98); 31 Oct 2009 23:15:46 +0100 Received: from 91.204.4.103 by smtp.free.de (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.90.1/3618. Clear:RC:1(91.204.4.103):. Processed in 0.029565 secs); 31 Oct 2009 22:15:46 -0000 X-Qmail-Scanner-Mail-From: gallasch@free.de via smtp.free.de X-Qmail-Scanner: 1.25 (Clear:RC:1(91.204.4.103):. Processed in 0.029565 secs) Received: from smtp.free.de (HELO boiler.free.de) (gallasch@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 31 Oct 2009 23:15:46 +0100 Date: Sat, 31 Oct 2009 23:15:45 +0100 From: Kai Gallasch To: freebsd-current@freebsd.org Message-ID: <20091031231545.493cee89@boiler.free.de> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 8.0RC2 amd64 - kernel panic running make buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Oct 2009 22:42:29 -0000 Hi. I installed 8.0RC2-amd64 on an 8-core opteron server a few days ago. When I try to do a make buildworld or make buildkernel the server reboots without any message left in the logs. The same happens when building bigger ports (for example ruby18 or perl58) With 8.0-RC2 debug flags and witness seem to be disabled in the standard GENERIC kernel, so unfortunately it is not possible for me to build a debug kernel without my server crashing.. Now my idea was to install the old 8.0-BETA4 and upgrade to RC2 through makeworld + buildkernel (gdb+witness). But no luck. When trying to upgrade to RC2 the 8.0-BETA4 also crashes. At least 8.0-BETA4 has debug + witness active in the GENERIC kernel.. So below some debug output of 8.0-BETA4 crashing. Has a vfs/ffs LOR problem with the BETA4 already been fixed? Does it make sense to send in a pr with the old 8.0-BETA4? BTW. I installed 7.2-STABLE on this same server and did a "make buildworld" and "make buildkernel" which completed without any problem. Cheers, --Kai ----- make buildworld -j7 crash, freebsd 8.0-amd64-beta4 ----- lock order reversal: 1st 0xffffff00073d5ba8 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:423 2nd 0xffffff819d921558 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 3rd 0xffffff00070c19d0 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:544 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x81e __lockmgr_args() at __lockmgr_args+0xcf3 ffs_lock() at ffs_lock+0x8c VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b _vn_lock() at _vn_lock+0x47 ffs_snapshot() at ffs_snapshot+0x1b9d ffs_mount() at ffs_mount+0x666 vfs_donmount() at vfs_donmount+0xcde nmount() at nmount+0x63 syscall() at syscall+0x1af Xfast_syscall() at Xfast_syscall+0xe1 --- syscall (378, FreeBSD ELF64, nmount), rip = 0x8007b14fc, rsp = 0x7fffffffe9b8, rbp = 0x800902530 --- lock order reversal: 1st 0xffffff819d921558 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 2nd 0xffffff0007d9fa30 snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:793 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x81e __lockmgr_args() at __lockmgr_args+0xcf3 ffs_lock() at ffs_lock+0x8c VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b _vn_lock() at _vn_lock+0x47 ffs_snapshot() at ffs_snapshot+0x1a6a ffs_mount() at ffs_mount+0x666 vfs_donmount() at vfs_donmount+0xcde nmount() at nmount+0x63 syscall() at syscall+0x1af Xfast_syscall() at Xfast_syscall+0xe1 --- syscall (378, FreeBSD ELF64, nmount), rip = 0x8007b14fc, rsp = 0x7fffffffe9b8, rbp = 0x800902530 --- lock order reversal: 1st 0xffffff0007d9fa30 snaplk (snaplk) @ /usr/src/sys/kern/vfs_vnops.c:296 2nd 0xffffff00073d5ba8 ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:1587 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x81e __lockmgr_args() at __lockmgr_args+0xcf3 ffs_snapremove() at ffs_snapremove+0xe7 softdep_releasefile() at softdep_releasefile+0x139 ufs_inactive() at ufs_inactive+0x1a5 vinactive() at vinactive+0x72 vput() at vput+0x230 vn_close() at vn_close+0x118 vn_closefile() at vn_closefile+0x5a _fdrop() at _fdrop+0x23 closef() at closef+0x5b kern_close() at kern_close+0x110 syscall() at syscall+0x1af Xfast_syscall() at Xfast_syscall+0xe1 --- syscall (6, FreeBSD ELF64, close), rip = 0x80084cf9c, rsp = 0x7fffffffe9b8, rbp = 0 ---