From owner-freebsd-hackers@freebsd.org Sun Nov 12 03:43:58 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A959CE67532 for ; Sun, 12 Nov 2017 03:43:58 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FA477AC6B for ; Sun, 12 Nov 2017 03:43:58 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id DjBYexfPOI8mCDjBcen3yY; Sat, 11 Nov 2017 20:43:57 -0700 X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=sC3jslCIGhcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=hOpmn2quAAAA:8 a=quNabXTpsQhEY8JIRV8A:9 a=CjuIK1q_8ugA:10 a=1P9QzBihVtkMihe7ex4A:9 a=TYCkgRRO888PHm6T:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=GyA-uvUxXSCciAkwuKQO:22 Received: from [25.84.90.114] (unknown [24.114.22.247]) by spqr.komquats.com (Postfix) with ESMTPSA id 186A1866; Sat, 11 Nov 2017 19:43:52 -0800 (PST) MIME-Version: 1.0 From: Cy Schubert Subject: RE: Root partition and usrland on one slice, /usr/local ports and srcon another Date: Sat, 11 Nov 2017 20:43:52 -0700 To: Eugene Grosbein , "lankfordandrew@charter.net" , "'freebsd-hackers@freebsd.org'" Message-Id: <20171112034352.186A1866@spqr.komquats.com> X-CMAE-Envelope: MS4wfH+KlEb42h1DY4T1Yrd0dr7PiBazG0cNwFQIqTRfkejaD0bN7lgUrJBOmD7hFIiRT6TWsPJLMbBS3vMVZYglTcQ5obej4Sbx/EmCUav2IPCHzmvvX3nc /XkxfN5gTHMkN8Zg0d5hqAPQaCkDZJbrk8Ic8khrA3EHnMNbMzS+BC1WspwtY1obyGZAVMmePKHF8cGUjp3OBezwO4sIsT+AlteKzi9y8jBysVKKLcKsXxU8 n90DUFu0GZx5zk5KBM/6Hg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 03:43:58 -0000 Neither do I. I've been using a combination of symlinks, ufs, nullfs, zfs l= egacy and straight zfs in various configurations over the years on various = systems with no problems whatsoever. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Cy Schubert or -----Original Message----- From: Eugene Grosbein Sent: 11/11/2017 12:37 To: lankfordandrew@charter.net; 'freebsd-hackers@freebsd.org' Subject: Re: Root partition and usrland on one slice, /usr/local ports and = srcon another 12.11.2017 1:39, lankfordandrew@charter.net wrote: > It's been quite a while since I've tried a rebuild, but I think the > problems appeared early when gcc and gas and dependencies were being > built. I tried just symlinks, then different settings of the build > variables, and (IIRC) enabling clang. Perhaps I could start fresh with > 11.1, but then perhaps placing everything on one slice is the most > straightforward solution. I still don't get what specific problems did you have but I'm sure they were not due to symlinking as such links work just fine for me with gcc, and with clang too. _______________________________________________ freebsd-hackers@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Sun Nov 12 12:11:55 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F9EAE70940 for ; Sun, 12 Nov 2017 12:11:55 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7F1B65E56 for ; Sun, 12 Nov 2017 12:11:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1eDqvF-0003Hs-SK; Sun, 12 Nov 2017 13:59:33 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: slow pxeboot on newer dell/optiplex From: Daniel Braniss In-Reply-To: <824EADB9-DF03-41A7-B6DA-F58AAAAA04B8@cs.huji.ac.il> Date: Sun, 12 Nov 2017 13:59:33 +0200 Cc: Freebsd hackers list Content-Transfer-Encoding: quoted-printable Message-Id: <48758C02-2056-48D1-A5B1-95D6F2887DE4@cs.huji.ac.il> References: <1536BD70-C292-4435-9DD4-0BA81A0B242B@cs.huji.ac.il> <494d3688-655a-92a2-2254-59b1494a82a0@sentex.net> <268D525C-F99B-434B-BB66-27DE95AC872F@cs.huji.ac.il> <6284eb62-91cf-c4c9-78ff-347ec5318696@sentex.net> <824EADB9-DF03-41A7-B6DA-F58AAAAA04B8@cs.huji.ac.il> To: Mike Tancsa X-Mailer: Apple Mail (2.3445.4.7) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 12:11:55 -0000 > On 8 Oct 2017, at 10:41, Daniel Braniss wrote: >=20 > an upgrade to the bios fixed this! a month later, and today=E2=80=99s reboot is as slow as before :-( >=20 > danny >=20 >> On 31 Aug 2017, at 17:14, Mike Tancsa wrote: >>=20 >> On 8/31/2017 10:01 AM, Daniel Braniss wrote: >>>=20 >>> the thing is, after it boots, all is ok, so it=E2=80=99s something = in the pxe >>> that pxeboot is in >>> conflict with =E2=80=A6 >> Yes, same here. Once the kernel is loaded, network throughput is = normal >>=20 >> ---Mike >>=20 >>=20 >> --=20 >> ------------------- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, mike@sentex.net >> Providing Internet services since 1994 www.sentex.net >> Cambridge, Ontario Canada http://www.tancsa.com/ >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Sun Nov 12 14:49:23 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CA71E7366D for ; Sun, 12 Nov 2017 14:49:23 +0000 (UTC) (envelope-from jamie@dyslexicfish.net) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:a:dead:bad:faff]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE29D6A697 for ; Sun, 12 Nov 2017 14:49:22 +0000 (UTC) (envelope-from jamie@dyslexicfish.net) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id vACEnLva027238; Sun, 12 Nov 2017 14:49:21 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id vACEnJEP027237; Sun, 12 Nov 2017 14:49:19 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201711121449.vACEnJEP027237@donotpassgo.dyslexicfish.net> Date: Sun, 12 Nov 2017 14:49:18 +0000 Organization: Dyslexic Fish To: lankfordandrew@charter.net, freebsd-hackers@freebsd.org, eugen@grosbein.net, Cy.Schubert@komquats.com Subject: Re: Root partition and usrland on one slice, /usr/local ports and srcon another References: <20171112034352.186A1866@spqr.komquats.com> In-Reply-To: <20171112034352.186A1866@spqr.komquats.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Sun, 12 Nov 2017 14:49:21 +0000 (GMT) X-Mailman-Approved-At: Sun, 12 Nov 2017 15:14:15 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 14:49:23 -0000 Cy Schubert wrote: > Neither do I. I've been using a combination of symlinks, ufs, nullfs, zfs legacy and straight zfs in various configurations over the years on various systems with no problems whatsoever. I encountered a problem a few years ago with ports, when WRKDIRPREFIX was set, and there was a symbolic link in the destination. It didn't happen for every port, but I tracked the culprit down to one of the /usr/ports/Mk scripts. It's at this point I switched to nullfs instead. I can't remember any more details on it, and the problem may not even occur anymore From owner-freebsd-hackers@freebsd.org Mon Nov 13 13:15:50 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A0E8DBA30A for ; Mon, 13 Nov 2017 13:15:50 +0000 (UTC) (envelope-from teemperor@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A55896DDEF for ; Mon, 13 Nov 2017 13:15:49 +0000 (UTC) (envelope-from teemperor@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id m1so2297006lfj.9 for ; Mon, 13 Nov 2017 05:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rDbY5SNHESG6EUyxNcPmwB8IfOQWmDQG3RajmntRhj4=; b=oCsQfP+iTmzBPJHShhI+COeNpNEkoWhn3OkHWmQKfyexzf0yDt5g6n+pojycYxUo4i b9QNBBDZUds492NCMc22mTLYfYToNyBkQ1ETkhBH3Est7Ty/K1E2bPtEqyz0goAplmTw REsltwXNDk65HxMSAavI4hSTHh+21qpr2YEBYSjFb+Z62/IjV4v3aCMZxRFpUIFmX74L EzHzlG8xywZ3sc+eAPSskMmFLPbltceUXJxRWp6BRm3l/FXeRBUAs7Pe6+hYLhRGTgUG 29ksXCt+3LMSne8bqzBOGy9CHJI6n/Qrv0jUlcA19/YNncOS7vrgjsJNJsdk4772+8U7 3UlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rDbY5SNHESG6EUyxNcPmwB8IfOQWmDQG3RajmntRhj4=; b=WOJp4zuuydw20D8C3suG+miArpWh34hWtR/eShslvVR+DFobDp65DJvtAwypyn/zWx LPHNvsW0RUp6LLQN8/NstQEwhxoiYxxmLXQ/7f6WwHzSlwxVuZIkYvJVUrHfSTRTlIkB crnVIP8TSxInMwpkkrtJqOzBa+SUEuShn4Smnl6pYCjMR6wl7Be8GBpWbk8nU91wnH7M cc+lWJiGHHzBM/a9DYXFTy4O0w9TJAYDi2pgg+83HbyYo+v5n8KpNei8bBqt0SLv6nCy hjCjM+9WwF40l/MrYC7jkr5dFoPV/kLpI3kYE7MVdLFdkPcrs1ziZHcOT1Yocivkz1xj sHDQ== X-Gm-Message-State: AJaThX7qS4vp0SVCm2hiv8HnayvpTGWy95lYLTy2OEv7vBVbuyVkGHOm Ebi8emzAIUwyk+/UjoI/DcMQjwpUn7eVS0B5g9mFj/x0 X-Google-Smtp-Source: AGs4zMbWFsCXtIKMQINm7qywV9AIxSVlTnsxeembwaj3nhKRKS01/Uw9LXapR4EwHhVXHocrFGBC2EzdqKl52O71yYY= X-Received: by 10.25.204.22 with SMTP id c22mr1017392lfg.36.1510578945299; Mon, 13 Nov 2017 05:15:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.109.12 with HTTP; Mon, 13 Nov 2017 05:15:04 -0800 (PST) From: Raphael Isemann Date: Mon, 13 Nov 2017 14:15:04 +0100 Message-ID: Subject: Linking error: undefined reference to `__progname' from libc when creating shared library To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 13:15:50 -0000 Hi all, I'm trying to port CERN's ROOT framework ( https://root.cern.ch/ ) to FreeBSD but I'm currently struggling with some linking error that is resisting my attempts at debugging it. The problem is that ROOT is trying to link one of its shared libraries, but somehow libc.so starts looking for the `__progname` symbol. Looking at the FreeBSD source, it seems we get this symbol from crt1.o. And as I'm not linking against that (as I don't want to create an executable, but an SO) I get an undefined reference. Anyone has a hint why we see this behavior? Is it possible to reference something in libc that requires `__progname` in return? The linker invocation is below (I called clang and let it also print the ld invocation on the way). The whole invocation including all the LLVM libraries is here [1]. You can reproduce it by running this (and waiting a long time because that first builds LLVM/clang from scratch): $ git clone https://github.com/root-project/root $ https://pastebin.com/raw/THbJsffy $ mkdir build $ cd build $ cmake -DCMAKE_EXE_LINKER_FLAGS:string="-lm -lcrypt" -Dcxx14:bool=ON -$Dall=On -GNinja ../root/ $ ninja -j4 -l4 Cling Cheers, - Raphael Isemann (Not sure if that's the right mailing list, but looking at the handbook this seems to be the most appropriate list for such a generic issue). Linker invocation: ############################################# root@roottest ~/build# uname -a FreeBSD roottest 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 ############################################# root@roottest ~/build# bash -c "/usr/bin/c++ -v -fPIC -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -pthread -std=c++14 -fvisibility=hidden -Wno-shadow -fno-strict-aliasing -Wno-unused-parameter -Wwrite-strings -Wno-long-long -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wno-conditional-uninitialized -O2 -g -DNDEBUG -shared -Wl,-soname,libCling.so -o lib/libCling.so core/clingutils/CMakeFiles/ClingUtils.dir/src/RStl.cxx.o core/clingutils/CMakeFiles/ClingUtils.dir/src/TClingUtils.cxx.o core/metacling/src/CMakeFiles/MetaCling.dir/rootclingTCling.cxx.o core/metacling/src/CMakeFiles/Cling.dir/dummy.cxx.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib: interpreter/llvm/src/lib/libclingInterpreter.a interpreter/llvm/src/lib/libclingMetaProcessor.a interpreter/llvm/src/lib/libclingUtils.a -lelf -Wl,--unresolved-symbols=ignore-in-object-files interpreter/llvm/src/lib/libclingInterpreter.a [stripped .so files] interpreter/llvm/src/lib/libclangCodeGen.a interpreter/llvm/src/lib/libclangFrontend.a interpreter/llvm/src/lib/libclangDriver.a interpreter/llvm/src/lib/libLLVMSupport.a -lrt /usr/lib/libexecinfo.so -ltinfo -lpthread /usr/lib/libz.so -lm interpreter/llvm/src/lib/libLLVMDemangle.a" FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" --eh-frame-hdr -Bshareable --hash-style=both --enable-new-dtags -o lib/libCling.so /usr/lib/crti.o /usr/lib/crtbeginS.o -L/usr/local/lib -L/usr/lib -soname libCling.so core/clingutils/CMakeFiles/ClingUtils.dir/src/RStl.cxx.o core/clingutils/CMakeFiles/ClingUtils.dir/src/TClingUtils.cxx.o core/dictgen/CMakeFiles/Dictgen.dir/src/BaseSelectionRule.cxx.o core/dictgen/CMakeFiles/Dictgen.dir/src/ClassSelectionRule.cxx.o [stripped .so files] interpreter/llvm/src/lib/libLLVMSupport.a -lrt /usr/lib/libexecinfo.so -ltinfo -lpthread /usr/lib/libz.so -lm interpreter/llvm/src/lib/libLLVMDemangle.a -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtendS.o /usr/lib/crtn.o /lib/libc.so.7: undefined reference to `__progname' c++: error: linker command failed with exit code 1 (use -v to see invocation) ############################################# [1] https://pastebin.com/raw/L6KtTaPK From owner-freebsd-hackers@freebsd.org Mon Nov 13 21:32:26 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F117DD77CD for ; Mon, 13 Nov 2017 21:32:26 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fun.ee.lbl.gov", Issuer "ACS 3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE477F505 for ; Mon, 13 Nov 2017 21:32:26 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from hot.ee.lbl.gov (hot.ee.lbl.gov [IPv6:2620:83:8000:102:0:0:0:cb]) (authenticated bits=0) by fun.ee.lbl.gov (8.15.2/8.15.2) with ESMTPSA id vADLWNG5055014 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Nov 2017 13:32:25 -0800 (PST) (envelope-from leres@ee.lbl.gov) To: freebsd-hackers@freebsd.org From: Craig Leres Subject: poudriere 3.2.0 vs. "local" ports Message-ID: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> Date: Mon, 13 Nov 2017 13:32:23 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 13 Nov 2017 21:42:10 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 21:32:26 -0000 I have a number of "local" ports I use for various purposes. For example one use is to build packages locally written software. Another is to keep a private copy of ports I maintain under source control. Historically I've put these in /usr/ports/lbl, e.g. lbl/lbl-acld which might start out with: PORTNAME= acld PORTVERSION= 2.1 CATEGORIES= lbl [...] VALID_CATEGORIES+= lbl This has worked well for years. The other common case is a port that I maintain such as security/bro. I keep my local dev version in /usr/ports/lbl/lbl-bro. This allows a private log history and testing without modifying normal /usr/ports/security/bro version until I'm ready to file a PR or commit changes. poudriere 3.2.0 breaks this practice: [00:00:01] Warning: (lbl/lbl-bro): [00:00:01] Error: lbl/lbl-bro has incorrect CATEGORIES, first should be 'lbl'. Please contact maintainer of the port to fix this. I assume it's picking up "lbl" from the directory path. I don't want to/can't put "lbl" in the individual Makefile CATEGORIES. Otherwise I can't do things like: diff --exclude=.svn /usr/ports/lbl/lbl-bro /usr/ports/security/bro and I definitely can't just copy Makefiles from lbl/lbl-bro to security/bro. I tried to find a way to insert lbl at the front of CATEGORIES in ../Makefile.inc: .if "$(CATEGORIES:Mlbl)" == "" CATEGORIES= lbl $(CATEGORIES) .endif but I'm not sure it's possible; make appears to considers it recursive even when it's protected by a conditional. Is there a solution to or a better way of doing this? Craig From owner-freebsd-hackers@freebsd.org Tue Nov 14 01:53:01 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D244C7CE14 for ; Tue, 14 Nov 2017 01:53:01 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6EB567715 for ; Tue, 14 Nov 2017 01:53:00 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.240.237]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAE1qerJ011119 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 14 Nov 2017 09:52:41 +0800 (CST) (envelope-from by@meetlost.com) From: by Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Build nvi 2.1.3 on Mac, missing build instructions Message-Id: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> Date: Tue, 14 Nov 2017 09:52:56 +0800 To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 01:53:01 -0000 Hi, I am trying to use nvi on my Mac, and after I =A1=AEbrew install nvi=A1=AF= , I found the version is 1.81.6, not the latest. I know the version of nvi in freebsd head is 2.1.3 now, so I checkout = that, and trying to build it myself. But I found there is no build/ directory under nvi/, and I know there is = a build/ directory with nvi-1.79, and the link is: https://sites.google.com/a/bostic.com/keithbostic/vi/ = How can I build the nvi package? It is under base/head/contrib/nvi = directory. Maybe any Makefile or build instructions under upper = directory? Thanks by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 03:16:36 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1CBACFCC24 for ; Tue, 14 Nov 2017 03:16:36 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 913746B4EA for ; Tue, 14 Nov 2017 03:16:36 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by mail-qk0-x230.google.com with SMTP id 78so22452550qkz.0 for ; Mon, 13 Nov 2017 19:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eSFAMj0aq4v/SvCBgllkYC2lAMk3r89PbJ+wWLWMcaY=; b=rm2bzz6nBHnqS5CZGqOS47OibGfEha6UttkTkzc1ogIJgJ/e6pXta8rFCB5ZyIoWCP ZxZCr5gWInoYoJF7gMs7cFsRfElBJshjPQ28TTKvS4lc4In4lWe+t3QKk49t8N6gMUb3 lEHrbhC0r6UM5qcx+ZU/WaNURheVCXOHURGCzu+bovk7VVaEEQoP7oi1+V3cEJIiOp2f /jcxTSxlD3Bc2JSmCCs0Bx9F/+cuWZdV7vPDaaNK3VZ5wlwnFI+PqfuHE1qYwd4VBSCU DKDjSQ53DA5t/voSY9HdxI/HF7QgrvQ4gtdt9NAEZ5+WIhAMSbA1jV95oCobx3x+8kqy ZRaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eSFAMj0aq4v/SvCBgllkYC2lAMk3r89PbJ+wWLWMcaY=; b=Wuq+2wE9Ys2xyCuudORjDo2h0gjdRLCEDfO15uEFncrYmPltWo5teBPTn5QkF1r4LR Q7iodEB7X7TWeF98AAMdXbW3GVEYX5HIZPQYv/Fg2fB/pGTBGuAIzCE+gCyg9Ahg6koD aHFca9iEIxbQtNEFjIH2Oi+/1vNkrlM7KzkgtYtSxNDAVhQq2GkCXk/sNkW1g9DLGdqX 46FJQuquZxJPFogrdsEoPtQXQ+SPvm0NukQd0h/WP0Pi/mRtJgsKRgYZA7mdwtB8+pU+ Mm+gEZYI17bwBhX8AXrUw/zUWEQomUZhhyapZxtZC/9mzX8kqAJeS7S2kRNG0zwaL6v1 FbJg== X-Gm-Message-State: AJaThX6//GaLv/AA3nWAogN5iWVH1TK71yni47h4OJfTOFJ1wuJtvPsg BE6T8wQGg6uFXAQMhaXdDHQBoEZsKKYVg2VfiRPhOA== X-Google-Smtp-Source: AGs4zMaGJbCHdbb6aQ+WFajClga1wfZkuSdQ3+r7J9h0j7k6Jaesf0zdzI4yr9d7tEtYboABG5ihXFSHK6pU2pHgFlc= X-Received: by 10.55.75.202 with SMTP id y193mr17084779qka.329.1510629395340; Mon, 13 Nov 2017 19:16:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.50.38 with HTTP; Mon, 13 Nov 2017 19:16:34 -0800 (PST) In-Reply-To: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> From: Zhihao Yuan Date: Mon, 13 Nov 2017 21:16:34 -0600 Message-ID: Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions To: by Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 03:16:36 -0000 On Mon, Nov 13, 2017 at 7:52 PM, by wrote: > I am trying to use nvi on my Mac, and after I =E2=80=98brew install nvi= =E2=80=99, I found > the version is 1.81.6, not the latest. > > I know the version of nvi in freebsd head is 2.1.3 now, so I checkout > that, and trying to build it myself. > But I found there is no build/ directory under nvi/, and I know there is = a > build/ directory with nvi-1.79, and the link is: > https://sites.google.com/a/bostic.com/keithbostic/vi/ > You suddenly mentioned 3 forks of nvi -- nvi-1.79, nvi-1.8x, and nvi2-2.x.y :/ Long story short, How can I build the nvi package? It is under base/head/contrib/nvi > directory. Maybe any Makefile or build instructions under upper directory= ? > among those, only nvi2 is using CMake as its build system, so if you just want to build it by yourself, https://github.com/lichray/nvi2/wiki/Porting is a good starting point. FreeBSD base commits generated headers to usr.bin/vi which may not fit your needs (on Mac). --=20 Zhihao Yuan, ID lichray The best way to predict the future is to invent it. _______________________________________________ From owner-freebsd-hackers@freebsd.org Tue Nov 14 03:37:40 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A3A7CFDA9A for ; Tue, 14 Nov 2017 03:37:40 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A04F6C378 for ; Tue, 14 Nov 2017 03:37:40 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.20.121]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAE3bKVj011805 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 11:37:21 +0800 (CST) (envelope-from by@meetlost.com) From: by Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions Date: Tue, 14 Nov 2017 11:37:36 +0800 In-Reply-To: Cc: FreeBSD Hackers To: Zhihao Yuan References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 03:37:40 -0000 > among those, only nvi2 is using CMake as > its build system, so if you just want to build it > by yourself, >=20 > https://github.com/lichray/nvi2/wiki/Porting = >=20 > is a good starting point. FreeBSD base Yes, it is. > commits generated headers to usr.bin/vi > which may not fit your needs (on Mac). >=20 Ha, thank you for mentioning usr.bin/vi, I found a Makefile there, and I = will look into this also. Port the FreeBSD Makefile to Mac or via CMake. I will go with the simple one :-) by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 04:13:47 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7F41CFECAE for ; Tue, 14 Nov 2017 04:13:47 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 868296D6BB for ; Tue, 14 Nov 2017 04:13:47 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.20.129]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAE4DOs7011987 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 12:13:26 +0800 (CST) (envelope-from by@meetlost.com) From: by Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions Date: Tue, 14 Nov 2017 12:13:41 +0800 In-Reply-To: Cc: FreeBSD Hackers To: Laurent Cimon References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 04:13:48 -0000 > > It should compile without issues on your mac as long as you have cmake > with: (in the nvi2 directory) cd build/ && cmake . && make && make install > I tried this. When executing make, the error puts like below: nvi/nvi2/cl/../common/screen.h:62:2: error: unknown type name 'recno_t' Am I lost some dependency libs? by From owner-freebsd-hackers@freebsd.org Tue Nov 14 06:29:04 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47FE6D7D592 for ; Tue, 14 Nov 2017 06:29:04 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3BA4713E4 for ; Tue, 14 Nov 2017 06:29:03 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by mail-qk0-x233.google.com with SMTP id p19so17613034qke.2 for ; Mon, 13 Nov 2017 22:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=o4mcaGNmda5iO4kd4nqfmfCESmXlowY6PEo/gUOBhEs=; b=ufkgFyxTkAp0dHES73PHb4ttdAlnxBls9JDryGCGrT0M3IXR3YRADclvZBCP6rzmz6 KVy0wH7LSwNu3mGkiB2/rYx+qtBv/W/WVveE58nyiPy51k0uFRAEwVR067+kq3pyp0b5 IenF7ot8EoJBlvIZKM16m4MOBovqX8GG1OVeNPDrUdydlYRhusO2wTNAcnuPamsvDY8A hStF2wjhJPCEznQbpjlFdq2k3dNScjju+2pP8WruMUGcIxITSBez6nCe0L2pJtnts7qV QfG82RaSlDJwNwvMhds5RKedrPShrcgJJt2HBdNq0MiBMOFB2ZaicbFhegpeL6/3WGTQ wilg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=o4mcaGNmda5iO4kd4nqfmfCESmXlowY6PEo/gUOBhEs=; b=bzc6iVFrSyMg4i7Y2h7pn8dIqYMY+uhZOYLdPVB9q08YKBNbL2vFzhR0nNGIXJFezZ Dyvx/tHYjqezX7TtDH3O/TaoVs0abungXS05n3fh1V+YKw7gpAKHL46C2aYW2NfMildo e7H+3lQIW4N+dvUOG0yd7dqaH6cyzXdtIv+d3uSQ1d32KOk4RLyesltmzw9h/PZfdzFq DmTO12PymtpotEx000/cnMP6T/a4nMNF6zVpsdUuI37IdOW+Hch9hzimVRJDGMYJdExz hYFhynOaBkvQMuJm1214gAnNf+wt6NR/rBcNWOXqxBflXfnfYh6gd9lDbrtHpvrVmqCo HpFw== X-Gm-Message-State: AJaThX4LAegl3+jZCYaGBtMG9/j2dgbFwUaeDEtYHo3AmVnEof+1fv80 dGZbeqBi1K67MiwCYIynUK5Xs/qcmn5ZJyA89gH4LOaP X-Google-Smtp-Source: AGs4zMav+xSu+p5KY5QeqEO1o+rT06wYo/c9PN9yZcC95bfhjUINKw0SlwTJ39MExA4LBAXtZUSu9MFTOtG3QZgFn3I= X-Received: by 10.55.26.90 with SMTP id a87mr16581347qka.184.1510640942754; Mon, 13 Nov 2017 22:29:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.50.38 with HTTP; Mon, 13 Nov 2017 22:29:02 -0800 (PST) In-Reply-To: References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> From: Zhihao Yuan Date: Tue, 14 Nov 2017 00:29:02 -0600 Message-ID: Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 06:29:04 -0000 On Mon, Nov 13, 2017 at 10:13 PM, by wrote: > > When executing make, the error puts like below: > nvi/nvi2/cl/../common/screen.h:62:2: error: unknown type name 'recno_t' > > Am I lost some dependency libs? > /* resending from another address */ I need to find someway to stop these crazy /usr/local/include priorities... https://public.kitware.com/pipermail/cmake/2017-July/065734.html The issue was found but no solution proposed to Github (https://github.com/lichray/nvi2/issues/57). -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. _______________________________________________ From owner-freebsd-hackers@freebsd.org Tue Nov 14 06:59:01 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA912D7E180 for ; Tue, 14 Nov 2017 06:59:01 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D75E72464 for ; Tue, 14 Nov 2017 06:59:01 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.20.129]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAE6weBi014047 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 14:58:41 +0800 (CST) (envelope-from by@meetlost.com) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions From: by In-Reply-To: Date: Tue, 14 Nov 2017 14:58:56 +0800 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> To: Zhihao Yuan X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 06:59:02 -0000 > I need to find someway to stop these crazy > /usr/local/include priorities=A1=AD In my case, /usr/include/ contains db.h too. >=20 > https://public.kitware.com/pipermail/cmake/2017-July/065734.html >=20 Above link works. After changing =A1=B0#include =A1=B1 to =A1=B0#include = /usr/include/db.h=A1=B1 within file common/common.h, and make it again, = I can get the =A1=B0nvi=A1=B1 binary on my Mac. > The issue was found but no solution proposed > to Github (https://github.com/lichray/nvi2/issues/57). >=20 >=20 by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 09:09:08 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10167DB897E; Tue, 14 Nov 2017 09:09:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C05137618F; Tue, 14 Nov 2017 09:09:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1eEXDD-000O9b-U4; Tue, 14 Nov 2017 11:08:55 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: iscsi target and VMware/esxi timeouts Message-Id: <7779629C-A1E5-4E96-B660-A0FAD231468C@cs.huji.ac.il> Date: Tue, 14 Nov 2017 11:08:55 +0200 Cc: stable@freebsd.org To: Freebsd hackers list , =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: Apple Mail (2.3445.4.7) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 09:09:08 -0000 Hi, we are experimenting issues with several esxi=E2=80=99s servers that use = freebsd 10.2 stable as a iscsi target. ie: Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.201 = (iqn.1998-01.com.vmware:pe-02-2fa7cd9e): no ping reply (NOP-Out) after 5 = seconds; dropping connection Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.201 = (iqn.1998-01.com.vmware:pe-02-2fa7cd9e): no ping reply (NOP-Out) after 5 = seconds; dropping connection Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.205 = (iqn.1998-01.com.vmware:pe-03-13e8b52d): no ping reply (NOP-Out) after 5 = seconds; dropping connection Nov 11 17:58:17 store-07 kernel: WARNING: 132.65.11.203 = (iqn.1998-01.com.vmware:pe-13-60e87d06): no ping reply (NOP-Out) after 5 = seconds; dropping connection Nov 11 17:58:17 store-07 kernel: WARNING: 132.65.11.205 = (iqn.1998-01.com.vmware:pe-03-13e8b52d): no ping reply (NOP-Out) after 5 = seconds; dropping connection these are 3 different esxis that almost at the same time the target = looses connection to the initiators. at the moment most =E2=80=98clients=E2=80=99 recover from the scsi = error, but older freebsds don=E2=80=99t. in any case, increasing the timeout is not helping. any clues are welcome :-) over the weekend i=E2=80=99m planning to upgrade the target to 11.1 and = take for the hills. danny From owner-freebsd-hackers@freebsd.org Tue Nov 14 12:15:04 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1790FDBCBB8 for ; Tue, 14 Nov 2017 12:15:04 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BDFD87BF60 for ; Tue, 14 Nov 2017 12:15:03 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.208.96]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAECEe2C015768 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 20:14:42 +0800 (CST) (envelope-from by@meetlost.com) From: by Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions Date: Tue, 14 Nov 2017 20:14:57 +0800 In-Reply-To: <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> Cc: FreeBSD Hackers To: Zhihao Yuan References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 12:15:04 -0000 Hi, I have tried build nvi from FreeBSD sources directly on my Mac. And I = got the nvi binary finally :-) Basic steps are below: 1. Install required dependency libs(bsdmake and ncurses) $ brew install bsdmake $ brew install ncurses 2. Checkout the sources from FreeBSD svn repo $ svn co https://svn.freebsd.org/base/releng/10.3/usr.bin/vi = $ cd vi/ $ svn co https://svn.freebsd.org/base/releng/10.3/contrib/nvi = $ cp /usr/include/db.h ./ $ mkdir contrib $ mv nvi contrib/ 3. Make some changes, there is a diff file available via below link http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt = by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 12:30:41 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80188DBD372 for ; Tue, 14 Nov 2017 12:30:41 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3565A7C5BC for ; Tue, 14 Nov 2017 12:30:41 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id v137so23792252qkb.1 for ; Tue, 14 Nov 2017 04:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Zn88oRSTxl1q0bK2SSnk/f6AsHdOTRfIKrls79G9XfQ=; b=fKqRUIq78CSM5il/8Zw9g38+qtCpFWL9TVz16/oDJL57hHvvTM0TlynwEejRCQN0X5 Uv6vkeitnkGl2L81UFIk3JBRv0tWFGhfCX+QehvfTqEXFIxpxlAeDEfWlprrnNLG7CGg 5Z6RxMWkJpACEvgqnKvKjIrEGaxnONdGNfnjRMyJOI1R0vOtFsKOdh7ePh/r+ZJQh9Yj BqPPBav8FueRpB8zf13ePvm5g9Kd5Mk7SflGBvz6LbzH/O+LWy60c/ryHCiKRQXy0ZgG v+lS7xhN/ztTYLprsaHDjxKS7MBhFDXLA5xT55ObjuKgKH7SK+wp1DI0xltnGcXJlne3 q9EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Zn88oRSTxl1q0bK2SSnk/f6AsHdOTRfIKrls79G9XfQ=; b=crrevEL3cfrrHQUor74UYxXgM0vbfexqwb7v4dXo78xRHkDVMauM5+P3x1JjCN9xhz XFaHDMM54BGeGJH3smfBaGsb0XP2aLU+if4+ubKqEbwmKT07moEf3Qv5eXvHPcVxuxT3 DwPSonn46zMVGmM+uXo12HaqlNz9J/jRGvf/zyJiySz6Kxhq2F3yG1dNWfWT1gOFYgY6 dNI5cmSh6C3fHt6gaSDtQG9WQqpCVB0Z0gNW3tucKi3Z+uHBMOdmu/tuZZdRHFUd7SWP IB4i73os7LUHyQStry4YIYITz5GWjlSGJzAByH3sercfE9gukURQyM6yLbW+bc3xPMjr M25A== X-Gm-Message-State: AJaThX7r2ChHLqWb++jb1I2Ua5v40yWCfeUK4poRbpNwHLk3QiFFRyEJ 8p0y1CJmG5+Pf3lKsy996XJK2lnnb3QDIVKOB7YP/TRA X-Google-Smtp-Source: AGs4zMaybdbV5MTL5VJENRr4IucVpsjeRx/CCUGyw5WwsBp0efTgCjhXDETd48Pb0tdAqEjGNRttxaea91d62StTKr4= X-Received: by 10.55.16.169 with SMTP id 41mr20354171qkq.170.1510662640235; Tue, 14 Nov 2017 04:30:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.41.106 with HTTP; Tue, 14 Nov 2017 04:30:39 -0800 (PST) In-Reply-To: References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> From: Zhihao Yuan Date: Tue, 14 Nov 2017 06:30:39 -0600 Message-ID: Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions To: by Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 12:30:41 -0000 On Tue, Nov 14, 2017 at 6:14 AM, by wrote: > I have tried build nvi from FreeBSD sources directly on my Mac. And I got > the nvi binary finally :-) > I'm not sure what's the benefit, and you may not be creating a wide character / UTF-8 capable build with this, as I saw you linked to libncurses rather than libncursesw. 3. Make some changes, there is a diff file available via below link > > http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt > > And I'm curious why libresolv is needed. -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. _______________________________________________ From owner-freebsd-hackers@freebsd.org Tue Nov 14 13:00:43 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B55BDBE3D5 for ; Tue, 14 Nov 2017 13:00:43 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF0437D776 for ; Tue, 14 Nov 2017 13:00:42 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.208.100]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAED0MnY016110 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 21:00:23 +0800 (CST) (envelope-from by@meetlost.com) From: by Message-Id: <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions Date: Tue, 14 Nov 2017 21:00:38 +0800 In-Reply-To: Cc: FreeBSD Hackers To: Zhihao Yuan References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 13:00:43 -0000 > I'm not sure what's the benefit, and you may not be > creating a wide character / UTF-8 capable build with > this, as I saw you linked to libncurses rather than > libncursesw. I just want to make sure porting the =A1=AFnvi=A1=AF which runs on my = FreeBSD(2.1.2) box to macOS directly is doable. And yes, it is lost some features, but I can run the binary now :-) After make sure the basic thing works, I can go further later(maybe go = to your nvi2 directly). >=20 > 3. Make some changes, there is a diff file available via below link >=20 > http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt = >=20 >=20 > And I'm curious why libresolv is needed. When trying to run =A1=AEbsdmake=A1=AF, it puts the error message like = below, add =A1=AE-lresolv=A1=AF suppresses this. Undefined symbols for architecture x86_64: "_res_9_b64_ntop", referenced from: _rcv_dlnwrite in recover.o "_res_9_b64_pton", referenced from: _rcv_dlnread in recover.o ld: symbol(s) not found for architecture x86_64 by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 14:40:35 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 998CBDC09AE for ; Tue, 14 Nov 2017 14:40:35 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C76310ED for ; Tue, 14 Nov 2017 14:40:35 +0000 (UTC) (envelope-from lichray@gmail.com) Received: by mail-qt0-x22d.google.com with SMTP id n61so25475221qte.10 for ; Tue, 14 Nov 2017 06:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bASATG+mlGzfS2kxdpPJNJ+18wZEVAZyNU97znIb2tI=; b=DHeydSbIkE8D7JKOiw69XQ1cCpkN2btnXbYvUJ+tgu7xBf4i1UMNUui8nLHmCArrLC 1udhV8vu7AGq9nowWdhRBH5voW3dNdrzPkKGVZgDTD5CnfT8c0Y7oeAfU947apTwTlvW 8H/d9DSddtyUvEfDyuGmLTb8n9hyxsYp1wjChZXYqkFE2UK5i6nyo6bSgAY9fWUWZAf+ 10rVewXg8J5nsx0MIh8iU+Tskdxjh4b7gchix6PFCPnSjmNCS7Pqx3O5kI0dpT1JsKB4 qlKV3Z2dTTHTp1zksLk1G9yLaW4jAw9X61qR5At+O3tSE4gT6WBKMscysE1LZ5wGljpd 3V7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bASATG+mlGzfS2kxdpPJNJ+18wZEVAZyNU97znIb2tI=; b=n+wVUNUQvpip7znCtuPns4nBuwn2dXGs+yVDtMM+KYJcpwgRsOFJVs9BLULtVWKAVz ox0xvtAFRBKD5/gqXF6lvr4o9pI6Ax8sppilrHZO8lcDv9MYJUUXFFHtPIUn/NfMuVNc g2/CKShhrAiITMMtuMTl7jP22wOxJAPsahnubFbIdGQ9AF5VbPe5gKkoSOE3ZdYUM6hP c0iogbRLgFd1Cu1yJN4eAE3x5Vvj5t/r6SlilosXuRUUAOWLF8MdDnASWYMcLU1rZDI5 JQsWvPGTFVOnT9HXopFSRIrd9bqCG9jRlaGWNo40PyktH9nlu/bq65gF4jzGqgJ+zAR2 seMg== X-Gm-Message-State: AJaThX5OHapWKuNUIedl2N6xqHyAI1waUW0LNOmk1GDfJWAssmBvCuC7 9AC3kpVn77IhSLGtV48et4SNeD8T5vtXbwvmhjAniw== X-Google-Smtp-Source: AGs4zMad+79egfOdHslQXHocVh1sHHVbU/Ff1JopGb1Z+Rehw5OZWDu/kV1ufLkVGO0sgRuc9AQjbDZVqFnH4hWWAFM= X-Received: by 10.200.51.107 with SMTP id u40mr18164399qta.152.1510670434413; Tue, 14 Nov 2017 06:40:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.41.106 with HTTP; Tue, 14 Nov 2017 06:40:33 -0800 (PST) Received: by 10.200.41.106 with HTTP; Tue, 14 Nov 2017 06:40:33 -0800 (PST) In-Reply-To: References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com> From: Zhihao Yuan Date: Tue, 14 Nov 2017 08:40:33 -0600 Message-ID: Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions To: by Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 14:40:35 -0000 On Nov 14, 2017 7:00 AM, "by" wrote: When trying to run =E2=80=98bsdmake=E2=80=99, it puts the error message lik= e below, add =E2=80=98-lresolv=E2=80=99 suppresses this. Undefined symbols for architecture x86_64: "_res_9_b64_ntop", referenced from: _rcv_dlnwrite in recover.o "_res_9_b64_pton", referenced from: _rcv_dlnread in recover.o ld: symbol(s) not found for architecture x86_64 And this error is not called out when using cmake? That's... interesting. -- Zhihao From owner-freebsd-hackers@freebsd.org Tue Nov 14 15:23:09 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62CAADC1B04 for ; Tue, 14 Nov 2017 15:23:09 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0038030E1 for ; Tue, 14 Nov 2017 15:23:08 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.208.100]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAEFMlvx016909 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 23:22:48 +0800 (CST) (envelope-from by@meetlost.com) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions From: by In-Reply-To: Date: Tue, 14 Nov 2017 23:23:03 +0800 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <39041EAD-C542-48C5-8827-F76D8A4FF034@meetlost.com> References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com> To: Zhihao Yuan X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 15:23:09 -0000 >=20 > When trying to run =A1=AEbsdmake=A1=AF, it puts the error message like = below, add > =A1=AE-lresolv=A1=AF suppresses this. >=20 > Undefined symbols for architecture x86_64: > "_res_9_b64_ntop", referenced from: > _rcv_dlnwrite in recover.o > "_res_9_b64_pton", referenced from: > _rcv_dlnread in recover.o > ld: symbol(s) not found for architecture x86_64 >=20 >=20 > And this error is not called out when using cmake? > That's... interesting. >=20 This error is not shown with cmake. After work around the db.h issue, I can get the binary via make. by= From owner-freebsd-hackers@freebsd.org Tue Nov 14 18:42:24 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0ACFDDACAB for ; Tue, 14 Nov 2017 18:42:24 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 529826AB41 for ; Tue, 14 Nov 2017 18:42:24 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id a2so23434916lfh.11 for ; Tue, 14 Nov 2017 10:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MiC5MkTk2xsb6qejh1nfWyMlMkwquCmsLMFK2tQkUTQ=; b=qWfdhjW6xvmDZA8GbYwrbD1EeVVmkgy7rR1IGiPY/qV+9ZoUGFWzgut/s1N9EzrfY7 Bw5s20f0VXhSv6SH9LQgBwLFNg9sLLhbnE3k4ss3G0pxx0xU0m0+7jZdhKJDidhF7a5b j3rwFXnnYJTX49cl6g8VAO/QX9EpgGpdKI4ZmtiMaD9vBKhF81ykU5KsvDmeN92Q2MrG GpNKTvuRudmK6hY+cin5eXs81jJNRciFeUZb2aGzyqZqKmxU2wTkE2VbfCCBbxpVmI3s MNWI40ppQxnl54QCymLQYdq16D1APZynGnTiLlzeKt64KyGFkYznapmeuCSrZrRspNS2 uuIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MiC5MkTk2xsb6qejh1nfWyMlMkwquCmsLMFK2tQkUTQ=; b=LYRsz2SP8xAMn9fYI/Wsu0PYjORHTawPxBCIPwVQu64WIdvwuvIkQVq2WDgU7i+ulM TK6GuwGJNnSe/1La4uj0B59BIYNSW/kDBRmH4oyzJaaRC4DEr4OGiQGAUJQRNXje2dOP mPuwYWCXMIyXLnLCWtfRiigbz/izt/b8DEMaOY5JCKlXlMlXLGPshp4ECKgZB+yGa/IW WBb4M4kMfocdjpxsWFhY5kUk5Olgu2b5BQSeBElLBHBs2mtwn/8uP/O/Qx2j8eJFlb0E DudcYm0BeARqCls+wDzUbchQriP5vDafTztporAno2KO7ApkZSByl89A9/8gcw9emyPY 8TXg== X-Gm-Message-State: AJaThX4T1AQIV6qE+n7e/kOwf/rP0na4P9O+zucetz5qj6iZbuc1khRl Whm3ZNlyAz3/7PjSvz20gTknQQ== X-Google-Smtp-Source: AGs4zMYXv/844VbZG3qbvkGTghOR7sBKmF6sLBxeWrKwf9UB1KPvZyv5uZ5zyNU7cQTSKKlhX9poMA== X-Received: by 10.46.95.15 with SMTP id t15mr650919ljb.2.1510684942569; Tue, 14 Nov 2017 10:42:22 -0800 (PST) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id l34sm1617401lfi.6.2017.11.14.10.42.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Nov 2017 10:42:21 -0800 (PST) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Tue, 14 Nov 2017 21:41:01 +0300 To: Craig Leres Cc: freebsd-hackers@freebsd.org Subject: Re: poudriere 3.2.0 vs. "local" ports Message-ID: <20171114214101.7cb518bd@gmail.com> In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 18:42:24 -0000 On Mon, 13 Nov 2017 13:32:23 -0800 Craig Leres wrote: Try synth. I use portmaster after few updates: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218348 IMHO poudriere is to heavy, I dont want keep zfs and jail staff in my kernel/system. From owner-freebsd-hackers@freebsd.org Tue Nov 14 23:41:30 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2BA0DB941B for ; Tue, 14 Nov 2017 23:41:30 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3015750F5; Tue, 14 Nov 2017 23:41:30 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id CE6F86AA9; Tue, 14 Nov 2017 23:41:29 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 151678458; Tue, 14 Nov 2017 23:41:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id pJUZFvFsKgYV; Tue, 14 Nov 2017 23:41:25 +0000 (UTC) Subject: Re: poudriere 3.2.0 vs. "local" ports DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com EF4EE8452 To: Craig Leres , freebsd-hackers@freebsd.org References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Tue, 14 Nov 2017 15:41:25 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l8gilS1VEJxbaAdRShd99cnS93njukul9" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 23:41:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --l8gilS1VEJxbaAdRShd99cnS93njukul9 Content-Type: multipart/mixed; boundary="WSRslGLS5HL9SHxigvHnTPX8VrC9MODPV"; protected-headers="v1" From: Bryan Drewery To: Craig Leres , freebsd-hackers@freebsd.org Message-ID: Subject: Re: poudriere 3.2.0 vs. "local" ports References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> --WSRslGLS5HL9SHxigvHnTPX8VrC9MODPV Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/13/2017 1:32 PM, Craig Leres wrote: > I have a number of "local" ports I use for various purposes. For exampl= e > one use is to build packages locally written software. Another is to > keep a private copy of ports I maintain under source control. > Historically I've put these in /usr/ports/lbl, e.g. lbl/lbl-acld which > might start out with: >=20 > =C2=A0=C2=A0=C2=A0 PORTNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 acld= > =C2=A0=C2=A0=C2=A0 PORTVERSION=3D=C2=A0=C2=A0=C2=A0 2.1 > =C2=A0=C2=A0=C2=A0 CATEGORIES=3D=C2=A0=C2=A0=C2=A0=C2=A0 lbl > =C2=A0=C2=A0=C2=A0 [...] > =C2=A0=C2=A0=C2=A0 VALID_CATEGORIES+=3D lbl >=20 > This has worked well for years. That should continue to work. I do this as well. >=20 > The other common case is a port that I maintain such as security/bro. I= > keep my local dev version in /usr/ports/lbl/lbl-bro. This allows a > private log history and testing without modifying normal > /usr/ports/security/bro version until I'm ready to file a PR or commit > changes. >=20 > poudriere 3.2.0 breaks this practice: >=20 > =C2=A0=C2=A0=C2=A0 [00:00:01] Warning: (lbl/lbl-bro): [00:00:01] Error:= lbl/lbl-bro has > incorrect CATEGORIES, first should be 'lbl'.=C2=A0 Please contact maint= ainer > of the port to fix this. >=20 > I assume it's picking up "lbl" from the directory path. If you are building 'lbl/lbl-bro' then it picks it up from that. The reason this assertion was added is that the package will end up with an improper origin of security/bro even though it was built from lbl/lbl-bro if using a MASTERDIR. This would cause incremental rebuild issues since they package wouldn't match the origin you built with. >=20 > I don't want to/can't put "lbl" in the individual Makefile CATEGORIES. > Otherwise I can't do things like: >=20 > =C2=A0=C2=A0=C2=A0 diff --exclude=3D.svn /usr/ports/lbl/lbl-bro /usr/po= rts/security/bro I don't understand what you're doing. What exactly is lbl/lbl-bro/Makefile? Is it a full copy of security/bro/Makefile or is it using security/bro as a MASTERDIR? What is the CATEGORIES value for lbl/lbl-bro/Makefile? >=20 > and I definitely can't just copy Makefiles from lbl/lbl-bro to > security/bro. >=20 > I tried to find a way to insert lbl at the front of CATEGORIES in > ../Makefile.inc: >=20 > =C2=A0=C2=A0=C2=A0 .if "$(CATEGORIES:Mlbl)" =3D=3D "" > =C2=A0=C2=A0=C2=A0=C2=A0 CATEGORIES=3D=C2=A0=C2=A0=C2=A0 lbl $(CATEGORI= ES) > =C2=A0=C2=A0=C2=A0 .endif >=20 > but I'm not sure it's possible; make appears to considers it recursive > even when it's protected by a conditional. >=20 > Is there a solution to or a better way of doing this? >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Craig >=20 By the way a better place for ports questions is ports@. For Poudriere there is #poudriere on freenode, https://github.com/freebsd/poudriere/issues, or you can mail me. --=20 Regards, Bryan Drewery --WSRslGLS5HL9SHxigvHnTPX8VrC9MODPV-- --l8gilS1VEJxbaAdRShd99cnS93njukul9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJaC38lAAoJEDXXcbtuRpfPG50H/20XtBV9O9DLmdQT/gB0MQUA uue1XZzDfeicLHLN0SUSnsFdqMmzzstd6Q63IE2d0uBs9Jdxf4YW93qygAwIRcEA sJoam+gIibKB5F5AwtaSmgTSYKq97uLlTSKn2UJg1EY98tn6EXkPorcD6idJCZLf kj4PUJdxz4DETmgRR74ugOb7l5qxgXBJrXkQ/WiXZlhhp26SCN7cJnuD7rA1MkHg iFj0utPZzi+nhriklDrBaP9O1nMZSpHMk5Z2Ny3BZ4AqP6YwCyTEIVj3AiXTmZdr kldvkN14pUNM3XTfaB7SD7oIrVKf2ZJzndRW5zH1SxbjZB5lzHG8CUFvgt+eSK0= =ei5r -----END PGP SIGNATURE----- --l8gilS1VEJxbaAdRShd99cnS93njukul9-- From owner-freebsd-hackers@freebsd.org Wed Nov 15 03:41:18 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF18ADBE0C2 for ; Wed, 15 Nov 2017 03:41:18 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fun.ee.lbl.gov", Issuer "ACS 3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DDAA67C182; Wed, 15 Nov 2017 03:41:18 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [IPv6:2620:83:8000:102:0:0:0:d5]) (authenticated bits=0) by fun.ee.lbl.gov (8.15.2/8.15.2) with ESMTPSA id vAF3fGJf011512 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 19:41:17 -0800 (PST) (envelope-from leres@ee.lbl.gov) Subject: Re: poudriere 3.2.0 vs. "local" ports To: Bryan Drewery , freebsd-hackers@freebsd.org References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> From: Craig Leres Message-ID: Date: Tue, 14 Nov 2017 19:41:16 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 15 Nov 2017 04:17:07 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 03:41:19 -0000 On 11/14/17 15:41, Bryan Drewery wrote: >> I don't want to/can't put "lbl" in the individual Makefile CATEGORIES. >> Otherwise I can't do things like: >> >>     diff --exclude=.svn /usr/ports/lbl/lbl-bro /usr/ports/security/bro > I don't understand what you're doing. What exactly is > lbl/lbl-bro/Makefile? Is it a full copy of security/bro/Makefile or is > it using security/bro as a MASTERDIR? > > What is the CATEGORIES value for lbl/lbl-bro/Makefile? CATEGORIES contains security; the files in lbl/lbl-bro are usually the same as security/bro. The only option I can see at this point is to put a symlink from security/lbl-bro to ../lbl/lbl-bro. Craig From owner-freebsd-hackers@freebsd.org Wed Nov 15 18:08:57 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F1D0DE332A for ; Wed, 15 Nov 2017 18:08:57 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E62A74289; Wed, 15 Nov 2017 18:08:57 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 405DC12599; Wed, 15 Nov 2017 18:08:56 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 91E6A87CB; Wed, 15 Nov 2017 18:08:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id KJ0XWg78MguQ; Wed, 15 Nov 2017 18:08:53 +0000 (UTC) Subject: Re: poudriere 3.2.0 vs. "local" ports DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 2237887C0 To: Craig Leres , freebsd-hackers@freebsd.org References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <57aff3ee-0150-576e-af8a-e47ea2bf0c59@FreeBSD.org> Date: Wed, 15 Nov 2017 10:08:54 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Is2h5waCOrPHFjdCPTkTGQOvQdLxfQdtc" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 18:08:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Is2h5waCOrPHFjdCPTkTGQOvQdLxfQdtc Content-Type: multipart/mixed; boundary="iRAHbnpRxG5SDhKmEtn5Pu11P847jCEjr"; protected-headers="v1" From: Bryan Drewery To: Craig Leres , freebsd-hackers@freebsd.org Message-ID: <57aff3ee-0150-576e-af8a-e47ea2bf0c59@FreeBSD.org> Subject: Re: poudriere 3.2.0 vs. "local" ports References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> In-Reply-To: --iRAHbnpRxG5SDhKmEtn5Pu11P847jCEjr Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/14/2017 7:41 PM, Craig Leres wrote: > On 11/14/17 15:41, Bryan Drewery wrote: >>> I don't want to/can't put "lbl" in the individual Makefile CATEGORIES= =2E >>> Otherwise I can't do things like: >>> >>> =C2=A0=C2=A0=C2=A0=C2=A0 diff --exclude=3D.svn /usr/ports/lbl/lbl-bro= /usr/ports/security/bro >> I don't understand what you're doing.=C2=A0 What exactly is >> lbl/lbl-bro/Makefile? Is it a full copy of security/bro/Makefile or is= >> it using security/bro as a MASTERDIR? >> You didn't answer this clearly ^ >> What is the CATEGORIES value for lbl/lbl-bro/Makefile? >=20 > CATEGORIES contains security; the files in lbl/lbl-bro are usually the > same as security/bro. The only option I can see at this point is to put= > a symlink from security/lbl-bro to ../lbl/lbl-bro. >=20 If it's a full copy then just fix CATEGORIES to be proper. --=20 Regards, Bryan Drewery --iRAHbnpRxG5SDhKmEtn5Pu11P847jCEjr-- --Is2h5waCOrPHFjdCPTkTGQOvQdLxfQdtc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJaDIK2AAoJEDXXcbtuRpfPpukIAMZ96N6CPjIkWpEokwcLK8r6 T18gtxI9ykHOl/QcA17A0bqmYINd497X+CVF+QF8YbRkcZmVVga3xQGstTEQkWFW V1hUa7ZMv4NMxEtIATlutaFCxf9RKtlilm75+PF5sQDgOFPNcRwZgqS7Unw4Lv8M aiYvnOKRGfmQ6sWd1JWxyvLkqsywCTz3wMmR+Rtw5ZN3eXAHcPcDlWfWH77FRAD7 ikX+byPviFeomEY8ijEE6nkaXRPhqDSBAs8GF3ADN2gZNej5lVJid1vRw9B68c8F Uhsp3fGCTjLXnur5pV5cPIyBfT4Bo9P8CYctQMmxVx8GItx18bHB/5mD6n1lwn8= =ftkP -----END PGP SIGNATURE----- --Is2h5waCOrPHFjdCPTkTGQOvQdLxfQdtc-- From owner-freebsd-hackers@freebsd.org Wed Nov 15 20:34:56 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2127CDE6BB7 for ; Wed, 15 Nov 2017 20:34:56 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1E177AD2C for ; Wed, 15 Nov 2017 20:34:54 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 449c00b1-ca44-11e7-b805-f37e907b5733 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 449c00b1-ca44-11e7-b805-f37e907b5733; Wed, 15 Nov 2017 20:33:42 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id vAFKXe5c001852; Wed, 15 Nov 2017 13:33:40 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1510778020.99235.334.camel@freebsd.org> Subject: Re: poudriere 3.2.0 vs. "local" ports From: Ian Lepore To: Craig Leres , freebsd-hackers@freebsd.org Date: Wed, 15 Nov 2017 13:33:40 -0700 In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 20:34:56 -0000 On Mon, 2017-11-13 at 13:32 -0800, Craig Leres wrote: > > I tried to find a way to insert lbl at the front of CATEGORIES in  > ../Makefile.inc: > >      .if "$(CATEGORIES:Mlbl)" == "" >       CATEGORIES=    lbl $(CATEGORIES) >      .endif > > but I'm not sure it's possible; make appears to considers it > recursive  > even when it's protected by a conditional. For this part of your questions, use CATEGORIES:= lbl $(CATEGORIES), the := forces immediate expansion of the $(CATEGORIES) on the line, avoiding the recursion problem. -- Ian From owner-freebsd-hackers@freebsd.org Thu Nov 16 00:17:53 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C3F8DEFB0F for ; Thu, 16 Nov 2017 00:17:53 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fun.ee.lbl.gov", Issuer "ACS 3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 63847642B7; Thu, 16 Nov 2017 00:17:53 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [IPv6:2620:83:8000:102:0:0:0:d5]) (authenticated bits=0) by fun.ee.lbl.gov (8.15.2/8.15.2) with ESMTPSA id vAG0HoYm050452 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Nov 2017 16:17:52 -0800 (PST) (envelope-from leres@ee.lbl.gov) Subject: Re: poudriere 3.2.0 vs. "local" ports To: Ian Lepore , freebsd-hackers@freebsd.org References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> <1510778020.99235.334.camel@freebsd.org> From: Craig Leres Message-ID: <72d563a0-1af6-94b0-626d-9712190e80b4@ee.lbl.gov> Date: Wed, 15 Nov 2017 16:17:50 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1510778020.99235.334.camel@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 16 Nov 2017 00:51:57 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 00:17:53 -0000 On 11/15/17 12:33, Ian Lepore wrote: > For this part of your questions, use CATEGORIES:= lbl $(CATEGORIES), > the := forces immediate expansion of the $(CATEGORIES) on the line, > avoiding the recursion problem. Yes! That's the answer I was looking for! And it makes make happy. But poudriere still doesn't like it so I'll just stick with symlinks from /usr/ports/security or whatever. Craig From owner-freebsd-hackers@freebsd.org Fri Nov 17 08:30:26 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DA7DDBE0D7; Fri, 17 Nov 2017 08:30:26 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40FD27F219; Fri, 17 Nov 2017 08:30:25 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1eFc2O-000GuK-5i; Fri, 17 Nov 2017 10:30:12 +0200 From: Daniel Braniss Message-Id: Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: iscsi target and VMware/esxi timeouts -- SOLVED Date: Fri, 17 Nov 2017 10:30:11 +0200 In-Reply-To: <6B1A4A67-D0E9-4A73-B690-60A52D144F81@punkt.de> Cc: Freebsd hackers list , =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= , stable@freebsd.org To: "Patrick M. Hausen" References: <7779629C-A1E5-4E96-B660-A0FAD231468C@cs.huji.ac.il> <6B1A4A67-D0E9-4A73-B690-60A52D144F81@punkt.de> X-Mailer: Apple Mail (2.3445.4.7) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 08:30:26 -0000 > On 14 Nov 2017, at 11:28, Patrick M. Hausen wrote: >=20 > Hello, >=20 >> Am 14.11.2017 um 10:08 schrieb Daniel Braniss : >>=20 >> Hi, >> we are experimenting issues with several esxi=E2=80=99s servers that = use freebsd 10.2 stable as a iscsi target. >> ie: >> Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.201 = (iqn.1998-01.com.vmware:pe-02-2fa7cd9e): no ping reply (NOP-Out) after 5 = seconds; dropping connection >> Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.201 = (iqn.1998-01.com.vmware:pe-02-2fa7cd9e): no ping reply (NOP-Out) after 5 = seconds; dropping connection >> Nov 11 17:58:16 store-07 kernel: WARNING: 132.65.11.205 = (iqn.1998-01.com.vmware:pe-03-13e8b52d): no ping reply (NOP-Out) after 5 = seconds; dropping connection >> Nov 11 17:58:17 store-07 kernel: WARNING: 132.65.11.203 = (iqn.1998-01.com.vmware:pe-13-60e87d06): no ping reply (NOP-Out) after 5 = seconds; dropping connection >> Nov 11 17:58:17 store-07 kernel: WARNING: 132.65.11.205 = (iqn.1998-01.com.vmware:pe-03-13e8b52d): no ping reply (NOP-Out) after 5 = seconds; dropping connection >>=20 >> these are 3 different esxis that almost at the same time the target = looses connection to the initiators. >> at the moment most =E2=80=98clients=E2=80=99 recover from the scsi = error, but older freebsds don=E2=80=99t. >>=20 >> in any case, increasing the timeout is not helping. >>=20 >> any clues are welcome :-) >>=20 >> over the weekend i=E2=80=99m planning to upgrade the target to 11.1 = and take for the hills. >=20 > Are you using istgt or ctld? >=20 > We have did experience similar occasional problems with the former > but never with the latter. >=20 > Patrick the iscsi initiator of the esxi=E2=80=99s (VMware) does answer to = NOP=E2=80=99s once in a blue moon! this was checked by sniffing the network. setting kern.cam.ctl.iscsi.ping_timeout=3D0 solved this. thanks, danny From owner-freebsd-hackers@freebsd.org Sat Nov 18 05:29:19 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81690DEEE3C for ; Sat, 18 Nov 2017 05:29:19 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5267C638D0 for ; Sat, 18 Nov 2017 05:29:19 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id p44so9342501qtj.6 for ; Fri, 17 Nov 2017 21:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=6CftM72KHT7eGWJBBF4xVpN36BtnMNKmhmpSAZtAmKM=; b=ud9FFsaP/mFccRLEAH7r0AENmV31kpY6p5v2khHcnjZpIJ1NVRsB0ZY2glPcpHH50G WVJeka5b81tdZXeUp8//pDYpz/Nz5o/4t8OY43eiAWREmdzv8WF/VV2d+NnYYhLCX8Rw V5ar0f7CvS19o4LVixYyBXrjac2zpLAPFyqO7/ngNVsR0teQ5vpaAT73JUa86qS0IXlN qAv+AM+Kf9O5f54MpWM2IWGoJLo5E4I7/PhkjKwyeRo2nflbvGoWqh+NOwDRWpYULeFh /YPMkEubemBEKxFb0DM3RLSSWt63uEWyDGVSx0JAJSgp74MeGZEm5as4eL1+n3yrYtQJ o/Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=6CftM72KHT7eGWJBBF4xVpN36BtnMNKmhmpSAZtAmKM=; b=oK+Drrxdw8E0/R+LFcC0XXFQ4Il4N5wqAvQfsONCsIAlia78/yFaScSfu6/whTMaB6 ZRuMA4Tc9HuMfpoPwVS9aw+rfdP5G3ZFQkx9HCBXDYERRKTStFfdPa17oGwjCH0wdGng iIjAMqgxr9B9W2Qu4/oSV3yC4P7uIysAPVTJI371o3uacHfQGknRRGefMGiSRrWzyPLo ZtTtuzaHx2WG1xi6dESkSnGowvBJFkuR3f5SgSPLNEKyQ4nNnmHQgkFzPzllu7+9S+2k +bW+sLj2Sqgh9lOViKCyfctCJLXWiVSMtUHGax0R5ZpX4KNkxfnlEVBHA389xfxLS+6y +CoA== X-Gm-Message-State: AJaThX6WGR1z/ZCaLMAcl5Mz0g4LWWPvfzHx/RDoVkQyTmLNEj3M/cW2 LxCPN5R7oCdYrgQhabqa4AAe9zUb X-Google-Smtp-Source: AGs4zMYGeJlIhazbaSMAFCXyQnTeJ1nu+c2k/BTzFMsXdTVSueDRwyb7F8LmbbSJqvHne8bDEUdYXA== X-Received: by 10.200.8.11 with SMTP id u11mr12708285qth.315.1510982957984; Fri, 17 Nov 2017 21:29:17 -0800 (PST) Received: from pc.farhan.codes ([2001:470:8:209::dead:c0de]) by smtp.gmail.com with ESMTPSA id p52sm3821543qtc.72.2017.11.17.21.29.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2017 21:29:16 -0800 (PST) From: Farhan Khan Subject: Tracking down null pointer reference via kgdb To: freebsd-hackers@freebsd.org Message-ID: <407cc5f0-fbd8-5e35-1f1d-2e34a5f8e219@gmail.com> Date: Sat, 18 Nov 2017 00:29:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 05:29:19 -0000 Hi all, I am working on a driver and getting a kernel panic in an unexpected place. A quick kgdb shows me that the panic occurs at line #9, called by rtwn_fw_loadpage. Looking up rtwn_fw_load shows a function pointer calle that is essentially sc->sc_fw_write_block. While this is where the bug triggers, I see that in line r92ce_iq_calib_chain the sc pointer becomes 0x0. However, I have not been able to trace down what caused this. Moreover, I traced the code, but cannot even find a connection from r92ce_iq_calib_run (the calling function) to r92ce_iq_calib_chain, where the sc variable appears to become corrupted. My printf debugging clearly shows that it is set at one point, but then later becomes 0x0. Is there a way to track this down, either in kgdb or ddb? Thanks, Farhan ------------------- (kgdb) where #0 __curthread () at ./machine/pcpu.h:232 #1 doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:318 #2 0xffffffff80a64d15 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:386 #3 0xffffffff80a65306 in vpanic (fmt=, ap=0xfffffe0119c49480) at /usr/src/sys/kern/kern_shutdown.c:779 #4 0xffffffff80a65353 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:710 #5 0xffffffff80ef0add in trap_fatal (frame=0xfffffe0119c49720, eva=0) at /usr/src/sys/amd64/amd64/trap.c:799 #6 0xffffffff80ef0b52 in trap_pfault (frame=0xfffffe0119c49720, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:653 #7 0xffffffff80ef0315 in trap (frame=0xfffffe0119c49720) at /usr/src/sys/amd64/amd64/trap.c:420 #8 #9 0x0000000000000000 in ?? () #10 0xffffffff82c23004 in rtwn_fw_loadpage (sc=0x0, buf=, len=0, page=) at /usr/src/sys/dev/rtwn/if_rtwn_fw.c:66 #11 rtwn_load_firmware (sc=) at /usr/src/sys/dev/rtwn/if_rtwn_fw.c:182 #12 0xffffffff82c47c91 in r92ce_iq_calib_write_results (sc=0x0, tx=0x0, rx=0xfffffe00092d9000, chain=) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:325 #13 0xffffffff82c474a3 in r92ce_iq_calib_chain (sc=0x0, tx=0xfffffe0100c49a60, rx=0xfffffe01191fe000, chain=) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:117 #14 r92ce_iq_calib_run (sc=, n=, tx=, rx=, vals=) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:225 #15 r92ce_iq_calib (sc=) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:368 #16 0xffffffff82c47329 in r92ce_iq_calib_run (sc=, n=, tx=, rx=, vals=) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:218 #17 r92ce_iq_calib (sc=0x219c49afc) at /usr/src/sys/dev/rtwn/rtl8192c/pci/r92ce_calib.c:368 #18 0xffffffff80a29af9 in intr_event_execute_handlers (p=, ie=0xfffff80004cce000) at /usr/src/sys/kern/kern_intr.c:1336 #19 0xffffffff80a2a1e6 in ithread_execute_handlers (ie=, p=) at /usr/src/sys/kern/kern_intr.c:1349 #20 ithread_loop (arg=0xfffff80004cb7040) at /usr/src/sys/kern/kern_intr.c:1430 #21 0xffffffff80a26ef4 in fork_exit (callout=0xffffffff80a2a130 , arg=0xfffff80004cb7040, frame=0xfffffe0119c49c00) at /usr/src/sys/kern/kern_fork.c:1044 #22 ------------------- From owner-freebsd-hackers@freebsd.org Sat Nov 18 17:53:11 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D91B5DC0839 for ; Sat, 18 Nov 2017 17:53:11 +0000 (UTC) (envelope-from harald.boehm@fau.de) Received: from mx-rz-1.rrze.uni-erlangen.de (mx-rz-1.rrze.uni-erlangen.de [IPv6:2001:638:a000:1025::14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9127077515 for ; Sat, 18 Nov 2017 17:53:11 +0000 (UTC) (envelope-from harald.boehm@fau.de) Received: from mx-rz-1.rrze.uni-erlangen.de (mx-rz-1.rrze.uni-erlangen.de [IPv6:2001:638:a000:1025::14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx-rz-1.rrze.uni-erlangen.de (Postfix) with ESMTPS id 3yfMyg5jYCz8ssq for ; Sat, 18 Nov 2017 18:52:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fau.de; s=fau-2013; t=1511027579; bh=Dwlbc7v+MJW6G7ch2l7o8aXk9OXhPcJbiSMgWT8CEb8=; h=To:From:Subject:Date:From:To:CC:Subject; b=e5RQ5A3s2o/t6UiiebJOEfUcrVM0O01rS77hcajF/CQ56Qpy2laUuOOxWMY111HiX lNiKChuAhOI1UNXbT03B1pXFuUl2CPfhYtodxdqQ+9UFYECOUWFDz4rRzWpx0jec15 wJdGW9/8sXulttA5iVoocsStqUk00XD7LzGh+rfLjdTHVmIpLpTmjM2qIJaCtWUqu+ r1rxUER/xvaUE+x9bkYG/jiDRiHTirFdl4MuIVZxgCTyyT8Ml6usMCm7L3tEnaNXNg OIL7xCInBY87Xkxz8YysKgR6QW6du0hikQSmdfuaJ62/zb0ssbhgxuVh0qETpgwKMD NTWUTCBRFOoOg== X-Virus-Scanned: amavisd-new at boeck4.rrze.uni-erlangen.de (RRZE) X-RRZE-Flag: Not-Spam X-RRZE-Submit-IP: 84.63.161.43 Received: from [192.168.2.100] (dslb-084-063-161-043.084.063.pools.vodafone-ip.de [84.63.161.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: U2FsdGVkX18RdeC4xE6iAHnyX+IJY2moODR69nrHJWI=) by smtp-auth.uni-erlangen.de (Postfix) with ESMTPSA id 3yfMyZ74kZz8t9p for ; Sat, 18 Nov 2017 18:52:54 +0100 (CET) To: "'freebsd-hackers@freebsd.org'" From: =?UTF-8?Q?Harald_B=c3=b6hm?= Subject: ACPICA missing support for device I/O port ranges Message-ID: Date: Sat, 18 Nov 2017 18:52:54 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 17:53:11 -0000 Hi all, I've been working on a device driver lately and was having trouble allocating its resources using bus_alloc_resource_any(), although its I/O ports can be read from its _CRS. This is the output of acpidump -td: Device (GMUX) { ... Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0700, // Range Minimum 0x07FF, // Range Maximum 0x01, // Alignment 0xFF, // Length ) }) ... } After digging into the code in /sys/dev/acpica/acpi_resources.c I was able to find the problem. The function acpi_res_set_iorange(), which seems to be responsible for calling bus_set_resource() is just a function stub that prints a message that I/O ranges are not supported. static void acpi_res_set_iorange(device_t dev, void *context, uint64_t low, uint64_t high, uint64_t length, uint64_t align) { struct acpi_res_context *cp = (struct acpi_res_context *)context; if (cp == NULL) return; device_printf(dev, "I/O range not supported\n"); } After adding a call to bus_set_resource() to that function, I was able to allocate the device's resources. Does anyone know, why the function has not been implemented or why I/O ranges are not supported? Thanks, Harald