From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 4 13:50:02 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6293A1065693 for ; Fri, 4 Sep 2009 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4040F8FC1E for ; Fri, 4 Sep 2009 13:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n84Do2JT072211 for ; Fri, 4 Sep 2009 13:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n84Do2UG072210; Fri, 4 Sep 2009 13:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 4 Sep 2009 13:50:02 GMT Resent-Message-Id: <200909041350.n84Do2UG072210@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alphazo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32E361065670 for ; Fri, 4 Sep 2009 13:42:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 21FE28FC12 for ; Fri, 4 Sep 2009 13:42:49 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n84Dgmq3037762 for ; Fri, 4 Sep 2009 13:42:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n84DgmEg037761; Fri, 4 Sep 2009 13:42:48 GMT (envelope-from nobody) Message-Id: <200909041342.n84DgmEg037761@www.freebsd.org> Date: Fri, 4 Sep 2009 13:42:48 GMT From: Alphazo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 04 Sep 2009 15:24:47 +0000 Cc: Subject: amd64/138531: Error message while fetching package after fresh 8.0 beta 3 install X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 13:50:02 -0000 >Number: 138531 >Category: amd64 >Synopsis: Error message while fetching package after fresh 8.0 beta 3 install >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 04 13:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alphazo >Release: 8.0 Beta 3 >Organization: >Environment: FreeBSD freebsd.test.internal 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 02:00:45 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I installed the 8.0 Beta 3 release using the USB image on an Intel D945GCLF2 board with 2GB RAM and Hyperthreading disabled in the bios. The first thing I did was to setenv to change the PACKAGESITE to packages-8-stable. I then issued the following command to install "mc" : "pkg_add -r mc". While the system was fetching the binary from FTP site I got the following message on the console. Sep 4 14:40:06 freebsd kernel: lock order reversal: Sep 4 14:40:06 freebsd kernel: 1st 0xffffff80292aa908 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2559 Sep 4 14:40:06 freebsd kernel: 2nd 0xffffff0002a08c00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285 Sep 4 14:40:06 freebsd kernel: KDB: stack backtrace: Sep 4 14:40:06 freebsd kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a Sep 4 14:40:06 freebsd kernel: _witness_debugger() at _witness_debugger+0x2e Sep 4 14:40:06 freebsd kernel: witness_checkorder() at witness_checkorder+0x81e Sep 4 14:40:06 freebsd kernel: _sx_xlock() at _sx_xlock+0x55 Sep 4 14:40:06 freebsd kernel: ufsdirhash_acquire() at ufsdirhash_acquire+0x33 Sep 4 14:40:06 freebsd kernel: ufsdirhash_add() at ufsdirhash_add+0x19 Sep 4 14:40:06 freebsd kernel: ufs_direnter() at ufs_direnter+0x88b Sep 4 14:40:06 freebsd kernel: ufs_makeinode() at ufs_makeinode+0x2a7 Sep 4 14:40:06 freebsd kernel: VOP_CREATE_APV() at VOP_CREATE_APV+0x8d Sep 4 14:40:06 freebsd kernel: vn_open_cred() at vn_open_cred+0x468 Sep 4 14:40:06 freebsd kernel: kern_openat() at kern_openat+0x179 Sep 4 14:40:06 freebsd kernel: syscall() at syscall+0x1af Sep 4 14:40:06 freebsd kernel: Xfast_syscall() at Xfast_syscall+0xe1 Sep 4 14:40:06 freebsd kernel: --- syscall (5, FreeBSD ELF64, open), rip = 0x800e32dfc, rsp = 0x7fffffffe6e8, rbp = 0x1a4 --- Although the installation went fine and "mc" appears to be installed. Alphazo -----BEGIN PGP SIGNATURE----- iEYEAREKAAYFAkqhGN8ACgkQYzj0vCQtTfttgQCcCPEjNE8RLj6l1xHBVpQiBL4J dQMAnidJrFOaXn1WQF/0Gjr0QWX60Yl3 =PIcV -----END PGP SIGNATURE----- >How-To-Repeat: Install a fresh 8.0 Beta 3 # setenv PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/ # pkg_add -r mc >Fix: >Release-Note: >Audit-Trail: >Unformatted: