From owner-freebsd-current@FreeBSD.ORG Sun Jul 18 00:37:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4577216A4CE for ; Sun, 18 Jul 2004 00:37:35 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E334943D1F for ; Sun, 18 Jul 2004 00:37:32 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i6I0b6LI038470; Sat, 17 Jul 2004 20:37:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i6I0b6YI038467; Sat, 17 Jul 2004 20:37:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 17 Jul 2004 20:37:06 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Harald Schmalzbauer In-Reply-To: <200407180209.36199@harryhomeworkstation> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: kernel build error in cam_periph_mapmem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 18 Jul 2004 00:37:35 -0000 On Sun, 18 Jul 2004, Harald Schmalzbauer wrote: > Am Sonntag, 18. Juli 2004 01:06 schrieb Robert Watson: > > On Sun, 18 Jul 2004, Harald Schmalzbauer wrote: > > > Yes, it's "cam_periph.c,v 1.56 2003/11/08 10:56:57 scottl" I didn't any > > > local modification! I just removed my obj directory but that didn't > > > help. CVsup done half an hour ago. Btw, can anybody exlain me what > > > timezone the timestamp is from? Shouldn't it be UTC (or at least include > > > the TZ code)? > > > > Can you check to see if your local copy contains an include of mutex.h? > > The above time stamp looks right, FYI. > > Ok, since nobody else seems to have this problem I started poking int > the dark and found the "error": When I remove #options INVARIANTS from > my kernel.config it doesn't stop at the cam any more. Now I have a pf > show stopper but I'm sure this will be fixed soon. Still odd on the CAM front. The patch I'm building with to get pf working is attached. I also had to remove a reference to "caddr_t sg" from a function prototype in the Linux compat socket code. Seems to be a bad kernel compile day. Index: pf.c =================================================================== RCS file: /data/ncvs/src/sys/contrib/pf/net/pf.c,v retrieving revision 1.13 diff -u -r1.13 pf.c --- pf.c 17 Jul 2004 17:15:15 -0000 1.13 +++ pf.c 17 Jul 2004 23:42:44 -0000 @@ -5161,7 +5161,7 @@ if ((m0 = m_copym2(*m, 0, M_COPYALL, M_NOWAIT)) == NULL) #endif return; - if ((mtag = m_tag_copy(mtag)) == NULL) + if ((mtag = m_tag_copy(mtag, M_DONTWAIT)) == NULL) goto bad; m_tag_prepend(m0, mtag); } else { @@ -5444,7 +5444,7 @@ if ((m0 = m_copym2(*m, 0, M_COPYALL, M_NOWAIT)) == NULL) #endif return; - if ((mtag = m_tag_copy(mtag)) == NULL) + if ((mtag = m_tag_copy(mtag, M_DONTWAIT)) == NULL) goto bad; m_tag_prepend(m0, mtag); } else {