From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 3 14:30:19 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F50616A4D0 for ; Fri, 3 Sep 2004 14:30:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3318043D2D for ; Fri, 3 Sep 2004 14:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i83EUJKI033416 for ; Fri, 3 Sep 2004 14:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i83EUIwS033409; Fri, 3 Sep 2004 14:30:18 GMT (envelope-from gnats) Resent-Date: Fri, 3 Sep 2004 14:30:18 GMT Resent-Message-Id: <200409031430.i83EUIwS033409@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Phil Budne Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C01C16A4CE for ; Fri, 3 Sep 2004 14:27:15 +0000 (GMT) Received: from mx.tripadvisor.com (mx.tripadvisors.com [151.203.96.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id D244C43D46 for ; Fri, 3 Sep 2004 14:27:14 +0000 (GMT) (envelope-from phil@tripadvisor.com) Received: from tenzing.tripadvisor.com (tenzing.tripadvisor.com [192.168.33.18]) by mx.tripadvisor.com (8.12.10/8.12.10) with ESMTP id i83ERDWJ035480 for ; Fri, 3 Sep 2004 10:27:13 -0400 (EDT) (envelope-from phil@tripadvisor.com) Received: from tenzing.tripadvisor.com (localhost.tripadvisor.com [127.0.0.1]) i82IPNON010056; Thu, 2 Sep 2004 14:25:23 -0400 (EDT) (envelope-from phil@tripadvisor.com) Received: (from root@localhost) by tenzing.tripadvisor.com (8.12.9/8.12.9/Submit) id i82IPNBJ010055; Thu, 2 Sep 2004 14:25:23 -0400 (EDT) (envelope-from phil) Message-Id: <200409021825.i82IPNBJ010055@tenzing.tripadvisor.com> Date: Thu, 2 Sep 2004 14:25:23 -0400 (EDT) From: Phil Budne To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: phil@tripadvisor.com Subject: kern/71341: Cannot build 5.3 sparc64 kernel with vinum support X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Phil Budne List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 14:30:19 -0000 >Number: 71341 >Category: kern >Synopsis: Cannot build 5.3 sparc64 kernel with vinum support >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 03 14:30:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Phil Budne >Release: FreeBSD 5.3-BETA2 sparc64 >Organization: TripAdvisor >Environment: System: FreeBSD tenzing.tripadvisor.com 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Wed Nov 5 12:56:03 EST 2003 root@tenzing.tripadvisor.com:/usr/src/sys/sparc64/compile/TENZING sparc64 >Description: CVSuped 5.3-BETA2 sources 9/1/2004, cannot build kernel on sparc64 with vinum support; compilation fails NOTE: this was while building the initial 32btt system, but the problem is unrelated to sizeof(time_t) >How-To-Repeat: kernel config: include GENERIC device vinum >Fix: The following changes allows kernel to build (similar patches used to build&run 5.1-CURRENT kernel last November) *** vinumext.h.orig Wed Jun 16 05:47:01 2004 --- vinumext.h Thu Sep 2 13:21:34 2004 *************** *** 247,253 **** #define LOCKDRIVE(d) lockdrive (d, __FILE__, __LINE__) #else #define Malloc(x) malloc((x), M_DEVBUF, \ ! curthread->td_proc->p_intr_nesting_level == 0? M_WAITOK: M_NOWAIT) #define Free(x) free((x), M_DEVBUF) #define LOCKDRIVE(d) lockdrive (d) #endif --- 247,253 ---- #define LOCKDRIVE(d) lockdrive (d, __FILE__, __LINE__) #else #define Malloc(x) malloc((x), M_DEVBUF, \ ! curthread->td_intr_nesting_level == 0? M_WAITOK: M_NOWAIT) #define Free(x) free((x), M_DEVBUF) #define LOCKDRIVE(d) lockdrive (d) #endif *** vinummemory.c.orig Sat Jul 10 17:17:04 2004 --- vinummemory.c Thu Sep 2 13:21:34 2004 *************** *** 92,98 **** #else /* not i386 */ #define LongJmp longjmp /* just use the kernel function */ #endif /* i386 */ - #endif /* VINUMDEBUG */ /* find the base name of a path name */ char * --- 92,97 ---- *************** *** 106,112 **** return ++f; /* skip the / */ } - #ifdef VINUMDEBUG void expand_table(void **table, int oldsize, int newsize, char *file, int line) #else --- 105,110 ---- >Release-Note: >Audit-Trail: >Unformatted: