From owner-freebsd-questions@freebsd.org Sun Oct 1 09:36:56 2017 Return-Path: Delivered-To: freebsd-questions@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 13C7EE3D8B6 for ; Sun, 1 Oct 2017 09:36:56 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud8.xs4all.net (lb1-smtp-cloud8.xs4all.net [194.109.24.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACAC67F2C5 for ; Sun, 1 Oct 2017 09:36:54 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud8.xs4all.net with ESMTPA id yaezdjMfeg5cRyaf1dvqp8; Sun, 01 Oct 2017 11:35:45 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 1241f by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 11:35:41 +0200 Date: Sun, 1 Oct 2017 11:35:41 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Subject: one character lag with pyboard over usb serial Message-ID: <20171001093541.GA81952@slackbox.erewhon.home> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfPWhf1NBqbvsU51UaECwbDZlk2idNXArFOK+emEO1gPVeVT4MXsG0fiTx/Zu+93Zap9pUJz/gBe2pziXeFu5TEYd4+e0gVmMW+6L6sO6IqJIS+xhAJcC ogGqjZh3p2mW/+WQrgtaAGOQGKmnQrvV23nPJmIpmOSG3QoAHUbXLiiA5RyWXOoveLTf9ca6G1ew6g== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 09:36:56 -0000 Since last week I've been playing with my new pyboard [https://store.micropython.org/#/products/PYBv1_1] It is basically a microcontroller board running python 3 as its operating system. When you plug this in to a computer using USB, it presents itself as both a mass storage device and a modem. Output from dmesg for this device: ugen2.2: at usbus2 umass0 on uhub2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:3:0: Attached to scbus3 umodem0 on uhub2 umodem0: on usbus2 umodem0: data interface 2, has no CM over data, has no break Using a program like picocom, you can connect to the modem which presents a Python Read Eval Print Loop (“REPL”). The REPL works but has one very annoying problem. It seems to have a one-character lag. The first character I type on a line is not directly shown but creates a new line. Only after I type the second character does the first character becomes visible. Also, any return text from the board longer than a couple of lines seems to stop halfway, and I have to type return for it to continue. I'm using FreeBSD 11.1-STABLE r321626 amd64 with a GENERIC kernel. This is what I see hen I connect to the board with picocom: > ./picocom -b 115200 /dev/cuaU0 picocom v2.2 port is : /dev/cuaU0 flowcontrol : none baudrate is : 115200 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, Type [C-a] [C-h] to see available commands Terminal ready .2 on 2017-08-23; PYBv1.1 with STM32F405RG Type "help()" for more information. After this, I have to tap the key to get the familiar Python prompt (“>>>”) to appear. However, when I e.g. type “help()”, this happens: >>> >>> help( The first key creates a new line. The second key makes the “h” visible. And so on. After typing <)>, typing makes the last “)” visible and produces output. I also tried using “screen”, but that produced the same results as picocom. The stty output for the port is: # stty -af /dev/cuaU0 speed 115200 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten -echo -echoe -echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel ignbrk -brkint -inpck -ignpar -parmrk oflags: -opost onlcr -ocrnl tab0 -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; I've asked around on the pyboard forum, but nobody there (using Linux or OSX) has seen this problem. It has been suggested that this is a FreeBSD driver problem. Can anyone suggest a fix for this issue? Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 10:20:20 2017 Return-Path: Delivered-To: freebsd-questions@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 22934E0F219 for ; Sun, 1 Oct 2017 10:20:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EBF080BD1 for ; Sun, 1 Oct 2017 10:20:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Sun, 01 Oct 2017 12:20:10 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 113D23CCD5; Sun, 1 Oct 2017 12:20:09 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v91AK9YU017140; Sun, 1 Oct 2017 12:20:09 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 1 Oct 2017 12:20:09 +0200 From: Polytropon To: Roland Smith Cc: freebsd-questions@freebsd.org Subject: Re: one character lag with pyboard over usb serial Message-Id: <20171001122009.3fbfbf95.freebsd@edvax.de> In-Reply-To: <20171001093541.GA81952@slackbox.erewhon.home> References: <20171001093541.GA81952@slackbox.erewhon.home> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 63D76683498 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1331 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 10:20:20 -0000 On Sun, 1 Oct 2017 11:35:41 +0200, Roland Smith wrote: > I've asked around on the pyboard forum, but nobody there (using Linux or OSX) > has seen this problem. It has been suggested that this is a FreeBSD driver > problem. Try to verify with the "cu" program provided natively by the OS. In worst case, monitor the /dev/cuaU0 device file directly to check what is really being sent in either direction. If the lag also appears there, it really looks like a driver issue... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 1 11:34:22 2017 Return-Path: Delivered-To: freebsd-questions@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 2AF6AE14DA0 for ; Sun, 1 Oct 2017 11:34:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb2-smtp-cloud7.xs4all.net (lb2-smtp-cloud7.xs4all.net [194.109.24.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE04B82AE9 for ; Sun, 1 Oct 2017 11:34:21 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud7.xs4all.net with ESMTPA id ycUfdjgJzVNbYycUgdle8U; Sun, 01 Oct 2017 13:33:10 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 124b0 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 13:33:08 +0200 Date: Sun, 1 Oct 2017 13:33:08 +0200 From: Roland Smith To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: one character lag with pyboard over usb serial Message-ID: <20171001113308.GA82813@slackbox.erewhon.home> Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20171001093541.GA81952@slackbox.erewhon.home> <20171001122009.3fbfbf95.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171001122009.3fbfbf95.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfFlFB8CuWAc6x6gm07YT4034ol6pzteNcuG4rpWO+S6nF/l2iHmGYYAsZ45DO98Yobymu4FhpfI/KXqDG0QbmKYVa5f7i5DNbeujPoaYDkhmZvb/N18X WLio/I10emC+Eh8sRW7Yk4cAiw1DLO3X8QSVom0nCvYRwbOoVS2GOQaz4ua0i6eyv+P1gdOUS2QA1Q== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 11:34:22 -0000 On Sun, Oct 01, 2017 at 12:20:09PM +0200, Polytropon wrote: > On Sun, 1 Oct 2017 11:35:41 +0200, Roland Smith wrote: > > I've asked around on the pyboard forum, but nobody there (using Linux or OSX) > > has seen this problem. It has been suggested that this is a FreeBSD driver > > problem. > > Try to verify with the "cu" program provided natively by the OS. With ‘cu’, I see the same problem. :-( > In worst case, monitor the /dev/cuaU-1 device file directly to > check what is really being sent in either direction. If the > lag also appears there, it really looks like a driver issue... What would be the best way to monitor the device directly? I saw a met/socat invocation like this: socat /dev/ttyS0,raw,echo=0 SYSTEM:'tee input.txt |\ socat - "PTY,link=/tmp/ttyV0,raw,echo=0,waitslave" | tee output.txt' > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... o ánthropos pou palévei me daímones ;-) -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 13:50:44 2017 Return-Path: Delivered-To: freebsd-questions@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 9F957E2540F for ; Sun, 1 Oct 2017 13:50:44 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd10101.aruba.it (smtpcmd14161.aruba.it [62.149.156.161]) by mx1.freebsd.org (Postfix) with ESMTP id 132FA1756 for ; Sun, 1 Oct 2017 13:50:43 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.1.114] ([87.20.33.224]) by smtpcmd14.ad.aruba.it with bizsmtp id GDbb1w00E4q8drK01Dbbn7; Sun, 01 Oct 2017 15:35:35 +0200 From: Victor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Installing R 3.4.2 from ports doesn't find cairo.so lib Date: Sun, 1 Oct 2017 15:35:34 +0200 Message-Id: To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1506864935; bh=L+As1LTFKYw6bcyhY54DGmjrcJ8UZw79wsLp36LuA+4=; h=From:Content-Type:Subject:Date:To:Mime-Version; b=IlQD5BwoFjG2xphG+GM5ER52gBZwORBZEaVJMATyJpQavCMJ0FXeZiN/ulF2qI+HJ m5IIyWSnoGz4aIxkqC/QmFqgmsrq871H4NPTYtS7dyS63s9hSxLqkffoMLBhCBk42z xgZdliQs7ogUCdxDMXs0G/3Rhdjl2wHpTV/1GIFLpKyta00t22h9ZLKyY+RaAMx2T7 ky27N+p6tr22HGs6BD1XvHSryzGqlwe+9g9goARbmmbD1Z7V1Bg9XtQoEXklms4abS NarnxTiLk4GTOgSfIuMmXhzkPvS0+mglaLW606AyvxXJgUum9TSWXzIM7fsyQ8nCcO 0A6TCF8cEnG5w== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 13:50:44 -0000 Under FreeBSD metbsd 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug 9 = 11:17:49 UTC 2017 =20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I'm trying to install the new R 3.4.2 version from ports = (/usr/ports/math/R) but when I issue make install .............. .............. =3D=3D=3D> Checking if R already installed =3D=3D=3D> Registering installation for R-3.4.2 pkg-static: Unable to access file = /usr/ports/math/R/work/stage/usr/local/lib/R/library/grDevices/libs/cairo.= so:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/math/R *** Error code 1 Stop. make: stopped in /usr/ports/math/R Can someone out there help me to fix the problem? Ciao Vittorio= From owner-freebsd-questions@freebsd.org Sun Oct 1 14:00:33 2017 Return-Path: Delivered-To: freebsd-questions@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 91E56E256AD for ; Sun, 1 Oct 2017 14:00:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 360F21B2A for ; Sun, 1 Oct 2017 14:00:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud9.xs4all.net with ESMTPA id yem9dG6ennIXbyemAd5tQ9; Sun, 01 Oct 2017 15:59:23 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 12463 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 15:59:21 +0200 Date: Sun, 1 Oct 2017 15:59:21 +0200 From: Roland Smith To: Polytropon , freebsd-questions@freebsd.org Subject: Re: one character lag with pyboard over usb serial Message-ID: <20171001135921.GA87960@slackbox.erewhon.home> Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20171001093541.GA81952@slackbox.erewhon.home> <20171001122009.3fbfbf95.freebsd@edvax.de> <20171001113308.GA82813@slackbox.erewhon.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171001113308.GA82813@slackbox.erewhon.home> User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfD9SrVkvp40GlxdUxkJikF4ipSIcfvAimW2QO0xQD7zHASW8IP8dFMg6mRRE7O2P11w+U1Yp6h1Dxjjo3uj0LBV2egb13FTPDdHGkL1uaQ+o81z69S8W xW5aW64mDdTBycB5kK9zZPYp3BwQo3L4tnw9M0pQIC2I47cNd23KVydb5G4R38TW49fT1isVjmHUGg== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 14:00:33 -0000 On Sun, Oct 01, 2017 at 01:33:08PM +0200, Roland Smith wrote: > On Sun, Oct 01, 2017 at 12:20:09PM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 11:35:41 +0200, Roland Smith wrote: > > > I've asked around on the pyboard forum, but nobody there (using Linux or OSX) > > > has seen this problem. It has been suggested that this is a FreeBSD driver > > > problem. > > > > Try to verify with the "cu" program provided natively by the OS. > > With ‘cu’, I see the same problem. :-( > > > In worst case, monitor the /dev/cuaU-1 device file directly to > > check what is really being sent in either direction. If the > > lag also appears there, it really looks like a driver issue... > Thanks to http://mmdolze.users.sourceforge.net/serial-port-monitoring.html, I found a good way to use picocom and socat. I used comms/picocom for communication and net/socat in a different terminal to capture the data. # socat -d -v -x PTY,link=/tmp/serial,wait-slave,rawer /dev/cuaU0,rawer > & socat.txt # picocom /tmp/serial Note that, inspired by the manual page, I used the “rawer” option rather than the “raw” option seen in the link above. Here are the contents of socat.txt. Data from the board is preceded by “<”, what I type is preceded by “>” < 2017/10/01 15:37:57.488955 length=48 from=0 to=47 2e 32 20 6f 6e 20 32 30 31 37 2d 30 38 2d 32 33 .2 on 2017-08-23 3b 20 50 59 42 76 31 2e 31 20 77 69 74 68 20 53 ; PYBv1.1 with S 54 4d 33 32 46 34 30 35 52 47 0d 0a TM32F405RG.. 54 79 70 65 Type -- I typed below because more text was not forecoming. As per the reactions from the pyboard forum, this is as expected. > 2017/10/01 15:38:01.181435 length=1 from=0 to=0 0d . -- < 2017/10/01 15:38:01.247992 length=37 from=48 to=84 20 22 68 65 6c 70 28 29 22 20 66 6f 72 20 6d 6f "help()" for mo 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d re information.. 0a . 3e 3e 3e 20 >>> -- > 2017/10/01 15:38:05.413958 length=1 from=1 to=1 68 h -- Here the weirdness begins. There is a carriage return/newline pair here followed by a new prompt that basically shouldn't be here. < 2017/10/01 15:38:05.416064 length=6 from=85 to=90 0d 0a .. 3e 3e 3e 20 >>> -- > 2017/10/01 15:38:06.290046 length=1 from=2 to=2 65 e -- < 2017/10/01 15:38:06.292079 length=1 from=91 to=91 68 h -- > 2017/10/01 15:38:06.579576 length=1 from=3 to=3 6c l -- < 2017/10/01 15:38:06.581082 length=1 from=92 to=92 65 e -- > 2017/10/01 15:38:06.816570 length=1 from=4 to=4 70 p -- < 2017/10/01 15:38:06.818083 length=1 from=93 to=93 6c l -- > 2017/10/01 15:38:07.786224 length=1 from=5 to=5 28 ( -- < 2017/10/01 15:38:07.788107 length=1 from=94 to=94 70 p -- > 2017/10/01 15:38:07.884016 length=1 from=6 to=6 29 ) -- < 2017/10/01 15:38:07.886107 length=1 from=95 to=95 28 ( -- > 2017/10/01 15:38:08.824194 length=1 from=7 to=7 0d . -- < 2017/10/01 15:38:08.826122 length=1 from=96 to=96 29 ) -- < 2017/10/01 15:38:08.829134 length=521 from=97 to=617 0d 0a .. 57 65 6c 63 6f 6d 65 20 74 6f 20 4d 69 63 72 6f Welcome to Micro 50 79 74 68 6f 6e 21 0d 0a Python!.. 0d 0a .. 46 6f 72 20 6f 6e 6c 69 6e 65 20 68 65 6c 70 20 For online help 70 6c 65 61 73 65 20 76 69 73 69 74 20 68 74 74 please visit htt 70 3a 2f 2f 6d 69 63 72 6f 70 79 74 68 6f 6e 2e p://micropython. 6f 72 67 2f 68 65 6c 70 2f 2e 0d 0a org/help/... 0d 0a .. 51 75 69 63 6b 20 6f 76 65 72 76 69 65 77 20 6f Quick overview o 66 20 63 6f 6d 6d 61 6e 64 73 20 66 6f 72 20 74 f commands for t 68 65 20 62 6f 61 72 64 3a 0d 0a he board:.. 20 20 70 79 62 2e 69 6e 66 6f 28 29 20 20 20 20 pyb.info() 2d 2d 20 70 72 69 6e 74 20 73 6f 6d 65 20 67 65 -- print some ge 6e 65 72 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f neral informatio 6e 0d 0a n.. 20 20 70 79 62 2e 64 65 6c 61 79 28 6e 29 20 20 pyb.delay(n) 2d 2d 20 77 61 69 74 20 66 6f 72 20 6e 20 6d 69 -- wait for n mi 6c 6c 69 73 65 63 6f 6e 64 73 0d 0a lliseconds.. 20 20 70 79 62 2e 6d 69 6c 6c 69 73 28 29 20 20 pyb.millis() 2d 2d 20 67 65 74 20 6e 75 6d 62 65 72 20 6f 66 -- get number of 20 6d 69 6c 6c 69 73 65 63 6f 6e 64 73 20 73 69 milliseconds si 6e 63 65 20 68 61 72 64 20 72 65 73 65 74 0d 0a nce hard reset.. 20 20 70 79 62 2e 53 77 69 74 63 68 28 29 20 20 pyb.Switch() 2d 2d 20 63 72 65 61 74 65 20 61 20 73 77 69 74 -- create a swit 63 68 20 6f 62 6a 65 63 74 0d 0a ch object.. 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 77 69 74 63 68 20 6d 65 74 68 6f 64 Switch method 73 3a 20 28 29 2c 20 63 61 6c 6c 62 61 63 6b 28 s: (), callback( 66 29 0d 0a f).. 20 20 70 79 62 2e 4c 45 44 28 6e 29 20 20 20 20 pyb.LED(n) 2d 2d 20 63 72 65 61 74 65 20 61 6e 20 4c 45 44 -- create an LED 20 6f 62 6a 65 63 74 20 66 6f 72 20 4c 45 44 20 object for LED 6e 20 28 6e 3d 31 2c 32 2c 33 2c 34 29 0d 0a n (n=1,2,3,4).. 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 45 44 20 6d 65 74 68 6f 64 73 3a 20 LED methods: 6f 6e 28 29 2c 20 6f 66 66 28 29 2c 20 74 6f 67 on(), off(), tog 67 6c 65 28 29 2c 20 69 6e 74 65 6e 73 69 74 79 gle(), intensity 28 3c 6e 3e 29 0d (). -- < 2017/10/01 15:38:08.832279 length=128 from=618 to=745 0a . 20 20 70 79 62 2e 50 69 6e 28 70 69 6e 29 20 20 pyb.Pin(pin) 2d 2d 20 67 65 74 20 61 20 70 69 6e 2c 20 65 67 -- get a pin, eg 20 70 79 62 2e 50 69 6e 28 27 58 31 27 29 0d 0a pyb.Pin('X1').. 20 20 70 79 62 2e 50 69 6e 28 70 69 6e 2c 20 6d pyb.Pin(pin, m 2c 20 5b 70 5d 29 20 2d 2d 20 67 65 74 20 61 20 , [p]) -- get a 70 69 6e 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 pin and configur 65 20 69 74 20 66 6f 72 20 49 4f 20 6d 6f 64 65 e it for IO mode 20 6d 2c 20 70 75 6c 6c 20 6d 6f 64 65 20 70 m, pull mode p -- > 2017/10/01 15:38:10.363393 length=1 from=8 to=8 0d . -- Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 14:14:57 2017 Return-Path: Delivered-To: freebsd-questions@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 C523CE25AE6 for ; Sun, 1 Oct 2017 14:14:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65C3421B7 for ; Sun, 1 Oct 2017 14:14:56 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud9.xs4all.net with ESMTPA id yf1BdGDu6nIXbyf1Cd5vFR; Sun, 01 Oct 2017 16:14:54 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 123f0 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 16:14:53 +0200 Date: Sun, 1 Oct 2017 16:14:53 +0200 From: Roland Smith To: Victor Cc: FreeBSD Mailing List Subject: Re: Installing R 3.4.2 from ports doesn't find cairo.so lib Message-ID: <20171001141453.GB87960@slackbox.erewhon.home> Mail-Followup-To: Victor , FreeBSD Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfAnWP1YHznAbBKl1RXFJHrJmhUb5O8bG/gWpShIcsq3Ap2HBwxE5ha4/8z8gNC36b3FW6IUmb5tZPCfpoaHvD6gYPSdQdRtwpHEMaY3NnBF5E5yiGl7R 0ofJ4QaG0UsJwN3LJelIejhH5mb+RP2xLIHe9HMTAji1Q8Lna5kNOPWuyPEbla5jSl497vrjUHt4KQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 14:14:57 -0000 On Sun, Oct 01, 2017 at 03:35:34PM +0200, Victor wrote: > Under > > FreeBSD metbsd 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug 9 11:17:49 UTC 2017 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > I'm trying to install the new R 3.4.2 version from ports (/usr/ports/math/R) but when I issue > > > make install > .............. > .............. > ===> Checking if R already installed > ===> Registering installation for R-3.4.2 > pkg-static: Unable to access file /usr/ports/math/R/work/stage/usr/local/lib/R/library/grDevices/libs/cairo.so:No such file or directory > *** Error code 74 Check your work tree if there actually *is* a cairo.so: cd /usr/ports/math/R/work/ find . -type f -name cairo.so > Can someone out there help me to fix the problem? If cairo.so is not being built, I would suggest making a backup of the port Makefile. Then edit the Makefile to change: CAIROPANGO_CONFIGURE_WITH=cairo to CAIROPANGO_CONFIGURE_ENABLE=cairo According to /usr/ports/Mk/bsd.options.mk, the ${opt}_CONFIGURE_WITH flag adds “--with-${content}”. But from other options, it seems that R uses the --enable/--disable style of options. That should be done with ${opt}_CONFIGURE_ENABLE. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 15:18:17 2017 Return-Path: Delivered-To: freebsd-questions@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 22604E27309 for ; Sun, 1 Oct 2017 15:18:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (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 CFCAC63754 for ; Sun, 1 Oct 2017 15:18:16 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qt0-x22c.google.com with SMTP id 47so4640200qts.10 for ; Sun, 01 Oct 2017 08:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=Qjs+8SKGp5UAAeXSv/yfWhbVhIogxa891v6TkULiz7w=; b=gDuHkd/H+upQjF/sNENrji7su9leBQ3aq7ezduF1quqWxD9krrRNRj+w+9rF2wW7QC 5aVHquf0zJqb9QEjn+E4NMvkmAd6gdvQQBxu4pGm53ZYfbz5covbEZoYYU90YWCdTIz6 XSURNlOgEAfcuD+O6q5IfniB+ZyiZdDu6NTDAYut/bP9owtuVEJNb4btzbDIW70ErNQ/ fvzi+qal2Yukw71H6mo4t9sxWPnAZt1OVRXaBtXrGf3m59VlnX2J5fFqRmUldnADK+yd ZqYov5Ff3J3jQ0Q7rDi/OneHFZNy5dJjx/z2EmZealD1D0OeGG1jweMfCePjw84xRtdR 8DLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=Qjs+8SKGp5UAAeXSv/yfWhbVhIogxa891v6TkULiz7w=; b=Khog5FDUAb8C5b5NnKSjWCmb72KruoL4Dzk3VFvnz55xUT9Tma2aDEo811Ycs09IcP ZIU4dM90Lz1h8C8Bcp7A7wp60fAWjJV/9eE31fWmEOBVzPpDH28h1khqp+gVjaQQLjX/ 4+O12tAlFOsDDkPh0nTWumZi0fb7PDjl4PeoAHDoMhJRqJOnxVZI/IlV4hdQ4aVlv1DO EOPrbomkRKHC5vd7bVV870WIr08t70UbtvXprqy3nrbOTL9nLPoTnRfaRSEAr9xSG7wc 3xzg7NnuNx0FkJQ8MBy6rCkyIoTcF1ZXj0BjjgMuBUcoTjt3joGszQXJfCFoEYrWgpQr JhkA== X-Gm-Message-State: AMCzsaUig5XoriZvdzSatAUosvNRt4RUtuj+U0EU6307Z5SShgQ8IcT0 s5Sm+3m9d0NNIQ87J1JCpZyPwQ== X-Google-Smtp-Source: AOwi7QAiZaCnzL2hrsIYOkosHPuwPbALOqEzuknB1at2LmBJTbbtTMF1kYVPGy5NBQTlg4JtONsxfQ== X-Received: by 10.237.34.24 with SMTP id n24mr14284710qtc.218.1506871095786; Sun, 01 Oct 2017 08:18:15 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id i92sm5673900qtb.65.2017.10.01.08.18.15 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 01 Oct 2017 08:18:15 -0700 (PDT) Message-ID: <59D10736.2070504@gmail.com> Date: Sun, 01 Oct 2017 11:18:14 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: help - under attack Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 15:18:17 -0000 Hello list; Installed 11.1 from scratch and after about 2-3 weeks I finally got around to inspecting the /var/logs. I have never seen the auth.log file roll over before, so this peaked my interest. It was full of failed login attempts. My firewall blocks all inbound traffic, so I am very baffled be what I see in the log. Any suggestions on how this can be happening? Sep 29 03:09:14 fbsd sshd[33675]: Connection closed by 149.202.179.216 port 48876 [preauth] Sep 29 03:23:27 fbsd sshd[33709]: Connection closed by 149.202.179.216 port 37641 [preauth] Sep 29 03:37:19 fbsd sshd[33732]: Connection closed by 149.202.179.216 port 51083 [preauth] Sep 29 03:51:35 fbsd sshd[33897]: Connection closed by 149.202.179.216 port 42178 [preauth] Sep 29 04:06:12 fbsd sshd[33935]: Connection closed by 149.202.179.216 port 40065 [preauth] Sep 29 04:20:57 fbsd sshd[33957]: Connection closed by 149.202.179.216 port 51644 [preauth] Sep 29 04:35:13 fbsd sshd[33993]: Connection closed by 149.202.179.216 port 55964 [preauth] Sep 29 04:49:36 fbsd sshd[34012]: Connection closed by 149.202.179.216 port 33713 [preauth] Sep 29 05:03:20 fbsd sshd[34050]: Connection closed by 149.202.179.216 port 48110 [preauth] snip Oct 1 00:04:31 fbsd sshd[48041]: input_userauth_request: invalid user virus [preauth] Oct 1 00:04:31 fbsd sshd[48041]: Connection closed by 149.202.179.216 port 50713 [preauth] Oct 1 00:14:11 fbsd sshd[48060]: Invalid user vmail from 149.202.179.216 Oct 1 00:14:11 fbsd sshd[48060]: input_userauth_request: invalid user vmail [preauth] Oct 1 00:14:11 fbsd sshd[48060]: Connection closed by 149.202.179.216 port 36514 [preauth] Oct 1 00:23:36 fbsd sshd[48079]: Invalid user vmail from 149.202.179.216 Oct 1 00:23:36 fbsd sshd[48079]: input_userauth_request: invalid user vmail [preauth] Oct 1 00:23:36 fbsd sshd[48079]: Connection closed by 149.202.179.216 port 49458 [preauth] Oct 1 00:32:05 fbsd sshd[48087]: Invalid user vnc from 149.202.179.216 Oct 1 00:32:05 fbsd sshd[48087]: input_userauth_request: invalid user vnc [preauth] Oct 1 00:32:05 fbsd sshd[48087]: Connection closed by 149.202.179.216 port 52451 [preauth] Oct 1 00:40:24 fbsd sshd[48106]: Invalid user vnc from 149.202.179.216 Oct 1 00:40:24 fbsd sshd[48106]: input_userauth_request: invalid user vnc [preauth] Oct 1 00:40:24 fbsd sshd[48106]: Connection closed by 149.202.179.216 port 59811 [preauth] Oct 1 00:48:39 fbsd sshd[48123]: Invalid user vnc from 149.202.179.216 Oct 1 00:48:39 fbsd sshd[48123]: input_userauth_request: invalid user vnc [preauth] Oct 1 00:48:40 fbsd sshd[48123]: Connection closed by 149.202.179.216 port 35215 [preauth] Oct 1 00:56:41 fbsd sshd[48143]: Invalid user voip from 149.202.179.216 Oct 1 00:56:41 fbsd sshd[48143]: input_userauth_request: invalid user voip [preauth] Oct 1 00:56:41 fbsd sshd[48143]: Connection closed by 149.202.179.216 port 49147 [preauth] From owner-freebsd-questions@freebsd.org Sun Oct 1 15:26:48 2017 Return-Path: Delivered-To: freebsd-questions@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 A22C9E2760E for ; Sun, 1 Oct 2017 15:26:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6239B63BE0 for ; Sun, 1 Oct 2017 15:26:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.117.50] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1dyg8d-0004ec-0g for freebsd-questions@freebsd.org; Sun, 01 Oct 2017 17:26:39 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v91FQb7t060791 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 1 Oct 2017 17:26:37 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v91FQb8s060790 for freebsd-questions@freebsd.org; Sun, 1 Oct 2017 17:26:37 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 1 Oct 2017 17:26:37 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: help - under attack Message-ID: <20171001152637.GA60730@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <59D10736.2070504@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <59D10736.2070504@gmail.com> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.117.50 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 15:26:48 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa domingo, octubre 01, 2017 a las 11:18:14a. m. -0400, Ernie Luza= r escribi=C3=B3: > Hello list; >=20 > Installed 11.1 from scratch and after about 2-3 weeks I finally got=20 > around to inspecting the /var/logs. I have never seen the auth.log file= =20 > roll over before, so this peaked my interest. It was full of failed=20 > login attempts. My firewall blocks all inbound traffic, so I am very=20 > baffled be what I see in the log. Any suggestions on how this can be=20 > happening? >=20 > Sep 29 03:09:14 fbsd sshd[33675]: Connection closed by 149.202.179.216=20 > port 48876 [preauth] > ... If you have a firewall (about which you have not said anything), how can SYN-SYN-ACK happen on port 22? matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =E2=98=8E +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 8. Mai 1945: Wer nicht feiert hat den Krieg verloren. 8 de mayo de 1945: Quien no festeja perdi=C3=B3 la Guerra. May 8, 1945: Who does not celebrate lost the War. --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlnRCSoACgkQR8z35Hb+ nRHP6w/9G92xPvBe3xAlEuNWwetU17PD4ASJhyVqvzfEBNfUNPq2n/5ZJ/KJB7VA x7M9VmtZidAEG9ueTLU8p5s6xWd5IQmCD1CTM9DGx9mHSj1Uh2HxiJxCW95BuIWH JkaeaCVLWyuvuQl5vzmXdm+ZfaCr/o54GtdQ7QdNKbeGwyPP9rHuWw+FTkwRDqsD s2D4Mx5c12y0aJBRNGNRpuY4+H4GIwxCH1rW+niiDMY7nA54kEgdOyOHd0KdDdhA SzK0RWk3rzyuc9B7BtKh0svExUnZ8h1RQGXXPnf7/30q2LMEA5Oy4U5v4sCOyOa8 6SXX6rOxpmqk/zubJM7BUCQSxdLPnIUM1evTMx6tUFnAxIcBb4SSGloPN3BOAQMK w2TKhpSr47NJx/yFTwbcapvt8PZCoIcM0mn3u3b4tTnEiZMqyM8RP6zJd2g9PVR3 vLXzagKt9R/zDEzb3h1WGfBB1pA78YCd3hSE+zM5KPWWvLRZtQQbynPex+m4xShW roA61/NB4FWpjpkwYB1hj+kYaKJBCE9xToD+485YDJMOjJF8AF8C7cVJKWtH+QX8 qGNBqQxNF1bppGCvoHYFvP/a+VRJZ+9rK1WW9HIioReoYU53xp1wOB8hn2cN4P/j XwzkAZKoDvaVIgdJWtY6ifAHTe68MMvRa9Va80qYxoRXemNNOXE= =2vrJ -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-questions@freebsd.org Sun Oct 1 15:34:38 2017 Return-Path: Delivered-To: freebsd-questions@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 B3EA3E278C1 for ; Sun, 1 Oct 2017 15:34:38 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::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 6BC8963FB8 for ; Sun, 1 Oct 2017 15:34:38 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qt0-x230.google.com with SMTP id t46so4709237qtj.2 for ; Sun, 01 Oct 2017 08:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=fJ2jkwDHgmUU7iqlbRWpXuD4uK4PfenAL4KvXxjpeCQ=; b=WuERWWlOhn4D+bxlH0XLURugYmPIz8gDut57a4X3Eb9Q/POV+UCziWNRaFDUxDeVQZ rdYMB4EIJjJEw7ws7ZCtoc/swiIDFAH3WonPmQIAqgeR62Mwd/eeu16wEf+vsUOYDJRT 4fBKPg5a78m266obm08/RTf6ZgDLDtUvx03bW027jGTWx6WibeFE7C3Qd7ZbwORIHG1r y0ezpLQL/HyqCHzBEezONFRknRcZmvgeHFAcJRMMpTMr+OIOu6Cic+VO+tEartZuW8M/ Ae1o5sZSEEtHQZ79rs3rVx6/GF++E/ILt/4kHvOKAY1YI1LN+xQZn5Hl12FRS6z9PeXo jfBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=fJ2jkwDHgmUU7iqlbRWpXuD4uK4PfenAL4KvXxjpeCQ=; b=HAuAjIc04K9zd1Acv4yITCQHR1ABIffroShx8bo3e3H9jLQr72nWAwLTv/XTYQBU08 nkppPFBE7jOWmduy3FmhVCFv8dLY9IPmNfCHZ7LrMiJULkyiZSIFFbphOQofFK/gZ4Df IqZ8D9y3gX41XvxOdkhFr1gkVkOt8BJRWRkEpB96ZtLex9fhS8K66vMRy9c8yr0aL9uS IJqAR/SGtgquij4NDcRwSAKJgMzWkxUzb4Ggebzp3jD0Q8zIeqQXr//CopO3y0jniw/7 JlfW47sXhppqHq0gaf5WNSuD+SHqvhMjHn7J5jokwq2Nkz4ADuJWmeyLjngC+rRZToPP QrUw== X-Gm-Message-State: AMCzsaV6a0k+xc74bDq9uimqa5XtMKrq3AgTMstbf2bHbPiXnXLuT9fk IsGpgZrwWaolEqTuJ/VGyLQ= X-Google-Smtp-Source: AOwi7QByx4T9245LxXHa18Ne51PIn9lyiDyjSpSclgS2RimTpbRx4L3pzGrcKiBLuWw8enTiSaypdg== X-Received: by 10.237.60.249 with SMTP id e54mr6635610qtf.23.1506872077643; Sun, 01 Oct 2017 08:34:37 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id l11sm5531620qke.19.2017.10.01.08.34.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 01 Oct 2017 08:34:37 -0700 (PDT) Message-ID: <59D10B0C.1010702@gmail.com> Date: Sun, 01 Oct 2017 11:34:36 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: help - under attack References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> In-Reply-To: <20171001152637.GA60730@c720-r314251> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 15:34:38 -0000 Matthias Apitz wrote: > El da domingo, octubre 01, 2017 a las 11:18:14a. m. -0400, Ernie Luzar escribi: > >> Hello list; >> >> Installed 11.1 from scratch and after about 2-3 weeks I finally got >> around to inspecting the /var/logs. I have never seen the auth.log file >> roll over before, so this peaked my interest. It was full of failed >> login attempts. My firewall blocks all inbound traffic, so I am very >> baffled be what I see in the log. Any suggestions on how this can be >> happening? >> >> Sep 29 03:09:14 fbsd sshd[33675]: Connection closed by 149.202.179.216 >> port 48876 [preauth] >> ... > > If you have a firewall (about which you have not said anything), how can > SYN-SYN-ACK happen on port 22? > > matthias My post says "My firewall blocks all inbound traffic". The login error messages do not say it on port 22. That inbound port is blocked by the firewall. All pc on the lan are powered off. Even disconnected the lan cable from the freebsd gateway host and still the error messages come out. That is why I am asking for help here. From owner-freebsd-questions@freebsd.org Sun Oct 1 15:38:58 2017 Return-Path: Delivered-To: freebsd-questions@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 68BBAE27A95 for ; Sun, 1 Oct 2017 15:38:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::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 3094B6421B for ; Sun, 1 Oct 2017 15:38:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id e134so4736191ite.3 for ; Sun, 01 Oct 2017 08:38:58 -0700 (PDT) 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=w4/6CrvJxxINu82j7dOTw3wqCq0wfzfrMXnsF+CoROA=; b=H5IoQ9Hz1b6mPAucwUbUPC6GePZ4nIkpXYZ2Pc1jtF0471g9Ioo5yuL739rNLOzWbd k31OKkFWmvdVw9KgfySMayAOhom+N7COxuU7jii40aXrVg7yaly/P4ZJNmXdKzKAHlXT U3QbRxrW2gqxSR18Q463KLH/n+EZTHLR3fBCxqITJhYlZsHVeM8eJHrNKJKOBWJ1E0qQ bAipQJL9RG1A9dECRESpfqK6/+yhiNiDlbOEWvy9CwH+cbLXGPDnbCSFCb2JsiOGecq4 9Re7wF7KDTprQ5Nj9GEaAAY+1mVprQzCpSMqXiicZ78V1gBTUyFxSbPsA/UrtFb683ja vXUw== 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=w4/6CrvJxxINu82j7dOTw3wqCq0wfzfrMXnsF+CoROA=; b=jqx2uzoxUZZE2GfRPgF1PQPlzUJkgjGoYEBqDP7M+Nrt0U8ZsVYT12LJZHn/vdkV1H nP6rCTYxokufQXyNJUjkMfnv8UGs8IlGfGyeEWWF6WazpjTmxMH0XIA2moGf0FHcDehs D6Iiw1o5dU8PZ5ZZgLhbpW5HTjOUx6tYNNV/qfwzKxpfH/cCH1z/3F9LvSeQKG0B98zO npxK6KtxGZYrxlGE+5IxTR+e/EMi7+t1B/HLeSTWjZse9rbcg7prVFJi+JzcDT0TiAh6 lWXo4xPuwgfh+s3vg89KWEm9SjCJuzmPrfCH4on4zxa3xnx/4bCeWTNpFa4jBuVGDoib /55A== X-Gm-Message-State: AHPjjUh7ldS733JW3gNcYYGw1uSPflcYHNY4hHuSLAYm2EcxDLhsPTiI xp54atq7enRbjlG1rbsUIFYkI6YprPBaY+fKleg= X-Google-Smtp-Source: AOwi7QDlRhiycY9gh3TqUS9qWEtwJRaPtZQ2d3LzqrJOBVNjF54Q4rbDwzVRCx0+tzSxCBT3YdVYh5jCjRWl431d070= X-Received: by 10.36.101.213 with SMTP id u204mr16100389itb.151.1506872337541; Sun, 01 Oct 2017 08:38:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sun, 1 Oct 2017 08:38:57 -0700 (PDT) In-Reply-To: <59D10736.2070504@gmail.com> References: <59D10736.2070504@gmail.com> From: Adam Vande More Date: Sun, 1 Oct 2017 10:38:57 -0500 Message-ID: Subject: Re: help - under attack To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 15:38:58 -0000 On Sun, Oct 1, 2017 at 10:18 AM, Ernie Luzar wrote: > Hello list; > > Installed 11.1 from scratch and after about 2-3 weeks I finally got around > to inspecting the /var/logs. I have never seen the auth.log file roll over > before, so this peaked my interest. It was full of failed login attempts. > My firewall blocks all inbound traffic > It seems your firewall isn't doing to great a job, then there is the consideration of why you'd be running sshd. -- Adam From owner-freebsd-questions@freebsd.org Sun Oct 1 15:52:38 2017 Return-Path: Delivered-To: freebsd-questions@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 1BB2EE28003 for ; Sun, 1 Oct 2017 15:52:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7044648C7 for ; Sun, 1 Oct 2017 15:52:37 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [2.247.255.240] (helo=[10.112.135.240]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1dygXi-0003jT-N5 for freebsd-questions@freebsd.org; Sun, 01 Oct 2017 17:52:34 +0200 From: Matthias Apitz To: Subject: Re: help - under attack Date: Sun, 01 Oct 2017 17:52:31 +0200 User-Agent: Dekko/0.6.20; Qt/5.4.1; ubuntumirclient; Linux; MIME-Version: 1.0 Message-ID: In-Reply-To: <59D10B0C.1010702@gmail.com> References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 2.247.255.240 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 15:52:38 -0000 On Sunday, 1 October 2017 17:34:36 CEST, Ernie Luzar =20 wrote: > Matthias Apitz wrote: >> El d=C3=ADa domingo, octubre 01, 2017 a las 11:18:14a. m. -0400,=20 >> Ernie Luzar escribi=C3=B3: >>=20 >>> Hello list; >>> >>> Installed 11.1 from scratch and after about 2-3 weeks I finally got=20 >>> around to inspecting the /var/logs. I have never seen the auth.log file=20= >>> roll over before, so this peaked my interest. It was full of failed=20 >>> login attempts. My firewall blocks all inbound traffic, so I am very=20 >>> baffled be what I see in the log. Any suggestions on how this can be=20 >>> happening? >>> >>> Sep 29 03:09:14 fbsd sshd[33675]: Connection closed by 149.202.179.216=20= >>> port 48876 [preauth] >>> ... >>=20 >> If you have a firewall (about which you have not said anything), how can >> SYN-SYN-ACK happen on port 22? >>=20 >> =09matthias >=20 > My post says "My firewall blocks all inbound traffic". The login error=20 > messages do not say it on port 22. That inbound port is blocked by the=20 > firewall. All pc on the lan are powered off. Even disconnected the lan=20 > cable from the freebsd gateway host and still the error messages come=20 > out. That is why I am asking for help here. Run tcpdump to get the src addr of the connects. --=20 Sent from my Ubuntu phone http://www.unixarea.de/ From owner-freebsd-questions@freebsd.org Sun Oct 1 16:22:36 2017 Return-Path: Delivered-To: freebsd-questions@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 1A1AEE286C0 for ; Sun, 1 Oct 2017 16:22:36 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A4CB65347 for ; Sun, 1 Oct 2017 16:22:34 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from [192.168.0.94] (50.59.65.174 [50.59.65.174]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id 0ae8aef2 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 1 Oct 2017 11:15:51 -0500 (CDT) Date: Sun, 1 Oct 2017 11:15:01 -0500 From: edgar To: Ernie Luzar , Matthias Apitz , freebsd-questions Message-ID: <8a20fe48-bfc3-433f-9ea9-81332f670daa@localhost> In-Reply-To: <59D10B0C.1010702@gmail.com> <20171001152637.GA60730@c720-r314251> References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> Subject: Re: Re: help - under attack MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 16:22:36 -0000 =20 =20 You aren't providing nearly enough information. Is the firewall a separat= e machine=3F Obviously it isn't working or the rules aren't as strict as = you think they are. If you can't change it's rules. Run pf on your machin= e. Or disable sshd if it's not needed. If it is use keys and disable pass= word logins. =20 =20 =20 =20 =20 =20 =20 =20 =20 > =20 > On Oct 1, 2017 at 10:34 AM, wrote: > =20 > =20 > Matthias Apitz wrote: > El d=C3=ADa domingo, octubre 01, 2017 a las = 11:18:14a. m. -0400, Ernie Luzar escribi=C3=B3: > >> Hello list; >> = >> Installed 11.1 from scratch and after about 2-3 weeks I finally got= >> around to inspecting the /var/logs. I have never seen the auth.log = file >> roll over before, so this peaked my interest. It was full of fa= iled >> login attempts. My firewall blocks all inbound traffic, so I am= very >> baffled be what I see in the log. Any suggestions on how this = can be >> happening=3F >> >> Sep 29 03:09:14 fbsd sshd=5B33675=5D: = Connection closed by 149.202.179.216 >> port 48876 =5Bpreauth=5D >> .= .. > > If you have a firewall (about which you have not said anything= ), how can > SYN-SYN-ACK happen on port 22=3F > > matthias My post = says =22My firewall blocks all inbound traffic=22. The login error messag= es do not say it on port 22. That inbound port is blocked by the firewall= . All pc on the lan are powered off. Even disconnected the lan cable from= the freebsd gateway host and still the error messages come out. That is = why I am asking for help here. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F freebsd-questions=40freebsd.org mailing list htt= ps://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,= send any mail to =22freebsd-questions-unsubscribe=40freebsd.org=22 =20 > =20 From owner-freebsd-questions@freebsd.org Sun Oct 1 17:11:15 2017 Return-Path: Delivered-To: freebsd-questions@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 193AEE29CEE for ; Sun, 1 Oct 2017 17:11:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB6EC67587 for ; Sun, 1 Oct 2017 17:11:14 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v91HBDwS062617 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 1 Oct 2017 13:11:13 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v91HBB6M063788; Sun, 1 Oct 2017 13:11:11 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: help - under attack To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <59D10736.2070504@gmail.com> From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Sun, 1 Oct 2017 13:11:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59D10736.2070504@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 17:11:15 -0000 On 10/1/2017 11:18 AM, Ernie Luzar wrote: > Hello list; > > Installed 11.1 from scratch and after about 2-3 weeks I finally got > around to inspecting the /var/logs. I have never seen the auth.log file > roll over before, so this peaked my interest. It was full of failed > login attempts. My firewall blocks all inbound traffic, so I am very > baffled be what I see in the log. Any suggestions on how this can be > happening? Is your firewall your default gateway on the FreeBSD box ? Run tcpdump with the -e option as well to see what MAC address is forwarding the traffic. So if you have igb0 as the nic with the default gateway tcpdump -nei igb0 -c 20 port 22 then use arp -na to match the IP address to the MAC address to confirm it is the host forwarding traffic you think it is. Also double check your firewall to make sure the rules are working as you expect. ---Mike -- ------------------- 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/ From owner-freebsd-questions@freebsd.org Sun Oct 1 17:13:28 2017 Return-Path: Delivered-To: freebsd-questions@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 8E15EE29E5F for ; Sun, 1 Oct 2017 17:13:28 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd10101.aruba.it (smtpcmd14161.aruba.it [62.149.156.161]) by mx1.freebsd.org (Postfix) with ESMTP id 0413767993 for ; Sun, 1 Oct 2017 17:13:27 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.1.114] ([87.20.33.224]) by smtpcmd14.ad.aruba.it with bizsmtp id GHDR1w00E4q8drK01HDRWa; Sun, 01 Oct 2017 19:13:25 +0200 Subject: Re: Installing R 3.4.2 from ports doesn't find cairo.so lib Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Victor In-Reply-To: <20171001141453.GB87960@slackbox.erewhon.home> Date: Sun, 1 Oct 2017 19:13:25 +0200 Cc: Roland Smith Content-Transfer-Encoding: quoted-printable Message-Id: <374BB9D5-957A-40F4-BB07-598B32999F6A@gmail.com> References: <20171001141453.GB87960@slackbox.erewhon.home> To: FreeBSD Mailing List X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1506878005; bh=jGopqWCzSiiSeg/Y3MUW2w8yL18N1Ew4V4+28L8oLsA=; h=Subject:Mime-Version:Content-Type:From:Date:To; b=Cx41h4DdQNGlqFbszY6pLrHDXP1VR7WWGS9CZDfSKqdWKjTMoYyxZZfo7x/ZZ4XdA 8ghl72uXqeuON8D4b90t5tjEX4XYy/JWgIsXPrkYNmb0UB0LgvECrBqMTZRZW2ZJIk TxIX8qeAuLg7Cc/lWOs2qqP+BnxilqLIguGR7gLayuO/l9OSr27XFhTlHIuqDUyQoV q9E17Qle6kDmzl1bx62It82TbhdMcpR9XrvTTlgGpNKrZY3vq3mC9lrpWllWXdHFps I5s6v06EapYXf1hecIvLcinUke+3knwLbKOC8LqG30aVFYp9j9vg81voq/fXswjLsi swvkf802q/RHQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 17:13:28 -0000 I modified > CAIROPANGO_CONFIGURE_WITH=3Dcairo >=20 > to > CAIROPANGO_CONFIGURE_ENABLE=3Dcairo to no avail. Same error! Ciao Vittorio Il giorno 01/ott/2017, alle ore 16:14, Roland Smith ha scritto: > On Sun, Oct 01, 2017 at 03:35:34PM +0200, Victor wrote: >> Under >>=20 >> FreeBSD metbsd 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug 9 = 11:17:49 UTC 2017 =20 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >>=20 >> I'm trying to install the new R 3.4.2 version from ports = (/usr/ports/math/R) but when I issue >>=20 >>=20 >> make install >> .............. >> .............. >> =3D=3D=3D> Checking if R already installed >> =3D=3D=3D> Registering installation for R-3.4.2 >> pkg-static: Unable to access file = /usr/ports/math/R/work/stage/usr/local/lib/R/library/grDevices/libs/cairo.= so:No such file or directory >> *** Error code 74 >=20 > ........ > If cairo.so is not being built, I would suggest making a backup of the = port Makefile. > Then edit the Makefile to change: >=20 > CAIROPANGO_CONFIGURE_WITH=3Dcairo >=20 > to > CAIROPANGO_CONFIGURE_ENABLE=3Dcairo >=20 > According to /usr/ports/Mk/bsd.options.mk, the ${opt}_CONFIGURE_WITH = flag adds > =93--with-${content}=94. But from other options, it seems that R uses = the > --enable/--disable style of options. That should be done with > ${opt}_CONFIGURE_ENABLE. >=20 > Roland > --=20 > R.F.Smith = http://rsmith.home.xs4all.nl/ > [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 17:48:49 2017 Return-Path: Delivered-To: freebsd-questions@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 516D6E2AA10 for ; Sun, 1 Oct 2017 17:48:49 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud8.xs4all.net (lb1-smtp-cloud8.xs4all.net [194.109.24.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E957268AA5 for ; Sun, 1 Oct 2017 17:48:48 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud8.xs4all.net with ESMTPA id yiM7dklipg5cRyiM8dwKxO; Sun, 01 Oct 2017 19:48:44 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 1240c by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Sun, 01 Oct 2017 19:41:13 +0200 Date: Sun, 1 Oct 2017 19:41:13 +0200 From: Roland Smith To: Victor Cc: FreeBSD Mailing List Subject: Re: Installing R 3.4.2 from ports doesn't find cairo.so lib Message-ID: <20171001174113.GA89518@slackbox.erewhon.home> Mail-Followup-To: Victor , FreeBSD Mailing List References: <20171001141453.GB87960@slackbox.erewhon.home> <374BB9D5-957A-40F4-BB07-598B32999F6A@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <374BB9D5-957A-40F4-BB07-598B32999F6A@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-CMAE-Envelope: MS4wfM4f4fTL6psNT7EyTSSzDtvRG66QjagLjsyCCv/uFZiK7wOYDGn8wSsS00FBZsA2Emv1nz9mmy2lZx8hXwGkt046PDfk9zmZ3y/TXM+ynsyFjUDVvYOp NzZ5YNTGTVfXbFDlRLA+r5QhsDagmShv7XiFA2eN3T8DLFqGifXeEzMuDRUWuGPyuq6bvnQJ65ALLQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 17:48:49 -0000 On Sun, Oct 01, 2017 at 07:13:25PM +0200, Victor wrote: > I modified > > CAIROPANGO_CONFIGURE_WITH=cairo > > > > to > > CAIROPANGO_CONFIGURE_ENABLE=cairo > > to no avail. Same error! Just as a heads-up; you have to do “make clean; make” for these changes to have effect. If that doesn't work, go into the work directory and run the configure script with the “--help” option to see what form the cairo option should take. Also look at e.g. config.log to check that configure actually finds the system's cairo and pango libraries. If you cen't find any problem, you should submit a problem report for the port. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text email much appreciated] From owner-freebsd-questions@freebsd.org Sun Oct 1 18:07:22 2017 Return-Path: Delivered-To: freebsd-questions@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 A5475E2AF78 for ; Sun, 1 Oct 2017 18:07:22 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65D8F697C2 for ; Sun, 1 Oct 2017 18:07:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [2.247.255.240] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1dyie6-0000Ra-8N for freebsd-questions@freebsd.org; Sun, 01 Oct 2017 20:07:18 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v91I7EWH002319 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 1 Oct 2017 20:07:14 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v91I7EXi002318 for freebsd-questions@freebsd.org; Sun, 1 Oct 2017 20:07:14 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 1 Oct 2017 20:07:09 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: help - under attack Message-ID: <20171001180709.GA2236@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> <59D10B0C.1010702@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <59D10B0C.1010702@gmail.com> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 2.247.255.240 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 18:07:22 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa domingo, octubre 01, 2017 a las 11:34:36a. m. -0400, Ernie Luza= r escribi=C3=B3: > Matthias Apitz wrote: > > El d=C3=ADa domingo, octubre 01, 2017 a las 11:18:14a. m. -0400, Ernie = Luzar escribi=C3=B3: > >=20 > >=20 > > If you have a firewall (about which you have not said anything), how can > > SYN-SYN-ACK happen on port 22? > >=20 > > matthias >=20 > My post says "My firewall blocks all inbound traffic". The login error=20 The term 'inbound' is not very clear. My firewall on my FreeeBSD box (ipf) blocks traffic incoming for certain ports, it seems that you mean that you block incoming traffic for a complete network and the firewall does not run on the FreeBSD box in question. > messages do not say it on port 22. That inbound port is blocked by the=20 > firewall. All pc on the lan are powered off. Even disconnected the lan=20 > cable from the freebsd gateway host and still the error messages come=20 > out. That is why I am asking for help here. A I (and others) said: use TCPDUMP to see the details of the connects. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =E2=98=8E +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 8. Mai 1945: Wer nicht feiert hat den Krieg verloren. 8 de mayo de 1945: Quien no festeja perdi=C3=B3 la Guerra. May 8, 1945: Who does not celebrate lost the War. --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlnRLsYACgkQR8z35Hb+ nRHSNRAAjZRSc75qNpPzHMneByFb0eDgypt0jhpsuXEt36p468/C6M4IrfbsJ0gY auCvSiDrLO6ajlKfWPDpBjN2ypM2Xvi0f3O+U+ooGwwHH1mvaaJ39YqAhtriKuUm z6P1ug7z2amNZG+kdPgR4QL8O39MGsfUQHDTtHGqR8XssgTDuk+dw3ImvdC4o5s7 eOblEvoBLS8QH5I2AyL8s7u1PT3k4c6xmMWvt+i2KxveiA7DliqphUgGTdZ1Olus jRf+CSWSRLwNKWlL4Ho9Zt00RMDjhXPbQeMIJk9duCOih1T2mnjuTlo+nMGZly8n 7FG3fqd5hmlp23DSdM22oWqp+kjPIg+kg4u4xLHnkV0ks8pKEN5JPTvhc2j0jCkE OUrHiOyLS9ajt4rOypLnQQcqOsq/HgTR6oP7Zj1/wCTrR0JibO7nySsS4wKdUXFV 6mpPB+VGnyyWx/NkwzuUG2iiPXGzV7O30PLjZGOdTtwRQCvbexyp5PK7TMdAW2bP 1nx8doAiPHivz0aBxGfMWKME+fISuQXs6T69TwYeNPj2DiZBMeKsjzTNA9T7vDnr xmux00/6BJ4kq/lQ/PnXdIvlguJa4sYAxKVurDcahVfVAz0Wpm/6dLQ1FKtt+zam WnS87LbRa0/sv3XWKqPhZbwVuY+NDsMHf1zBRK42yHD029QDJho= =7Mo7 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-questions@freebsd.org Sun Oct 1 19:15:07 2017 Return-Path: Delivered-To: freebsd-questions@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 9C750E2C4AB for ; Sun, 1 Oct 2017 19:15:07 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 6D6406B58E for ; Sun, 1 Oct 2017 19:15:07 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AA91A20CA3 for ; Sun, 1 Oct 2017 15:15:00 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 01 Oct 2017 15:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=explNJ2e2Bv6y1h6Dbmx5ceq1caX00usHsqu2zbOZ vg=; b=ph/xiv6Mhyv3l/rdaZAiD5bf1ZgLmXDwKyqdprTJEtTQI6lG7YCtKOErr af3PWxGpOy7vZ3Tqq9UUl8rXQG4kRYvfG6bqJ/EjF3Sst/d+86z0AO5JOxdcg4Sh CkmnJEI2akV1jwJxxFa/Drfx7QNVF2wFu4jJh0ov0/Yj8lZM+Guds/8enn0bYAoO DJKBTMkNPO6mMIt51w1Ta4yTTze2Ziks3zIMuGBwteWeo1cLE1sq46NxipcU0DBg rkYOJnXbmHNHs6vbeMR4/Ly6NR+445r+IrmioLryYWLsUPvfNWzXWVtZyAu572eA 00vCSvgeUvq703FqNKRdaY9tOY6wg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=explNJ2e2Bv6y1h6Db mx5ceq1caX00usHsqu2zbOZvg=; b=N4xqNmesTMGsOn27EBZLxAXZFZlA1RS8o5 +1JdAQr8jCZBqz+SNVxbxTNqQcdJHuIOBReOovStwkaaiNU4hQ6sDFuK0VyUqbfr OXHv986CQNO91C1HF2W7VPKFDp3Ptd7OsDyYs2AMAOonk+UMmZbI3ZrDdXtoi9gs BpNhgzLI4BuBU9nlreV+vqHsDYkm4584ECE8D6oUOZbb6lJ/S9yaD+rbUqWUt6bP 9CokctZtSuDpN8t7Vn+VjJPcLKUEZqHpg9MAoG59rNLCJaBivXFepPzBPw8aRvmw Fk8rV9Q76MpoMiZziVUbn/IKChrOq2comuG4fSUgOOsIHc91xKww== X-ME-Sender: X-Sasl-enc: lFD3zJlubOgBWzaQpcHOEd7QO09do07wOKxfskEWciCF 1506885300 Received: from v007.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C2232473F for ; Sun, 1 Oct 2017 15:15:00 -0400 (EDT) Date: Sun, 1 Oct 2017 20:14:58 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: help - under attack Message-ID: <20171001191458.GB78742@v007.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> <59D10B0C.1010702@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <59D10B0C.1010702@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 19:15:07 -0000 On Sun, Oct 01, 2017 at 11:34:36AM -0400, Ernie Luzar wrote: >firewall. All pc on the lan are powered off. Even disconnected the lan >cable from the freebsd gateway host and still the error messages come >out. That is why I am asking for help here. Does the machine have an active wireless interface, perhaps one that isn't protected by the firewall? Does the freebsd gateway have a wireless interface? Is the freebsd gateway host the firewall? Also, you need to give more detail about the network. Is it like this: internet <> freebsd_gateway_host <> freebsd_machine_reporting_ssh_auth_ attempts ? -- J. From owner-freebsd-questions@freebsd.org Sun Oct 1 23:42:31 2017 Return-Path: Delivered-To: freebsd-questions@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 71B6DE312E6 for ; Sun, 1 Oct 2017 23:42:31 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 5CCE1731DF for ; Sun, 1 Oct 2017 23:42:31 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dync3-0005Pf-D2 for freebsd-questions@freebsd.org; Sun, 01 Oct 2017 17:25:31 -0600 Date: Sun, 1 Oct 2017 17:25:31 -0600 From: The Doctor To: freebsd-questions@freebsd.org Subject: Weird turnoff Message-ID: <20171001232531.GA18260@doctor.nl2k.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 23:42:31 -0000 Could be an attack. All right. As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server has been going intreface down then up and then unable to route. Rebooted this system 2 times today. What should I bee looking for? -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Mon Oct 2 00:11:51 2017 Return-Path: Delivered-To: freebsd-questions@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 75A9AE31BAE for ; Mon, 2 Oct 2017 00:11:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E11C473C55 for ; Mon, 2 Oct 2017 00:11:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Mon, 02 Oct 2017 02:11:42 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8CA193CBF9; Mon, 2 Oct 2017 02:11:41 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v920BeEI002430; Mon, 2 Oct 2017 02:11:40 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 2 Oct 2017 02:11:40 +0200 From: Polytropon To: The Doctor Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-Id: <20171002021140.931f17de.freebsd@edvax.de> In-Reply-To: <20171001232531.GA18260@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 1E9FF683619 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1334 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 00:11:51 -0000 On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > Could be an attack. > > All right. > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > has been going intreface down then up and then unable to route. > > Rebooted this system 2 times today. > > > What should I bee looking for? Primarily the system's log files in /var/log: messages, auth.log, security. Also check the output of the periodic scripts (mailed to root or another user), do they contain hints to something that looks suspicious (SUID changes, system file modifications, etc.)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Oct 2 00:25:32 2017 Return-Path: Delivered-To: freebsd-questions@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 8DE65E32047 for ; Mon, 2 Oct 2017 00:25:32 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 7757774207 for ; Mon, 2 Oct 2017 00:25:32 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dyoXi-000ByE-IK; Sun, 01 Oct 2017 18:25:06 -0600 Date: Sun, 1 Oct 2017 18:25:06 -0600 From: The Doctor To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171002002506.GA42212@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171002021140.931f17de.freebsd@edvax.de> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 00:25:32 -0000 On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > Could be an attack. > > > > All right. > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > has been going intreface down then up and then unable to route. > > > > Rebooted this system 2 times today. > > > > > > What should I bee looking for? > > Primarily the system's log files in /var/log: messages, auth.log, > security. Also check the output of the periodic scripts (mailed > to root or another user), do they contain hints to something that > looks suspicious (SUID changes, system file modifications, etc.)? > exactly what I am looking for I am going to have to do a transcribe as I am opreating from the potential victim and ssh'ing to this terminal or ftp the information over Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP Oct 1 17:17:32 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb0: Using MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:17:32 gallifrey kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:17:32 gallifrey kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 17:17:32 gallifrey kernel: igb1: port 0x6000-0x601f mem 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb1: Using MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:17:32 gallifrey kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:17:32 gallifrey kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 17:17:32 gallifrey kernel: igb0: link state changed to UP Oct 1 17:17:32 gallifrey kernel: igb1: link state changed to UP Oct 1 17:17:46 gallifrey kernel: igb1: link state changed to DOWN Oct 1 17:17:53 gallifrey kernel: igb1: link state changed to UP Oct 1 17:19:06 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 17:40:09 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb0: Using MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:40:09 gallifrey kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:40:09 gallifrey kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 17:40:09 gallifrey kernel: igb1: port 0x6000-0x601f mem 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb1: Using MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:40:09 gallifrey kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:40:09 gallifrey kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 17:40:09 gallifrey kernel: igb0: link state changed to UP Oct 1 17:40:09 gallifrey kernel: igb1: link state changed to UP Oct 1 17:41:25 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 09:02:49 gallifrey kernel: igb0: link state changed to DOWN Oct 1 09:06:13 gallifrey kernel: igb0: link state changed to UP Oct 1 12:04:48 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb0: Using MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 0 to cpu 0 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 1 to cpu 1 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 2 to cpu 2 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 3 to cpu 3 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 4 to cpu 4 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 5 to cpu 5 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 6 to cpu 6 Oct 1 12:04:48 gallifrey kernel: igb0: Bound queue 7 to cpu 7 Oct 1 12:04:48 gallifrey kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 12:04:48 gallifrey kernel: igb1: port 0x6000-0x601f mem 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb1: Using MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 0 to cpu 8 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 1 to cpu 9 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 2 to cpu 10 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 3 to cpu 11 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 4 to cpu 0 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 5 to cpu 1 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 6 to cpu 2 Oct 1 12:04:48 gallifrey kernel: igb1: Bound queue 7 to cpu 3 Oct 1 12:04:48 gallifrey kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 12:04:48 gallifrey kernel: igb0: link state changed to UP Oct 1 12:16:01 gallifrey kernel: igb0: link state changed to DOWN Oct 1 12:19:26 gallifrey kernel: igb0: link state changed to UP Nothing in the auth.log that I can see as an issue. Also, how do I turn routing / ifconfig back on? Rebooting is not that fun > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Mon Oct 2 00:59:04 2017 Return-Path: Delivered-To: freebsd-questions@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 78A38E328F6 for ; Mon, 2 Oct 2017 00:59:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::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 4825B74D8A for ; Mon, 2 Oct 2017 00:59:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x230.google.com with SMTP id 85so5614081ith.2 for ; Sun, 01 Oct 2017 17:59:04 -0700 (PDT) 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=9BwnVoa/s9PGWUyiHmd4YYu4fK68qxwoQ9kQ0CsGSmw=; b=n6FeuTBo5t5mDSlZ70c1Anu8wqgJjQxnF9z5OMT9I/i+D33iPSuPlwXyidourOtEsK +FTNX8XQl0TAiBneCAswa/alzC0vvGNYgfrJ1HQc3Y40yT8K5jNbSUiKl3qc4GlfaZpU ZoPVjnKTgqyXlWW3AiTZu/gF7ukYzlqwmVplVfVJ9upWNgdRTiKjxochb4+FfuxQJ5Zq A1caVXmW7VhxIvWh/bmvTS9CQeix1xuBX0irE6w3M5NiYJni7bd2jzRq4WPOWPDEeSoF hACsaZ7Z0Ln0LFt98tionmlfefN8F24uvm9npuh3mZ5ysFpCaEDTXdqvKZNGpx2uFNR+ xHjA== 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=9BwnVoa/s9PGWUyiHmd4YYu4fK68qxwoQ9kQ0CsGSmw=; b=tmxlmPtLulegwdMqgZFFVkUPVKCA4mZ0RTsG5oOaDG6CU4K4FvtOzV8dhOPyiOP5nq GvPUM2tKl3migr/7WkX05j1FbFvuSCzSsx8i8nViwVc7QDVT0siTUcwufVz36rca0p3Z Yxmxc8CC7accCit/syIkzyOfWvrh0o/yMKEZi4oMMV43CxtbfvJ9XAJlLb25aHMBu7aX 21NOFo345kNIMCAauoZU5vxHBt/zPTR1uWBcTq88yrBDzRv0frolJiVgvVy5zhO4wrTD /pkLjbdXiCbinoU6wJ8KruiimIYD7EIV2+ttJuoNs16KgNElcidMRSEaDCg0agRIQz/u 3Mkg== X-Gm-Message-State: AHPjjUjahvvt9uwO5SDWpCgsBGO4ci/njYXRdr7WpqeeshazUoat26rb rM9p88wfgPPobVqXHzvpQIeCnbzeMD4dW6nCQ6Y= X-Google-Smtp-Source: AOwi7QA5UtVyY0eEmaxzP0g4xisQpeHSf5gVL4iPOfZqSGF3XLXvSyEzfvTYOaATwF3lkXYLSNXmkRunspUInk6HbG4= X-Received: by 10.36.101.213 with SMTP id u204mr17594122itb.151.1506905943476; Sun, 01 Oct 2017 17:59:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Sun, 1 Oct 2017 17:59:02 -0700 (PDT) In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> From: Adam Vande More Date: Sun, 1 Oct 2017 19:59:02 -0500 Message-ID: Subject: Re: Weird turnoff To: The Doctor Cc: Polytropon , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 00:59:04 -0000 On Sun, Oct 1, 2017 at 7:25 PM, The Doctor wrote: > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > Could be an attack. > Perhaps by a mouse... > > > All right. > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > has been going intreface down then up and then unable to route. > > > > > > Rebooted this system 2 times today. > > > > > > > > > What should I bee looking for? > > > > Primarily the system's log files in /var/log: messages, auth.log, > > security. Also check the output of the periodic scripts (mailed > > to root or another user), do they contain hints to something that > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > exactly what I am looking for > Punctuation, like question marks, for a start. Otherwise, I'd look into why it appears the switch the system is plugged into is losing connectivity. What it rebooted or something? -- Adam From owner-freebsd-questions@freebsd.org Mon Oct 2 01:04:33 2017 Return-Path: Delivered-To: freebsd-questions@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 3D51BE32BB5 for ; Mon, 2 Oct 2017 01:04:33 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 254BD7525F for ; Mon, 2 Oct 2017 01:04:32 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dyp9p-000GuA-Fs; Sun, 01 Oct 2017 19:04:29 -0600 Date: Sun, 1 Oct 2017 19:04:29 -0600 From: The Doctor To: Adam Vande More Cc: Polytropon , FreeBSD Questions Subject: Re: Weird turnoff Message-ID: <20171002010429.GA64459@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 01:04:33 -0000 On Sun, Oct 01, 2017 at 07:59:02PM -0500, Adam Vande More wrote: > On Sun, Oct 1, 2017 at 7:25 PM, The Doctor wrote: > > > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > > Could be an attack. > > > > Perhaps by a mouse... > > Doubtful. > > > > All right. > > > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > > has been going intreface down then up and then unable to route. > > > > > > > > Rebooted this system 2 times today. > > > > > > > > > > > > What should I bee looking for? > > > > > > Primarily the system's log files in /var/log: messages, auth.log, > > > security. Also check the output of the periodic scripts (mailed > > > to root or another user), do they contain hints to something that > > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > > > > exactly what I am looking for > > > > Punctuation, like question marks, for a start. > > Otherwise, I'd look into why it appears the switch the system is plugged > into is losing connectivity. What it rebooted or something? > Nope. For no viable reason , the server is loosing connectivity, not the switch. > -- > Adam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Mon Oct 2 02:10:53 2017 Return-Path: Delivered-To: freebsd-questions@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 14D0DE33923 for ; Mon, 2 Oct 2017 02:10:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 933B3767EF for ; Mon, 2 Oct 2017 02:10:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Mon, 02 Oct 2017 04:10:49 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4DB773CC3F; Mon, 2 Oct 2017 04:10:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v922Alta003676; Mon, 2 Oct 2017 04:10:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 2 Oct 2017 04:10:47 +0200 From: Polytropon To: The Doctor Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-Id: <20171002041047.31f81a0d.freebsd@edvax.de> In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with B546F683493 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1436 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 02:10:53 -0000 On Sun, 1 Oct 2017 18:25:06 -0600, The Doctor wrote: > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > Could be an attack. > > > > > > All right. > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > has been going intreface down then up and then unable to route. > > > > > > Rebooted this system 2 times today. > > > > > > > > > What should I bee looking for? > > > > Primarily the system's log files in /var/log: messages, auth.log, > > security. Also check the output of the periodic scripts (mailed > > to root or another user), do they contain hints to something that > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > exactly what I am looking for Many system actions are recorded in those log files. Of course if an attacker has write access to them, it's fairly easy for him to delete the entries which suggest that he has been there... > I am going to have to do a transcribe as I am opreating from the > potential victim and ssh'ing to this terminal > > or ftp the information over Use FTP only within a trusted network (which implies only trusted participants), as information is typically transmitted without encryption! > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > Oct 1 17:17:32 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 This looks like some reboot. The last message above usually is the _first_ message with igb0 originator, the following ones (the ones _above_ it!) must be from a previous run of the system. A link change cannot be reported before the device hasn't been initialized by the kernel. >From your log, we can easily see the NIC init messages with the following timestamps (summarized): Oct 1 17:17:32 gallifrey kernel: igb0 Oct 1 17:17:32 gallifrey kernel: igb1 Oct 1 17:40:09 gallifrey kernel: igb0 Oct 1 17:40:09 gallifrey kernel: igb1 Oct 1 12:04:48 gallifrey kernel: igb0 Oct 1 12:04:48 gallifrey kernel: igb1 This looks like reboots. Does /var/log/messages have multiple occurances of the FreeBSD "kernel banner" (the copyright information and so on)? > Nothing in the auth.log that I can see as an issue. That matches the reboot theory. A manual reboot (issued by a system operator) would cause an entry, but an accidental reboot would not. > Also, how do I turn routing / ifconfig back on? You can use "service netif restart" to restart the networking subsystem. > Rebooting is not that fun Agreed, and it doesn't fix the problem either... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Oct 2 02:32:33 2017 Return-Path: Delivered-To: freebsd-questions@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 DC435E341E9 for ; Mon, 2 Oct 2017 02:32:33 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 B8F4E772FF for ; Mon, 2 Oct 2017 02:32:33 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dyqWU-0000vg-0e; Sun, 01 Oct 2017 20:31:58 -0600 Date: Sun, 1 Oct 2017 20:31:58 -0600 From: The Doctor To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171002023157.GA1163@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002041047.31f81a0d.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171002041047.31f81a0d.freebsd@edvax.de> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 02:32:34 -0000 On Mon, Oct 02, 2017 at 04:10:47AM +0200, Polytropon wrote: > On Sun, 1 Oct 2017 18:25:06 -0600, The Doctor wrote: > > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > > Could be an attack. > > > > > > > > All right. > > > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > > has been going intreface down then up and then unable to route. > > > > > > > > Rebooted this system 2 times today. > > > > > > > > > > > > What should I bee looking for? > > > > > > Primarily the system's log files in /var/log: messages, auth.log, > > > security. Also check the output of the periodic scripts (mailed > > > to root or another user), do they contain hints to something that > > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > > > > exactly what I am looking for > > Many system actions are recorded in those log files. Of course > if an attacker has write access to them, it's fairly easy for > him to delete the entries which suggest that he has been there... > > > > > I am going to have to do a transcribe as I am opreating from the > > potential victim and ssh'ing to this terminal > > > > or ftp the information over > > Use FTP only within a trusted network (which implies only trusted > participants), as information is typically transmitted without > encryption! > > > > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > > Oct 1 17:17:32 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 > > This looks like some reboot. The last message above usually is > the _first_ message with igb0 originator, the following ones > (the ones _above_ it!) must be from a previous run of the system. > A link change cannot be reported before the device hasn't been > initialized by the kernel. > > >From your log, we can easily see the NIC init messages with > the following timestamps (summarized): > > Oct 1 17:17:32 gallifrey kernel: igb0 > Oct 1 17:17:32 gallifrey kernel: igb1 > > Oct 1 17:40:09 gallifrey kernel: igb0 > Oct 1 17:40:09 gallifrey kernel: igb1 > > Oct 1 12:04:48 gallifrey kernel: igb0 > Oct 1 12:04:48 gallifrey kernel: igb1 > > This looks like reboots. Does /var/log/messages have multiple > occurances of the FreeBSD "kernel banner" (the copyright > information and so on)? > > Just me resetting the system > > > Nothing in the auth.log that I can see as an issue. > > That matches the reboot theory. A manual reboot (issued by a system > operator) would cause an entry, but an accidental reboot would not. > > > > > Also, how do I turn routing / ifconfig back on? > > You can use "service netif restart" to restart the networking > subsystem. > That speeds the process up > > > > Rebooting is not that fun > > Agreed, and it doesn't fix the problem either... :-) > > Back to square 1 - where to look for what shut the if down to start with . Also what sort of test can the server do to find that it cannot find he internet so that it can self restart ? Say if ping 8.8.8.8 reurns error implement service netif restart ? > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Mon Oct 2 02:56:34 2017 Return-Path: Delivered-To: freebsd-questions@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 3C6DFE34624 for ; Mon, 2 Oct 2017 02:56:34 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 182EC77977 for ; Mon, 2 Oct 2017 02:56:33 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dyqtS-0003eu-4K; Sun, 01 Oct 2017 20:55:42 -0600 Date: Sun, 1 Oct 2017 20:55:42 -0600 From: The Doctor To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171002025542.GA13466@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002041047.31f81a0d.freebsd@edvax.de> <20171002023157.GA1163@doctor.nl2k.ab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171002023157.GA1163@doctor.nl2k.ab.ca> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 02:56:34 -0000 On Sun, Oct 01, 2017 at 08:31:58PM -0600, The Doctor wrote: > On Mon, Oct 02, 2017 at 04:10:47AM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 18:25:06 -0600, The Doctor wrote: > > > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > > > Could be an attack. > > > > > > > > > > All right. > > > > > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > > > has been going intreface down then up and then unable to route. > > > > > > > > > > Rebooted this system 2 times today. > > > > > > > > > > > > > > > What should I bee looking for? > > > > > > > > Primarily the system's log files in /var/log: messages, auth.log, > > > > security. Also check the output of the periodic scripts (mailed > > > > to root or another user), do they contain hints to something that > > > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > > > > > > > exactly what I am looking for > > > > Many system actions are recorded in those log files. Of course > > if an attacker has write access to them, it's fairly easy for > > him to delete the entries which suggest that he has been there... > > > > > > > > > I am going to have to do a transcribe as I am opreating from the > > > potential victim and ssh'ing to this terminal > > > > > > or ftp the information over > > > > Use FTP only within a trusted network (which implies only trusted > > participants), as information is typically transmitted without > > encryption! > > > > > > > > > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > > > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > > > Oct 1 17:17:32 gallifrey kernel: igb0: port 0x6020-0x603f mem 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 numa-domain 0 on pci3 > > > > This looks like some reboot. The last message above usually is > > the _first_ message with igb0 originator, the following ones > > (the ones _above_ it!) must be from a previous run of the system. > > A link change cannot be reported before the device hasn't been > > initialized by the kernel. > > > > >From your log, we can easily see the NIC init messages with > > the following timestamps (summarized): > > > > Oct 1 17:17:32 gallifrey kernel: igb0 > > Oct 1 17:17:32 gallifrey kernel: igb1 > > > > Oct 1 17:40:09 gallifrey kernel: igb0 > > Oct 1 17:40:09 gallifrey kernel: igb1 > > > > Oct 1 12:04:48 gallifrey kernel: igb0 > > Oct 1 12:04:48 gallifrey kernel: igb1 > > > > This looks like reboots. Does /var/log/messages have multiple > > occurances of the FreeBSD "kernel banner" (the copyright > > information and so on)? > > > > > > Just me resetting the system > > > > > > Nothing in the auth.log that I can see as an issue. > > > > That matches the reboot theory. A manual reboot (issued by a system > > operator) would cause an entry, but an accidental reboot would not. > > > > > > > > > Also, how do I turn routing / ifconfig back on? > > > > You can use "service netif restart" to restart the networking > > subsystem. > > > > That speeds the process up > Or hinder. Just did a manual test and now the server in question cannot see outside the LAN. > > > > > > > Rebooting is not that fun > > > > Agreed, and it doesn't fix the problem either... :-) > > > > > > Back to square 1 - where to look for what shut the if down to start with > > . > > Also > > what sort of test can the server do to find that it cannot find he internet so that > it can self restart ? > > Say if ping 8.8.8.8 reurns error implement service netif restart ? > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca > Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! > https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism > Talk Sense to a fool and he calls you foolish - Euripides > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Mon Oct 2 06:10:17 2017 Return-Path: Delivered-To: freebsd-questions@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 0AF19E37230 for ; Mon, 2 Oct 2017 06:10:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC02B8053B for ; Mon, 2 Oct 2017 06:10:16 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:8d79:2312:1fde:a9c1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 5BAB03192 for ; Mon, 2 Oct 2017 06:10:12 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Weird turnoff To: freebsd-questions@freebsd.org References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> From: Matthew Seaman Message-ID: <28f562ed-e56e-c22e-cec8-0c4bc38e3fcc@FreeBSD.org> Date: Mon, 2 Oct 2017 07:10:04 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s4u4MHOqD7SXVEeSmssfMUVNRsQ9Lv4IC" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 06:10:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --s4u4MHOqD7SXVEeSmssfMUVNRsQ9Lv4IC Content-Type: multipart/mixed; boundary="QdgSTaNmLb1nLmXENL3RSnsLRfAl065vr"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <28f562ed-e56e-c22e-cec8-0c4bc38e3fcc@FreeBSD.org> Subject: Re: Weird turnoff References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> --QdgSTaNmLb1nLmXENL3RSnsLRfAl065vr Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 02/10/2017 01:25, The Doctor wrote: > Also, how do I turn routing / ifconfig back on? # service netif restart && service routing restart Cheers, Matthew --QdgSTaNmLb1nLmXENL3RSnsLRfAl065vr-- --s4u4MHOqD7SXVEeSmssfMUVNRsQ9Lv4IC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZ0dhEXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATgPkP/1ovSW6Dl8OYsXSw2cxVG5F3 LzAlDcGAPJgTUWiyJEqAymR8bMa/MHZNrq8eUH/Tfa0rfjSZZ4k0WUoNdJGMZ73K jzenLZtHegrQPwHU1V57YZ1U/WzSOXJyJ6ZZk1+tR5uj5gSV6o0H6i4A8n2m6B4n gX+VWqt/Lk1L3HDrEctcOoRDgeEXNgtlcGG22emrgcTrWgaunN5zkSU9wIVRBThU SoBUY5/e9dkLEB7ZsDrXPPetp+Qpi9VNqf8X094U+1KC8egyh7HoiDhAp/NW0Nzg RfOT4mvqiy2zMowljELKmclVI9j8GGn0J6zMrV7rLtdwWg5EUkZneLH0mGwNcxuk FB9ONprn+m1hzU7K6l7x46QDa7/qRj3s7hWibNp1ovyvo3JM68HcCR4rVjxUbn28 z9zzHX7Vg4yUMVBKK/pbz6zQRowLOexVGKorNUcFJqALDkHn3K2PLzJXzrdwytIk MLyxkVwCkuMAkili8hyJju3KHYxCBHyZeBCwLRx8Oqhs3gZt3KB3Kcu2qDGe0fsx wpvUzN8X94qH1ZZZg6GoffbM0AqaXXrEElc6Z1WvXUj3tFAD2dBdnbKfjMFw48ot ujDOKYxOEvdDWw6BKxVuLEMGqkytL9Z91aWkNlgQJP6PzcmdNUB9phixbcu/z84w L+Uu3BqXoEYvQ0TK3yVz =O5Rn -----END PGP SIGNATURE----- --s4u4MHOqD7SXVEeSmssfMUVNRsQ9Lv4IC-- From owner-freebsd-questions@freebsd.org Mon Oct 2 06:23:59 2017 Return-Path: Delivered-To: freebsd-questions@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 28DC0E376CB for ; Mon, 2 Oct 2017 06:23:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B1C1880C90 for ; Mon, 2 Oct 2017 06:23:58 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:8d79:2312:1fde:a9c1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 06D493197 for ; Mon, 2 Oct 2017 06:23:57 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Weird turnoff To: freebsd-questions@freebsd.org References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002041047.31f81a0d.freebsd@edvax.de> <20171002023157.GA1163@doctor.nl2k.ab.ca> <20171002025542.GA13466@doctor.nl2k.ab.ca> From: Matthew Seaman Message-ID: <841d595b-7f26-a891-5c96-8ebb155f7707@FreeBSD.org> Date: Mon, 2 Oct 2017 07:23:56 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171002025542.GA13466@doctor.nl2k.ab.ca> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uDfwQdaahSKncMAOKfe7pLQWhIFGtbu68" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 06:23:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uDfwQdaahSKncMAOKfe7pLQWhIFGtbu68 Content-Type: multipart/mixed; boundary="0GJTGmd0vHmNWtKbpd59Ix9MdwOrVP0OL"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <841d595b-7f26-a891-5c96-8ebb155f7707@FreeBSD.org> Subject: Re: Weird turnoff References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002041047.31f81a0d.freebsd@edvax.de> <20171002023157.GA1163@doctor.nl2k.ab.ca> <20171002025542.GA13466@doctor.nl2k.ab.ca> In-Reply-To: <20171002025542.GA13466@doctor.nl2k.ab.ca> --0GJTGmd0vHmNWtKbpd59Ix9MdwOrVP0OL Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 02/10/2017 03:55, The Doctor wrote: > Or hinder. > Just did a manual test and now the server in > question cannot see outside the LAN. Errr... yes. Running 'service netif restart' will clear your routing table. You need to run 'service routing restart' or 'service defaultroute restart' as well. What does your routing table look like before and after you run your network restart? Compare the results from in either case: # netstat -rn If your interface has started spontaneously going down for no apparent reason, I'd suspect some sort of hardware problem. See if the i/f is recording any errors: # netstat -i If you have a decent switch, you should be able to get equivalent output from that end too. If there are any non-zero entries in the ierr or oerr columns, and particularly if those counters are increasing over time, then start by checking your cabling. Try a new ethernet cable. Make sure that cables are not kinked or even tied down too tightly. Make sure plugs are firmly seated in sockets. Failing that, try moving the machine to a different switch port temporarily. Cheers, Matthew --0GJTGmd0vHmNWtKbpd59Ix9MdwOrVP0OL-- --uDfwQdaahSKncMAOKfe7pLQWhIFGtbu68 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZ0dt8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT98kQAKfXWgmWF0Quolj001AR0Hp+ nIuxOxNa875h2yJuUueSXOdJ8CRj9b4J+5fZfphC5dtSia6h8h70GXITcZSOOWtv 8yEHZQcj+qHpxkmhqHLUcuiAG0b7R5C7vBLRyR5WJXvPs6ZoOHGvUBsZ003kf5Gz HZY8yOhRBhiE3wTRtT/Zd1bdTKMPnNAIqdLKlK02oEcs0108vgZhEzPf/slKIjCt n+zIPwGPcdNnIcNE3nLvbUjkce9kvMow62LyFrmf9E1eRbH7CUkT4esDZ3gvOlkj Q7PhFlFEMpX77wHoi5H2oM8mHT7+rD8dgxl/SlUUCzMh700i/wEQ7JeEUdLmxpmk iExvnTp6M6fw6q6nS2xn3iV2qtn4xb/0ga2OzKVrC84GXcotNiq6iwO1b9fj5wCU FnuuQ4dPzCR1xZOWvtg/zv/g7PubOLgUurgVymcnP9VlpgVtDX8x0v0dUYIDiMaF V4kTnFBAMwxDGDesMGp0T/0sWJYeaBgRXwwQNOI+dtdh9cSCDAMt2NiBY35xcV8b 4MGTafCKZhNUjSLG/PfBD84krIoslYfGHGemrRr4VAvzw0PRyk9plPvTmEEuToGJ cCd2jOwtv6aSbzFgXEGXut+zKNaEc9GYV133N63CIcO26dQkPN0KdboTvXc4/Qi2 fxWbHV333lN+J8ohYuEj =QE0e -----END PGP SIGNATURE----- --uDfwQdaahSKncMAOKfe7pLQWhIFGtbu68-- From owner-freebsd-questions@freebsd.org Mon Oct 2 06:34:36 2017 Return-Path: Delivered-To: freebsd-questions@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 1403CE37C4C for ; Mon, 2 Oct 2017 06:34:36 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3915813F4 for ; Mon, 2 Oct 2017 06:34:35 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1dyuJ8-0005l4-2E for freebsd-questions@freebsd.org; Mon, 02 Oct 2017 08:34:26 +0200 Date: Mon, 2 Oct 2017 08:34:26 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: no dead-lock when signal handler calls localtime_r() on FreeBSD, but on Linux Message-ID: <20171002063425.GA21552@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 06:34:36 -0000 Hello, I'm on the way clarifying a deadlock-issue we face on Linux when localtime_r() is called in a signal-handler funtion. If you compile the code attached below with gcc on Linux, the code gives what one deserves: a dead-lock when Ctrl-C is pressed. Interestingly this does not give a dead-lock on my FreeBSD (12-CURRENT) system. I checked our man page sigaction(2) but the function is not in the list of functions which may be called safe in signal-handlern. Any idea, while this does not give a dead-lock on FreeBSD too? Thanks matthias /* * compile with: gcc -Wall -DUNSAFE -o deadlock deadlock.c * to get a dead-lock * */ #include #include #include #include void handler(int signum) { char result[100]; time_t now; struct tm time1; printf("in handler() now calling localtime_r() ...\n"); fflush(stdout); now = time(NULL); localtime_r(&now, &time1); strftime(result, 100, "%T", &time1); printf("... at %s, user pressed Ctrl-C\n", result); } int main (void) { time_t now; struct tm ltime; if (signal(SIGINT, handler) == SIG_IGN) signal(SIGINT, SIG_IGN); now = time(NULL); while(1) { #ifdef UNSAFE localtime_r(&now, <ime); #endif } return 0; } -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-176-38902045 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign From owner-freebsd-questions@freebsd.org Mon Oct 2 06:58:01 2017 Return-Path: Delivered-To: freebsd-questions@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 336A2E3813D for ; Mon, 2 Oct 2017 06:58:01 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B8A581CD9 for ; Mon, 2 Oct 2017 06:58:00 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from procyon.local ([62.183.124.200]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MTeVY-1dq0gq1Qzw-00QScl for ; Mon, 02 Oct 2017 08:57:52 +0200 Subject: Re: no dead-lock when signal handler calls localtime_r() on FreeBSD, but on Linux To: freebsd-questions@freebsd.org References: <20171002063425.GA21552@sh4-5.1blu.de> From: Yuri Pankov Message-ID: <102e950a-f3f2-bff1-1025-d5e757ee793b@gmx.com> Date: Mon, 2 Oct 2017 09:57:51 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171002063425.GA21552@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GFkmN+Lpvwz0wjh7csfAlw0U30V1s959KtIkxlZPC33T7o60Zyw duSkmgoVjQ3mqSPyLGgji9i9K2QVnXcDHmeShj4ew2ozZEKjO2pBh8Z3WY+xiXfxnmSu785 fieNpL5A9lPWVyNgEEs9fnyHecqrnZQNPNQKGuQqOeAfXKJqWtpEfLzZeervTyMRRfidrXa SZFYrc+tLivXmCfe5oHvQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:w5t+/S2gcAM=:FJbnRBjDrVCRKOUkTAYcBR 2ba6A3bc7O34Oitnw7GXlCeBz2Sxy56+ZKfbilSHEQM5ZWhKsxVfU9xL4w1HbVOKn8MId6Gco tWVnDryVzS7w7JNXitD5UWxAbut9Oyoi8Ai9eCLeCcmLVX8vlAlmuS7yLgBUMvbNG5arvRtdj KkI2hW6f76R/j2aKj+vHq2qqURU8SaRukzgrjGAs6jxCggsibJ/YWka7aJrzDyIX9lU6IqQw4 poJEcipT0glAJ+5RqgvUc5c3QM47HgZ07/QmE4M/DhZFpGE8pPdf53Qf4MNZOtKudZylkHNrF hPQ5rbXpwGCPyYxSVdXr+0nXjN57GYTCbF6Q82mlrnF+b9NA23B4lmf+yljQqES4H0qXe4Ieb ERkR1OsA1pcxDGPrkdsklI5UPKYcWuSzJp5Vyf9cAFD9JflRts9RjlT++NbHZscCtjUbkNt3n CG1zWZUVzx2AApRdW15lEKWlsdPFQyL9IH5W5ZCI2JmbGSyipkUsbOPl+tOX1rEhvu8pvWVqN iBtZLE8tUJcjhnKdT2Q4FCWM0jpeISuPEJJIp2NdLX/h+fUNsoQ5ibQLCq5eMH2m7AiJiZC0a atd/LHiQLLoeA6NNlwF80i9qTdRCq11lO8DS5wgOdTdhdZuqDjcNoXLUP54EMhOTynuR26LRB Cksunw3X7PtWgtehDAqx431XsnggJgF/qwgD3hUROvs87XxdP5i/7M5bza24TyPmxkuE9iAXC 3+T15D1gUfpISF0tU/85XZm1nNEKfCwYLT4jIhyojUB1AYWzGpMK2rYlnvT0O3r2/lUbZwaw+ SA5NgN9q4Kn/pL5AhS/JHDSXOk+3xV4Q/daZXVI3WLnBvrigtjm6w2MWKXG1TnflTuAOu4r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 06:58:01 -0000 On Mon, 2 Oct 2017 08:34:26 +0200, Matthias Apitz wrote: > > > Hello, > > I'm on the way clarifying a deadlock-issue we face on Linux when localtime_r() > is called in a signal-handler funtion. If you compile the code attached > below with gcc on Linux, the code gives what one deserves: a dead-lock > when Ctrl-C is pressed. Why? I don't see anything explicitly stating that localtime_r() is async-signal-UNsafe. > Interestingly this does not give a dead-lock on my FreeBSD (12-CURRENT) > system. I checked our man page sigaction(2) but the function is not in > the list of functions which may be called safe in signal-handlern. > > Any idea, while this does not give a dead-lock on FreeBSD too? Different implementation? :-) From owner-freebsd-questions@freebsd.org Mon Oct 2 07:10:04 2017 Return-Path: Delivered-To: freebsd-questions@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 27EECE38470 for ; Mon, 2 Oct 2017 07:10:04 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8C1182128 for ; Mon, 2 Oct 2017 07:10:03 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1dyurZ-0000aa-2H for freebsd-questions@freebsd.org; Mon, 02 Oct 2017 09:10:01 +0200 Date: Mon, 2 Oct 2017 09:10:01 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: no dead-lock when signal handler calls localtime_r() on FreeBSD, but on Linux Message-ID: <20171002071000.GA1373@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20171002063425.GA21552@sh4-5.1blu.de> <102e950a-f3f2-bff1-1025-d5e757ee793b@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <102e950a-f3f2-bff1-1025-d5e757ee793b@gmx.com> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 07:10:04 -0000 El día Monday, October 02, 2017 a las 09:57:51AM +0300, Yuri Pankov escribió: > On Mon, 2 Oct 2017 08:34:26 +0200, Matthias Apitz wrote: > > > > > >Hello, > > > >I'm on the way clarifying a deadlock-issue we face on Linux when localtime_r() > >is called in a signal-handler funtion. If you compile the code attached > >below with gcc on Linux, the code gives what one deserves: a dead-lock > >when Ctrl-C is pressed. > > Why? I don't see anything explicitly stating that localtime_r() is > async-signal-UNsafe. Because, as I said, it is not in the list of The following functions are either reentrant or not interruptible by signals and are async-signal safe. Therefore applications may invoke them, without restriction, from signal-catching functions or from a child process after calling fork(2) in a multi-threaded process: in the man page sigactio(2). matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-176-38902045 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign From owner-freebsd-questions@freebsd.org Mon Oct 2 09:03:54 2017 Return-Path: Delivered-To: freebsd-questions@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 A0BC4E3A2CE for ; Mon, 2 Oct 2017 09:03:54 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:c:538::196]) (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 6922115D for ; Mon, 2 Oct 2017 09:03:54 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) X-Originating-IP: 74.125.83.43 Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) (Authenticated sender: moi@erwan.legrand.name) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 3B9591720EB for ; Mon, 2 Oct 2017 11:03:52 +0200 (CEST) Received: by mail-pg0-f43.google.com with SMTP id b1so1177356pge.1 for ; Mon, 02 Oct 2017 02:03:51 -0700 (PDT) X-Gm-Message-State: AHPjjUhTlw7pdgbwaV+v7bJyQUZvYgTDlLbADERNDebJQ4+d5UNWxfUo hKuJXLw/2pSQVLh9PigI17X/fYDB/lb/bwtEaUg= X-Google-Smtp-Source: AOwi7QD+HFQ1b1ulhbflvULszfAQBIzCsFusHQsHFSu2sy93esFi7U19Yyr0hhbiiGecBeytOYM/pQtz+6VYNMvJzm0= X-Received: by 10.159.244.9 with SMTP id x9mr13533641plr.34.1506935030485; Mon, 02 Oct 2017 02:03:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.155.10 with HTTP; Mon, 2 Oct 2017 02:03:49 -0700 (PDT) In-Reply-To: <20171002071000.GA1373@sh4-5.1blu.de> References: <20171002063425.GA21552@sh4-5.1blu.de> <102e950a-f3f2-bff1-1025-d5e757ee793b@gmx.com> <20171002071000.GA1373@sh4-5.1blu.de> From: Erwan Legrand Date: Mon, 2 Oct 2017 11:03:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: no dead-lock when signal handler calls localtime_r() on FreeBSD, but on Linux To: Matthias Apitz , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 09:03:54 -0000 On Mon, Oct 2, 2017 at 9:10 AM, Matthias Apitz wrote: > El d=C3=ADa Monday, October 02, 2017 a las 09:57:51AM +0300, Yuri Pankov = escribi=C3=B3: >> On Mon, 2 Oct 2017 08:34:26 +0200, Matthias Apitz wrote: >> >I'm on the way clarifying a deadlock-issue we face on Linux when localt= ime_r() >> >is called in a signal-handler funtion. If you compile the code attached >> >below with gcc on Linux, the code gives what one deserves: a dead-lock >> >when Ctrl-C is pressed. >> >> Why? I don't see anything explicitly stating that localtime_r() is >> async-signal-UNsafe. > > Because, as I said, it is not in the list of > > The following functions are either reentrant or not interruptible by > signals and are async-signal safe. Therefore applications may invok= e > them, without restriction, from signal-catching functions or from a = child > process after calling fork(2) in a multi-threaded process: > > in the man page sigactio(2). So what? Calling async-safe functions in signal handlers will not by itself trigger a bug. (Unless there is a bug in the implementation.) That is what a guarantee that async-safe functions (and standards) give. Assuming that calling in a signal handler functions which are not labeled as async-safe by some standard will reproducibility trigger a bug is faulty logic. Doing so *may* trigger a bug, but that is *not* a guaranteed behavior. localtime_r() is guaranteed to be thread-safe. It is not guaranteed to be async-safe. This suggest that the function might not be truly reentrant. It is only guaranteed to be reentrant with regard to thread safety. Async-safety requires reentrancy in a strictest sense. The implementation of localtime_r() in glibc is a good example as it calls a function named __tz_convert() which itself acquires a lock which makes it unsuitable for use within a signal handler. In the case of FreeBSD, a read-write lock is used and locatime_r() locks it as a reader. As multiple readers are allowed, this does not block in your case. Still, calling localtime_r() in a signal handler will block if the lock is acquired by a writer. Do not call async-unsafe functions in signal handlers. *Just don't!* From owner-freebsd-questions@freebsd.org Mon Oct 2 12:07:24 2017 Return-Path: Delivered-To: freebsd-questions@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 2D941E3E0C6 for ; Mon, 2 Oct 2017 12:07:24 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp209.alice.it (smtp209.alice.it [82.57.200.105]) by mx1.freebsd.org (Postfix) with ESMTP id BCE5165BF9 for ; Mon, 2 Oct 2017 12:07:23 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (212.171.20.179) by smtp209.alice.it (8.6.060.28) id 59A3DB80043BE5EC for freebsd-questions@freebsd.org; Mon, 2 Oct 2017 14:01:40 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v92C1fti075988 for ; Mon, 2 Oct 2017 14:01:41 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Create Ultimate Boot CD USB Stick [SOLVED] Cc: freebsd-questions@freebsd.org References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> From: Andrea Venturoli Message-ID: <8b835a99-7bb0-11f8-f313-b9cbaff47d15@netfence.it> Date: Mon, 2 Oct 2017 14:01:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <55EE8445.9070901@sneakertech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 12:07:24 -0000 On 09/08/15 08:46, Quartz wrote: >> Is there a way to create an UBCD stick from the ISO image without using >> Linux or Windows? > > UBCD uses the SYSLINUX package (specifically ISOLINUX) to boot to the > menu and load all its modules. I have not tested this, but it may be > possible to download and run the SYSLINUX scripts directly under *BSD to > create an 'empty' usb stick that just boots to a dummy menu. If that > works, you can then just cp the config and modules from the UBCD ISO > onto your stick afterwards and be good to go. (SYSLINUX, ISOLINUX and > PXELINUX all spawn an identical environment, so you can literally copy > and paste stuff between them). I know I'm replying to a more than two years old thread, but I thought I'd share with others the solution I found. I assume no responsibility in case something goes wrong :) One must first follow the instructions from ubcd/tools/linux/ubcd2usb/readme.txt. Of course we are not on Linux, so the actual commands are different. Point 2: I used "camcontrol devlist" to see that my USB drive was /dev/da6 (of course, in the following phases, it must be changed to whatever is correct). Point 3: A) dd bs=16M if=/dev/zero count=1 of=/dev/da6 B) gpart create -s MBR /dev/da6 gpart add -t fat16 /dev/da6 C) newfs_msdos /dev/da6s1 Point 4: > dd count=1 conv=osync if=ubcd/tools/linux/ubcd2usb/mbr.bin of=ubcd/tools/linux/ubcd2usb/mbr_padded.bin > gpart bootcode -b ubcd/tools/linux/ubcd2usb/mbr_padded.bin /dev/da6 > gpart set -a active -i 1 /dev/da6 ... Point 7: (after installing sysutils/syslinux and umounting the stick) syslinux -f --install -s -d /boot/syslinux /dev/da6s1 Now the additional part... Mount the USB stick and look into boot/syslinux: isolinux.bin, ldlinux.sys and every .c32 file in there (except localboot.c32) must be replaced from the ones from the syslinux port. E.g. > cp /usr/local/share/syslinux/bios/core/isolinux.bin .../boot/syslinux > cp /usr/local/share/syslinux/bios/com32/chain/chain.c32 .../boot/syslinux > ... Also add libcom32.c32 and libutil.c32. HTH. bye av. From owner-freebsd-questions@freebsd.org Mon Oct 2 13:04:43 2017 Return-Path: Delivered-To: freebsd-questions@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 C9B2EE3F224 for ; Mon, 2 Oct 2017 13:04:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (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 8155667A38 for ; Mon, 2 Oct 2017 13:04:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qk0-x242.google.com with SMTP id z14so3794194qkg.3 for ; Mon, 02 Oct 2017 06:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=m3tJPZp4uMYFrvYbhYYB10R7L2rel6YLOriNiBNNnwo=; b=AF/RFSJFj8J4ubSA6C89MiGwwfBUDevMTQfMWtkWmCDX4zBmqPj53R0sIRJy5/0DEB 6nqeVqoMRy6jf0uqE4GwWskcdpGUgOHOfF+5nGOFOsEd8H1cz3nh+9fb9h02EBP/VMBr tNTXov0kyYtqAzQlueeNT2o02d63ydeioGEpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=m3tJPZp4uMYFrvYbhYYB10R7L2rel6YLOriNiBNNnwo=; b=bBpAuVBHJ0p4t6g0cy9p8knx31TRf7TmwFd+qpDIQydDovJ6S1XFWtCmYjfOW4btFh 3zE+VSF7XDZgi9X/cHmvvYmt05VCamm1TeopgroW8W+snJqJLMFB2XMWRZpidDQ5eWIH W8gGsHIEafhgIHr7yU4B5n3b4HBkt/rAevl8EbHgzA9uJdfGJpTc2dfds6FWPPhM5Ef8 6Wl6ayO19l76a8Am/C4q+jQcnf1lX/qQDUIo0mCWELjRsdViyoxKeqm5udmVDYJwKNdg Vh2AeTcru+tAgYeuHIbxQMFXbO6akq9oSpDA+BCjZiBnHzjic1g8NHpATxYImvaEZEQl nLgQ== X-Gm-Message-State: AMCzsaWpSrLyMoKpQdkgYF9rf7eR1RdmkcAA9ERNizRqX70xwc61B1Un P9QQKXJ5tNWU/75UfGxARChrfmLr X-Google-Smtp-Source: AOwi7QBBnqLBZC6Di0/KnKEY5Gz5kYDBLRfPTvIDWtxyt295gO0A0vqL1Lj8jqgyCpKM3Ga4qhVpnQ== X-Received: by 10.55.21.30 with SMTP id f30mr15845142qkh.335.1506949481742; Mon, 02 Oct 2017 06:04:41 -0700 (PDT) Received: from Papi.lobos ([179.181.51.22]) by smtp.gmail.com with ESMTPSA id a22sm7091560qte.32.2017.10.02.06.04.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 06:04:41 -0700 (PDT) Date: Mon, 2 Oct 2017 10:06:26 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171002100626.206b3bdf@Papi.lobos> In-Reply-To: <20171002002506.GA42212@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002021140.931f17de.freebsd@edvax.de> <20171002002506.GA42212@doctor.nl2k.ab.ca> Organization: BSD X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 13:04:43 -0000 On Sun, 1 Oct 2017 18:25:06 -0600 The Doctor wrote: > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > Could be an attack. > > > > > > All right. > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > has been going intreface down then up and then unable to route. > > > > > > Rebooted this system 2 times today. > > > > > > > > > What should I bee looking for? > > > > Primarily the system's log files in /var/log: messages, auth.log, > > security. Also check the output of the periodic scripts (mailed > > to root or another user), do they contain hints to something that > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > exactly what I am looking for > > I am going to have to do a transcribe as I am opreating from the > potential victim and ssh'ing to this terminal > > or ftp the information over > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > Oct 1 17:17:32 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:17:32 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:17:32 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:17:32 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:17:32 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:17:32 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:17:32 gallifrey kernel: igb0: link state changed to UP Oct 1 > 17:17:32 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:17:46 gallifrey kernel: igb1: link state changed to DOWN Oct 1 > 17:17:53 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:19:06 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > 17:40:09 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:40:09 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:40:09 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:40:09 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:40:09 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:40:09 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 17:40:09 gallifrey kernel: igb0: link state changed to UP Oct 1 > 17:40:09 gallifrey kernel: igb1: link state changed to UP Oct 1 > 17:41:25 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > 09:02:49 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > 09:06:13 gallifrey kernel: igb0: link state changed to UP Oct 1 > 12:04:48 gallifrey kernel: igb0: Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb0: Using > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 12:04:48 gallifrey > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 12:04:48 gallifrey > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 12:04:48 gallifrey kernel: igb1: Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb1: Using > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 12:04:48 gallifrey > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 12:04:48 gallifrey > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > 12:04:48 gallifrey kernel: igb0: link state changed to UP Oct 1 > 12:16:01 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > 12:19:26 gallifrey kernel: igb0: link state changed to UP > > Nothing in the auth.log that I can see as an issue. > > Also, how do I turn routing / ifconfig back on? > > Rebooting is not that fun > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > I once had this problem on a server. It wasn't an Intel nic but it was constantly going up and down by itself, and the system lost its connectivity. I replaced the nic and the problem went away. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Mon Oct 2 17:14:56 2017 Return-Path: Delivered-To: freebsd-questions@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 11C2CE0EFB4 for ; Mon, 2 Oct 2017 17:14:56 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp209.alice.it (smtp209.alice.it [82.57.200.105]) by mx1.freebsd.org (Postfix) with ESMTP id A23DD6F8A0 for ; Mon, 2 Oct 2017 17:14:54 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (212.171.20.179) by smtp209.alice.it (8.6.060.28) id 59A3DB8004458C75 for freebsd-questions@freebsd.org; Mon, 2 Oct 2017 19:14:49 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v92HEnvu096120 for ; Mon, 2 Oct 2017 19:14:49 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: Migrating an ezjail installation from UFS to ZFS Message-ID: <405b335f-14ab-15de-32e9-e522fe43fbb9@netfence.it> Date: Mon, 2 Oct 2017 19:14:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.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-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 17:14:56 -0000 Hello. In the past I migrated an UFS server to ZFS, but I dared not touch ezjail (still running on ZFS as if it was on UFS). Now I'm gonna migrate another server and this time I might be able to invest a little more time on it. I searched and searched, but found no mention anywhere of how to "convert" ezjail; is there an howto I missed? Related question: I'll have two different pools, an unencrypted one for the system and an encrypted one for the data (this is to allow me to ssh into the machine and activate the encrypted pool after a crash). Is there a way to put some jails (those who do NOT have sensitive data) on the first pool and some others (those who do) on the encrypted one? bye & Thanks av. From owner-freebsd-questions@freebsd.org Mon Oct 2 18:01:47 2017 Return-Path: Delivered-To: freebsd-questions@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 EE7B8E0FF5C for ; Mon, 2 Oct 2017 18:01:47 +0000 (UTC) (envelope-from srs0=wzt9=bb=lafn.org=bc979@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id DECEB70E3F for ; Mon, 2 Oct 2017 18:01:47 +0000 (UTC) (envelope-from srs0=wzt9=bb=lafn.org=bc979@sermon-archive.info) Received: from [192.168.1.6] (pool-74-96-244-72.washdc.fios.verizon.net [74.96.244.72]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3y5V9055jWz2fk6D for ; Mon, 2 Oct 2017 10:51:48 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Mon, 2 Oct 2017 13:51:47 -0400 Subject: Access Mac Mini System Info Message-Id: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> To: freebsd-questions@freebsd.org X-Mailer: iPad Mail (15A402) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 18:01:48 -0000 Is there a way to access Mac Mini system info, i.e., Boot ROM version, from = FreeBSD? I have not been able to find any such utility in the ports. -- Doug= From owner-freebsd-questions@freebsd.org Mon Oct 2 19:59:52 2017 Return-Path: Delivered-To: freebsd-questions@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 7BE68E26462 for ; Mon, 2 Oct 2017 19:59:52 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (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 3BFBA759EA for ; Mon, 2 Oct 2017 19:59:51 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qt0-x244.google.com with SMTP id q30so269156qtj.3 for ; Mon, 02 Oct 2017 12:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=Trb56Q8vMKdaSdoOK65dM8bOcxp2xq6V7bhQtuT5924=; b=eYb4DUnPv0GR0W8C4tpEqE+CCSeeE3zNsx0B0CMeCenCDe/YOpUSgB20FnSHt+svtM MD8/SyuE9c3OKgDlWjGJ8xLbEmi0tX4IZaU1PKCaFYgRKU43uqqHtjQE/X6DSO+Kwdgm 8f0Ql7qey7EI1rqvEFzO4fbEZg+i4bo7i8/+g= 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:cc; bh=Trb56Q8vMKdaSdoOK65dM8bOcxp2xq6V7bhQtuT5924=; b=pDY+N1n9kmllXNqfkzI85nJDbYPvtioIbnbuUpOi8WKsxRv3rM4XwzbXJWaxFVBW8l dNxmrqbXE7N884cGzX5RBnXz6AsypZ2eg1Q65yELF8pWr4yH+HCv+0DrabMfWxWQ6lvo RCw5mMo1JLzmZmnB+XNsGfQ0pSeSpJDLS5BeGptQ48x2XVVbVzyw2sqh2HZwQG7yBc6f XQ9L9hrCmgyFF1oFpC94QxNtwWXscLp0fDw7xqWBXZSqhFzPrLH0hOIMB8h1/p/h7Ewu hTSmj43gCcwng2p4CMrB7sqZ++7cVRVNa36mBpuhNwkfGrAiNWf9IYZtLAgL6bIA+6dp YnaQ== X-Gm-Message-State: AHPjjUj/F14cpPUGzo3scoi3tbdDko1zguqYmLjquqig2dvcacJus874 P41h9jecSaDQMBaDfZCuwX2FuyNGBqm0rBodW8FeUA== X-Received: by 10.129.57.3 with SMTP id g3mt13576001ywa.433.1506974390689; Mon, 02 Oct 2017 12:59:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.179.130 with HTTP; Mon, 2 Oct 2017 12:59:50 -0700 (PDT) In-Reply-To: <20170928184101.55c8a0ec@Papi.lobos> References: <20170927100635.7b56f8fd@Papi.lobos> <20170928184101.55c8a0ec@Papi.lobos> From: Mario Lobo Date: Mon, 2 Oct 2017 16:59:50 -0300 Message-ID: Subject: Re: mount_smbfs question (re-post) Cc: freebsd-fs@freebsd.org, FreeBSD questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 19:59:52 -0000 2017-09-28 18:41 GMT-03:00 Mario Lobo : > On Thu, 28 Sep 2017 17:48:23 -0300 > Mario Lobo wrote: > > > 2017-09-28 17:20 GMT-03:00 Ronald Klop : > > > > > On Thu, 28 Sep 2017 19:08:04 +0200, Erwan Legrand < > > > freebsd@erwanlegrand.com> wrote: > > > > > > On Thu, Sep 28, 2017 at 4:16 PM, Mario Lobo > > > wrote: > > >> > > >>> 2017-09-27 11:20 GMT-03:00 Erwan Legrand > > >>> : > > >>>> On Wed, Sep 27, 2017 at 3:06 PM, Mario Lobo > > >>>> wrote: > > >>>> > Since my environment is tottaly surrounded with shares that no > > >>>> > longer accept SMBv1 (Windows, Linux AND FreeBSD servers), so > > >>>> > basically in the end, what I'm really looking for is a > > >>>> > confirmation that I'll just have to dump all Freebsd samba > > >>>> > clients because the OS can't deal with SMBv2 or above. > > >>>> > > >>>> Perhaps have a look at implementations of SMB on top of FUSE? > > >>>> > > >>>> http://portsmon.freebsd.org/portoverview.py?category=sysutil > > >>>> s&portname=fusefs-smbnetfs > > >>>> > > >>> > > >>> I did. Same problem. > > >>> smbnetfs only works with SMBv1 > > >>> > > >>> > > >> It is based on libsmbclient, thus it should support SMB2 if > > >> smb.conf allows it. According to the following thread, the client > > >> protocol is resticted to SMB1 by default: > > >> > > >> https://lists.samba.org/archive/samba-technical/2016-Novembe > > >> r/thread.html#116999 > > >> > > >> This might be fixed by setting "client max protocol = SMB2" in > > >> smb.conf. ($HOME/.smb/smb.conf in this case?) > > >> > > > > > > I'd suggest setting "client min protocol". > > > ^^^ > > > > > > Regards, > > > Ronald. > > > > > > > > > _______________________________________________ > > >> freebsd-fs@freebsd.org mailing list > > >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > >> To unsubscribe, send any mail to > > >> "freebsd-fs-unsubscribe@freebsd.org" > > > > > I just tested it! > > > > 2 shares. 1 with SMBv1 and 1 with client min protocol=SMBv2 > > They are both SAMBA with FREEBSD. > > > [snip] > > Unless I'm missing some tuning option in smbnetfs for SMBv2 and above, > > It doesen't work! > > > > Thanks, > > > > One more thing. > > If I gear down the second server to SMBv1, I can access it just fine. > > -- > Well, after wearing my eyes off everywhere I could looking for a solution to this issue, I came to the conclusion that accessing an SMBv2+ share with FreeBSD is on a limbo that I can't reach. And it is dormant. I am a stubborn person so I started looking at the OS source code but so far it is way beyond me. I can't even make out how it currently works, and much less implement two new protocols on top of it. But I'll keep going forward ... I also can't find anything other than mount_smbfs and smbnetfs that can access smb shares, and much less integrate with the OS as they do. As much as it breaks my heart to drop a reliable, fast and stable OS because of this ONE issue, on my current environment its seems to be my only choice left. Thanks to all that tried to help. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] From owner-freebsd-questions@freebsd.org Tue Oct 3 10:39:12 2017 Return-Path: Delivered-To: freebsd-questions@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 79EB2E37E78 for ; Tue, 3 Oct 2017 10:39:12 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-adx-2.mail.thdo.gradwell.net (outbound-queue-adx-2.mail.thdo.gradwell.net [212.11.71.247]) by mx1.freebsd.org (Postfix) with ESMTP id 1656D6E1DC for ; Tue, 3 Oct 2017 10:39:11 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-edge-adx-2.mail.thdo.gradwell.net (outbound-edge-adx-2.mail.thdo.gradwell.net [212.11.71.231]) by outbound-queue-adx-2.mail.thdo.gradwell.net (Postfix) with ESMTP id 580BA21B6A for ; Tue, 3 Oct 2017 11:38:18 +0100 (BST) Received: from cpc89374-jarr11-2-0-cust348.16-2.cable.virginm.net (HELO amd.asgard.uk) (82.13.141.93) (smtp-auth username dave%pop3.dgmm.net, mechanism plain) by outbound-edge-adx-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Tue, 03 Oct 2017 11:38:18 +0100 From: Dave To: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Date: Tue, 03 Oct 2017 11:38:17 +0100 Message-ID: <3436516.Imx8Qt7z0Q@amd.asgard.uk> User-Agent: KMail/4.14.10 (FreeBSD/10.3-RELEASE-p20; KDE/4.14.30; amd64; ; ) In-Reply-To: <20171002100626.206b3bdf@Papi.lobos> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002100626.206b3bdf@Papi.lobos> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 59d3689a.7b9b-4ee1-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: dave@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2017 10:39:12 -0000 On Monday 02 October 2017 10:06:26 Mario Lobo wrote: > On Sun, 1 Oct 2017 18:25:06 -0600 > The Doctor wrote: > > > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > > Could be an attack. > > > > > > > > All right. > > > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > > has been going intreface down then up and then unable to route. > > > > > > > > Rebooted this system 2 times today. > > > > > > > > > > > > What should I bee looking for? > > > > > > Primarily the system's log files in /var/log: messages, auth.log, > > > security. Also check the output of the periodic scripts (mailed > > > to root or another user), do they contain hints to something that > > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > > > > exactly what I am looking for > > > > I am going to have to do a transcribe as I am opreating from the > > potential victim and ssh'ing to this terminal > > > > or ftp the information over > > > > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > > Oct 1 17:17:32 gallifrey kernel: igb0: > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb0: Using > > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:17:32 gallifrey > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:17:32 gallifrey > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 17:17:32 gallifrey kernel: igb1: > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb1: Using > > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:17:32 gallifrey > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:17:32 gallifrey > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 17:17:32 gallifrey kernel: igb0: link state changed to UP Oct 1 > > 17:17:32 gallifrey kernel: igb1: link state changed to UP Oct 1 > > 17:17:46 gallifrey kernel: igb1: link state changed to DOWN Oct 1 > > 17:17:53 gallifrey kernel: igb1: link state changed to UP Oct 1 > > 17:19:06 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > > 17:40:09 gallifrey kernel: igb0: > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb0: Using > > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:40:09 gallifrey > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:40:09 gallifrey > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 17:40:09 gallifrey kernel: igb1: > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb1: Using > > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:40:09 gallifrey > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:40:09 gallifrey > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 17:40:09 gallifrey kernel: igb0: link state changed to UP Oct 1 > > 17:40:09 gallifrey kernel: igb1: link state changed to UP Oct 1 > > 17:41:25 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > > 09:02:49 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > > 09:06:13 gallifrey kernel: igb0: link state changed to UP Oct 1 > > 12:04:48 gallifrey kernel: igb0: > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb0: Using > > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 12:04:48 gallifrey > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 12:04:48 gallifrey > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 12:04:48 gallifrey kernel: igb1: > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb1: Using > > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 12:04:48 gallifrey > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 12:04:48 gallifrey > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > 12:04:48 gallifrey kernel: igb0: link state changed to UP Oct 1 > > 12:16:01 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > > 12:19:26 gallifrey kernel: igb0: link state changed to UP > > > > Nothing in the auth.log that I can see as an issue. > > > > Also, how do I turn routing / ifconfig back on? > > > > Rebooting is not that fun > > > > > > > > > > > > I once had this problem on a server. It wasn't an Intel nic but it was > constantly going up and down by itself, and the system lost its > connectivity. > > I replaced the nic and the problem went away. > As a field service tech, I've also seen this many times. Other things to try, in case it is actual reboots and not just NIC going up and down, is a full fsck in single user mode, check SMART logs, do a RAM test. run full disk diagnostics, eg manufacturers tests. Any inconsistencies may be the cause of spurious reboots while not being serious enough to kill the system. From owner-freebsd-questions@freebsd.org Tue Oct 3 13:00:28 2017 Return-Path: Delivered-To: freebsd-questions@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 F2F7DE3B863 for ; Tue, 3 Oct 2017 13:00:28 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BFFA072D98 for ; Tue, 3 Oct 2017 13:00:28 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 82F1D6233B; Tue, 3 Oct 2017 09:00:20 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id niJ94U2OK_Zh; Tue, 3 Oct 2017 09:00:18 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 794D0622BE; Tue, 3 Oct 2017 09:00:17 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 3 Oct 2017 09:00:18 -0400 Message-ID: In-Reply-To: References: Date: Tue, 3 Oct 2017 09:00:18 -0400 Subject: Re: Weird turnoff From: "James B. Byrne" To: "Mario Lobo" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2017 13:00:29 -0000 We had a couple of servers assembled in-house from components which exhibited this behaviour. We eventually traced it back to a BIOS setting that would power down the NIC after a significant period without traffic. Apparently this is a power saving feature of some BIOS intended for use on mobile platforms. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Tue Oct 3 13:54:04 2017 Return-Path: Delivered-To: freebsd-questions@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 79B96E3DA2D for ; Tue, 3 Oct 2017 13:54:04 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 61918751B1 for ; Tue, 3 Oct 2017 13:54:04 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dzNdt-000DwH-ED; Tue, 03 Oct 2017 07:53:49 -0600 Date: Tue, 3 Oct 2017 07:53:49 -0600 From: The Doctor To: Dave Cc: freebsd-questions@freebsd.org Subject: Re: Weird turnoff Message-ID: <20171003135349.GA44244@doctor.nl2k.ab.ca> References: <20171001232531.GA18260@doctor.nl2k.ab.ca> <20171002002506.GA42212@doctor.nl2k.ab.ca> <20171002100626.206b3bdf@Papi.lobos> <3436516.Imx8Qt7z0Q@amd.asgard.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3436516.Imx8Qt7z0Q@amd.asgard.uk> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2017 13:54:04 -0000 On Tue, Oct 03, 2017 at 11:38:17AM +0100, Dave wrote: > On Monday 02 October 2017 10:06:26 Mario Lobo wrote: > > On Sun, 1 Oct 2017 18:25:06 -0600 > > The Doctor wrote: > > > > > On Mon, Oct 02, 2017 at 02:11:40AM +0200, Polytropon wrote: > > > > On Sun, 1 Oct 2017 17:25:31 -0600, The Doctor wrote: > > > > > Could be an attack. > > > > > > > > > > All right. > > > > > > > > > > As of this morning (3 p.m. UTC) my seconday FreeBSD 11.1 server > > > > > has been going intreface down then up and then unable to route. > > > > > > > > > > Rebooted this system 2 times today. > > > > > > > > > > > > > > > What should I bee looking for? > > > > > > > > Primarily the system's log files in /var/log: messages, auth.log, > > > > security. Also check the output of the periodic scripts (mailed > > > > to root or another user), do they contain hints to something that > > > > looks suspicious (SUID changes, system file modifications, etc.)? > > > > > > > > > > exactly what I am looking for > > > > > > I am going to have to do a transcribe as I am opreating from the > > > potential victim and ssh'ing to this terminal > > > > > > or ftp the information over > > > > > > > > > Oct 1 16:56:46 gallifrey kernel: igb0: link state changed to DOWN > > > Oct 1 17:00:10 gallifrey kernel: igb0: link state changed to UP > > > Oct 1 17:17:32 gallifrey kernel: igb0: > > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb0: Using > > > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:17:32 gallifrey > > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:17:32 gallifrey > > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 17:17:32 gallifrey kernel: igb1: > > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > > numa-domain 0 on pci3 Oct 1 17:17:32 gallifrey kernel: igb1: Using > > > MSIX interrupts with 9 vectors Oct 1 17:17:32 gallifrey kernel: > > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:17:32 gallifrey > > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:17:32 gallifrey > > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 17:17:32 gallifrey kernel: igb0: link state changed to UP Oct 1 > > > 17:17:32 gallifrey kernel: igb1: link state changed to UP Oct 1 > > > 17:17:46 gallifrey kernel: igb1: link state changed to DOWN Oct 1 > > > 17:17:53 gallifrey kernel: igb1: link state changed to UP Oct 1 > > > 17:19:06 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > > > 17:40:09 gallifrey kernel: igb0: > > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb0: Using > > > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 17:40:09 gallifrey > > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 17:40:09 gallifrey > > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 17:40:09 gallifrey kernel: igb1: > > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > > numa-domain 0 on pci3 Oct 1 17:40:09 gallifrey kernel: igb1: Using > > > MSIX interrupts with 9 vectors Oct 1 17:40:09 gallifrey kernel: > > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 17:40:09 gallifrey > > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 17:40:09 gallifrey > > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 17:40:09 gallifrey kernel: igb0: link state changed to UP Oct 1 > > > 17:40:09 gallifrey kernel: igb1: link state changed to UP Oct 1 > > > 17:41:25 gallifrey kernel: igb0: promiscuous mode enabled Oct 1 > > > 09:02:49 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > > > 09:06:13 gallifrey kernel: igb0: link state changed to UP Oct 1 > > > 12:04:48 gallifrey kernel: igb0: > > Connection, Version - 2.5.3-k> port 0x6020-0x603f mem > > > 0xc7120000-0xc713ffff,0xc7144000-0xc7147fff irq 26 at device 0.0 > > > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb0: Using > > > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > > > igb0: Ethernet address: 0c:c4:7a:ac:51:20 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 0 to cpu 0 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 1 to cpu 1 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 2 to cpu 2 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 3 to cpu 3 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 4 to cpu 4 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 5 to cpu 5 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 6 to cpu 6 Oct 1 12:04:48 gallifrey > > > kernel: igb0: Bound queue 7 to cpu 7 Oct 1 12:04:48 gallifrey > > > kernel: igb0: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 12:04:48 gallifrey kernel: igb1: > > Connection, Version - 2.5.3-k> port 0x6000-0x601f mem > > > 0xc7100000-0xc711ffff,0xc7140000-0xc7143fff irq 28 at device 0.1 > > > numa-domain 0 on pci3 Oct 1 12:04:48 gallifrey kernel: igb1: Using > > > MSIX interrupts with 9 vectors Oct 1 12:04:48 gallifrey kernel: > > > igb1: Ethernet address: 0c:c4:7a:ac:51:21 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 0 to cpu 8 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 1 to cpu 9 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 2 to cpu 10 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 3 to cpu 11 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 4 to cpu 0 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 5 to cpu 1 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 6 to cpu 2 Oct 1 12:04:48 gallifrey > > > kernel: igb1: Bound queue 7 to cpu 3 Oct 1 12:04:48 gallifrey > > > kernel: igb1: netmap queues/slots: TX 8/1024, RX 8/1024 Oct 1 > > > 12:04:48 gallifrey kernel: igb0: link state changed to UP Oct 1 > > > 12:16:01 gallifrey kernel: igb0: link state changed to DOWN Oct 1 > > > 12:19:26 gallifrey kernel: igb0: link state changed to UP > > > > > > Nothing in the auth.log that I can see as an issue. > > > > > > Also, how do I turn routing / ifconfig back on? > > > > > > Rebooting is not that fun > > > > > > > > > > > > > > > > > > I once had this problem on a server. It wasn't an Intel nic but it was > > constantly going up and down by itself, and the system lost its > > connectivity. > > > > I replaced the nic and the problem went away. > > > As a field service tech, I've also seen this many times. > > Other things to try, in case it is actual reboots and not just NIC going > up and down, is a full fsck in single user mode, check SMART logs, > do a RAM test. run full disk diagnostics, eg manufacturers tests. > > Any inconsistencies may be the cause of spurious reboots while > not being serious enough to kill the system. > Think to problem was just inadvertantly touching the cat7 shielded cable. Ad the NIC is built onboard tothe MB. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism Talk Sense to a fool and he calls you foolish - Euripides From owner-freebsd-questions@freebsd.org Wed Oct 4 00:23:12 2017 Return-Path: Delivered-To: freebsd-questions@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 88155E29381 for ; Wed, 4 Oct 2017 00:23:12 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (mail.geeks.org [IPv6:2001:4980:3333:1::1]) (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 6BAF26A94F for ; Wed, 4 Oct 2017 00:23:12 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 720A8110236; Tue, 3 Oct 2017 19:23:08 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 4A129110235; Tue, 3 Oct 2017 19:23:08 -0500 (CDT) Date: Tue, 3 Oct 2017 19:23:08 -0500 From: Doug McIntyre To: Doug Hardie Cc: freebsd-questions@freebsd.org Subject: Re: Access Mac Mini System Info Message-ID: <20171004002308.GA76367@geeks.org> References: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 00:23:12 -0000 On Mon, Oct 02, 2017 at 01:51:47PM -0400, Doug Hardie wrote: > Is there a way to access Mac Mini system info, i.e., Boot ROM version, from FreeBSD? I have not been able to find any such utility in the ports. Does dmidecode get what you need? (haven't tried it, but that would be "the standard" way. From owner-freebsd-questions@freebsd.org Wed Oct 4 02:59:32 2017 Return-Path: Delivered-To: freebsd-questions@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 269ACE2BCE1 for ; Wed, 4 Oct 2017 02:59:32 +0000 (UTC) (envelope-from srs0=eexq=bd=lafn.org=bc979@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0F46E26A for ; Wed, 4 Oct 2017 02:59:31 +0000 (UTC) (envelope-from srs0=eexq=bd=lafn.org=bc979@sermon-archive.info) Received: from [192.168.1.6] (pool-74-96-244-72.washdc.fios.verizon.net [74.96.244.72]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3y6LGN0W6Wz2fjRr; Tue, 3 Oct 2017 19:59:24 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Access Mac Mini System Info From: Doug Hardie X-Mailer: iPad Mail (15A421) In-Reply-To: <20171004002308.GA76367@geeks.org> Date: Tue, 3 Oct 2017 22:59:22 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6E735BBA-1653-41D7-81B5-D583B2BFBA1C@lafn.org> References: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> <20171004002308.GA76367@geeks.org> To: Doug McIntyre X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 02:59:32 -0000 Yes it does. Thanks. -- Doug > On Oct 3, 2017, at 20:23, Doug McIntyre wrote: >=20 >> On Mon, Oct 02, 2017 at 01:51:47PM -0400, Doug Hardie wrote: >> Is there a way to access Mac Mini system info, i.e., Boot ROM version, fr= om FreeBSD? I have not been able to find any such utility in the ports. >=20 > Does dmidecode get what you need? > (haven't tried it, but that would be "the standard" way. >=20 >=20 From owner-freebsd-questions@freebsd.org Wed Oct 4 04:40:00 2017 Return-Path: Delivered-To: freebsd-questions@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 DBE54E2DACC for ; Wed, 4 Oct 2017 04:40:00 +0000 (UTC) (envelope-from rapphhael@equiknox.net) Received: from mail.equiknox.net (rapphhael-1-pt.tunnel.tserv1.ywg1.ipv6.he.net [IPv6:2001:470:1f16:293::2]) (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 467B370DDE for ; Wed, 4 Oct 2017 04:40:00 +0000 (UTC) (envelope-from rapphhael@equiknox.net) Received: from [IPv6:2605:8d80:580:2d1e:c505:4bee:e279:7c1d] (unknown [IPv6:2605:8d80:580:2d1e:c505:4bee:e279:7c1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.equiknox.net (Postfix) with ESMTPSA id 6A9B4606E7; Wed, 4 Oct 2017 00:39:51 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Access Mac Mini System Info From: rapphhael X-Mailer: iPhone Mail (15A421) In-Reply-To: <6E735BBA-1653-41D7-81B5-D583B2BFBA1C@lafn.org> Date: Wed, 4 Oct 2017 00:39:48 -0400 Cc: Doug McIntyre , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <56A8D619-56F1-4DF7-9B70-2B1D9C60BD11@equiknox.net> References: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> <20171004002308.GA76367@geeks.org> <6E735BBA-1653-41D7-81B5-D583B2BFBA1C@lafn.org> To: Doug Hardie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 04:40:01 -0000 Yes but the contract licences says that Apple can bring you in justice if yo= u access so ... don=E2=80=99t every one have ever read this contract one tim= e in her life? Its the first paragraph R H > Le 3 oct. 2017 =C3=A0 22:59, Doug Hardie a =C3=A9crit : >=20 > Yes it does. Thanks. >=20 > -- Doug >=20 >>> On Oct 3, 2017, at 20:23, Doug McIntyre wrote: >>>=20 >>> On Mon, Oct 02, 2017 at 01:51:47PM -0400, Doug Hardie wrote: >>> Is there a way to access Mac Mini system info, i.e., Boot ROM version, f= rom FreeBSD? I have not been able to find any such utility in the ports. >>=20 >> Does dmidecode get what you need? >> (haven't tried it, but that would be "the standard" way. >>=20 >>=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" From owner-freebsd-questions@freebsd.org Wed Oct 4 05:41:34 2017 Return-Path: Delivered-To: freebsd-questions@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 5E2EAE2EF60 for ; Wed, 4 Oct 2017 05:41:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0FB67275B for ; Wed, 4 Oct 2017 05:41:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Wed, 04 Oct 2017 07:41:25 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8E2C63CBF9; Wed, 4 Oct 2017 07:41:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v945fMVT003408; Wed, 4 Oct 2017 07:41:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 4 Oct 2017 07:41:22 +0200 From: Polytropon To: rapphhael Cc: Doug Hardie , freebsd-questions@freebsd.org, Doug McIntyre Subject: Re: Access Mac Mini System Info Message-Id: <20171004074122.79bba0ba.freebsd@edvax.de> In-Reply-To: <56A8D619-56F1-4DF7-9B70-2B1D9C60BD11@equiknox.net> References: <4726CBEB-849D-4901-86E1-E6423EA7E796@lafn.org> <20171004002308.GA76367@geeks.org> <6E735BBA-1653-41D7-81B5-D583B2BFBA1C@lafn.org> <56A8D619-56F1-4DF7-9B70-2B1D9C60BD11@equiknox.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 88EC8683493 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1308 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 05:41:34 -0000 On Wed, 4 Oct 2017 00:39:48 -0400, rapphhael wrote: > Yes but the contract licences says that Apple can bring you > in justice if you access so ... don’t every one have ever > read this contract one time in her life? Its the first paragraph Nobody really reads those licenses, contracts, EULAs and "legal stuff". They aren't even valid in certain countries. It's more convenient to simply click "accept terms" and continue. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Oct 4 07:46:29 2017 Return-Path: Delivered-To: freebsd-questions@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 CE756E316D8 for ; Wed, 4 Oct 2017 07:46:29 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 5E46275E8E for ; Wed, 4 Oct 2017 07:46:29 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id i124so21239453wmf.3 for ; Wed, 04 Oct 2017 00:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=E3Dg++9AZP7s92+RLwefBcdCOaszJ5fsD7HusjDntpk=; b=YqHseBdQHz/ZMRSRN8+RNKZTvJH9Vdadx+mjpyfGQvT4tliPk4CDYV0ywJ1Ww9Gde9 AZI8OqM7AMJcb4gSYcWM1buxKoruyNhwNVDvTs55plz8R2mq0hTgVbUnef/FG20GTBtq GX4Vwz+zbs21Zp9sZcsqeTVNIvPFDNOhpXbUNeGWKeKOjswo6JADKhrCsqM6YuGV+pfd 0TyN7yg4RQ0cJHzqxMxTqfJ7yxTo93v16mV+WaHn/2f5DtLo3rd+7oQm+QwZVQj8F7GB tonkpSQgZVA2gBOQExPxJf1diVhtCIWRI/igWhioDRTg0J8PrVS2O1kXpxd9xK9oHrHG Lj3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=E3Dg++9AZP7s92+RLwefBcdCOaszJ5fsD7HusjDntpk=; b=K0KtaGj92M9Rpfpr/x0KZmbChQRYuFz0D6Jh2RamYqjo0MBIUO9D75u/4RJotEjzw1 EuhwZRj01N1LIoFp60He01El8sy/g7GbNxepQUfTHO1smSx1z2LaPnkJcIp3gheNswiT w/pqF1gQ9vXMbw1in3GVNH1KimUsyZjYQS5O3LAIfOet2Xx7dIbvS2jSob10KT7j5DHe YC7PdB+zhs4LnpHMi1pC7qdqu7HDMrXpjeWhS0DXws7QVl/5J1ayUFCG5BTJI3N0edBR MOOp2G1nz4dYTpRnonwXuHNxXXK6TI2u7trNgamwmOWvHF8G717sX+a5EG73Ut9yRyI3 /ixw== X-Gm-Message-State: AHPjjUgIvSRgVcjnlDjMcSnVjUui+B4gmvRjZPkiTimtXGGPJV/w7YYo haQ28bWurjaIw6KTAhWfrG5vTA== X-Google-Smtp-Source: AOwi7QC5uaAxfOnXFR5hIAcKkNS7979hucquU97r/R3XYENhBr6apXPlM2vu/g3U/vRrhMyAAZF8kQ== X-Received: by 10.80.165.141 with SMTP id a13mr26796604edc.200.1507103187613; Wed, 04 Oct 2017 00:46:27 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id 3sm2082644edv.50.2017.10.04.00.46.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 00:46:26 -0700 (PDT) To: freebsd-questions@freebsd.org From: Johan Hendriks Subject: Edit the qcow2 FreeBSD image file Message-ID: Date: Wed, 4 Oct 2017 09:47:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 07:46:29 -0000 Hello all. I want to add a script to the default qcow2 file of the FreeBSD qcow2 image. But how do i mount the qcow2 file on FreeBSD? There are a lot of howto's how to do it on Linux but i do not always have a Linux box ready. Thank you for your time regards Johan From owner-freebsd-questions@freebsd.org Wed Oct 4 08:14:02 2017 Return-Path: Delivered-To: freebsd-questions@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 9658AE32550 for ; Wed, 4 Oct 2017 08:14:02 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic309-24.consmr.mail.ir2.yahoo.com (sonic309-24.consmr.mail.ir2.yahoo.com [77.238.179.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3423F770F3 for ; Wed, 4 Oct 2017 08:14:01 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: nI1R41sVM1k3GEj9zul4nGX2N63X37SOihJ9.wHVyaGxxG30soYtEbV9FVMTgdq DUkXVvriApuE2yFgjcFS3cKRxOIUguxoq1QZxdL7vvntQ5zLxGP5TIQRxyBLLCmNBSuYw5QpWjHv 8HO33VL5sESYGloARZJNwLGovbFxrP1PuvqHsRP2dbxxmi8JFqjDOvn7o8_djzvqDzs9_BDcyVyi Wbf4ufjdiNCWsih8X0umXrBndn4EOBoqQPhPHrwGKNrNZMLcMAm3P_rmBFhItvzjhnpVFcO1G3BG 6YLcp_26t1JgUF21Rb5IsaJXzzfrf2i_wGa1DQypLAd8I.6pf2FsdIAGklBslft3x4zl.zRDKBmE 4eZZFQ7JE3wpCO4.APgqA2_HxZmH2aApX7XgjECfydttSekQoe9r5RAVEBf7JLzkFm4MwBlFXYAA VPQgmJRAOkgc1JEbyDpjx0mJxytXlFT0pmLYnQA2Fi54r_yZpRGi4AZy0mm5LEdq65ugLVQws11E bifRUN3HxAXoJb1l23dJUe1Ho_Pg5upZCjYKV8g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Wed, 4 Oct 2017 08:13:59 +0000 Received: from [127.0.0.1] by smtp136.mail.ir2.yahoo.com with NNFMP; 04 Oct 2017 08:13:54 -0000 X-Yahoo-Newman-Id: 550966.35581.bm@smtp136.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: nI1R41sVM1k3GEj9zul4nGX2N63X37SOihJ9.wHVyaGxxG3 0soYtEbV9FVMTgdqDUkXVvriApuE2yFgjcFS3cKRxOIUguxoq1QZxdL7vvnt Q5zLxGP5TIQRxyBLLCmNBSuYw5QpWjHv8HO33VL5sESYGloARZJNwLGovbFx rP1PuvqHsRP2dbxxmi8JFqjDOvn7o8_djzvqDzs9_BDcyVyiWbf4ufjdiNCW sih8X0umXrBndn4EOBoqQPhPHrwGKNrNZMLcMAm3P_rmBFhItvzjhnpVFcO1 G3BG6YLcp_26t1JgUF21Rb5IsaJXzzfrf2i_wGa1DQypLAd8I.6pf2FsdIAG klBslft3x4zl.zRDKBmE4eZZFQ7JE3wpCO4.APgqA2_HxZmH2aApX7XgjECf ydttSekQoe9r5RAVEBf7JLzkFm4MwBlFXYAAVPQgmJRAOkgc1JEbyDpjx0mJ xytXlFT0pmLYnQA2Fi54r_yZpRGi4AZy0mm5LEdq65ugLVQws11EbifRUN3H xAXoJb1l23dJUe1Ho_Pg5upZCjYKV8g-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Wed, 4 Oct 2017 10:13:55 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Edit the qcow2 FreeBSD image file Message-ID: <20171004101355.529f6a8d@archlinux.localdomain> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0git132 (GTK+ 2.24.31; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 08:14:02 -0000 Hi, if you don't add the term "mount" to the search, you should get some hits, how to access your qcow2 image. http://lmgtfy.com/?q=freebsd+qcow2+virtual+machine Regards, Ralf . From owner-freebsd-questions@freebsd.org Wed Oct 4 08:51:31 2017 Return-Path: Delivered-To: freebsd-questions@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 788D0E32FAF for ; Wed, 4 Oct 2017 08:51:31 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c: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 148007C488 for ; Wed, 4 Oct 2017 08:51:31 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id l68so7787366wmd.5 for ; Wed, 04 Oct 2017 01:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=r3LYvOtCpC3zlxtgfMD7UehiGaP61TTkAPQXkHiOL3s=; b=RQgqhJPwMvADxcCFEsnK6v5JchTt+zduI7qyi4orw8ytw57nuGA2poIBu2UZt8eOhe 0+NDxL3Ibi4d9pfU2LuQ2TFHizRLuyIQ8aF6VRKea/1JKiB0h7nxa7TSiZAfPoh5jsV5 fWgimR3Kfi4iTAiCsnj+stDv+BL0GKn+wKJWiv4z2D4eWTwgN8sqbVQI+5OSL51N0kCu WgJzhC4YMHqrV7TNzi0ocgT52hhpAU23B4Vej68miJLTIlc5aA351z1udHFBT36MJIPc spgIdDY9rGhvoOQD8AT1T9hUUCe5EwtrYI5CV/7m6hQP+gTkYgd9TUb74TN+FODV9H9E Oy+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=r3LYvOtCpC3zlxtgfMD7UehiGaP61TTkAPQXkHiOL3s=; b=CWMQALb/6YySsFNhFvumebzNL0EocDyihcQ4CPiv7kPYeAvx/Pj40YJ2d7Dfcik+ir BgtTw+prBkEfamJ65ZCzxsxXDli0yU0pOzbsex4WI9glATlxewO4M4YToU5jQ+z8vcAg PKPkcpqMtL3rx1qU6yjByRj2di5rt6eqxnFzJfHFJ5hHjOiVEqctNDuTBUZx2Ur2Oc/D vXsd/ikbOtiN1Z/cBCyPtmsH6X3M0WKNY3EiHy+8nZiwE5/iKX5+hzF+V07w0i+awHwV mGlDISktvS1H9BJ12ahRXGYMFE/tIGHo+n67woL2tCmahoxDTIDw/Pd2idjXMq2a0LhG GZ4g== X-Gm-Message-State: AHPjjUip4JnpYXVwvicV2elr40L5+l0Hlpvj2u7+XSAOTKLe78+cEHsa kskTj3pTT/IzcDpwbT5bp7g4Xg== X-Google-Smtp-Source: AOwi7QBjxe4KUk45/EMZC06yKS3M5YVYDBiFBiPR2Uvb11jlt4Q18jHREGWQhbRYR8cIVMWDvj3Ing== X-Received: by 10.80.136.85 with SMTP id c21mr27451402edc.171.1507107089328; Wed, 04 Oct 2017 01:51:29 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id h2sm11492819edc.89.2017.10.04.01.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 01:51:28 -0700 (PDT) Subject: Re: Edit the qcow2 FreeBSD image file To: Ralf Mardorf References: <20171004101355.529f6a8d@archlinux.localdomain> From: Johan Hendriks Cc: freebsd-questions@freebsd.org Message-ID: <7166e5a6-a39a-e788-9267-dad9059c173e@gmail.com> Date: Wed, 4 Oct 2017 10:52:49 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171004101355.529f6a8d@archlinux.localdomain> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 08:51:31 -0000 Op 04/10/2017 om 10:13 schreef Ralf Mardorf via freebsd-questions: > Hi, > > if you don't add the term "mount" to the search, you should get some > hits, how to access your qcow2 image. > > http://lmgtfy.com/?q=freebsd+qcow2+virtual+machine > > Regards, > Ralf > > . > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Thank you for your time, but I need to edit the filesystem inside the qcow2 file. What I want is to add a userkey for ansible. I do not want to run the qcow2 file. On a linux box I can mount the qcow2 file and edit some files. But I could not find a way to do it simple on FreeBSD. Also in the In the first results from the lmgty i can not find a hint how to do it. Most off them I had already visit. Maybe i am overlooking things. regards, Johan From owner-freebsd-questions@freebsd.org Wed Oct 4 09:29:43 2017 Return-Path: Delivered-To: freebsd-questions@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 0965CE33C91 for ; Wed, 4 Oct 2017 09:29:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 738757D479 for ; Wed, 4 Oct 2017 09:29:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Wed, 04 Oct 2017 11:29:32 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 52B1D3CBF9; Wed, 4 Oct 2017 11:29:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v949TVv8003712; Wed, 4 Oct 2017 11:29:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 4 Oct 2017 11:29:31 +0200 From: Polytropon To: Johan Hendriks Cc: freebsd-questions@freebsd.org Subject: Re: Edit the qcow2 FreeBSD image file Message-Id: <20171004112931.bb6524b9.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 889FA6835B7 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1355 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 09:29:43 -0000 On Wed, 4 Oct 2017 09:47:47 +0200, Johan Hendriks wrote: > I want to add a script to the default qcow2 file of the FreeBSD qcow2 image. > But how do i mount the qcow2 file on FreeBSD? > There are a lot of howto's how to do it on Linux but i do not always > have a Linux box ready. Without having verified, I'd say something like this will work: # mdconfig -a -t vnode -f -u 0 # mount -t ufs -o rw /dev/md0s1a /mnt The key is to connect the file to a md device ("memory disk"), and then use it as if it was a real disk. But always check the correct device file name - md0 will reflect the "disk layout" of the image file, so maybe you need to use /dev/md0p1 or /dev/md0a or simply /dev/md0, so check "ls /dev/md0*" to see how the layout is being translated to device files - this depends on the layout that has been constructed within the image file. When you're done, use: # umount /mnt # mdconfig -d -u 0 This will finally sync any changes and disconnect the device. The image file can be used now. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Oct 4 09:48:08 2017 Return-Path: Delivered-To: freebsd-questions@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 43C7EE343D4 for ; Wed, 4 Oct 2017 09:48:08 +0000 (UTC) (envelope-from coll-stdentenaccounts.751768@netq.tudelft.nl) Received: from mailservice.tudelft.nl (mailservice.tudelft.nl [130.161.131.5]) by mx1.freebsd.org (Postfix) with ESMTP id DDBD57DFA7 for ; Wed, 4 Oct 2017 09:48:07 +0000 (UTC) (envelope-from coll-stdentenaccounts.751768@netq.tudelft.nl) Received: from localhost (localhost [127.0.0.1]) by amavis (Postfix) with ESMTP id 63E762401C7 for ; Wed, 4 Oct 2017 11:38:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at tudelft.nl X-Spam-Flag: NO X-Spam-Score: -0.144 X-Spam-Level: X-Spam-Status: No, score=-0.144 tagged_above=-99 required=5 tests=[ALL_TRUSTED=-1, BASW_FROM=0.01, FR_DISPLAY_NONE=0.845, HTML_MESSAGE=0.001] autolearn=no Received: from mailservice.tudelft.nl ([130.161.131.71]) by localhost (tudelft.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id l90wNCw-igAs for ; Wed, 4 Oct 2017 11:38:19 +0200 (CEST) Received: from srv775.tudelft.net (srv775-1.tudelft.net [131.180.123.228]) by mx4.tudelft.nl (Postfix) with ESMTP id 06578240149 for ; Wed, 4 Oct 2017 11:38:18 +0200 (CEST) Date: Wed, 4 Oct 2017 11:38:18 +0200 (CEST) From: Ben Hup To: freebsd-questions@FreeBSD.org Message-ID: <565544772.3305.1507109898914.JavaMail.SRV775$@mailhost.tudelft.nl> Subject: Matthew Seaman and FreeBSD Core Team, please help improve Privacy Innovation by filling in the survey MIME-Version: 1.0 X-Mailer: Collector 2013.Q3.SP1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 09:48:08 -0000 =09Dear Matthew Seaman and FreeBSD Core Team,=09=20 =09We are contacting you because you are working (or have worked) on FreeBS= D. =09You are selected because you are involved in the development and/or depl= oyment of the [https://en.wikipedia.org/wiki/Privacy-enhancing_technologies= ]Privacy-Enhancing Technology (PET) mentioned above. =09We would greatly appreciate it if you could fill in the questionnaire to= benefit privacy innovation.=09The result of the research is to better unde= rstanding the adoption and diffusion of Privacy-enhancing Technologies and = what factors drive or impede such diffusion and adoption.=09If you wish, yo= u may receive a copy of the final report by following the instructions at t= he end of the questionnaire. =09=20 =09The research is done via Delft University of Technology. Information abo= ut the research and researchers can be found at [https://privacyinnovation.= weblog.tudelft.nl/]https://privacyinnovation.weblog.tudelft.nl/. =09Filling in the the questionnaire takes approximately 10-20 minutes. =09 =09The link below gives you access to the questionnaire:=09=09[https://= stds.collector-survey.tudelft.nl/nq.cfm?r=3DF8DB925B-8705-4E43-92A7-3B45C65= 3CBB6]https://stds.collector-survey.tudelft.nl/nq.cfm?r=3DF8DB925B-8705-4E4= 3-92A7-3B45C653CBB6=09=09=09Your response is very valuable to PET innovatio= n research and in extension society at large. We hope you will benefit from= the research as well.=09=20 =09Kind regards, =09Ben Hup =09Hadi Asghari =09Delft University of Technology, The Netherlands =09=20 =09=20 =09 =09=C2=A0 =09=C2=A0 =09=C2=A0 =09=C2=A0 =09=C2=A0 =09=C2=A0 =09=C2=A0 =09=09=09Your response is anonymous. The questionnaire is hosted on a dedic= ated Delft University of Technology server. Your response is solely used fo= r research purposes. =09=09=09If you have any questions about the research or questionnaire, ple= ase contact b.m.hup@student.tudelft.nl. =09=09=09=C2=A0 =09=C2=A0 From owner-freebsd-questions@freebsd.org Wed Oct 4 10:01:39 2017 Return-Path: Delivered-To: freebsd-questions@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 58B9EE34BC5 for ; Wed, 4 Oct 2017 10:01:39 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 D266D7EC2C for ; Wed, 4 Oct 2017 10:01:38 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id u138so22017813wmu.4 for ; Wed, 04 Oct 2017 03:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=hkqljNlwm+Dh2hPaNyQDrrFneBuTJBC3ywvWrgYQKhw=; b=tM88BZuG4SHNYkXN6AuNS+UWhfO4xG9uhVsO80H29jAA9Qh1FsoSkE+PZ4Cvw4Cr6m 0Ac6eltsH7bMYB5p+gUYmx3q+J4xxvWdLZRLnD/RVAWtOy+TXOvhi5+m8td7oNx4EZsi O3gSZGhdItYwUjQkRCFl1Xn1sHMuo6pGQEBiBRhcozaiUdpWDnQ4Vs0WgSiOQ0rubKF1 Cf3ZPU1uajpw8vSqzzmzUln4OpkCnH+841eLnluIYXpTkpKCnkg0oWj4cBH/Qx2drLGl eUpeOwD0WVybT+MC4p59S1A9Ye5jaOKCqMzRP+ezcy+iK5aQ5AA0o5eDEsphSC7IETqP NSvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hkqljNlwm+Dh2hPaNyQDrrFneBuTJBC3ywvWrgYQKhw=; b=RTZhxjujeKwIy65lwEp1zN3kmEO7JV/MvErfESZgWt7IoXssO5hKYuPXVolxoeOqeX M08Zc8xkuV3PV4+vYGuZWQSuEO6XNv73EIJt2FVdAlF4VO+nWyLf0sDkKFYZrYMaCirf 4J89ptahaSlwZ9pKcoHTVwBj+Gl30lkn0yDzX7a+Zz3flKwmDMguBX3gf7mOW1sTjXo3 nLhratDQT3VSwWa0Q70XF5au1mlWxn9fJJBciBaRsSphIvHZGRei9FPxtUxqkYGoPtbR CWxalNqC38oWc9sDmd7NjSoC/kwW8kMn+yJZZQ6qnl2iZ+HGR1cKCfMa22itMJalbWLd KcXA== X-Gm-Message-State: AHPjjUjeOjW8VhmCfJysLR8y4YwYSnl6FGDDZksVyvApikrA/D0NdndK RqzRIpvgf7iWruWjjzIciEdm2A== X-Google-Smtp-Source: AOwi7QAXCYDFx52nIQx9hmK2mQ8GBPfZso3mUpJ21z4tJbvkqAEWpcltioUH/ezG6Ct0ROcPqKShGA== X-Received: by 10.80.183.148 with SMTP id h20mr28085368ede.178.1507111297249; Wed, 04 Oct 2017 03:01:37 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id c5sm12455696edd.43.2017.10.04.03.01.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 03:01:36 -0700 (PDT) Subject: Re: Edit the qcow2 FreeBSD image file To: Polytropon References: <20171004112931.bb6524b9.freebsd@edvax.de> From: Johan Hendriks Cc: freebsd-questions@freebsd.org Message-ID: Date: Wed, 4 Oct 2017 12:02:56 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171004112931.bb6524b9.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 10:01:39 -0000 Op 04/10/2017 om 11:29 schreef Polytropon: > On Wed, 4 Oct 2017 09:47:47 +0200, Johan Hendriks wrote: >> I want to add a script to the default qcow2 file of the FreeBSD qcow2 image. >> But how do i mount the qcow2 file on FreeBSD? >> There are a lot of howto's how to do it on Linux but i do not always >> have a Linux box ready. > Without having verified, I'd say something like this will work: > > # mdconfig -a -t vnode -f -u 0 > # mount -t ufs -o rw /dev/md0s1a /mnt > > The key is to connect the file to a md device ("memory disk"), > and then use it as if it was a real disk. But always check the > correct device file name - md0 will reflect the "disk layout" > of the image file, so maybe you need to use /dev/md0p1 or > /dev/md0a or simply /dev/md0, so check "ls /dev/md0*" to see > how the layout is being translated to device files - this > depends on the layout that has been constructed within the > image file. > > When you're done, use: > > # umount /mnt > # mdconfig -d -u 0 > > This will finally sync any changes and disconnect the device. > The image file can be used now. > Thanks, I tried that, but it does not work. root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.qcow2 -u 0 Then a ls of /dev/md0 only shows md0 and i can not mount that one. root@desk:~ # ls -al /dev/md* crw-r-----  1 root  operator  0x8c Oct  4 11:48 /dev/md0 crw-------  1 root  wheel      0xb Sep 21 14:16 /dev/mdctl And a mount of /dev/md0 gives an error. root@desk:~ # mount -t ufs -o rw /dev/md0 /mnt mount: /dev/md0: Invalid argument regards Johan From owner-freebsd-questions@freebsd.org Wed Oct 4 10:10:00 2017 Return-Path: Delivered-To: freebsd-questions@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 70F70E34E39 for ; Wed, 4 Oct 2017 10:10:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB1BC7EEAC for ; Wed, 4 Oct 2017 10:09:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 04 Oct 2017 12:09:50 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 230713CC3F; Wed, 4 Oct 2017 12:09:49 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v94A9nYj003977; Wed, 4 Oct 2017 12:09:49 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 4 Oct 2017 12:09:49 +0200 From: Polytropon To: Johan Hendriks Cc: freebsd-questions@freebsd.org Subject: Re: Edit the qcow2 FreeBSD image file Message-Id: <20171004120949.24b4cd25.freebsd@edvax.de> In-Reply-To: References: <20171004112931.bb6524b9.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 605086AA624 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1391 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 10:10:00 -0000 On Wed, 4 Oct 2017 12:02:56 +0200, Johan Hendriks wrote: >=20 >=20 > Op 04/10/2017 om 11:29 schreef Polytropon: > > On Wed, 4 Oct 2017 09:47:47 +0200, Johan Hendriks wrote: > >> I want to add a script to the default qcow2 file of the FreeBSD qcow2 = image. > >> But how do i mount the qcow2 file on FreeBSD? > >> There are a lot of howto's how to do it on Linux but i do not always > >> have a Linux box ready. > > Without having verified, I'd say something like this will work: > > > > # mdconfig -a -t vnode -f -u 0 > > # mount -t ufs -o rw /dev/md0s1a /mnt > > > > The key is to connect the file to a md device ("memory disk"), > > and then use it as if it was a real disk. But always check the > > correct device file name - md0 will reflect the "disk layout" > > of the image file, so maybe you need to use /dev/md0p1 or > > /dev/md0a or simply /dev/md0, so check "ls /dev/md0*" to see > > how the layout is being translated to device files - this > > depends on the layout that has been constructed within the > > image file. > > > > When you're done, use: > > > > # umount /mnt > > # mdconfig -d -u 0 > > > > This will finally sync any changes and disconnect the device. > > The image file can be used now. > > > Thanks, I tried that, but it does not work. > root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.qcow2 -u= 0 >=20 > Then a ls of /dev/md0 only shows md0 and i can not mount that one. > root@desk:~ # ls -al /dev/md* > crw-r-----=A0 1 root=A0 operator=A0 0x8c Oct=A0 4 11:48 /dev/md0 > crw-------=A0 1 root=A0 wheel=A0=A0=A0=A0=A0 0xb Sep 21 14:16 /dev/mdctl >=20 > And a mount of /dev/md0 gives an error. >=20 > root@desk:~ # mount -t ufs -o rw /dev/md0 /mnt > mount: /dev/md0: Invalid argument Check the file format of md0 if it is recognized as a filesystem image: # file FreeBSD-11.1-RELEASE-amd64.qcow2 # file -s /dev/md0 it should be recognized as a UFS file system (typically called "Unix Fast File system [v2]"). Note that you can only mount a file system which is being recognized correctly. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Oct 4 10:40:29 2017 Return-Path: Delivered-To: freebsd-questions@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 0C127E35695 for ; Wed, 4 Oct 2017 10:40:29 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 900797FC05 for ; Wed, 4 Oct 2017 10:40:28 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id u138so22227385wmu.4 for ; Wed, 04 Oct 2017 03:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=v5yGOfJrS0JsEH7VAxT3E1xFUP8Eszxw+tciUME9PjE=; b=hZicrzSaYjGbK6P6PA3jdLrd11uBPTxb63KTMcKqXparowVnymZD3b5fH5pD4hbCuW o62E+iLTFK2LnXq7x6ntKLbjhPJd6teSrdI4kNM2gC3i9waRfIvacK/BgsXyMiB928Qv L4h/mQhj7y6tUzndnVNB7lO7S/CzyloP+CGDuEytuFlvDBFLiI1FFcLHqHkTcs/ejM2I y74X4pYNk5gV9jddtVbV3w1dMtlTu75qYBkA8UmBMrpZvGXiIKk/kWTEReJUd3sJlVID oY0x3HltUATMFZQ8SUtYLEXnW6TJ4LRFIqCwtG+IOAW5CRdmzYR3d0L4AHSUNKGOhmKl o30g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=v5yGOfJrS0JsEH7VAxT3E1xFUP8Eszxw+tciUME9PjE=; b=rTqPaDcM0u12D4j3b0ZG6sQf2CkjgIf8k3pBrbzjTqA4SAOWCRJT2H7nfqejWrArFF 80XcgLMG7p0LjpULsuD2SMEw/leLoogEDPuXyllP077UE9R9Kz4LkCMKldBSCpAP2nID U4j3YrWcngzDPBvSpUVU8AZCDADax/Hny80M4aBFfDQO4CKCs6yVUJP1+Y+bh/yzmEih 6t+fDbhSoLqDsAHDNIm4NMnygKQMHUqoJb5v/QRpckd5sBb7LZMtc+vL11gj+C5GMeRw G4S2+RwQY3puewv7pmhUNaec1i3GNY/wzXhwkHsFg0V4TsGVSmmMJhUol9ebGAmmwmME z2tQ== X-Gm-Message-State: AHPjjUjnYGXn/5sU2zzVay2PQ0JukkpP9u/ZXHLM8qdKFxVS/derIM5M elYXoBXHxV75Sf7WmHcGiUFALg== X-Google-Smtp-Source: AOwi7QBl+vFvXnP0yXwtWZQtKr+V8GS5Vcr2WNsS9PN8q6MWguguQonSh1ozOK3mHikYelndRjKUFg== X-Received: by 10.80.135.170 with SMTP id a39mr28657553eda.207.1507113626100; Wed, 04 Oct 2017 03:40:26 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id 3sm2458326edv.50.2017.10.04.03.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 03:40:25 -0700 (PDT) Subject: Re: Edit the qcow2 FreeBSD image file To: Polytropon , freebsd-questions@freebsd.org References: <20171004112931.bb6524b9.freebsd@edvax.de> <20171004120949.24b4cd25.freebsd@edvax.de> From: Johan Hendriks Message-ID: Date: Wed, 4 Oct 2017 12:41:46 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171004120949.24b4cd25.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 10:40:29 -0000 Op 04/10/2017 om 12:09 schreef Polytropon: > On Wed, 4 Oct 2017 12:02:56 +0200, Johan Hendriks wrote: >> >> Op 04/10/2017 om 11:29 schreef Polytropon: >>> On Wed, 4 Oct 2017 09:47:47 +0200, Johan Hendriks wrote: >>>> I want to add a script to the default qcow2 file of the FreeBSD qcow2 image. >>>> But how do i mount the qcow2 file on FreeBSD? >>>> There are a lot of howto's how to do it on Linux but i do not always >>>> have a Linux box ready. >>> Without having verified, I'd say something like this will work: >>> >>> # mdconfig -a -t vnode -f -u 0 >>> # mount -t ufs -o rw /dev/md0s1a /mnt >>> >>> The key is to connect the file to a md device ("memory disk"), >>> and then use it as if it was a real disk. But always check the >>> correct device file name - md0 will reflect the "disk layout" >>> of the image file, so maybe you need to use /dev/md0p1 or >>> /dev/md0a or simply /dev/md0, so check "ls /dev/md0*" to see >>> how the layout is being translated to device files - this >>> depends on the layout that has been constructed within the >>> image file. >>> >>> When you're done, use: >>> >>> # umount /mnt >>> # mdconfig -d -u 0 >>> >>> This will finally sync any changes and disconnect the device. >>> The image file can be used now. >>> >> Thanks, I tried that, but it does not work. >> root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.qcow2 -u 0 >> >> Then a ls of /dev/md0 only shows md0 and i can not mount that one. >> root@desk:~ # ls -al /dev/md* >> crw-r-----  1 root  operator  0x8c Oct  4 11:48 /dev/md0 >> crw-------  1 root  wheel      0xb Sep 21 14:16 /dev/mdctl >> >> And a mount of /dev/md0 gives an error. >> >> root@desk:~ # mount -t ufs -o rw /dev/md0 /mnt >> mount: /dev/md0: Invalid argument > Check the file format of md0 if it is recognized as a filesystem > image: > > # file FreeBSD-11.1-RELEASE-amd64.qcow2 > # file -s /dev/md0 > > it should be recognized as a UFS file system (typically called > "Unix Fast File system [v2]"). Note that you can only mount a > file system which is being recognized correctly. > Indeed it is not recognized as a regular filesystem. root@desk:~ # file FreeBSD-11.1-RELEASE-amd64.qcow2 FreeBSD-11.1-RELEASE-amd64.qcow2: QEMU QCOW Image (v2), 22548643840 bytes root@desk:~ # file -s /dev/md0 /dev/md0: QEMU QCOW Image (v2), 22548643840 bytes Well I installed the qemu-tools port and created a .raw file. This way i can mount the file with mdconfig like you discribed. root@desk:~ #  qemu-img convert FreeBSD-11.1-RELEASE-amd64.qcow2 FreeBSD-11.1-RELEASE-amd64.raw root@desk:~ # mdconfig -d -u 0 root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.raw -u 0 root@desk:~ # ls /dev/md0* /dev/md0    /dev/md0p1    /dev/md0p2    /dev/md0p3 root@desk:~ # mount /dev/md0p3 /mnt root@desk:~ # cd /mnt root@desk:/mnt # ls -al total 121 drwxr-xr-x  19 root  wheel      512 Jul 21 04:33 . drwxr-xr-x  31 root  wheel       39 Sep 21 14:16 .. -rw-r--r--   2 root  wheel      957 Jul 21 04:33 .cshrc -rw-r--r--   2 root  wheel      249 Jul 21 04:33 .profile drwxrwxr-x   2 root  operator   512 Jul 21 04:30 .snap -r--r--r--   1 root  wheel     6199 Jul 21 04:33 COPYRIGHT drwxr-xr-x   2 root  wheel     1024 Jul 21 04:31 bin drwxr-xr-x   8 root  wheel     1024 Jul 21 04:33 boot dr-xr-xr-x   2 root  wheel      512 Jul 21 04:30 dev drwxr-xr-x  27 root  wheel     2048 Jul 21 04:33 etc drwxr-xr-x   4 root  wheel     1536 Jul 21 04:31 lib drwxr-xr-x   3 root  wheel      512 Jul 21 04:33 libexec drwxr-xr-x   2 root  wheel      512 Jul 21 04:30 media drwxr-xr-x   2 root  wheel      512 Jul 21 04:30 mnt drwxr-xr-x   2 root  wheel      512 Jul 21 04:30 net dr-xr-xr-x   2 root  wheel      512 Jul 21 04:30 proc drwxr-xr-x   2 root  wheel     2560 Jul 21 04:31 rescue drwxr-xr-x   2 root  wheel      512 Jul 21 04:33 root drwxr-xr-x   2 root  wheel     2560 Jul 21 04:32 sbin lrwxr-xr-x   1 root  wheel       11 Jul 21 04:30 sys -> usr/src/sys drwxrwxrwt   2 root  wheel      512 Jul 21 04:30 tmp drwxr-xr-x  14 root  wheel      512 Jul 21 04:30 usr drwxr-xr-x  24 root  wheel      512 Jul 21 04:30 var Thank you both for your time. I can now do what i want. regards, Johan From owner-freebsd-questions@freebsd.org Wed Oct 4 11:14:28 2017 Return-Path: Delivered-To: freebsd-questions@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 C29FBE36457 for ; Wed, 4 Oct 2017 11:14:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E64A81950 for ; Wed, 4 Oct 2017 11:14:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Wed, 04 Oct 2017 13:14:18 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E04943CBF9; Wed, 4 Oct 2017 13:14:17 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v94BEHK4004417; Wed, 4 Oct 2017 13:14:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 4 Oct 2017 13:14:17 +0200 From: Polytropon To: Johan Hendriks Cc: freebsd-questions@freebsd.org Subject: Re: Edit the qcow2 FreeBSD image file Message-Id: <20171004131417.4bfbaacb.freebsd@edvax.de> In-Reply-To: References: <20171004112931.bb6524b9.freebsd@edvax.de> <20171004120949.24b4cd25.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 3638968350B X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1614 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 11:14:28 -0000 On Wed, 4 Oct 2017 12:41:46 +0200, Johan Hendriks wrote: >=20 >=20 > Op 04/10/2017 om 12:09 schreef Polytropon: > > On Wed, 4 Oct 2017 12:02:56 +0200, Johan Hendriks wrote: > >> > >> Op 04/10/2017 om 11:29 schreef Polytropon: > >>> On Wed, 4 Oct 2017 09:47:47 +0200, Johan Hendriks wrote: > >>>> I want to add a script to the default qcow2 file of the FreeBSD qcow= 2 image. > >>>> But how do i mount the qcow2 file on FreeBSD? > >>>> There are a lot of howto's how to do it on Linux but i do not always > >>>> have a Linux box ready. > >>> Without having verified, I'd say something like this will work: > >>> > >>> # mdconfig -a -t vnode -f -u 0 > >>> # mount -t ufs -o rw /dev/md0s1a /mnt > >>> > >>> The key is to connect the file to a md device ("memory disk"), > >>> and then use it as if it was a real disk. But always check the > >>> correct device file name - md0 will reflect the "disk layout" > >>> of the image file, so maybe you need to use /dev/md0p1 or > >>> /dev/md0a or simply /dev/md0, so check "ls /dev/md0*" to see > >>> how the layout is being translated to device files - this > >>> depends on the layout that has been constructed within the > >>> image file. > >>> > >>> When you're done, use: > >>> > >>> # umount /mnt > >>> # mdconfig -d -u 0 > >>> > >>> This will finally sync any changes and disconnect the device. > >>> The image file can be used now. > >>> > >> Thanks, I tried that, but it does not work. > >> root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.qcow2= -u 0 > >> > >> Then a ls of /dev/md0 only shows md0 and i can not mount that one. > >> root@desk:~ # ls -al /dev/md* > >> crw-r-----=A0 1 root=A0 operator=A0 0x8c Oct=A0 4 11:48 /dev/md0 > >> crw-------=A0 1 root=A0 wheel=A0=A0=A0=A0=A0 0xb Sep 21 14:16 /dev/mdc= tl > >> > >> And a mount of /dev/md0 gives an error. > >> > >> root@desk:~ # mount -t ufs -o rw /dev/md0 /mnt > >> mount: /dev/md0: Invalid argument > > Check the file format of md0 if it is recognized as a filesystem > > image: > > > > # file FreeBSD-11.1-RELEASE-amd64.qcow2 > > # file -s /dev/md0 > > > > it should be recognized as a UFS file system (typically called > > "Unix Fast File system [v2]"). Note that you can only mount a > > file system which is being recognized correctly. > > > Indeed it is not recognized as a regular filesystem. > root@desk:~ # file FreeBSD-11.1-RELEASE-amd64.qcow2 > FreeBSD-11.1-RELEASE-amd64.qcow2: QEMU QCOW Image (v2), 22548643840 bytes > root@desk:~ # file -s /dev/md0 > /dev/md0: QEMU QCOW Image (v2), 22548643840 bytes This shows that the file is _not_ a file system image (that FreeBSD can understand natively). > Well I installed the qemu-tools port and created a .raw file. > This way i can mount the file with mdconfig like you discribed. >=20 > root@desk:~ #=A0 qemu-img convert FreeBSD-11.1-RELEASE-amd64.qcow2 > FreeBSD-11.1-RELEASE-amd64.raw > root@desk:~ # mdconfig -d -u 0 > root@desk:~ # mdconfig -a -t vnode -f FreeBSD-11.1-RELEASE-amd64.raw -u 0 > root@desk:~ # ls /dev/md0* > /dev/md0=A0=A0=A0 /dev/md0p1=A0=A0=A0 /dev/md0p2=A0=A0=A0 /dev/md0p3 So there are three GPT partitions inside that image, and with the raw file connected to the memory disk device, they are represented as individual files, just as intended. > root@desk:~ # mount /dev/md0p3 /mnt > root@desk:~ # cd /mnt > root@desk:/mnt # ls -al > total 121 > drwxr-xr-x=A0 19 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:33 . > drwxr-xr-x=A0 31 root=A0 wheel=A0=A0=A0=A0=A0=A0 39 Sep 21 14:16 .. > -rw-r--r--=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 957 Jul 21 04:33 .cshrc > -rw-r--r--=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 249 Jul 21 04:33 .profile > drwxrwxr-x=A0=A0 2 root=A0 operator=A0=A0 512 Jul 21 04:30 .snap > -r--r--r--=A0=A0 1 root=A0 wheel=A0=A0=A0=A0 6199 Jul 21 04:33 COPYRIGHT > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 1024 Jul 21 04:31 bin > drwxr-xr-x=A0=A0 8 root=A0 wheel=A0=A0=A0=A0 1024 Jul 21 04:33 boot > dr-xr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 dev > drwxr-xr-x=A0 27 root=A0 wheel=A0=A0=A0=A0 2048 Jul 21 04:33 etc > drwxr-xr-x=A0=A0 4 root=A0 wheel=A0=A0=A0=A0 1536 Jul 21 04:31 lib > drwxr-xr-x=A0=A0 3 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:33 libexec > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 media > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 mnt > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 net > dr-xr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 proc > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 2560 Jul 21 04:31 rescue > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:33 root > drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 2560 Jul 21 04:32 sbin > lrwxr-xr-x=A0=A0 1 root=A0 wheel=A0=A0=A0=A0=A0=A0 11 Jul 21 04:30 sys ->= usr/src/sys > drwxrwxrwt=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 tmp > drwxr-xr-x=A0 14 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 usr > drwxr-xr-x=A0 24 root=A0 wheel=A0=A0=A0=A0=A0 512 Jul 21 04:30 var Excellent! --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Oct 4 12:08:06 2017 Return-Path: Delivered-To: freebsd-questions@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 65DCEE38434 for ; Wed, 4 Oct 2017 12:08:06 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 1E6C884BBC for ; Wed, 4 Oct 2017 12:08:06 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id o187so8932333qke.7 for ; Wed, 04 Oct 2017 05:08:06 -0700 (PDT) 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=1YSy4K5J5+BqIHWQbzSYbKDPO0xbaHAlOu4VhcT6keI=; b=YQ2dwN1YAfmiiqDjv2Nk5tKKgt/3QESYeUjroQ2ag8Ii43Y4SoFwnUHIabTUXBhJnG Kuh/EVhd8ReGpDISEmNgtcBzbH6z1Ub8mQjAOv31gkA+uXngW0qXA5WIslcZs4N93Rkr C36kQ1IW9SvulhXVbIfAzU9whSQOAEYhdE9MzUOYMlf+Q0JG9W724IX/hY5ZMM3F7OpD CGXUWchGutrI3HhhaXGtUQxstp6kow3izeOgm7xKumf+YlzSSZPFx48afq6CcV5KgFHS x3eiApq9MkYHWqZG7yUaCYaNlrnM7AOEHv7FUdtqP+qq1s4RFzvBACgZg5FHu6qTCInG Y35Q== 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=1YSy4K5J5+BqIHWQbzSYbKDPO0xbaHAlOu4VhcT6keI=; b=TsU+8qjjDDGnx0pdVmpa6OfdxhLZM1UV0Ly/9uAgpJVr4OuqT4ikCCbpGnjhpvxTVg 98SZKQdFzV4l9GvBt07S+Cwqo2gIDynce2Cu3BQQfkYCYdGc+uoifYipH0ivWjK8vji6 1sbARMA0wY1cZEfuPsn/vK9YCXAj6zebzzDw4iaXSmXqNCWfK7jXdGHKg3vM7yFcPCg7 7CmPoZgsuo9CQ5LxzFet4og8drrbhzmKA1e1G5TzfRdyYaAg34Y4C0ftIEeD6LMZLmZ2 tkyXwybQeCVqM+6pUNK0NF0n9efywgOPpHXL8ARcXsWBKWFNTXgmK2kbIr9aqcshaexE Uqpw== X-Gm-Message-State: AMCzsaVxRuectxaXPEVFs5ABIJnP6hASzrrf4XbdUONEwBBHlyBhfpRw nHJCQTRH/lvDLjMgoldTs81BoWugdJTqraEkzIE= X-Google-Smtp-Source: AOwi7QBqfU3RxkZJ+vCOwOjVmFqSLkk5OeErKe/MqyKeSUfVVmQl4BLSVivj8slRujtuObgoj8MnYfq/8AqGZ/9LnjU= X-Received: by 10.55.141.66 with SMTP id p63mr23175523qkd.314.1507118885252; Wed, 04 Oct 2017 05:08:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.20.17 with HTTP; Wed, 4 Oct 2017 05:08:04 -0700 (PDT) In-Reply-To: <59D10B0C.1010702@gmail.com> References: <59D10736.2070504@gmail.com> <20171001152637.GA60730@c720-r314251> <59D10B0C.1010702@gmail.com> From: krad Date: Wed, 4 Oct 2017 13:08:04 +0100 Message-ID: Subject: Re: help - under attack To: Ernie Luzar Cc: Matthias Apitz , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 12:08:06 -0000 post the ruleset, if you are dual homed make sure sshd in bound to the internal nic only. If you have to go on the public side, disable password based auth and just use keys. Do those things and the community can maybe help you go forward. On 1 October 2017 at 16:34, Ernie Luzar wrote: > Matthias Apitz wrote: > >> El d=C3=ADa domingo, octubre 01, 2017 a las 11:18:14a. m. -0400, Ernie L= uzar >> escribi=C3=B3: >> >> Hello list; >>> >>> Installed 11.1 from scratch and after about 2-3 weeks I finally got >>> around to inspecting the /var/logs. I have never seen the auth.log file >>> roll over before, so this peaked my interest. It was full of failed log= in >>> attempts. My firewall blocks all inbound traffic, so I am very baffled = be >>> what I see in the log. Any suggestions on how this can be happening? >>> >>> Sep 29 03:09:14 fbsd sshd[33675]: Connection closed by 149.202.179.216 >>> port 48876 [preauth] >>> ... >>> >> >> If you have a firewall (about which you have not said anything), how can >> SYN-SYN-ACK happen on port 22? >> >> matthias >> > > My post says "My firewall blocks all inbound traffic". The login error > messages do not say it on port 22. That inbound port is blocked by the > firewall. All pc on the lan are powered off. Even disconnected the lan > cable from the freebsd gateway host and still the error messages come out= . > That is why I am asking for help here. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > From owner-freebsd-questions@freebsd.org Wed Oct 4 13:56:35 2017 Return-Path: Delivered-To: freebsd-questions@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 C7AADE3A1B8 for ; Wed, 4 Oct 2017 13:56:35 +0000 (UTC) (envelope-from astek@bulten.astekbet.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AB42A3E7E for ; Wed, 4 Oct 2017 13:56:35 +0000 (UTC) (envelope-from astek@bulten.astekbet.com) Received: by mailman.ysv.freebsd.org (Postfix) id A7046E3A1B7; Wed, 4 Oct 2017 13:56:35 +0000 (UTC) Delivered-To: questions@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 A4809E3A1B6 for ; Wed, 4 Oct 2017 13:56:35 +0000 (UTC) (envelope-from astek@bulten.astekbet.com) Received: from g3-s30.valuezon.com (g3-s30.valuezon.com [212.252.193.30]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6123E7D for ; Wed, 4 Oct 2017 13:56:33 +0000 (UTC) (envelope-from astek@bulten.astekbet.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=g3-s30.valuezon.com; i=@g3-s30.valuezon.com; q=dns/txt; s=valuemail; t=1507125386; h=MIME-Version : Content-Type : Content-Transfer-Encoding : Date : Subject : From : Reply-to : To : List-Unsubscribe : List-ID : Message-ID : Date : Subject : From; bh=tf39hG3DggsUnQ95lYhMLo/FUai42VvMuSPvUqQJ5Kc=; b=Q3gPgIwyP41rscvHTmgm9qt9LK8i6crIts//uQ6ybj4YYO3F0m+rK5oLg+n20cgYIMdEPD QX5+onbOflyau999IbZ6jz1ifjbiL0HSGz4mIws31NXWBorjyGBpqSn4jAb0TLeLHt8mVE5L oKJrrgbFcjfoduRcHFEdEWK9250nw= MIME-Version: 1.0 Date: Wed, 04 Oct 2017 16:56:26 +0300 Subject: =?utf-8?q?=25100_Ho=C5=9Fgeldin_Bonusu_ile_Kaybetmeye_Son_!?= From: "ASTEKBET" Reply-to: "ASTEKBET" To: X-OriginalSentTime: 2017-10-04 16:56:26.589759 X-OriginalRecipient: X-Platform: 113117101115116105111110115064102114101101098115100046111114103 Message-ID: X-Priority: 3 (Normal) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 13:56:35 -0000 xLBsZXRpbmluIGnDp2VyacSfaW5pIGfDtnLDvG50w7xsZW1la3RlIHNvcnVuIHlhxZ/EsXlvcnNh bsSxeiBsw7x0ZmVuIGHFn2HEn8SxZGFraSBsaW5rZSB0xLFrbGF5xLFuLiDEsGxldGkgdGFyYXnE sWPEsW7EsXpkYSBhw6fEsWxhY2FrdMSxci4NCmh0dHBzOi8vc3RvcmFnZS5nb29nbGVhcGlzLmNv bS92YWx1ZXpvbi9zY3JpcHRzL2MuaHRtbD9taWQ9NTI4LTExNjA4LTExNTAwNDM1MC05LTgtMTky MTY4MjktMTM4NjA4MTU1JmxpZD00MjI0ODYmaT01MjgmYz0xOTc5Jng9MTEzMTE3MTAxMTE1MTE2 MTA1MTExMTEwMTE1MDY0MTAyMTE0MTAxMTAxMDk4MTE1MTAwMDQ2MTExMTE0MTAzJnQ9VFhUJnA9 MiZtPTExNjA4JmI9MCZhPTM2NiZnPTQ0MDQmbD0xMDQxMTYxMTYxMTIwNTgwNDcwNDcxMTUxMDEx MTAxMDAxMTUxMDkwOTcxMDUxMDgwNDYxMTAxMDExMTYmbHA9L3BvcnRhbC81MjgtMTE2MDgtMTE1 MDA0MzUwLTktOC0xOTIxNjgyOS0xMzg2MDgxNTUvMC9UUi9NRVNTQUdFDQogCgogCiAKIAogCiAK DQoNCiAgICAgICAgDQogICAgICAgIA0KICAgICAgICBodG1sLA0KICAgICAgICBib2R5IHsNCiAg ICAgICAgICAgIG1hcmdpbjogMCBhdXRvICFpbXBvcnRhbnQ7DQogICAgICAgICAgICBwYWRkaW5n OiAwICFpbXBvcnRhbnQ7DQogICAgICAgICAgICBoZWlnaHQ6IDEwMCUgIWltcG9ydGFudDsNCiAg ICAgICAgICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7DQogICAgICAgIH0NCg0KICAgICAgICAN CiAgICAgICAgKiB7DQogICAgICAgICAgICAtbXMtdGV4dC1zaXplLWFkanVzdDogMTAwJTsNCiAg ICAgICAgICAgIC13ZWJraXQtdGV4dC1zaXplLWFkanVzdDogMTAwJTsNCiAgICAgICAgfQ0KDQog ICAgICAgIA0KICAgICAgICBkaXZbc3R5bGUqPSJtYXJnaW46IDE2cHggMCJdIHsNCiAgICAgICAg ICAgIG1hcmdpbjogMCAhaW1wb3J0YW50Ow0KICAgICAgICB9DQoNCiAgICAgICAgDQogICAgICAg IHRhYmxlLA0KICAgICAgICB0ZCB7DQogICAgICAgICAgICBtc28tdGFibGUtbHNwYWNlOiAwcHQg IWltcG9ydGFudDsNCiAgICAgICAgICAgIG1zby10YWJsZS1yc3BhY2U6IDBwdCAhaW1wb3J0YW50 Ow0KICAgICAgICB9DQoNCiAgICAgICAgDQogICAgICAgIHRhYmxlIHsNCiAgICAgICAgICAgIGJv cmRlci1zcGFjaW5nOiAwICFpbXBvcnRhbnQ7DQogICAgICAgICAgICBib3JkZXItY29sbGFwc2U6 IGNvbGxhcHNlICFpbXBvcnRhbnQ7DQogICAgICAgICAgICB0YWJsZS1sYXlvdXQ6IGZpeGVkICFp bXBvcnRhbnQ7DQogICAgICAgICAgICBtYXJnaW46IDAgYXV0byAhaW1wb3J0YW50Ow0KICAgICAg ICB9DQoNCiAgICAgICAgdGFibGUgdGFibGUgdGFibGUgew0KICAgICAgICAgICAgdGFibGUtbGF5 b3V0OiBhdXRvOw0KICAgICAgICB9DQoNCiAgICAgICAgDQogICAgICAgIGltZyB7DQogICAgICAg ICAgICAtbXMtaW50ZXJwb2xhdGlvbi1tb2RlOiBiaWN1YmljOw0KICAgICAgICB9DQoNCiAgICAg ICAgDQogICAgICAgIC5tb2JpbGUtbGluay0tZm9vdGVyIGEsDQogICAgICAgIGFbeC1hcHBsZS1k YXRhLWRldGVjdG9yc10gew0KICAgICAgICAgICAgY29sb3I6IGluaGVyaXQgIWltcG9ydGFudDsN CiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lICFpbXBvcnRhbnQ7DQogICAg ICAgIH0NCg0KICAgICAgICANCiAgICAgICAgLmJ1dHRvbi1saW5rIHsNCiAgICAgICAgICAgIHRl eHQtZGVjb3JhdGlvbjogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICB9DQoNCiAgICAgICAgDQog ICAgICAgIA0KICAgICAgICANCiAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLWRl dmljZS13aWR0aDogMzc1cHgpIGFuZCAobWF4LWRldmljZS13aWR0aDogNDEzcHgpIHsNCiAgICAg ICAgICAgIA0KICAgICAgICAgICAgLmVtYWlsLWNvbnRhaW5lciB7DQogICAgICAgICAgICAgICAg bWluLXdpZHRoOiAzNzVweCAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgfQ0KICAgICAgICB9DQoN CiAgICAKDQoNCiAgICAgICAgDQogICAgICAgIC5idXR0b24tdGQsDQogICAgICAgIC5idXR0b24t YSB7DQogICAgICAgICAgICB0cmFuc2l0aW9uOiBhbGwgMTAwbXMgZWFzZS1pbjsNCiAgICAgICAg fQ0KDQogICAgICAgIC5idXR0b24tdGQ6aG92ZXIsDQogICAgICAgIC5idXR0b24tYTpob3ZlciB7 DQogICAgICAgICAgICBiYWNrZ3JvdW5kOiAjNTU1NTU1ICFpbXBvcnRhbnQ7DQogICAgICAgICAg ICBib3JkZXItY29sb3I6ICM1NTU1NTUgIWltcG9ydGFudDsNCiAgICAgICAgfQ0KDQogICAgICAg IA0KICAgICAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA2NTBweCkgew0KDQogICAg ICAgICAgICAuZW1haWwtY29udGFpbmVyIHsNCiAgICAgICAgICAgICAgICB3aWR0aDogYXV0byAh aW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIG1hcmdpbjogYXV0byAhaW1wb3J0YW50Ow0KICAg ICAgICAgICAgICAgIG92ZXJmbG93LXg6IGhpZGRlbjsNCg0KICAgICAgICAgICAgfQ0KDQogICAg ICAgICAgICANCiAgICAgICAgICAgIC5mbHVpZCB7DQogICAgICAgICAgICAgICAgbWF4LXdpZHRo OiBhdXRvICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgaGVpZ2h0OiBhdXRvICFpbXBvcnRh bnQ7DQogICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IGF1dG8gIWltcG9ydGFudDsNCiAgICAg ICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IGF1dG8gIWltcG9ydGFudDsNCiAgICAgICAgICAgIH0N Cg0KICAgICAgICAgICAgDQogICAgICAgICAgICAuc3RhY2stY29sdW1uLA0KICAgICAgICAgICAg LnN0YWNrLWNvbHVtbi1jZW50ZXIgew0KICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFp bXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDsNCiAgICAg ICAgICAgICAgICBtYXgtd2lkdGg6IDEwMCUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICBk aXJlY3Rpb246IGx0ciAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgfQ0KDQogICAgICAgICAgICAN CiAgICAgICAgICAgIC5zdGFjay1jb2x1bW4tY2VudGVyIHsNCiAgICAgICAgICAgICAgICB0ZXh0 LWFsaWduOiBjZW50ZXIgIWltcG9ydGFudDsNCiAgICAgICAgICAgIH0NCg0KICAgICAgICAgICAg DQogICAgICAgICAgICAuY2VudGVyLW9uLW5hcnJvdyB7DQogICAgICAgICAgICAgICAgdGV4dC1h bGlnbjogY2VudGVyICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2sg IWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogYXV0byAhaW1wb3J0YW50 Ow0KICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogYXV0byAhaW1wb3J0YW50Ow0KICAgICAg ICAgICAgICAgIGZsb2F0OiBub25lICFpbXBvcnRhbnQ7DQogICAgICAgICAgICB9DQoNCiAgICAg ICAgICAgIHRhYmxlLmNlbnRlci1vbi1uYXJyb3cgew0KICAgICAgICAgICAgICAgIGRpc3BsYXk6 IGlubGluZS1ibG9jayAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgfQ0KDQogICAgICAgIH0NCg0K ICAgIApCQUjEsFMKQ0FOTEkNCiAgICAgICAgICAgICAgICAgICAgQkFIxLBTCkJPUlNBClRPVE8K UE9LRVIKU0FOQUwgQkFIxLBTCjIwMTggRMOcTllBIEtVUEFTSSBFTEVNRUxFUsSwCjA1LjEwLjIw MTcgMTk6MDAKRXJtZW5pc3RhbiAtIFBvbG9ueWEKMTQuMDAKNy4yMAoxLjI0Cg0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBoZW1lbg0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBCQUjEsFMgWUFQCsKgCjA1LjEwLjIwMTcgMjE6NDUKS3V6ZXkgxLBybGFuZGEgLSBBbG1h bnlhCjExLjUwCjYuMTAKMS4zMQoNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVt ZW4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQkFIxLBTIFlBUArCoAowNS4xMC4y MDE3IDIxOjQ1CsSwbmdpbHRlcmUgLSBTbG92ZW55YQoxLjM2CjUuMjAKMTEuNTAKDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIGhlbWVuDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIEJBSMSwUyBZQVAKwqAKMDYuMTAuMjAxNyAyMTo0NQpBdnVzdHVyeWEgLSBTxLFyYmlz dGFuCjMuNDYKMy40MgoyLjI5Cg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZW1l bg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBCQUjEsFMgWUFQCsKgCjA2LjEwLjIw MTcgMjE6NDUKxLBzcGFueWEgLSBBcm5hdnV0bHVrCjEuMDkKMTUuMDAKMzEuMDAKDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIGhlbWVuDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIEJBSMSwUyBZQVAKwqAKMDYuMTAuMjAxNyAyMTo0NQpUw7xya2l5ZSAtIMSwemxhbmRh CjIuMDAKMy41OAo0LjIwCg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZW1lbg0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBCQUjEsFMgWUFQCsKgCjA3LjEwLjIwMTcg MTk6MDAKQm9zbmEgSGVyc2VrIC0gQmVsw6dpa2EKMi45MQozLjYwCjIuNTIKDQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIGhlbWVuDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIEJBSMSwUyBZQVAKwqAKMDcuMTAuMjAxNyAyMTo0NQpCdWxnYXJpc3RhbiAtIEZyYW5zYQox Ny4wMAo3LjUwCjEuMjEKDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlbWVuDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJBSMSwUyBZQVAKwqAKMDcuMTAuMjAxNyAy MTo0NQpBbmRvcnJhIC0gUG9ydGVraXoKNzAuMDAKMzQuMDAKMS4wMwoNCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgaGVtZW4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg QkFIxLBTIFlBUArCoAoKw4fEsWvEscWfIGnDp2luIGzDvHRmZW4gdMSxa2xhecSxbi4NCmh0dHBz Oi8vc3RvcmFnZS5nb29nbGVhcGlzLmNvbS92YWx1ZXpvbi9zY3JpcHRzL2MuaHRtbD9taWQ9NTI4 LTExNjA4LTExNTAwNDM1MC05LTgtMTkyMTY4MjktMTM4NjA4MTU1JmxpZD00MjI0ODgmaT01Mjgm Yz0xOTc5Jng9MTEzMTE3MTAxMTE1MTE2MTA1MTExMTEwMTE1MDY0MTAyMTE0MTAxMTAxMDk4MTE1 MTAwMDQ2MTExMTE0MTAzJnQ9VFhUJnA9MiZtPTExNjA4JmI9MCZhPTM2NiZnPTQ0MDQmbD0xMDQx MTYxMTYxMTIwNTgwNDcwNDcxMTUxMDExMTAxMDAxMTUxMDkwOTcxMDUxMDgwNDYxMTAxMDExMTYm bHA9L3BvcnRhbC81MjgtMTE2MDgtMTE1MDA0MzUwLTktOC0xOTIxNjgyOS0xMzg2MDgxNTUvNS9U Ui9RVUlUDQog From owner-freebsd-questions@freebsd.org Wed Oct 4 14:10:06 2017 Return-Path: Delivered-To: freebsd-questions@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 847D7E3A504 for ; Wed, 4 Oct 2017 14:10:06 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 4900B63636 for ; Wed, 4 Oct 2017 14:10:06 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-ua0-x22f.google.com with SMTP id i35so4605049uah.9 for ; Wed, 04 Oct 2017 07:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=JXZYdXEudYv0VdETjIhOJZ5W3gQyPvdf+8McV/XIfsU=; b=H/Nyk4wAMBbO96a8973lGq/g7aXkKHrIXdreCtias6LKXOpRRCx/kasuRTkY8Utu/4 ntJ8tdA5c1hkOKBCeNbiO3d9VqHwo2PBAqhYRQ0Ep/adrgxO+w/AbsFnrZxSLCqf6/OI SrC+YdZyvKffQ4vnhUd/mgxJTf8oyILG+9YMwNy+cWaMVkRYKfyT5Bc64AYtcnTLpKUq QcXFSNGfQsvSpxSZ7wV3PszC7pPSJSE2zNZv7h6gwuptuIb+JniOfYUkLjJyp+QzfKAY RJGS04imQ3Z8unxAsUQDzsuor0tSjyj4prjfVjMhL5T+/gUiO+tdmY3e4FEv0kzDwhAS 775w== 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=JXZYdXEudYv0VdETjIhOJZ5W3gQyPvdf+8McV/XIfsU=; b=ldkbcjZ/VEUAzxT7sfv8bPV2my4EECRZljqD+b8+I2p5z+k+UsWoOvp6XQIIDKc2AA Oqeb7vVR2jWE8AeMZcjeXtBk0pogvIyO+UcHNzNWwR4x6e4WjNCrRGNsZr/xXV+NVnHv f9PUB+bvwHzgHNG82iOqV+nu+WJTcvA/oidTQGwQKCzKoWHcIbELspG5zh2VclQJ573B yl7cewd6TmExykuj1hePAjiaE8exa0SOB66txd8uJ+RocJMWtMvYZZ0GA6v3JNLePA6I lcs7BaEQsNvN2zVg0gYT1Svm+0AeKZmcG46Nqo41S2rPkG0D5AEWspNhbz8fqkTQt1J7 zivw== X-Gm-Message-State: AMCzsaWfuVuakP5c9EmK++pCZRd6gpHu8Ty9OzDq7D70Cbukm99isVx4 MLq0Ne6bOPPoUohYOcra1oukamT64eXqf7UlV1MFqmEm X-Google-Smtp-Source: AOwi7QDJCdGbzQDQ1y2eVkvnHbXRiq6u2wTncaFhtNDyawGmvhYWgzGCiCDC4KWsoioBvOrlugMa4B9/Eaku7Dn4ftE= X-Received: by 10.176.68.67 with SMTP id m61mr11204961uam.31.1507126205028; Wed, 04 Oct 2017 07:10:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.86.157 with HTTP; Wed, 4 Oct 2017 07:10:04 -0700 (PDT) From: Alejandro Imass Date: Wed, 4 Oct 2017 10:10:04 -0400 Message-ID: Subject: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 14:10:06 -0000 ... or did they? Hi all, You may be asking why would I post such a question (mostly rant) here. The reason is because I was curious at the reaction to this thread: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=117621+0+archive/2017/freebsd-questions/20170820.freebsd-questions It seems that people who use and support FreeBSD have a similar mindset in that we think that the Unix model is mostly good, and are many time baffled with the direction the "industry" takes, for the most part. So what better outlet to post this rant ;-) So pls. take this thread just a food for thought: On operating systems and languages --------------------------------------------------- Why did C++ and Java seem win over C and shared object libraries? In the Unix model the general philosophy is precisely that is made up of tiny little things that do one thing really, really well and are able to operate with other tiny things by means of a common protocol such as pipes etc. What more encapsulation than shared objects, header files, and C structs? if you want higher level there is for example, Perl with an elegant XS interface to C which can in turn leverage all the underlying O/S. Not only that, Perl (amongst other great "scripting" langs) is multi-paradigm allowing you write software to tackle problems in different ways, which are much more clearer than trying to stick a square peg in a round hole approach of single paradigm languages such as Java. And only after 30 years or so, do you start seeing some functional paradigms come to Java and new languages over the JVM such as Scala. When in fact these things have been with us for ages since Scheme, Perl, etc. ? and these integrate beautifully with the underlying O/S. Why dis the industry degrade the languages as "scripting languages" when in fact this is precisely what you want: simplicity, elegance and tight integration to the O/S! So why did the Java Virtual Machine concept win, instead of leveraging the underlying O/S ? Was portability the only mermaid song ? or was it the promise of a language to protect us from the mediocre programmer ? What is the point of portability if it doesn't really leverage the underlying O/S? I personally think portability is not only a myth (i.e. Java is not really portable as people may think) and it's actually pretty stupid and it's actually what you DON'T want. What you really want IMHO is a fined-tuned architecture that not only plays well with the underlying O/S but that actually leverages the O/S, which makes it NOT portable by definition. Why do we want portability in the first place? Does portability foster competition and innovation or just makes everybody mediocre at best? Does it increase security or performance? NO, it's actually the total opposite! Code reusability is mostly bullshit too, and what you wind up with, AGAIN, is piles over piles of crap, wheel re-invention and duplication of efforts. A quick look to the Java ecosystem is enough to show this is fundamentally flawed. Even the simplest Java application winds up bloated with megabytes (sometimes gigabytes) of crap in there that is not doing anything but hampering performance and opening up all sorts of security holes. The same goes for the Windows world and C++ where it gets even worse as every application you install is able to overwrite critical system libraries. On Virtualization and Outsourcing ---------------------------------------------------------- Why did virtualization and outsourcing (AWS) seem to win over concepts such a chroot and FreeBSD Jails and a good old sysadmin? Why do we really need full virtualization in the first place? Does it help in performance or security? Does it reduce costs? On the contrary it does neither, at least IMHO. If you need to "slice" your hardware, e.g. : to avoid contamination of the base system, to be able to run several environments in a single machine, for prototyping, etc. the concept of a container such as FreeBSD Jails is more than enough, IMO. When you add things like EzJail on top, why would you need more than that? HTF did we get such aberrations as Docker on an already virtualized environment such as AWS??? I mean WTF is that? really? Why pile up all those layers of shit to get what you could get with a real hardware with FreeBSD and EzJail ? I write these reflections at a time when all these security breaches such as Yahoo's 3 billion account breach and Equifax 145 million and much more serious breach are happening and the situation will only get worse because of all the piles, over piles and piles of shit the most companies run on. So how did we get here? Why does industry insist on complicating stuff instead of a complete back to basics approach? Why is the answer to these problems is more and more outsourcing and throwing even more piles of crap and wasting money in the hopes that will fix the fundamentally broken systems we have in place? What we need is a radical back to basics approach to software engineering. Well at least not ALL industry. I think Apple made the right choice when they decided to embrace NeXT (which is heavily based and inspired on FreeBSD) and Objective-C from the start, creating highly-tuned systems that are not only NOT portable in software terms but not even portable in hardware terms! The choice of tight integration between hardware, O/S and application software is the way of the future, which is actually the way of the past, invented by Unix and the original hackers since the dawn of computing. Everything else, is just "shit". Borrowing the late Jobs' favourite word to describe just that: shit. Pardon the rant and have a wonderful day. -- Alex From owner-freebsd-questions@freebsd.org Wed Oct 4 16:01:15 2017 Return-Path: Delivered-To: freebsd-questions@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 A7870E3C9CA for ; Wed, 4 Oct 2017 16:01:15 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic310-22.consmr.mail.ne1.yahoo.com (sonic310-22.consmr.mail.ne1.yahoo.com [66.163.186.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7156567741 for ; Wed, 4 Oct 2017 16:01:14 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-YMail-OSG: 7p4aoDQVM1lM6Z0FoQWmrqucbaZXV7lF0e9iheArEM448uYdHkSJHIn.Emgdd4r SoEh9gatppBU9UkYx8CFYY0DKk.F3OLEcT1wMOfYL5Z8s86tvhFXl4_kjfzfbaogl53lmQETW4YB p5CiIw51FRQ3riVrkVIlA5YT5jlXOd8YqXxFXDQ55L0kKTyBE0_qikN7Pe2sl6B_IrlZZFm8J2da 24FuhEn5psUg0hs7PGEhoCVADmKvxf6ovB9FNhT7s.VefjmBiWv8gaBwxUc3patmpl5tpCYNlWDM fVtAWBZMpzXB15W35EoSBVIEMzTImOUOkz7wB4Tm3qpY0PmACebUd2mxA.iB1dpg.0LKRZsI1oJG sWSil6YsaaPJd2gVuogcGNsowrgBSf5LAFGdTm8.pBhOr.MMlZMZ4q712gvLKZpB6hiDXUmvepzn XHi0KP8deq0H2x5dxItNY7Nn..LLrvqU3KlR8x8eUzog- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Wed, 4 Oct 2017 16:01:07 +0000 Date: Wed, 4 Oct 2017 15:56:35 +0000 (UTC) From: Paul Pathiakis Reply-To: Paul Pathiakis To: Alejandro Imass , FreeBSD Questions Message-ID: <1336764203.1315055.1507132595582@mail.yahoo.com> In-Reply-To: References: Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... MIME-Version: 1.0 X-Mailer: WebService/1.1.10668 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 16:01:15 -0000 Alejandro, I have been asking myself the same question for almost 15 years.=C2=A0 Alth= ough I didn't know about Theo's letter or anything subsequent, I have a pee= r group of high-end contractors and senior sysadms.=C2=A0 Although most won= 't admit it, there's about 20 out of two hundred that are wondering about t= he same thing. Why create 100s of instances with the same OS/Config that all have to be pa= tched when a hole is found versus UNIX that has a proper development model,= a proper job and resource scheduler that does all the 'sharing' for you? Now, I will say one thing, virtualization is great.... for development.=C2= =A0 Spinning up a few instances that act like a full machine to check on Pr= oof of Concept and resource utilization and allows developers to have 'root= ' and trash it any way they want and I can give them another one without ha= ving to rebuild an entire machine (full build automation or not), it's a bi= g win. However, regarding everything else you said, I agree.=C2=A0 As to how it ha= ppened and why?=C2=A0 Two reasons:=C2=A0 stupidity and money.=C2=A0=C2=A0 The stupidity is people that don't truly understand things at a deep level = (degree or no degree) that are involved in both development and operations.= =C2=A0 This can be seen in those things that you state along with others.= =C2=A0 However, with regards to Java, .NET, C++, you have a lot of people t= hat were in academia that were being told OOP was the next big thing and JA= VA was where it was going to happen.=C2=A0 Now, anyone who realized that C = was the elegant tool that it was, a level 3 language regarding all of it's = high level structures with the power of assembler (the ability to directly = access memory addresses and contents of those addresses), saw JAVA and othe= r OOP (object oriented programming) languages as being an uncultured resour= ce pig that lacked a LOT of structures, functionality and power of C.=C2=A0= (IMHO) So, how did the great unwashed get into this?=C2=A0 The thing known as MIS.= =C2=A0 Business people who created the party line of 'buzzwords' that don't= understand tech.=C2=A0 They had always heard about 'JAVA' and rammed it do= wn the developers throats.=C2=A0 People 20 years ago that 'heard' about JAV= A in management positions are forcing people to program it in. How does money play into other than Wall St playing tech companies that the= y don't truly understand what they are doing or inventing?=C2=A0 Let's look= at MS, SUN, ORACLE, CISCO and what they've done to the industry.... CERTIF= ICATIONS!=C2=A0 'Why yes.... I'm a total idiot that knows nothing about tec= h but I can take a test.=C2=A0 My degree?=C2=A0 Oh... Advanced Basket Weavi= ng.=C2=A0 I get to be a Network Admin now because I have a CCIE and make mo= re than minimum wage?=C2=A0 Kewl=C2=A0 You don't care I don't have experien= ce in tech?=C2=A0 Awesome.' Let's take an example of something that was implemented about 10 years ago = and whole industry has grown up around it yet, early in 2016 the creators o= f it said it was dead as people didn't realize it was a philosophy that onl= y the parts necessary should be applied to an existing environment to make = it more nimble.... AGILE!!!!=C2=A0 =C2=A0There are still people screaming t= hat you have to be Agile trained, Agile certified, etc.=C2=A0 Companies hav= e spent billions on this and continue to do so.=C2=A0 Yet, circa April of 2= 016, the 13 creators of Agile stated it was DEAD.=C2=A0 Yet, companies are = still running forward with it.....=C2=A0 Don't even get me started on DevOP= S....=C2=A0 Oooo.... you have to understand Agile or you can't be a DevOPS = engineer.=C2=A0 (I was at one of the most prestigious universities in the w= orld who said I HAD to know AWS, GIT, and DevOPS.... well, with 25 years in= I said I could learn... One month later I knew all and had a good understa= nding....=C2=A0 However, operational issues were everywhere.=C2=A0 I could = predict what would fail, how and when after the second month.=C2=A0 I, fina= lly, asked something that was bothering me of the 15=C2=A0 DevOPS people in= the group: "Who here has actually worked in Operations previously?"=C2=A0 = That's right.=C2=A0 Not a single hand.=C2=A0 No one understood the reality = of simple things like I/O bottlenecks.=C2=A0 They all had the mentality of = 'if I program it and it runs, then everything is wonderful'. All of these processes I believe are created with the best of intentions by= people who see the one true problem:=C2=A0 untalented individuals who are = insecure and refuse to improve themselves or their coding abilities.=C2=A0 = The program they produce is the barest minimum in functionality for the req= uirements, business management doesn't understand the required paradigms an= d 'crap' gets passed along.=C2=A0 It hits operations (thrown over the wall)= it wasn't correctly tested, and it limps.=C2=A0 No one is held accountable= but the operations people are pissed and they're getting blamed. This is the state of the industry as we know it now.=C2=A0 It's a sad state= of affairs.=C2=A0 I look forward to retiring so I can dedicate time to wha= t I consider the one true piece of software beauty left in the world:=C2=A0= FreeBSD.=C2=A0 (and other BSDs) I read "Cathedral and Bazaar" and considered it "Reality and Bizarre".=C2= =A0 A 100 monkeys writing for a 100 years will NOT turn out the works of Sh= akespeare... they turn out something with 100s of CVEs annually. Here's the sad part, I am seeing all the senior people retire early and go = fishing.=C2=A0 Some of these people have 10 years left but have done the ca= lculation and consider the pain of having someone without a clue threaten t= hem with their job, compensation or something else.=C2=A0 The world of virt= ualization does not encourage troubleshooting, it encourages 'restart it'.= =C2=A0 It encourages diminished effort from start to finish. I also agree with your point on how much it costs to go to AWS and Azure.= =C2=A0 In the space of a year, it's more than reasonable server that a comp= any could build for $1000 and install iocage/jails etc and have an OS with = only 20 CVEs annually.=C2=A0 Oooo... wait here's some FUD.... It's because = it's not used by anyone that there's no bugs found... Yeah, talk to Apple, = Sony, IronPort, Netflix, etc.... The end of my rant..... P. From: Alejandro Imass To: FreeBSD Questions =20 Sent: Wednesday, October 4, 2017 10:10 AM Subject: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, = Java, Microsoft, Outsourcing, etc.)... =20 ... or did they? Hi all, You may be asking why would I post such a question (mostly rant) here. The reason is because I was curious at the reaction to this thread: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D117621+0+archive/2017/freeb= sd-questions/20170820.freebsd-questions It seems that people who use and support FreeBSD have a similar mindset in that we think that the Unix model is mostly good, and are many time baffled with the direction the "industry" takes, for the most part. So what better outlet to post this rant ;-) So pls. take this thread just a food for thought: On operating systems and languages --------------------------------------------------- Why did C++ and Java seem win over C and shared object libraries? In the Unix model the general philosophy is precisely that is made up of tiny little things that do one thing really, really well and are able to operate with other tiny things by means of a common protocol such as pipes etc. What more encapsulation than shared objects, header files, and C structs? if you want higher level there is for example, Perl with an elegant XS interface to C which can in turn leverage all the underlying O/S. Not only that, Perl (amongst other great "scripting" langs) is multi-paradigm allowing you write software to tackle problems in different ways, which are much more clearer than trying to stick a square peg in a round hole approach of single paradigm languages such as Java. And only after 30 years or so, do you start seeing some functional paradigms come to Java and new languages over the JVM such as Scala. When in fact these things have been with us for ages since Scheme, Perl, etc. ? and these integrate beautifully with the underlying O/S. Why dis the industry degrade the languages as "scripting languages" when in fact this is precisely what you want: simplicity, elegance and tight integration to the O/S! So why did the Java Virtual Machine concept win, instead of leveraging the underlying O/S ? Was portability the only mermaid song ? or was it the promise of a language to protect us from the mediocre programmer ? What is the point of portability if it doesn't really leverage the underlying O/S? I personally think portability is not only a myth (i.e. Java is not really portable as people may think) and it's actually pretty stupid and it's actually what you DON'T want. What you really want IMHO is a fined-tuned architecture that not only plays well with the underlying O/S but that actually leverages the O/S, which makes it NOT portable by definition. Why do we want portability in the first place? Does portability foster competition and innovation or just makes everybody mediocre at best? Does it increase security or performance? NO, it's actually the total opposite! Code reusability is mostly bullshit too, and what you wind up with, AGAIN, is piles over piles of crap, wheel re-invention and duplication of efforts. A quick look to the Java ecosystem is enough to show this is fundamentally flawed. Even the simplest Java application winds up bloated with megabytes (sometimes gigabytes) of crap in there that is not doing anything but hampering performance and opening up all sorts of security holes. The same goes for the Windows world and C++ where it gets even worse as every application you install is able to overwrite critical system libraries. On Virtualization and Outsourcing ---------------------------------------------------------- Why did virtualization and outsourcing (AWS) seem to win over concepts such a chroot and FreeBSD Jails and a good old sysadmin?=C2=A0 Why do we really need full virtualization in the first place? Does it help in performance or security? Does it reduce costs? On the contrary it does neither, at least IMHO. If you need to "slice" your hardware, e.g. : to avoid contamination of the base system, to be able to run several environments in a single machine, for prototyping, etc. the concept of a container such as FreeBSD Jails is more than enough, IMO. When you add things like EzJail on top, why would you need more than that? HTF did we get such aberrations as Docker on an already virtualized environment such as AWS??? I mean WTF is that? really? Why pile up all those layers of shit to get what you could get with a real hardware with FreeBSD and EzJail ? I write these reflections at a time when all these security breaches such as Yahoo's 3 billion account breach and Equifax 145 million and much more serious breach are happening and the situation will only get worse because of all the piles, over piles and piles of shit the most companies run on. So how did we get here? Why does industry insist on complicating stuff instead of a complete back to basics approach? Why is the answer to these problems is more and more outsourcing and throwing even more piles of crap and wasting money in the hopes that will fix the fundamentally broken systems we have in place? What we need is a radical back to basics approach to software engineering. Well at least not ALL industry. I think Apple made the right choice when they decided to embrace NeXT (which is heavily based and inspired on FreeBSD) and Objective-C from the start, creating highly-tuned systems that are not only NOT portable in software terms but not even portable in hardware terms! The choice of tight integration between hardware, O/S and application software is the way of the future, which is actually the way of the past, invented by Unix and the original hackers since the dawn of computing. Everything else, is just "shit". Borrowing the late Jobs' favourite word to describe just that: shit. Pardon the rant and have a wonderful day. --=20 Alex _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " =20 From owner-freebsd-questions@freebsd.org Wed Oct 4 20:25:13 2017 Return-Path: Delivered-To: freebsd-questions@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 EF6D1E41A8B for ; Wed, 4 Oct 2017 20:25:13 +0000 (UTC) (envelope-from prvs=14435cfc2e=vogelke@pobox.com) Received: from SCOTT-MAIL8.AFNOC.AF.MIL (scott-mail8.afnoc.af.mil [131.9.253.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "SCOTT-MAIL8.AFNOC.AF.MIL", Issuer "SCOTT-MAIL8.AFNOC.AF.MIL" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 827FD700B2 for ; Wed, 4 Oct 2017 20:25:12 +0000 (UTC) (envelope-from prvs=14435cfc2e=vogelke@pobox.com) Received: from us.af.mil (unknown [131.9.254.140]) by SCOTT-MAIL8.AFNOC.AF.MIL with smtp (TLS: TLSv1/SSLv3,256bits,DHE-RSA-AES256-SHA) id 53ff_02a0_d3e62c82_1ec5_48a2_b6ca_1d85d2bb1cce; Wed, 04 Oct 2017 20:24:56 +0000 Received: from ([131.9.40.227]) by 52vejx-mr-006.us.af.mil with SMTP id 2X21FN1.318304283; Wed, 04 Oct 2017 15:24:51 -0500 Received: (qmail 10333 invoked by uid 100); 4 Oct 2017 20:24:50 -0000 From: "Karl Vogel" Date: Wed, 4 Oct 2017 16:24:50 -0400 To: freebsd-questions@freebsd.org Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-ID: <20171004202450.GA8318@bsd118.wpafb.af.mil> Reply-To: vogelke+unix@pobox.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 20:25:14 -0000 On Wed, Oct 04, 2017 at 10:10:04AM -0400, Alejandro Imass wrote: > What you really want IMHO is a fined-tuned architecture that not only > plays well with the underlying O/S but that actually leverages the O/S, > which makes it NOT portable by definition. Why do we want portability > in the first place? Does portability foster competition and innovation > or just makes everybody mediocre at best? Does it increase security > or performance? NO, it's actually the total opposite! I ran a Samba server for a USgov shop -- it was a Dell GX260 with three 250-Gb drives running FreeBSD with some tuning. The drives were enterprise-quality, and the machine was on a good UPS in a locked, climate-controlled room. It ran for over 7 years, at times handling 250-300 Samba sessions. My customers loved it. It's been decommissioned, since FreeBSD isn't on the approved list of operating systems which someone brought down from the mountain on stone tablets and then copied to Excel. Unfortunately, our government IT has degenerated into a glorified revenue stream for MS and Oracle. > Code reusability is mostly bullshit too, and what you wind up with, > AGAIN, is piles over piles of crap, wheel re-invention and duplication > of efforts. You also wind up with busywork jobs for people who know just enough tech BS to fool a C-level into hiring them. > Why did virtualization and outsourcing (AWS) seem to win over concepts > such a chroot and FreeBSD Jails and a good old sysadmin? Why do we really > need full virtualization in the first place? Does it help in performance > or security? Does it reduce costs? On the contrary it does neither, > at least IMHO. I remember reading something by OpenBSD's Theo deRaadt about virtualization -- if all code has bugs, then why does adding several hundred thousand lines of code (in the form of a hypervisor) to any system magically make it better? It doesn't, but the system becomes easier to simply toss and restart if something goes wrong. > So how did we get here? Why does industry insist on complicating stuff > instead of a complete back to basics approach? Why is the answer to > these problems is more and more outsourcing and throwing even more piles > of crap and wasting money in the hopes that will fix the fundamentally > broken systems we have in place? What we need is a radical back to > basics approach to software engineering. It's all about avoiding responsibility. Which is easier, learning enough about *your* system (the one serving *your* customers) to fix it, or saying "That darn vendor lied to me!! Let's call the lawyers!!" Look up "bureaucratization": the tendency to manage a system by adding more controls, adherence to rigid procedures, and attention to every detail for its own sake. One of the results is the deliberate inability to fix anything; any complaint you make gets routed to someone else, or you're told that there's nothing we can do, it's not our purvue, etc. That's not an accident; bureaucracies exist to perpetuate themselves. It's just gotten to the point where the effects on the IT industry have become really noticeable. -- Karl Vogel I don't speak for the USAF or my company Being against high speed rail but being for a hyper-loop is an indication that you have a technology boner that is lasting longer than 4 hours and you should see a doctor. --seen on Hacker News From owner-freebsd-questions@freebsd.org Thu Oct 5 02:09:15 2017 Return-Path: Delivered-To: freebsd-questions@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 76799E282FC for ; Thu, 5 Oct 2017 02:09:15 +0000 (UTC) (envelope-from markham@ssimicro.com) Received: from barracuda.ssimicro.com (barracuda.ssimicro.com [96.46.39.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4134E7F553 for ; Thu, 5 Oct 2017 02:09:14 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507169345-08e7172d0c8d9cb0001-jLrpzn Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id BrtlhOFzM8B724DG (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 04 Oct 2017 22:09:06 -0400 (EDT) X-Barracuda-Envelope-From: markham@ssimicro.com X-Barracuda-Effective-Source-IP: mail.ssimicro.com[64.247.129.10] X-Barracuda-Apparent-Source-IP: 64.247.129.10 Received: from Markhams-MBP.lan (64-247-138-144.ssimicro.com [64.247.138.144]) (authenticated bits=0) by mail.ssimicro.com (8.15.2/8.15.2) with ESMTPSA id v95294so008772 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 4 Oct 2017 20:09:05 -0600 (MDT) (envelope-from markham@ssimicro.com) X-Authentication-Warning: mail.ssimicro.com: Host 64-247-138-144.ssimicro.com [64.247.138.144] claimed to be Markhams-MBP.lan Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... To: FreeBSD Questions X-ASG-Orig-Subj: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... References: From: markham breitbach Message-ID: <9fcd3df3-6479-0e0b-5c24-65fdc2495c18@ssimicro.com> Date: Wed, 4 Oct 2017 20:09:05 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507169346 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://barracuda.ssimicro.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 6308 X-Virus-Scanned: by bsmtpd at ssimicro.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43616 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 02:09:15 -0000 Funny that this came up on the list the same day that I came across this article as well. https://hackaday.com/2017/10/02/books-you-should-read-feynmans-appendix-to-the-challenger-disaster-report/ There's definitely a parallel, and some good lessons there. -M On 2017-10-04 8:10 AM, Alejandro Imass wrote: > ... or did they? > > Hi all, > > You may be asking why would I post such a question (mostly rant) here. > The reason is because I was curious at the reaction to this thread: > https://docs.freebsd.org/cgi/getmsg.cgi?fetch=117621+0+archive/2017/freebsd-questions/20170820.freebsd-questions > > It seems that people who use and support FreeBSD have a similar > mindset in that we think that the Unix model is mostly good, and are > many time baffled with the direction the "industry" takes, for the > most part. So what better outlet to post this rant ;-) So pls. take > this thread just a food for thought: > > On operating systems and languages > --------------------------------------------------- > > Why did C++ and Java seem win over C and shared object libraries? > > In the Unix model the general philosophy is precisely that is made up > of tiny little things that do one thing really, really well and are > able to operate with other tiny things by means of a common protocol > such as pipes etc. > > What more encapsulation than shared objects, header files, and C > structs? if you want higher level there is for example, Perl with an > elegant XS interface to C which can in turn leverage all the > underlying O/S. Not only that, Perl (amongst other great "scripting" > langs) is multi-paradigm allowing you write software to tackle > problems in different ways, which are much more clearer than trying to > stick a square peg in a round hole approach of single paradigm > languages such as Java. > > And only after 30 years or so, do you start seeing some functional > paradigms come to Java and new languages over the JVM such as Scala. > When in fact these things have been with us for ages since Scheme, > Perl, etc. ? and these integrate beautifully with the underlying O/S. > Why dis the industry degrade the languages as "scripting languages" > when in fact this is precisely what you want: simplicity, elegance and > tight integration to the O/S! > > So why did the Java Virtual Machine concept win, instead of leveraging > the underlying O/S ? Was portability the only mermaid song ? or was it > the promise of a language to protect us from the mediocre programmer ? > What is the point of portability if it doesn't really leverage the > underlying O/S? I personally think portability is not only a myth > (i.e. Java is not really portable as people may think) and it's > actually pretty stupid and it's actually what you DON'T want. > > What you really want IMHO is a fined-tuned architecture that not only > plays well with the underlying O/S but that actually leverages the > O/S, which makes it NOT portable by definition. Why do we want > portability in the first place? Does portability foster competition > and innovation or just makes everybody mediocre at best? Does it > increase security or performance? NO, it's actually the total > opposite! > > Code reusability is mostly bullshit too, and what you wind up with, > AGAIN, is piles over piles of crap, wheel re-invention and duplication > of efforts. A quick look to the Java ecosystem is enough to show this > is fundamentally flawed. Even the simplest Java application winds up > bloated with megabytes (sometimes gigabytes) of crap in there that is > not doing anything but hampering performance and opening up all sorts > of security holes. The same goes for the Windows world and C++ where > it gets even worse as every application you install is able to > overwrite critical system libraries. > > On Virtualization and Outsourcing > ---------------------------------------------------------- > > Why did virtualization and outsourcing (AWS) seem to win over concepts > such a chroot and FreeBSD Jails and a good old sysadmin? Why do we > really need full virtualization in the first place? Does it help in > performance or security? Does it reduce costs? On the contrary it does > neither, at least IMHO. > > If you need to "slice" your hardware, e.g. : to avoid contamination of > the base system, to be able to run several environments in a single > machine, for prototyping, etc. the concept of a container such as > FreeBSD Jails is more than enough, IMO. When you add things like > EzJail on top, why would you need more than that? > > HTF did we get such aberrations as Docker on an already virtualized > environment such as AWS??? I mean WTF is that? really? Why pile up all > those layers of shit to get what you could get with a real hardware > with FreeBSD and EzJail ? > > I write these reflections at a time when all these security breaches > such as Yahoo's 3 billion account breach and Equifax 145 million and > much more serious breach are happening and the situation will only get > worse because of all the piles, over piles and piles of shit the most > companies run on. > > So how did we get here? Why does industry insist on complicating stuff > instead of a complete back to basics approach? Why is the answer to > these problems is more and more outsourcing and throwing even more > piles of crap and wasting money in the hopes that will fix the > fundamentally broken systems we have in place? What we need is a > radical back to basics approach to software engineering. > > Well at least not ALL industry. I think Apple made the right choice > when they decided to embrace NeXT (which is heavily based and inspired > on FreeBSD) and Objective-C from the start, creating highly-tuned > systems that are not only NOT portable in software terms but not even > portable in hardware terms! The choice of tight integration between > hardware, O/S and application software is the way of the future, which > is actually the way of the past, invented by Unix and the original > hackers since the dawn of computing. Everything else, is just "shit". > Borrowing the late Jobs' favourite word to describe just that: shit. > > Pardon the rant and have a wonderful day. From owner-freebsd-questions@freebsd.org Thu Oct 5 04:29:31 2017 Return-Path: Delivered-To: freebsd-questions@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 26EAFE2C041 for ; Thu, 5 Oct 2017 04:29:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A44B982F84 for ; Thu, 5 Oct 2017 04:29:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Thu, 05 Oct 2017 06:29:22 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2DE8A3CBF9; Thu, 5 Oct 2017 06:29:20 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v954TJLl003979; Thu, 5 Oct 2017 06:29:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 5 Oct 2017 06:29:19 +0200 From: Polytropon To: Alejandro Imass Cc: FreeBSD Questions Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-Id: <20171005062919.88a3db9c.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with A34A3683430 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.2028 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 04:29:31 -0000 Allow me a few comments. It will be mostly statements from my very limited individual point of view and experience. On Wed, 4 Oct 2017 10:10:04 -0400, Alejandro Imass wrote: > Why did C++ and Java seem win over C and shared object libraries? Java is the new COBOL, 'nuff said. No, actually not. Mastering C requires a proper understanding of how things work at a quite low level, and it also requires the ability to search for (and find!) modular components to incorporate into own projects (because not everyone wants to write a XML or CSV parser in C on his own). Those skills aren't taught at university or in vocational schools anymore, so C became a "magic language" which only old people and "nerds" can use today. So a self-amplifying mechanism has been built: Projects require the use of Java, and because they do, nobody learns C. And as there is nobody who can write C, those responsible for projects suggest Java. Nobody ever got fired for suggesting Java. > In the Unix model the general philosophy is precisely that is made up > of tiny little things that do one thing really, really well and are > able to operate with other tiny things by means of a common protocol > such as pipes etc. On the other hand, there is no problem creating LOB software entirely in C. Sure, this is hard, _really_ hard, but possible > What more encapsulation than shared objects, header files, and C > structs? if you want higher level there is for example, Perl with an > elegant XS interface to C which can in turn leverage all the > underlying O/S. Not only that, Perl (amongst other great "scripting" > langs) is multi-paradigm allowing you write software to tackle > problems in different ways, which are much more clearer than trying to > stick a square peg in a round hole approach of single paradigm > languages such as Java. When running on a Unix system, programs can also use omnipresent external tools, for example a "report generator" dynamically created as an awk script. Java may be a multi-OS choice ("write once, run everywhere"), but the systems it's actually being run on maybe do not have such tools... > And only after 30 years or so, do you start seeing some functional > paradigms come to Java and new languages over the JVM such as Scala. > When in fact these things have been with us for ages since Scheme, > Perl, etc. ? and these integrate beautifully with the underlying O/S. In marketing, it's important to tell people things are new, even though they aren't. ;-) > Why dis the industry degrade the languages as "scripting languages" > when in fact this is precisely what you want: simplicity, elegance and > tight integration to the O/S! Because they are only seen as "programming glue" and highly discouraged in the world of monolithic "one thing does all" applications. > So why did the Java Virtual Machine concept win, instead of leveraging > the underlying O/S ? Was portability the only mermaid song ? This often-mentioned portability is mostly nonsense. As soon as you use some OS-specific hooks in your Java program - and you _do_ -, portability is gone. "This CRUD CRM only works with this one database subsystem which only runs on 'Windows'." > or was it > the promise of a language to protect us from the mediocre programmer ? No. As you can write bad programs in any programming language, some languages encourage writing shit more than others. Just have a look at "The Daily WTF" and their CSOD (code snippet of the day) articles. Guess what languages you'll find? Mostly Java and C#, the "business languages" of today. > What is the point of portability if it doesn't really leverage the > underlying O/S? I personally think portability is not only a myth > (i.e. Java is not really portable as people may think) and it's > actually pretty stupid and it's actually what you DON'T want. Users don't want to run their software on a changing OS, they want a "solution", i. e., a monolithic thing where they have someone to blame and to sue if things break. Improving things means change, and nobody wants to change. > What you really want IMHO is a fined-tuned architecture that not only > plays well with the underlying O/S but that actually leverages the > O/S, which makes it NOT portable by definition. Why do we want > portability in the first place? Does portability foster competition > and innovation or just makes everybody mediocre at best? Does it > increase security or performance? NO, it's actually the total > opposite! You easily see the borders of portability even for applications written for "Windows" exclusively: Do the update, break the program. I sadly have to deal with such crap on a weekly basis... :-/ Sometimes you'd say certain platforms (hardware and OS) are better suited for specific jobs. This is the reason why still so much computing is done on mainframes, or why hardware control is done on things that are not regular PCs. Those platforms are different for a reason, but choosing the right platform can be hard when "qualified consultants" (quotes deserved) suggest you do it on a "Windows" PC. > Code reusability is mostly bullshit too, and what you wind up with, > AGAIN, is piles over piles of crap, wheel re-invention and duplication > of efforts. Definitely true. And add interoperability. You have a program that needs data A and does X, Y, and Z. And you also need to do V and W, but that's done with another program, where you also have to enter data A. You cannot transfer the data once acquired. No interface, no standard exchange format. > A quick look to the Java ecosystem is enough to show this > is fundamentally flawed. Even the simplest Java application winds up > bloated with megabytes (sometimes gigabytes) of crap in there that is > not doing anything but hampering performance and opening up all sorts > of security holes. This can be easily compensated with hardware resources. :-) > The same goes for the Windows world and C++ where > it gets even worse as every application you install is able to > overwrite critical system libraries. Again, this is fully intended and a "feature". A "security feature", if I remember correctly. :-) > Why did virtualization and outsourcing (AWS) seem to win over concepts > such a chroot and FreeBSD Jails and a good old sysadmin? You just said it: "old". Administration of a Unix system requires skills. Those are probably too expensive when you can easily take any person who is "in IT" (read: sits at a desk with a PC on it), and advertising tells you that it's so easy, no knowledge needed, does everything on its own, just click on the funny pictures and make money. > Why do we > really need full virtualization in the first place? Does it help in > performance or security? Does it reduce costs? On the contrary it does > neither, at least IMHO. An interesting approach is to run programs under a specific user. That "chroots" the process to the respective $HOME, still being able to benefit from the OS infrastructures and services. > HTF did we get such aberrations as Docker on an already virtualized > environment such as AWS??? I mean WTF is that? really? Why pile up all > those layers of shit to get what you could get with a real hardware > with FreeBSD and EzJail ? With solutions like Docker and immutable images, you are basically back to the past: Software loaded from ROM modules, immune to change, and everything is present in one big block: the OS, the libraries, the application program. > I write these reflections at a time when all these security breaches > such as Yahoo's 3 billion account breach and Equifax 145 million and > much more serious breach are happening and the situation will only get > worse because of all the piles, over piles and piles of shit the most > companies run on. Nobody cares. The end user pays the bills anyway. > So how did we get here? Why does industry insist on complicating stuff > instead of a complete back to basics approach? Because there are parasites that benefit from the status quo. Those are companies that offer "solutions" which only work with heavy vendor lock-in - or the customer could move to a more efficient solution that costs less. In order to avoid this, extensive marketing and PR is being performed to convince the decision-makers. Always keep in mind that those who make the decisions about what software to use aren't the ones who are forced to use that software (and deal with crashes, missing features, multiple work, etc.). Add long-running contracts with penalty fees, and everyone is happy. As I said, the end user pays. > Why is the answer to > these problems is more and more outsourcing and throwing even more > piles of crap and wasting money in the hopes that will fix the > fundamentally broken systems we have in place? What we need is a > radical back to basics approach to software engineering. This is due to the belief that you don't need to build something, instead just take what's already there (because it's being promised to be "the solution"). So no more thinking is needed. Every layer of abstraction, be it 3rd party OCO libraries, Internet-based services using an API, or simply handing off the work to a cheap shop (the cheapest one is just good enough) adds more crap. But as I mentioned, this can be compensated by machine power. :-) > Well at least not ALL industry. I think Apple made the right choice > when they decided to embrace NeXT (which is heavily based and inspired > on FreeBSD) and Objective-C from the start, creating highly-tuned > systems that are not only NOT portable in software terms but not even > portable in hardware terms! With this approach, Apple wanted to be able to offer a hardware and software combination (!) that they verified to work. Control over hardware makes software creation much easier, as you know your "moving parts" and don't have to introduce guesswork and abstractions for hardware. Apple's primary goal is not to sell an OS or a computer - they want to sell an "experience" where many things add up to the product. > Pardon the rant and have a wonderful day. I'd like to expand on one thing I briefly mentioned, because I think it could be important for the process: With articles like "Why can't programmers... program?" that question fundamental knowledge that "we" (skilled and experienced "old people") take for granted, the question comes up: Why are there no programmers who want to do good work? The reason is simple: Good work doesn't pay. This is for two reasons: Reason 1 is related to taxes. If you want to employ a really good programmer, this will cost you money. You don't get it for minimum wage. But personnel costs are bad on your balance sheet, as you cannot deduct those costs. So what do you do? Turn personnel costs into material costs, i. e., get consultants and external services who finally write you an invoice which can be deducted. Sure, they are often more expensive (!) than your own programmer, but hey, everyone does it that way! And now that the contract has been signed, there is no way back. Three rules justify all those actions: (1st) "We've always done it that way." (2nd) "We've never done it that way." (3rd) "Then anybody could do it." (The previous paragraph applies extremely in Germany.) Reason 2 is education. As I said, it requires a structured mind and a passionate heart to learn and use (!) languages like C or systems like Unix. From the beginning, you're not "business-y", because that would be "Windows" and Java and C#. Copypasting from the Internet without understanding what you're doing and still getting something that "somehow works, sometimes" seems to be sufficient to get a job today. Even when graduates fail in a simple FizzBuzz interview, hey, they are fresh out of university, so they must be good, right? A degree and lots of certificates open many doors, skills do not. You'd be surprised how many programmers you could find in the "jobless" section, but they'll probably never get a job again even though they educate themselves. This is because they often don't have access to an important resource: money. Let me explain: In order to get "monkey see, monkey do" jobs in IT where you don't need a fully functioning brain because you just press buttons when the bell rings, you need to be certified. This costs lots of money. But because it is being paid for, the result is easy to predict: No knowledge needed, just be visible when the courses are being held; pay your money, get your shiny sheet of paper. In many cases, employers send their underlings to such certification courses just to make the customers pay more ("But our consultants are certified!"). Only with money, you get access to this world. If novice programmers aren't lucky, they'll always stay on minimum wage, even though their skills and experience are better than those of the HPCs who tell them what to do. I've seen more than enough of those "qualified consultants" who make boatloads of money, but are stupid as hell. They are, in fact, excellent actors and influencers... Reason 3 - three! three reasons! - is social appeal. Just imagine you're actually understanding your work, and you do it better than others, then you're not a "team player", because you "make the other branch offices look bad and lazy". That's why it is not encouraged to improve things. Example from reality: I once worked for a shop where one person got a high wage for creating timesheet templates. Manually. She basically entered years, months, days and hours manually into a PC as if it was a typewriter. With additional microformatting. Every day. Every month. For years. When one of her coworkers suggested to automate the task basically by piping the output of "ncal" into a little awk script (he was a Linux person), he got yelled at for being "hostile to coworkers" and "threatening the staff". That's what you get when you use your brain. PC on, brain off. Sorry for the rant. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 5 04:51:59 2017 Return-Path: Delivered-To: freebsd-questions@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 77370E2C7AE for ; Thu, 5 Oct 2017 04:51:59 +0000 (UTC) (envelope-from 42linoge@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::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 DB9AD838C3 for ; Thu, 5 Oct 2017 04:51:58 +0000 (UTC) (envelope-from 42linoge@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id i124so26755793wmf.3 for ; Wed, 04 Oct 2017 21:51:58 -0700 (PDT) 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=PO4VMddOmnpy3/dUHCs9fX9uwEw5vIBes/FLkwiIiv8=; b=NArON6n25qGoyVJRxUR7rpL4WiAGU0fhjevbuf82ThMUVb+dy7FuMzyAsn+mJIoAv3 ocueXF8TsAz5rqEnY6xlXt/Wrh/Xaz6WveFvKGHFFPhgvSQGr/gDU+jsKdFHKWqSCx+b v5Af8azyz8lLprRYMMC+nGZc9I/TGC+Nud2KUUSlsfVaWLhcooASKr9VEKbyQ1g6s3hB 2kL7z+rc7IZh/qdtz2wBbhodq5je4g32F/j8x4aXPRER9gHXpkbsIU7YWrRJZ0gn5HvN DoEVVkuqhGnwPeMu042ywSpkezcE340jwdUYfz5vUKvE0KOHx42n5IRYPCep4PtzZ99x EvTg== 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=PO4VMddOmnpy3/dUHCs9fX9uwEw5vIBes/FLkwiIiv8=; b=PVRRRKnGWK2p0hYNXgxG9gvVvrmj4IPNy19gAE8ZU3IHmQcJXbTd90fQHAF9tpJOTX sln0C/PqUCzwupvBy070qMBDVUVhgllnaG9oBhKMUjfFNYtxFE/rNEmeVRMoTpRY1JtV 3E0VfIo8SzFNO63yVc6TjxHAU5YqkEB8KLRzR8K6XAKbWRVvLR9SUgEfLcOsFsESayKe wgR4WUfCzOLwZVnUPxt7J7ghds67xutb4p+1wlUUntVPoskMU/zSl8xxTPzMXFd60dIl mYB5EHElMyvsfrTfgTLglQGAHelyQoJb4sYxGSR91+Ma37aAb3QJOCJVlAsqTz1wkRJy ZmNg== X-Gm-Message-State: AMCzsaU+MDRWoYoSXkzLQnMpt/e3dnXQRyx9hc5qXdOOSAgNxtRcZj8y ccs+NMf7USR5dPDRAHhYtZPjjue2SZpjpQk9v60= X-Google-Smtp-Source: AOwi7QDsKsReiVq5KWRsnZ3xJQRt97w3kpJq0hiZ2iZcBQS9qS9JCP/scHHjlOFYoqqN4Rp/X0J/fR+8I0j+9kxnuiI= X-Received: by 10.80.153.59 with SMTP id k56mr2438403edb.208.1507179116265; Wed, 04 Oct 2017 21:51:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.134.41 with HTTP; Wed, 4 Oct 2017 21:51:55 -0700 (PDT) In-Reply-To: <20171005062919.88a3db9c.freebsd@edvax.de> References: <20171005062919.88a3db9c.freebsd@edvax.de> From: Carlos Gottberg <42linoge@gmail.com> Date: Thu, 5 Oct 2017 01:51:55 -0300 Message-ID: Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... To: Polytropon Cc: Alejandro Imass , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 04:51:59 -0000 Guys I honestly love you. I've been thinking about the same for ages and sometimes I wondered if I wasn't crazy. It all seems so over-everything. You really nailed it when you said docker on AWS. It's absurd. Today I had to do plenty of stuff dealing with virtuali- zation and I really couldn't stop thinking that jails would've done a better job but - as you might guess - management does not like to hear that kind of stuff. Anyways, thanks for making my day. I sincerely hope you're all doing great and that some day we can retake what's rightfully ours. On Thu, Oct 5, 2017 at 1:29 AM, Polytropon wrote: > Allow me a few comments. It will be mostly statements from my > very limited individual point of view and experience. > > > On Wed, 4 Oct 2017 10:10:04 -0400, Alejandro Imass wrote: > > Why did C++ and Java seem win over C and shared object libraries? > > Java is the new COBOL, 'nuff said. > > No, actually not. > > Mastering C requires a proper understanding of how things work > at a quite low level, and it also requires the ability to > search for (and find!) modular components to incorporate into > own projects (because not everyone wants to write a XML or > CSV parser in C on his own). Those skills aren't taught at > university or in vocational schools anymore, so C became a > "magic language" which only old people and "nerds" can use > today. > > So a self-amplifying mechanism has been built: Projects require > the use of Java, and because they do, nobody learns C. And > as there is nobody who can write C, those responsible for > projects suggest Java. > > Nobody ever got fired for suggesting Java. > > > > > In the Unix model the general philosophy is precisely that is made up > > of tiny little things that do one thing really, really well and are > > able to operate with other tiny things by means of a common protocol > > such as pipes etc. > > On the other hand, there is no problem creating LOB software > entirely in C. Sure, this is hard, _really_ hard, but possible > > > > > What more encapsulation than shared objects, header files, and C > > structs? if you want higher level there is for example, Perl with an > > elegant XS interface to C which can in turn leverage all the > > underlying O/S. Not only that, Perl (amongst other great "scripting" > > langs) is multi-paradigm allowing you write software to tackle > > problems in different ways, which are much more clearer than trying to > > stick a square peg in a round hole approach of single paradigm > > languages such as Java. > > When running on a Unix system, programs can also use omnipresent > external tools, for example a "report generator" dynamically > created as an awk script. Java may be a multi-OS choice ("write > once, run everywhere"), but the systems it's actually being run > on maybe do not have such tools... > > > > > And only after 30 years or so, do you start seeing some functional > > paradigms come to Java and new languages over the JVM such as Scala. > > When in fact these things have been with us for ages since Scheme, > > Perl, etc. ? and these integrate beautifully with the underlying O/S. > > In marketing, it's important to tell people things are new, even > though they aren't. ;-) > > > > > Why dis the industry degrade the languages as "scripting languages" > > when in fact this is precisely what you want: simplicity, elegance and > > tight integration to the O/S! > > Because they are only seen as "programming glue" and highly > discouraged in the world of monolithic "one thing does all" > applications. > > > > > So why did the Java Virtual Machine concept win, instead of leveraging > > the underlying O/S ? Was portability the only mermaid song ? > > This often-mentioned portability is mostly nonsense. As soon > as you use some OS-specific hooks in your Java program - and > you _do_ -, portability is gone. "This CRUD CRM only works > with this one database subsystem which only runs on 'Windows'." > > > > > or was it > > the promise of a language to protect us from the mediocre programmer ? > > No. As you can write bad programs in any programming language, > some languages encourage writing shit more than others. Just > have a look at "The Daily WTF" and their CSOD (code snippet of > the day) articles. Guess what languages you'll find? Mostly > Java and C#, the "business languages" of today. > > > > > What is the point of portability if it doesn't really leverage the > > underlying O/S? I personally think portability is not only a myth > > (i.e. Java is not really portable as people may think) and it's > > actually pretty stupid and it's actually what you DON'T want. > > Users don't want to run their software on a changing OS, they > want a "solution", i. e., a monolithic thing where they have > someone to blame and to sue if things break. > > Improving things means change, and nobody wants to change. > > > > > What you really want IMHO is a fined-tuned architecture that not only > > plays well with the underlying O/S but that actually leverages the > > O/S, which makes it NOT portable by definition. Why do we want > > portability in the first place? Does portability foster competition > > and innovation or just makes everybody mediocre at best? Does it > > increase security or performance? NO, it's actually the total > > opposite! > > You easily see the borders of portability even for applications > written for "Windows" exclusively: Do the update, break the program. > I sadly have to deal with such crap on a weekly basis... :-/ > > Sometimes you'd say certain platforms (hardware and OS) are > better suited for specific jobs. This is the reason why still > so much computing is done on mainframes, or why hardware control > is done on things that are not regular PCs. Those platforms are > different for a reason, but choosing the right platform can be > hard when "qualified consultants" (quotes deserved) suggest you > do it on a "Windows" PC. > > > > > Code reusability is mostly bullshit too, and what you wind up with, > > AGAIN, is piles over piles of crap, wheel re-invention and duplication > > of efforts. > > Definitely true. > > And add interoperability. You have a program that needs data A > and does X, Y, and Z. And you also need to do V and W, but that's > done with another program, where you also have to enter data A. > You cannot transfer the data once acquired. No interface, no > standard exchange format. > > > > > A quick look to the Java ecosystem is enough to show this > > is fundamentally flawed. Even the simplest Java application winds up > > bloated with megabytes (sometimes gigabytes) of crap in there that is > > not doing anything but hampering performance and opening up all sorts > > of security holes. > > This can be easily compensated with hardware resources. :-) > > > > > The same goes for the Windows world and C++ where > > it gets even worse as every application you install is able to > > overwrite critical system libraries. > > Again, this is fully intended and a "feature". A "security feature", > if I remember correctly. :-) > > > > > Why did virtualization and outsourcing (AWS) seem to win over concepts > > such a chroot and FreeBSD Jails and a good old sysadmin? > > You just said it: "old". Administration of a Unix system requires > skills. Those are probably too expensive when you can easily take > any person who is "in IT" (read: sits at a desk with a PC on it), > and advertising tells you that it's so easy, no knowledge needed, > does everything on its own, just click on the funny pictures and > make money. > > > > > Why do we > > really need full virtualization in the first place? Does it help in > > performance or security? Does it reduce costs? On the contrary it does > > neither, at least IMHO. > > An interesting approach is to run programs under a specific user. > That "chroots" the process to the respective $HOME, still being > able to benefit from the OS infrastructures and services. > > > > > HTF did we get such aberrations as Docker on an already virtualized > > environment such as AWS??? I mean WTF is that? really? Why pile up all > > those layers of shit to get what you could get with a real hardware > > with FreeBSD and EzJail ? > > With solutions like Docker and immutable images, you are basically > back to the past: Software loaded from ROM modules, immune to change, > and everything is present in one big block: the OS, the libraries, > the application program. > > > > > I write these reflections at a time when all these security breaches > > such as Yahoo's 3 billion account breach and Equifax 145 million and > > much more serious breach are happening and the situation will only get > > worse because of all the piles, over piles and piles of shit the most > > companies run on. > > Nobody cares. The end user pays the bills anyway. > > > > > So how did we get here? Why does industry insist on complicating stuff > > instead of a complete back to basics approach? > > Because there are parasites that benefit from the status quo. Those > are companies that offer "solutions" which only work with heavy > vendor lock-in - or the customer could move to a more efficient > solution that costs less. In order to avoid this, extensive > marketing and PR is being performed to convince the decision-makers. > Always keep in mind that those who make the decisions about what > software to use aren't the ones who are forced to use that software > (and deal with crashes, missing features, multiple work, etc.). > Add long-running contracts with penalty fees, and everyone is > happy. As I said, the end user pays. > > > > > Why is the answer to > > these problems is more and more outsourcing and throwing even more > > piles of crap and wasting money in the hopes that will fix the > > fundamentally broken systems we have in place? What we need is a > > radical back to basics approach to software engineering. > > This is due to the belief that you don't need to build something, > instead just take what's already there (because it's being promised > to be "the solution"). So no more thinking is needed. Every layer > of abstraction, be it 3rd party OCO libraries, Internet-based > services using an API, or simply handing off the work to a cheap > shop (the cheapest one is just good enough) adds more crap. But > as I mentioned, this can be compensated by machine power. :-) > > > > > Well at least not ALL industry. I think Apple made the right choice > > when they decided to embrace NeXT (which is heavily based and inspired > > on FreeBSD) and Objective-C from the start, creating highly-tuned > > systems that are not only NOT portable in software terms but not even > > portable in hardware terms! > > With this approach, Apple wanted to be able to offer a hardware and > software combination (!) that they verified to work. Control over > hardware makes software creation much easier, as you know your > "moving parts" and don't have to introduce guesswork and abstractions > for hardware. Apple's primary goal is not to sell an OS or a > computer - they want to sell an "experience" where many things > add up to the product. > > > > > Pardon the rant and have a wonderful day. > > I'd like to expand on one thing I briefly mentioned, because I > think it could be important for the process: > > With articles like "Why can't programmers... program?" that > question fundamental knowledge that "we" (skilled and experienced > "old people") take for granted, the question comes up: Why are > there no programmers who want to do good work? > > The reason is simple: Good work doesn't pay. > > This is for two reasons: > > Reason 1 is related to taxes. If you want to employ a really good > programmer, this will cost you money. You don't get it for minimum > wage. But personnel costs are bad on your balance sheet, as you > cannot deduct those costs. So what do you do? Turn personnel > costs into material costs, i. e., get consultants and external > services who finally write you an invoice which can be deducted. > Sure, they are often more expensive (!) than your own programmer, > but hey, everyone does it that way! And now that the contract has > been signed, there is no way back. Three rules justify all those > actions: (1st) "We've always done it that way." (2nd) "We've > never done it that way." (3rd) "Then anybody could do it." > > (The previous paragraph applies extremely in Germany.) > > Reason 2 is education. As I said, it requires a structured mind > and a passionate heart to learn and use (!) languages like C or > systems like Unix. From the beginning, you're not "business-y", > because that would be "Windows" and Java and C#. Copypasting from > the Internet without understanding what you're doing and still > getting something that "somehow works, sometimes" seems to be > sufficient to get a job today. Even when graduates fail in a > simple FizzBuzz interview, hey, they are fresh out of university, > so they must be good, right? A degree and lots of certificates > open many doors, skills do not. > > You'd be surprised how many programmers you could find in the > "jobless" section, but they'll probably never get a job again > even though they educate themselves. This is because they often > don't have access to an important resource: money. > > Let me explain: In order to get "monkey see, monkey do" jobs in > IT where you don't need a fully functioning brain because you > just press buttons when the bell rings, you need to be certified. > This costs lots of money. But because it is being paid for, the > result is easy to predict: No knowledge needed, just be visible > when the courses are being held; pay your money, get your shiny > sheet of paper. In many cases, employers send their underlings > to such certification courses just to make the customers pay > more ("But our consultants are certified!"). Only with money, > you get access to this world. If novice programmers aren't > lucky, they'll always stay on minimum wage, even though their > skills and experience are better than those of the HPCs who > tell them what to do. > > I've seen more than enough of those "qualified consultants" > who make boatloads of money, but are stupid as hell. They > are, in fact, excellent actors and influencers... > > Reason 3 - three! three reasons! - is social appeal. Just imagine > you're actually understanding your work, and you do it better > than others, then you're not a "team player", because you "make > the other branch offices look bad and lazy". That's why it is > not encouraged to improve things. > > Example from reality: I once worked for a shop where one person > got a high wage for creating timesheet templates. Manually. She > basically entered years, months, days and hours manually into a > PC as if it was a typewriter. With additional microformatting. > Every day. Every month. For years. When one of her coworkers > suggested to automate the task basically by piping the output > of "ncal" into a little awk script (he was a Linux person), > he got yelled at for being "hostile to coworkers" and "threatening > the staff". That's what you get when you use your brain. > > PC on, brain off. > > > > > > > Sorry for the rant. :-) > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Oct 5 04:55:43 2017 Return-Path: Delivered-To: freebsd-questions@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 0D090E2C8E1 for ; Thu, 5 Oct 2017 04:55:43 +0000 (UTC) (envelope-from srs0=ozwq=be=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id EDE3783A2E for ; Thu, 5 Oct 2017 04:55:42 +0000 (UTC) (envelope-from srs0=ozwq=be=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3y70p04hMjz2fjvK; Wed, 4 Oct 2017 21:55:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... From: Doug Hardie In-Reply-To: <20171005062919.88a3db9c.freebsd@edvax.de> Date: Wed, 4 Oct 2017 21:55:36 -0700 Cc: Alejandro Imass , FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: <65DFB7B0-B25E-401A-B678-14B2E640598C@mail.sermon-archive.info> References: <20171005062919.88a3db9c.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 04:55:43 -0000 > On 4 October 2017, at 21:29, Polytropon wrote: >=20 >=20 > Reason 3 - three! three reasons! - is social appeal. Just imagine > you're actually understanding your work, and you do it better > than others, then you're not a "team player", because you "make > the other branch offices look bad and lazy". That's why it is > not encouraged to improve things. >=20 > Example from reality: I once worked for a shop where one person > got a high wage for creating timesheet templates. Manually. She > basically entered years, months, days and hours manually into a > PC as if it was a typewriter. With additional microformatting. > Every day. Every month. For years. When one of her coworkers > suggested to automate the task basically by piping the output > of "ncal" into a little awk script (he was a Linux person), > he got yelled at for being "hostile to coworkers" and "threatening > the staff". That's what you get when you use your brain. >=20 > PC on, brain off. I have been in the programming and system development business since the = mid 60's. The more things change, the more they stay the same. Nothing = is new other than the acronyms. These reasons also hold for senior = managers. Every senior manager who was competent was fired for showing = up the others. The more competent, the quicker they vanish. Once a = manager who was rewarded with a trip (including family) to one of the = Caribbean islands came back to go to jail for the illegal activities he = did to win that award. He also cost the company a fortune is lost = revenue. There are many other examples I have witnessed. It will never = change. -- Doug From owner-freebsd-questions@freebsd.org Thu Oct 5 07:58:54 2017 Return-Path: Delivered-To: freebsd-questions@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 4666BE2FD6C for ; Thu, 5 Oct 2017 07:58:54 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::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 0E477644A0 for ; Thu, 5 Oct 2017 07:58:54 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id 101so389758ioj.3 for ; Thu, 05 Oct 2017 00:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=jwrV/R2exHDhjEj10FjW3vcwu2YcGUgs65Ky3gw0+EQ=; b=IXrgsIbSZuEpDfLNOqceQ+cLYxK3h4sHTrJY9EwvJAEgTxt8luyLZyqRZ+2bx77/7x 62OyC7HfCrjGnUWVgRehmjY4e+9KHUSJoa1J0ZwkVmdwK5a2HbK5W1WQQCfkT8CFEYbB aRbV1JpKfh7km3u/ZqS03JA3EjKr8pnYWteYvKlvWoJJpkz9KRsAWzA9kDQLRsRMArNQ zXbnyx66lCNeox8TMtikZUnwdfz+xw9hKlTJv13gdA68nKkd+eKA5JDE79+wJ1EOqD4I +rHKrUIs/GjYFmlbT8g/iFk1m/9UoOL8Y0IV8HmCXn94xS5D96kdjVwF6sxxnC0fBvJH A4OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=jwrV/R2exHDhjEj10FjW3vcwu2YcGUgs65Ky3gw0+EQ=; b=J+/vQocwDltsvi4M7EJEKAaJWcYB/gMIhxg96IGRJildZ2KvvboDDVC3yMAwgAZCJG mjist0qN5CHCBGYjLPlpQLw8wlySISNChrMAJOd2tEArlfMinKtYQ7iHNGmVyue7ds0l i7rldwPfugobjJYrAbM4u/ZSQuj4MkMyYt06X6q5bg7jm/6upLIfP3TTmQbEu4SzccZM pk96zagNjnAvgh+1SlnUr1N6aghvLBs/vreBjdeSxmx266p93OYgage0UXIelLTFQQbf GfDDbMSIyIcoq25mFT6/O295tUBxmTQnI8We57QpA/LHQboTAL2b+zhtY1FjoS3OvLYX JJAw== X-Gm-Message-State: AMCzsaUUrMJlzxK73KZJt0So8Sf9wusPR9gECaG8+rl/yp9bZiHe12dH x8N3rWlQvbx1Ao3nKQjyIM3e26lh5/czcYo10e1VMA== X-Google-Smtp-Source: AOwi7QB3rBaWFQNCFUc8iaa1NPXI7Kv9Z9IQ2Z7fEXXA92Wo/o+ahhNskyjyfhBu119cJnM38vNyOCcz7/Ih6PMJQk8= X-Received: by 10.107.138.95 with SMTP id m92mr1506891iod.164.1507190332884; Thu, 05 Oct 2017 00:58:52 -0700 (PDT) MIME-Version: 1.0 Sender: fluca1978@gmail.com Received: by 10.79.164.93 with HTTP; Thu, 5 Oct 2017 00:58:12 -0700 (PDT) From: Luca Ferrari Date: Thu, 5 Oct 2017 09:58:12 +0200 X-Google-Sender-Auth: -kpTVPVg1370slXrzuxFKplwwhI Message-ID: Subject: portmaster and synth report different output To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 07:58:54 -0000 Hi all, first of all I'm new to synth, and trying it on a virtual machine of mine I got different output: olivia# uname -a FreeBSD olivia 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 olivia# portmaster -a ===>>> Gathering distinfo list for installed ports ===>>> Starting check of installed ports for available updates ===>>> All ports are up to date olivia# synth status Querying system about current package installations. Stand by, comparing installed packages against the ports tree. Scanning existing packages. These are the ports that would be built ([N]ew, [R]ebuild, [U]pgrade): N => net/samba46 N => ports-mgmt/dialog4ports N => ports-mgmt/portmaster N => ports-mgmt/synth N => security/nmap N => security/sudo N => shells/bash N => shells/zsh Total packages that would be built: 8 The complete build list can also be found at: /tmp/synth_status_results.txt So while portmasters is quiet and states it is all updated, synth reports I need some ports to be installed, such as samba. Please note that I logged in with zsh, done a sudo and run synth, so such packages are installed! Please also note that before running both commands I performed a dist-clean of all the ports tree (if that matters). What am I missing? Thanks, Luca From owner-freebsd-questions@freebsd.org Thu Oct 5 08:16:46 2017 Return-Path: Delivered-To: freebsd-questions@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 A011FE30644 for ; Thu, 5 Oct 2017 08:16:46 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:c:538::196]) (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 69CAA64E69 for ; Thu, 5 Oct 2017 08:16:46 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from webmail.gandi.net (webmail4-d.mgt.gandi.net [10.58.1.144]) (Authenticated sender: mayuresh@kathe.in) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id E552D172094 for ; Thu, 5 Oct 2017 10:16:43 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 05 Oct 2017 13:46:43 +0530 From: Mayuresh Kathe To: freebsd-questions@freebsd.org Subject: wifi unsupported? Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in Message-ID: X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 08:16:46 -0000 got myself a new (low-cost) 'hp' laptop, primarily because of it's small sized screen and also because of the awesome (9 hours) battery life. was running windows10, erazed it by installing ubuntu17.04 desktop edition. all was well under ubuntu, everything worked just fine, but the network (only has wifi, no wired) interfaces aren't detected under either of freebsd 11.x and 12. relevant linux dmesg below (got it by doing 'dmesg | grep wifi'); dmesg for wifi begins ---------------- -------------------------------------- [ 16.497255] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-3168-26.ucode failed with error -2 [ 16.497286] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-3168-25.ucode failed with error -2 [ 16.511332] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-3168-24.ucode failed with error -2 [ 16.511382] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-3168-23.ucode failed with error -2 [ 16.541303] iwlwifi 0000:01:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm [ 16.579626] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 3168, REV=0x220 [ 16.582170] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 16.582788] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 16.996117] iwlwifi 0000:01:00.0 wlo1: renamed from wlan0 [ 19.570370] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.571032] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.608065] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.608839] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.645722] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.646341] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.682675] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled [ 19.683719] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled -------------------------------------- dmesg for wifi ends ------------------ hope i can be helped, am eager to run freebsd instead of linux. thanks, ~mayuresh From owner-freebsd-questions@freebsd.org Thu Oct 5 08:30:21 2017 Return-Path: Delivered-To: freebsd-questions@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 28CD7E30A37 for ; Thu, 5 Oct 2017 08:30:21 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 B0A67655F5 for ; Thu, 5 Oct 2017 08:30:20 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id u138so569084wmu.5 for ; Thu, 05 Oct 2017 01:30:20 -0700 (PDT) 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=oaqax8gB7S1bg7Gu6r0rmWHyb3NGV9i77OTwkq8xw84=; b=FAnQHnJBjGlCngbpo9KZuNwUjKm49DjqAdlw4d4MPjpYNCrr/vs2fhnZdmtdJDOt9K 0dIBUZqPPHAC+JMV+W38h1PQtilv4tfMsr9wnipDXoVoCHtpchT3oeCORu9JIfG8Y5vI FD7rYM4yIF5nkuiTF9umIgVdAsvUEe641HU1qMM6lNy+w8UCc8+xy9hYqXp2LgZT44c+ 7okCqVoRhrsbbQ6YttAuz6jOu53hrxod0gFm12sv5b4cpZpT3fUJpopH1DPasLvF9FhW DMWOQy6VoEA8fPQ13GsXUVsUs5SKHOmOeSF0ypt5kusfE2OaTDITWim8IkgnpjHqiX8X THNA== 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=oaqax8gB7S1bg7Gu6r0rmWHyb3NGV9i77OTwkq8xw84=; b=GAfAr2aO/YqKwFb+jIW4jytNzU8hNce34qOGi0fkq8fDlZ5KXbbEFdCmgfybNYefGi E1y9zydAMU9GamMnFWTwEtp98OBKXjqiM3qsmODLx/Fds9nSXST/O6WX33emA0qPVXkr DUP7ubxlFaZky3cgildgDynNWHRp5wPKCjWm1zMiWVqVScJlnyad6NkxQ50c5zRvaZ0Z SnSd3rYbWtgdsErUX7NqqQwiDhZoC9+iQp+u90paepsDzmFT1lUMMQHmtHv8Pi1aOnOw tt2dsLf4wuLN8oMHDkUzkxnxosZH6B2kxcsz1m6RLV5IEo2gXW0ZkBZnhKcUa+1xoLWf TsVQ== X-Gm-Message-State: AHPjjUgJlR0pfelUWX8xRHEp1Wqu8asyJQkW/cGpauWompKRw0UjgYN2 7j8hgt+L+ZgQusHA7GRBqRf5po/tcGWyyqSmG5RBjg== X-Google-Smtp-Source: AOwi7QD5uEN6PSCyC9WIlc6ary7qBBUv9Tm9kFSrzmCssRjF3+ORTzbukAbI10Qqw8qpmS8QMpwc50epUU+iBnoIW0s= X-Received: by 10.28.131.131 with SMTP id f125mr16382069wmd.137.1507192218899; Thu, 05 Oct 2017 01:30:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.198.78 with HTTP; Thu, 5 Oct 2017 01:29:38 -0700 (PDT) In-Reply-To: References: From: "Jack L." Date: Thu, 5 Oct 2017 01:29:38 -0700 Message-ID: Subject: Re: wifi unsupported? To: mayuresh@kathe.in Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 08:30:21 -0000 Should be supported, see https://www.freebsd.org/cgi/man.cgi?query=iwm&sektion=4 On Thu, Oct 5, 2017 at 1:16 AM, Mayuresh Kathe wrote: > got myself a new (low-cost) 'hp' laptop, primarily because of it's small > sized screen and also because of the awesome (9 hours) battery life. > > was running windows10, erazed it by installing ubuntu17.04 desktop edition. > all was well under ubuntu, everything worked just fine, but the network > (only has wifi, no wired) interfaces aren't detected under either of freebsd > 11.x and 12. > > relevant linux dmesg below (got it by doing 'dmesg | grep wifi'); > > dmesg for wifi begins ---------------- > -------------------------------------- > [ 16.497255] iwlwifi 0000:01:00.0: Direct firmware load for > iwlwifi-3168-26.ucode failed with error -2 > [ 16.497286] iwlwifi 0000:01:00.0: Direct firmware load for > iwlwifi-3168-25.ucode failed with error -2 > [ 16.511332] iwlwifi 0000:01:00.0: Direct firmware load for > iwlwifi-3168-24.ucode failed with error -2 > [ 16.511382] iwlwifi 0000:01:00.0: Direct firmware load for > iwlwifi-3168-23.ucode failed with error -2 > [ 16.541303] iwlwifi 0000:01:00.0: loaded firmware version 22.361476.0 > op_mode iwlmvm > [ 16.579626] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC > 3168, REV=0x220 > [ 16.582170] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 16.582788] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 16.996117] iwlwifi 0000:01:00.0 wlo1: renamed from wlan0 > [ 19.570370] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.571032] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.608065] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.608839] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.645722] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.646341] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.682675] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > [ 19.683719] iwlwifi 0000:01:00.0: L1 Enabled - LTR Enabled > -------------------------------------- > dmesg for wifi ends ------------------ > > hope i can be helped, am eager to run freebsd instead of linux. > > thanks, > > ~mayuresh > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Oct 5 08:38:47 2017 Return-Path: Delivered-To: freebsd-questions@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 0C41CE30E41 for ; Thu, 5 Oct 2017 08:38:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 795A065B66 for ; Thu, 5 Oct 2017 08:38:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Thu, 05 Oct 2017 10:38:42 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8E23E3CBF9; Thu, 5 Oct 2017 10:38:41 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v958cft4009118; Thu, 5 Oct 2017 10:38:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 5 Oct 2017 10:38:41 +0200 From: Polytropon To: mayuresh@kathe.in Cc: freebsd-questions@freebsd.org Subject: Re: wifi unsupported? Message-Id: <20171005103841.0a0ed99f.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 3CCB6683430 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1379 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 08:38:47 -0000 On Thu, 05 Oct 2017 13:46:43 +0530, Mayuresh Kathe wrote: > got myself a new (low-cost) 'hp' laptop, primarily because of it's small > sized screen and also because of the awesome (9 hours) battery life. > > was running windows10, erazed it by installing ubuntu17.04 desktop > edition. > all was well under ubuntu, everything worked just fine, but the network > (only has wifi, no wired) interfaces aren't detected under either of > freebsd 11.x and 12. > > relevant linux dmesg below (got it by doing 'dmesg | grep wifi'); The following component is being detected by Linux: > [ 16.579626] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band > Wireless AC 3168, REV=0x220 It _could_ be supported by the "iwm" driver, at least model 3160 is definitely on the list. The iwm driver provides support for: Intel Dual Band Wireless AC 3160 <--- maybe? Intel Dual Band Wireless AC 3165 Intel Dual Band Wireless AC 7260 Intel Dual Band Wireless AC 7265 Intel Dual Band Wireless AC 8260 [...] This driver requires the firmware built with the iwmfw module to work. See "man 4 iwm" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 5 01:03:27 2017 Return-Path: Delivered-To: freebsd-questions@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 0F1B3E259D9 for ; Thu, 5 Oct 2017 01:03:27 +0000 (UTC) (envelope-from jbondc@gdesolutions.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0126.outbound.protection.outlook.com [104.47.40.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B83197CEAB for ; Thu, 5 Oct 2017 01:03:25 +0000 (UTC) (envelope-from jbondc@gdesolutions.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdesolutions.onmicrosoft.com; s=selector1-gdesolutions-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UbrWIywsLofpzX5pr4y1KB+DRay42uyhbJhyVwMXI3g=; b=bJswprFeu/DqnmMgR7E+hqJnya3qpSZ6ivNBlsa5y+i4YBVKSUOvIQFYwgTKHvxtMcdjGpPIN1BOy252TSjB71cWIFfcZyWJQzEL0TNPDY8sgvp6mxITwWvSwX9YeKVB/9OvDOefgHdVgMP3S81ZhAi/USAd3/fAPVn5u45Y9hQ= Received: from CY4PR17MB1111.namprd17.prod.outlook.com (10.173.181.149) by CY4PR17MB1112.namprd17.prod.outlook.com (10.173.182.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 5 Oct 2017 01:03:23 +0000 Received: from CY4PR17MB1111.namprd17.prod.outlook.com ([10.173.181.149]) by CY4PR17MB1111.namprd17.prod.outlook.com ([10.173.181.149]) with mapi id 15.20.0077.018; Thu, 5 Oct 2017 01:03:23 +0000 From: Jonathan Bond-Caron To: "freebsd-questions@freebsd.org" Subject: GELI disk and glabel label Thread-Topic: GELI disk and glabel label Thread-Index: AdM9dRRnyDZ9MsQsQ3+sTn56pFgJ6A== Date: Thu, 5 Oct 2017 01:03:23 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jbondc@gdesolutions.com; x-originating-ip: [96.20.150.93] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR17MB1112; 6:ZpW60bWsEsc+SLdkNP/qdT4XFTOfJPUdCVTXLO5fMKS+tGcN4roVcHRO8VTVweGj6jQ6k2IX9DSdJi5vs1SIYHvAYa/buXUm/gKWBMUhLIdqypcqN+SVR7VtEPRRdWrA6Ekn0vzp1sFI6kghmZlKee59WmyG8aNZQqLozySFQ1tDhRVVEPLkbtP1f4NmXw9hFpOel96vtFCdfZGJ6rk+0rCDAgEYF+10XXSNr0+/fc1LJ/UrOdBRaXRvENshqOUnp6vRBYS/FbAr8QZ7YsJdvmTtmiORKPkbdx/DKZKj5MKEqFwAaNwP1DrTL8y/zmQEbzgmmqmwULQHYPTT2L4yUA==; 5:8hFnykTe+5bznJXp4MmNlncHJc054J8myNJCeE0sOtPiU2AE4UskUfrZpBOunrdnMmhInLfbzbcrKTdtUe5Ucuq+hgDgVvGGg6jgubpTc5dDk7j54oGFBxZJBkPW+9N7wX4vV7b2XCpmLbjQEYuuXw==; 24:X1FnL5vfUvWe8H46mgSpz5eVCUcKvVBpZgZqBuBRPBOzKfi8tFtv5/wwRK4J0HX+rpNX7Yqslk4iRPKrZJWZAO82k9B3YoDsPRE12FJ++LY=; 7:uHaTMfjSkcqDglhfQwIKEG3aaqJSzh4gCUkN/yrZAkz1g/tf7zgI0cnIVbwhVxtoqZ9itoNIezeMkkwh6PCw8rH/h5ssNffOckaKhOWHaS9aFHFnan4e2D2TqeEBcY5XaN3htjPh0ETW6FSrYg++KpgrmJQ2GnFCUWkihg9x/xRdDsQXNWytHykrfxYAAGqtf3IStrmme5rSb5gvPV+eLACSHEsY331ciAcgMuHVOwI= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 9556f96a-19bd-44f4-8704-08d50b8ce0ab x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017082002075)(2017052603199)(201703131423075)(201702281549075); SRVR:CY4PR17MB1112; x-ms-traffictypediagnostic: CY4PR17MB1112: x-exchange-antispam-report-test: UriScan:(21748063052155); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(2016111802025)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(201703131423075)(201703061421075)(6072148)(6043046)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR17MB1112; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR17MB1112; x-forefront-prvs: 04519BA941 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(199003)(189002)(6116002)(68736007)(2501003)(5890100001)(101416001)(2900100001)(25786009)(189998001)(33656002)(5640700003)(54356999)(508600001)(86362001)(74316002)(9326002)(50986999)(102836003)(14454004)(606006)(790700001)(3660700001)(966005)(3846002)(3280700002)(6506006)(77096006)(2351001)(105586002)(6436002)(5630700001)(106356001)(236005)(55016002)(81156014)(54896002)(9686003)(8676002)(81166006)(53936002)(66066001)(5660300001)(8936002)(6916009)(7696004)(97736004)(7736002)(6306002)(2906002)(99286003)(6606295002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR17MB1112; H:CY4PR17MB1111.namprd17.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: gdesolutions.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: gdesolutions.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2017 01:03:23.3426 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6942206e-827e-4487-a23d-4a96c873f8cd X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR17MB1112 X-Mailman-Approved-At: Thu, 05 Oct 2017 09:59:07 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 01:03:27 -0000 Hi, I was trying to organize hard disk using labels and labelled two geli disks= : https://marc.info/?l=3Dfreebsd-questions&m=3D147526341300616&w=3D2 glabel secure /dev/da1 galbel backups /dev/da2 The problem is now I can't mount them :/ geli attach -k /root/geli.key geli: Cannot read metadata from /dev/da1 Is there anything I can do to 'revert' the glabel operation? If I have a ba= ckup of these disks, can I grab the metadata from them and restore the data= ? Jon From owner-freebsd-questions@freebsd.org Thu Oct 5 10:51:03 2017 Return-Path: Delivered-To: freebsd-questions@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 A70B4E34896 for ; Thu, 5 Oct 2017 10:51:03 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c: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 2E0D36B083 for ; Thu, 5 Oct 2017 10:51:03 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id u138so1337541wmu.4 for ; Thu, 05 Oct 2017 03:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=LC+19o1ZlNiug+R2drmGFLGXinUoL7VY+8yGkZukCHc=; b=F2QU24OY2WjujYlpBWRm2XMwrn8U8WfjEcgUAMIbLKdOMVAVW7VayS61IONvK/wMPu k0eZkWKwBYylXJiuwTvWJnY1NPXYwyqaXprI9jd+Auj1xxKa+Bx0FWGa7vpHmWH7GuDe 9i+nuAqxuWbZI2X4K5xbGLI0EUIS07I7PBnd5Z5fR6J9EqTs/ngnfPbFi4g0XjcYVKsY A63+DQvq6s9Rmb6Bt4M9TOcLDRWaz3CV+9IgHS8es+tqLQOszAcq0tO5s10zYV8CXF6y O9n8BYgCLAzHgQ4O9iUIUY1Oi1zoqWC1nJhm1JQwGAxRmJwttl+FtoZpkAaKs/2Awcfn V+Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=LC+19o1ZlNiug+R2drmGFLGXinUoL7VY+8yGkZukCHc=; b=st/vmwxrdDMEtzSYHu6Qlz5jYPrfIC7dpG36k6D5wE1HN/ptqt5NqO9mj6cJbtbNwo 0yqBiEcCIfVAxFhPsTktmFWY6RdMgUaA4O+vc8jr6ToRiSb77Mm6e9no5vS3V8L/dd1c GCP+dW0DLB5DmWsa2bovbqJgtZ6eBvR55/hPhmRrhyqykpRml239NA4eOPcvNqOvRqaj hgHEJzlnK7XDWTUxeFw5gR8L2jsUNLm/GHOWF4YzcfYOCbtq7x7Fm6YKcm1Dx6ZpGBjS /PaC0lNvjU4RLZ/NxV69TxSiF8/tW510uu/6fbQNO9RTR4klTLegW+aHI34Doe8pIjrL h5aw== X-Gm-Message-State: AMCzsaVuCZHbAozLZwjCXmazGww9JO1x4Qumrb7gnheKDcIh+dpVxFuC hQJyscOLO1+O0CRFwJm9Bp5atw== X-Google-Smtp-Source: AOwi7QAol23jy2VggqGiMtcqkkVFJ+i6Gs352SBYvelNYkG0a4MQCawLqjVHvaiKQvQuObcyZ86u9A== X-Received: by 10.80.169.78 with SMTP id m14mr6860699edc.118.1507200661392; Thu, 05 Oct 2017 03:51:01 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id p45sm10209839edc.30.2017.10.05.03.51.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 03:51:00 -0700 (PDT) To: freebsd-questions@freebsd.org From: Johan Hendriks Subject: make WITH_VMIMAGES=yes release fails with permission denied. Message-ID: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> Date: Thu, 5 Oct 2017 12:52:24 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: nl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 10:51:03 -0000 Hello all. I thought it was time to test the make release to create my own .qcow2 and .raw files. I am on a FreeBSD 11.1p1 machine. But it does not work, it builds the ftp, bootonly and memstick images fine, but the vm part does not. I do the following. cd /usr/src/ make -j4 buildworld && make -j4 buildkernel cd /usr/src/release make WITH_VMIMAGES=yes release Then in the end i get an permission denied. Populating `mini-memstick.img.part' Image `mini-memstick.img.part' complete make -C /usr/src/release  vm-image Building /usr/obj/usr/src/release/vm-image *env: /usr/src/release/scripts/mk-vmimage.sh: Permission denied* *** Error code 126 Stop. make[1]: stopped in /usr/src/release .ERROR_TARGET='vm-image' .ERROR_META_FILE='/usr/obj/usr/src/release/vm-image.meta' .MAKE.LEVEL='1' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' _ERROR_CMD='mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C /usr/src/release/tools/vmimage.subr -d /usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vhd.img -s 20G -f vhd  -S /usr/src/release/.. -o /usr/obj/usr/src/release/vm.vhd; mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C /usr/src/release/tools/vmimage.subr -d /usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vmdk.img -s 20G -f vmdk  -S /usr/src/release/.. -o /usr/obj/usr/src/release/vm.vmdk; mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C /usr/src/release/tools/vmimage.subr -d /usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/qcow2.img -s 20G -f qcow2  -S /usr/src/release/.. -o /usr/obj/usr/src/release/vm.qcow2; mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C /usr/src/release/tools/vmimage.subr -d /usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/raw.img -s 20G -f raw  -S /usr/src/release/.. -o /usr/obj/usr/src/release/vm.raw; touch vm-image;' .CURDIR='/usr/src/release' .MAKE='make' .OBJDIR='/usr/obj/usr/src/release' .TARGETS='vm-image' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20170510' PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/release/Makefile /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/release/Makefile.vm /usr/src/release/Makefile.ec2 /usr/src/release/Makefile.azure /usr/src/release/Makefile.gce /usr/src/release/Makefile.vagrant' .PATH='. /usr/src/release' *** Error code 1 Stop. make: stopped in /usr/src/release .ERROR_TARGET='vm-release' .ERROR_META_FILE='' .MAKE.LEVEL='0' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' _ERROR_CMD='.PHONY' .CURDIR='/usr/src/release' .MAKE='make' .OBJDIR='/usr/obj/usr/src/release' .TARGETS='release' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20170510' PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src' Is there a step I forget ? Thanks for your time. regards, Johan From owner-freebsd-questions@freebsd.org Thu Oct 5 11:21:42 2017 Return-Path: Delivered-To: freebsd-questions@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 DBA78E35185 for ; Thu, 5 Oct 2017 11:21:42 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 5FF1B6C1A0 for ; Thu, 5 Oct 2017 11:21:41 +0000 (UTC) (envelope-from igorr@pochta.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 046802DBB757; Thu, 5 Oct 2017 14:11:48 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Thu, 5 Oct 2017 14:11:48 +0300 (MSK) Date: Thu, 5 Oct 2017 14:11:47 +0300 (MSK) From: "Igor V. Ruzanov" To: Johan Hendriks cc: freebsd-questions@freebsd.org Subject: Re: make WITH_VMIMAGES=yes release fails with permission denied. In-Reply-To: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> Message-ID: References: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 11:21:43 -0000 Hello! On Thu, 5 Oct 2017, Johan Hendriks wrote: |Hello all. | |I thought it was time to test the make release to create my own .qcow2 |and .raw files. |I am on a FreeBSD 11.1p1 machine. |But it does not work, it builds the ftp, bootonly and memstick images |fine, but the vm part does not. |I do the following. | |cd /usr/src/ |make -j4 buildworld && make -j4 buildkernel |cd /usr/src/release |make WITH_VMIMAGES=yes release | |Then in the end i get an permission denied. | |Populating `mini-memstick.img.part' |Image `mini-memstick.img.part' complete |make -C /usr/src/release  vm-image |Building /usr/obj/usr/src/release/vm-image |*env: /usr/src/release/scripts/mk-vmimage.sh: Permission denied* Is the script /usr/src/release/scripts/mk-vmimage.sh executable? I.e. with at least x owner flag. |*** Error code 126 | |Stop. |make[1]: stopped in /usr/src/release |.ERROR_TARGET='vm-image' |.ERROR_META_FILE='/usr/obj/usr/src/release/vm-image.meta' |.MAKE.LEVEL='1' |MAKEFILE='' |.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' |_ERROR_CMD='mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 |TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  |-C /usr/src/release/tools/vmimage.subr -d |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vhd.img |-s 20G -f vhd  -S /usr/src/release/.. -o |/usr/obj/usr/src/release/vm.vhd; mkdir -p |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C |/usr/src/release/tools/vmimage.subr -d |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vmdk.img |-s 20G -f vmdk  -S /usr/src/release/.. -o |/usr/obj/usr/src/release/vm.vmdk; mkdir -p |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C |/usr/src/release/tools/vmimage.subr -d |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/qcow2.img |-s 20G -f qcow2  -S /usr/src/release/.. -o |/usr/obj/usr/src/release/vm.qcow2; mkdir -p |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C |/usr/src/release/tools/vmimage.subr -d |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/raw.img |-s 20G -f raw  -S /usr/src/release/.. -o |/usr/obj/usr/src/release/vm.raw; touch vm-image;' |.CURDIR='/usr/src/release' |.MAKE='make' |.OBJDIR='/usr/obj/usr/src/release' |.TARGETS='vm-image' |DESTDIR='' |LD_LIBRARY_PATH='' |MACHINE='amd64' |MACHINE_ARCH='amd64' |MAKEOBJDIRPREFIX='' |MAKESYSPATH='/usr/src/share/mk' |MAKE_VERSION='20170510' |PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' |SRCTOP='/usr/src' |OBJTOP='/usr/obj/usr/src' |.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk |/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk |/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf |/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk |/etc/src.conf /usr/src/release/Makefile /usr/src/share/mk/bsd.obj.mk |/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk |/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk |/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk |/usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk |/usr/src/release/Makefile.vm /usr/src/release/Makefile.ec2 |/usr/src/release/Makefile.azure /usr/src/release/Makefile.gce |/usr/src/release/Makefile.vagrant' |.PATH='. /usr/src/release' |*** Error code 1 | |Stop. |make: stopped in /usr/src/release |.ERROR_TARGET='vm-release' |.ERROR_META_FILE='' |.MAKE.LEVEL='0' |MAKEFILE='' |.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' |_ERROR_CMD='.PHONY' |.CURDIR='/usr/src/release' |.MAKE='make' |.OBJDIR='/usr/obj/usr/src/release' |.TARGETS='release' |DESTDIR='' |LD_LIBRARY_PATH='' |MACHINE='amd64' |MACHINE_ARCH='amd64' |MAKEOBJDIRPREFIX='' |MAKESYSPATH='/usr/src/share/mk' |MAKE_VERSION='20170510' |PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' |SRCTOP='/usr/src' |OBJTOP='/usr/obj/usr/src' | | |Is there a step I forget ? |Thanks for your time. |regards, |Johan | |_______________________________________________ |freebsd-questions@freebsd.org mailing list |https://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Oct 5 11:41:23 2017 Return-Path: Delivered-To: freebsd-questions@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 E30CDE35CA5 for ; Thu, 5 Oct 2017 11:41:23 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 6F96D6CE01 for ; Thu, 5 Oct 2017 11:41:23 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id l68so1595052wmd.5 for ; Thu, 05 Oct 2017 04:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=vvoUuLtfGFjXB4qyNg7gB7iOuBzfUVJi2likUwnX9d0=; b=d/s0DtIz301uLwKs+U2ZnzLAiQX+hNc1ng5YCoqOYrFr/5ZBSFMg113X072KZhGqga xUf7iV6EF4G5e7Z1Qdr9DD7IH7NUCmkbBvYDbOVjCw+vKo+Tvv5ad2tjDQCBgwpNdP3h JDjKTOVynddNVVQEVBZo7C/AsvT9ALXdL3pu/HmV8UKMwQmQc8m7c+YclDMocyEvw4kG Ft95xEKLlkUzTKurocJbTTpgb4SIwF64IoFq7cxYOPAJcHCua2x0t5LVUuMPMifL6HVH Rjuaco5tuvdxI4DnELhuc3y6dfK+bONKV4PIEP/773X2LZXWsn8Wtno9YDefpgu9gClq sh7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=vvoUuLtfGFjXB4qyNg7gB7iOuBzfUVJi2likUwnX9d0=; b=fEJyPTg7lXLSVh0rp3Xysz4T8nB34vcUIv/EKdGtCZxZvp2WS7jkZXLdM6KwmQ2M84 76wknd3VgzeaLh5woHYvVI9LLl2zPxwiXYqfUSH1RLwr249bOYlqFYGzB7NcQdC7FSOp lcL7Fz1LGiA9m5XRObumVRrND+HDGJ3rPJ7cNiEa3fcSUaO4w7aqjYip2wwwFoJyZDdT SqVbe8oZB0Jjl85x6H9Eecd+XaqRJVvV/q0QKPeX9pm97Y2gGVXpzc1sot+opHjFu9Gk bsLniLBrS4JcDOHLfb106ZZFF+cMm/wGpKdcYjgVkOcgyyp/d+FBj3/uWf4Sfu583FXL x/EQ== X-Gm-Message-State: AHPjjUjVbGU7Y7B1T6nTWhzlkKSqFmYdBweEoCmixNw4563sKy9kLhL5 UkD2+JiHawj8xAebkWPKD60pMg== X-Google-Smtp-Source: AOwi7QAxwM6yy1YpSzCfwp32w+l9s3SQN5tiJcgj1CAw5mv+Q3qacvHW7QkT01zHinxphJUO3AOZLA== X-Received: by 10.80.205.136 with SMTP id p8mr32666391edi.255.1507203681590; Thu, 05 Oct 2017 04:41:21 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id a2sm17380441edd.36.2017.10.05.04.41.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 04:41:20 -0700 (PDT) Subject: Re: make WITH_VMIMAGES=yes release fails with permission denied. To: "Igor V. Ruzanov" References: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> Cc: freebsd-questions@freebsd.org From: Johan Hendriks Message-ID: Date: Thu, 5 Oct 2017 13:42:44 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 11:41:24 -0000 Op 05/10/2017 om 13:11 schreef Igor V. Ruzanov: > Hello! > > > On Thu, 5 Oct 2017, Johan Hendriks wrote: > > |Hello all. > | > |I thought it was time to test the make release to create my own .qcow2 > |and .raw files. > |I am on a FreeBSD 11.1p1 machine. > |But it does not work, it builds the ftp, bootonly and memstick images > |fine, but the vm part does not. > |I do the following. > | > |cd /usr/src/ > |make -j4 buildworld && make -j4 buildkernel > |cd /usr/src/release > |make WITH_VMIMAGES=yes release > | > |Then in the end i get an permission denied. > | > |Populating `mini-memstick.img.part' > |Image `mini-memstick.img.part' complete > |make -C /usr/src/release  vm-image > |Building /usr/obj/usr/src/release/vm-image > |*env: /usr/src/release/scripts/mk-vmimage.sh: Permission denied* > > Is the script /usr/src/release/scripts/mk-vmimage.sh executable? I.e. with > at least x owner flag. > Yes it is executable! root@builder:/usr/src/release # ls -al /usr/src/release/scripts/mk-vmimage.sh -rwxr-xr-x  1 root  wheel  2902 Jun 30 09:31 /usr/src/release/scripts/mk-vmimage.sh > > > |*** Error code 126 > | > |Stop. > |make[1]: stopped in /usr/src/release > |.ERROR_TARGET='vm-image' > |.ERROR_META_FILE='/usr/obj/usr/src/release/vm-image.meta' > |.MAKE.LEVEL='1' > |MAKEFILE='' > |.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' > |_ERROR_CMD='mkdir -p /usr/obj/usr/src/release/vm-image; env TARGET=amd64 > |TARGET_ARCH=amd64 SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  > |-C /usr/src/release/tools/vmimage.subr -d > |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vhd.img > |-s 20G -f vhd  -S /usr/src/release/.. -o > |/usr/obj/usr/src/release/vm.vhd; mkdir -p > |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 > |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C > |/usr/src/release/tools/vmimage.subr -d > |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/vmdk.img > |-s 20G -f vmdk  -S /usr/src/release/.. -o > |/usr/obj/usr/src/release/vm.vmdk; mkdir -p > |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 > |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C > |/usr/src/release/tools/vmimage.subr -d > |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/qcow2.img > |-s 20G -f qcow2  -S /usr/src/release/.. -o > |/usr/obj/usr/src/release/vm.qcow2; mkdir -p > |/usr/obj/usr/src/release/vm-image; env TARGET=amd64 TARGET_ARCH=amd64 > |SWAPSIZE=1G  /usr/src/release/scripts/mk-vmimage.sh  -C > |/usr/src/release/tools/vmimage.subr -d > |/usr/obj/usr/src/release/vm-image  -i /usr/obj/usr/src/release/raw.img > |-s 20G -f raw  -S /usr/src/release/.. -o > |/usr/obj/usr/src/release/vm.raw; touch vm-image;' > |.CURDIR='/usr/src/release' > |.MAKE='make' > |.OBJDIR='/usr/obj/usr/src/release' > |.TARGETS='vm-image' > |DESTDIR='' > |LD_LIBRARY_PATH='' > |MACHINE='amd64' > |MACHINE_ARCH='amd64' > |MAKEOBJDIRPREFIX='' > |MAKESYSPATH='/usr/src/share/mk' > |MAKE_VERSION='20170510' > |PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' > |SRCTOP='/usr/src' > |OBJTOP='/usr/obj/usr/src' > |.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk > |/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk > |/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf > |/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk > |/etc/src.conf /usr/src/release/Makefile /usr/src/share/mk/bsd.obj.mk > |/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk > |/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk > |/usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk > |/usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk > |/usr/src/release/Makefile.vm /usr/src/release/Makefile.ec2 > |/usr/src/release/Makefile.azure /usr/src/release/Makefile.gce > |/usr/src/release/Makefile.vagrant' > |.PATH='. /usr/src/release' > |*** Error code 1 > | > |Stop. > |make: stopped in /usr/src/release > |.ERROR_TARGET='vm-release' > |.ERROR_META_FILE='' > |.MAKE.LEVEL='0' > |MAKEFILE='' > |.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' > |_ERROR_CMD='.PHONY' > |.CURDIR='/usr/src/release' > |.MAKE='make' > |.OBJDIR='/usr/obj/usr/src/release' > |.TARGETS='release' > |DESTDIR='' > |LD_LIBRARY_PATH='' > |MACHINE='amd64' > |MACHINE_ARCH='amd64' > |MAKEOBJDIRPREFIX='' > |MAKESYSPATH='/usr/src/share/mk' > |MAKE_VERSION='20170510' > |PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin' > |SRCTOP='/usr/src' > |OBJTOP='/usr/obj/usr/src' > | > | > |Is there a step I forget ? > |Thanks for your time. > |regards, > |Johan > | > |_______________________________________________ > |freebsd-questions@freebsd.org mailing list > |https://lists.freebsd.org/mailman/listinfo/freebsd-questions > |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Oct 5 11:56:02 2017 Return-Path: Delivered-To: freebsd-questions@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 8DBD4E361F9 for ; Thu, 5 Oct 2017 11:56:02 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 11A726D8EE for ; Thu, 5 Oct 2017 11:56:00 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v95Btncu066974; Thu, 5 Oct 2017 13:55:50 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: GELI disk and glabel label To: Jonathan Bond-Caron , "freebsd-questions@freebsd.org" References: From: Bernt Hansson Message-ID: Date: Thu, 5 Oct 2017 13:55:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 11:56:02 -0000 On 10/05/17 03:03, Jonathan Bond-Caron wrote: > Hi, > > I was trying to organize hard disk using labels and labelled two geli disks: > https://marc.info/?l=freebsd-questions&m=147526341300616&w=2 > > glabel secure /dev/da1 > galbel backups /dev/da2 > > The problem is now I can't mount them :/ > geli attach -k /root/geli.key > geli: Cannot read metadata from /dev/da1 > > Is there anything I can do to 'revert' the glabel operation? If I have a backup of these disks, can I grab the metadata from them and restore the data? > > Jon > You have overwritten the geli data. Geli and glabel stores the metadata in the same place. From owner-freebsd-questions@freebsd.org Thu Oct 5 13:02:55 2017 Return-Path: Delivered-To: freebsd-questions@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 7FFF7E3849A for ; Thu, 5 Oct 2017 13:02:55 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 44E3C70AE5 for ; Thu, 5 Oct 2017 13:02:55 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: by mail-qk0-x232.google.com with SMTP id n5so12339675qke.11 for ; Thu, 05 Oct 2017 06:02:55 -0700 (PDT) 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=+0f/GtkMMbAyo97gcgpPCgiIfLcrB6Hwe034zPkOnB4=; b=oYWnFP0NpqzSgIen/Kv7lhtWvmkFTMSWYeVSY2UjonQJT2m4l9zmWBYYsSvk6pyJFN PASarUw7Vza1VTHE8Fnh+E9YmmozECwFGPcJZ0Bl/whG2xzDeO4BtCawgs2wVxi6KBvZ ZC7jvfUfCLcQU1WuYg6FjezcBuQ4MuM9ZvTEw2GMUmoMStBL2fmyWTLYEAq2F7KXScK1 m44CYv765u33ROsR8MEIRSrYlQS4H5uEoX9sjzWflU8LNCeKbYEQQQHCc3dSm23LNMn8 pSB8Ee4MqZMpuEOZBi632D3qK7qNAk0/2DACyAMibJ29awaPR/GLga46u4Gf5MjhdFZL +jzg== 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=+0f/GtkMMbAyo97gcgpPCgiIfLcrB6Hwe034zPkOnB4=; b=CfsW8h0bchLczo1afDR+j8kL7NPwqt891KGvBVe56gDJdNawIAM+gcZImGOJL0aD8R xOp01X5hYMm+Gtlf88Lt6s5t85+G/HCIB20q1g+/ZjlrF4mIBI3rwVaYrtlm5SKVnZtq CZawRU8RUvj+Sm1ZjSumHATqUgkHda0PPiypVdKnHzfe4pujJMSZ8I5Mdck623gT9pB5 Uzps6VHLxYFEjP+VqULWddcaczxY8M3NgfT+LvzUaF+NxKcceIa46Wu0Zl8S+lWWxw8v mivxzFmIaGX8RBi27TMU5pyv4cb8305YmLIvaSOQiWtv44I426RJQokBwc/bVBZK3hwM cznA== X-Gm-Message-State: AMCzsaUd1d/d+e6vviUeIU5RrXzOVxEKX+92m0ye39pcXlRZd2ADszZQ wR52LX0RTFMFR4Wb152d0ywtHMlCIJwpeyRrw+B7gg== X-Google-Smtp-Source: AOwi7QDvakwuVFtYHthIkTe65rF7VPg7Lq92La9082Sw0LXE3cwNW9VNadPIAkUlq/kcI2BjhNi1FV7Ar5nSTG7dxcQ= X-Received: by 10.55.24.73 with SMTP id j70mr27228704qkh.310.1507208573991; Thu, 05 Oct 2017 06:02:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.23.202 with HTTP; Thu, 5 Oct 2017 06:02:53 -0700 (PDT) From: Eduardo Lemos de Sa Date: Thu, 5 Oct 2017 10:02:53 -0300 Message-ID: Subject: Screen Saver under FreeBSD 11.1 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 13:02:55 -0000 Dear I have used FreeBSD 11.1 (release/amd64) since some months. Everything seems to working good, but I couldn't find a way get screensaver working. I added into my /etc/rc.conf: saver=3D"blank" blanktime=3D"120" rebooted several times, but simply it did not work. Under X11, I could have xscreensaver working (and to reinforce security, I am working under X11 enviroment to have screen locked). Please, could you give some advise to solve this? Thanks in advance My best regards Eduardo --=20 Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186 From owner-freebsd-questions@freebsd.org Thu Oct 5 13:22:25 2017 Return-Path: Delivered-To: freebsd-questions@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 7B255E38AC3 for ; Thu, 5 Oct 2017 13:22:25 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-oln040092070023.outbound.protection.outlook.com [40.92.70.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBC7071583 for ; Thu, 5 Oct 2017 13:22:24 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZiPQVnFz75M0yrC/qFJnu6H4Ed0sxn84Sr/n4JZ1hKg=; b=jijtJ1Kb1wS+YMolRa8qJJNKPS/HoIxwBu9apIZGetdd4+1FhvcS13TgxeYBw+Z/JvW9QvdU9rUz+o2IK2IVXQ04KU+tg+UYmIHNA+8YvjsrkIVdWrw6fA3RDm6fJ2/g586F1wbu8Lc7h9QQcMHBNIOBHxkc2zD8+jT6W50Bo2/t/b0CSwSHGKXbFLUZOBMirVcByKCPUr7TowEeD/CuNauhlqMLm5rbO0W/m0PwzHrcapM9+x4NhQ4BMJynsLF7n/99mf5LILfZQs57EbCDe0GVUgdDHTezyKIfSlZExn0wQIuSTzarlLiRB+Xh1h0L9+1YaJHfVt4B86KxarDk+Q== Received: from AM5EUR03FT018.eop-EUR03.prod.protection.outlook.com (10.152.16.60) by AM5EUR03HT226.eop-EUR03.prod.protection.outlook.com (10.152.17.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.77.10; Thu, 5 Oct 2017 13:22:21 +0000 Received: from DB5PR02MB1189.eurprd02.prod.outlook.com (10.152.16.55) by AM5EUR03FT018.mail.protection.outlook.com (10.152.16.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.77.10 via Frontend Transport; Thu, 5 Oct 2017 13:22:22 +0000 Received: from DB5PR02MB1189.eurprd02.prod.outlook.com ([fe80::4484:bb2:7cf6:d1ea]) by DB5PR02MB1189.eurprd02.prod.outlook.com ([fe80::4484:bb2:7cf6:d1ea%13]) with mapi id 15.20.0077.018; Thu, 5 Oct 2017 13:22:21 +0000 From: Manish Jain To: Eduardo Lemos de Sa , "freebsd-questions@freebsd.org" Subject: Re: Screen Saver under FreeBSD 11.1 Thread-Topic: Screen Saver under FreeBSD 11.1 Thread-Index: AQHTPdpSraMIKsljNEugd8GFOMWRPaLVPhkA Date: Thu, 5 Oct 2017 13:22:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:423C922320F36509E5AD57C84919003F6D41187F18BD1D3101518F5545A3A8BE; UpperCasedChecksum:284BEB5096189BEAA7079A9D426E8CBC4CAAA98F6A22959A5E081D5A9217D65A; SizeAsReceived:7123; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [ny6fT4CcyJS/ZtnSIccwu2aPfdvRWSqR] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5EUR03HT226; 6:fc7Ug+CwDtI4o4Qd96jPev7e/iIjAiB74Qq4gqUG+mzt3FMxSO1IAUV5aExfRncUExk3jGBnuOhniGD240JsC9RNcjS3uCg8AMW6S7ozgj9OVInXVXWu+prJF7djyZC+vxMx7+IrPoxGIvu1qHITiec/F9EIX5xGRDmsiUZBh2fIiLx+pOjanVTRlxfOtWwNf2b+YEBJkxNlNDOtxNRnTnL8uJdbeNkQ/ldCL+nsE1v3is6TeG8OoUAgArZpH4C6NhMkUeyPU1Nli9VPHCVXGEtteURwojMYs3n5JeVtTdMSCcJ2ZnX4EGo4CrmmOfNk2QiURO+GjOSUQase018Cpg==; 5:hpGhleSZ1eUHkPTdrSxXuT9OE+BgjKnwjPiBJzntIwS1GssmXc0S+HoAy5g/RQx6XQBYGHXCmg/+9ImPDuldOLhv4J7Qi4TdquyCtQB8o+2Q0N9cUBWBccuftZrPbKHwqJ963SwK+SW6hWPlXKHLIw==; 24:qSVWgX3PVN/5Baz4Y5BEmqxmKUalHjVED+oszB97agQrvrSV2OdTtz3sfitPtB7QMIhFqrwQWJcFDM7uwYftCRrj3TjYBbTLiamTSOwr8i8=; 7:skQcJclpkdzSa17Iw9q7/yI/pzZ7Jw2MXRocNLj0/Lb7Jt1qmu0AaHaDIC5oQZ7HiY2TWQB9rsNtj11VvGOmtNUAqSjJN9lLMhshqaIz7BKVO1l0payI0kV8I4KGDT9KcaQ339Rab0Xetj1sTB59A4tnMgrejzZ0mI0mgH/dStiDp4JJZSwk10ZYDWt/e0yIPTFgTFjC2GaceEuC7FQb9+OkTKwVMJgXTTE3ACN4R9k= x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: a1de77ee-0798-4ce8-e945-08d50bf41b4d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:AM5EUR03HT226; x-ms-traffictypediagnostic: AM5EUR03HT226: x-exchange-antispam-report-test: UriScan:(192374486261705); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:AM5EUR03HT226; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5EUR03HT226; x-forefront-prvs: 04519BA941 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:AM5EUR03HT226; H:DB5PR02MB1189.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1D69CAECFBFE5E469A9A86BDCE605ED4@eurprd02.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2017 13:22:21.6747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT226 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 13:22:25 -0000 DQoNCk9uIDEwLzA1LzE3IDE4OjMyLCBFZHVhcmRvIExlbW9zIGRlIFNhIHdyb3RlOg0KPiBEZWFy DQo+IA0KPiBJIGhhdmUgdXNlZCBGcmVlQlNEIDExLjEgKHJlbGVhc2UvYW1kNjQpIHNpbmNlIHNv bWUgbW9udGhzLiBFdmVyeXRoaW5nDQo+IHNlZW1zIHRvIHdvcmtpbmcgZ29vZCwgYnV0IEkgY291 bGRuJ3QgZmluZCBhIHdheSBnZXQgc2NyZWVuc2F2ZXIgd29ya2luZy4gSQ0KPiBhZGRlZCBpbnRv IG15IC9ldGMvcmMuY29uZjoNCj4gDQo+IHNhdmVyPSJibGFuayINCj4gYmxhbmt0aW1lPSIxMjAi DQo+IA0KPiANCj4gcmVib290ZWQgc2V2ZXJhbCB0aW1lcywgYnV0IHNpbXBseSBpdCBkaWQgbm90 IHdvcmsuIFVuZGVyIFgxMSwgSSBjb3VsZCBoYXZlDQo+IHhzY3JlZW5zYXZlciB3b3JraW5nIChh bmQgdG8gcmVpbmZvcmNlIHNlY3VyaXR5LCBJIGFtIHdvcmtpbmcgdW5kZXIgWDExDQo+IGVudmly b21lbnQgdG8gaGF2ZSBzY3JlZW4gbG9ja2VkKS4gUGxlYXNlLCBjb3VsZCB5b3UgZ2l2ZSBzb21l IGFkdmlzZSB0bw0KPiBzb2x2ZSB0aGlzPw0KPiANCj4gVGhhbmtzIGluIGFkdmFuY2UNCj4gDQo+ IE15IGJlc3QgcmVnYXJkcw0KPiANCj4gRWR1YXJkbw0KDQpHZXR0aW5nIHRoZSBzYXZlciB0byB3 b3JrIGluIGNvbnNvbGUgbW9kZSBpcyBkaWZmaWN1bHQgbm93YWRheXMgLSANCnBlcmhhcHMgZXZl biBpbXBvc3NpYmxlLg0KDQpUaGUgb25seSB3YXkgeW91IGNhbiBnZXQgc2F2ZXIgdG8gd29yayBp biBjb25zb2xlIG1vZGUgaXMgdG8gYWRkIHRoaXMgdG8gDQovYm9vdC9sb2FkZXIuY29uZiBhbmQg cmVib290IDoNCg0Ka2Vybi52dHk9c2MNCg0KVGhlIGRlZmF1bHQgY29uc29sZSBkcml2ZXIgdW5k ZXIgMTEueCBpcyB2dC4gSWYgeW91IHVzZSBzYywgeW91ciBzYXZlciANCndpbGwgYmVnaW4gdG8g d29yaywgYnV0IHRoZW4gWCB3aWxsIHJlZnVzZSB0byBzdGFydCAoaGFwcGVucyB1bmRlciANCjEw LjMvMTEuMCkuIElmIHlvdSBtYW5hZ2UgdG8gZ2V0IGl0IHRvIHdvcmsgdW5kZXIgMTEuMSAtIGdv b2QgbHVjayAhDQoNClJlZ2FyZHMNCk1hbmlzaCBKYWluDQo= From owner-freebsd-questions@freebsd.org Thu Oct 5 13:41:45 2017 Return-Path: Delivered-To: freebsd-questions@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 84594E39120 for ; Thu, 5 Oct 2017 13:41:45 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (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 3CF927208E for ; Thu, 5 Oct 2017 13:41:45 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qt0-x244.google.com with SMTP id z50so20347586qtj.4 for ; Thu, 05 Oct 2017 06:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=BwXWRSJNX/rE3y7h4uHdYLCVGa/ki244IdwpfghuRhM=; b=JDXZWOxWe9orbjbk/TNCk/baQMmmDIsPte21B7VG95+yn7SosYOrKipTBYLExY954c adXrRtaQ60720VwrwUZ9cQxHhKJOJjcM+4i2rEiUMECgDppVq/LDvPif4Sbscn4D4z/G xvIeuB3iopswkK2v61w34W+sAczE5ov79v9yQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=BwXWRSJNX/rE3y7h4uHdYLCVGa/ki244IdwpfghuRhM=; b=CnFPQOk6zK9VHtBRgWzlNxE3W5tbVYdAbGrqXnCbmzXD+j/aotS3PycRSZ3UHKTQ+8 Ww1hyZZ2RcEZD0tL/0OFtn3krEr7xm5bV9uMSPjehIdnSAuzkbXhe0h+xMoDOHujUSCY 3qJgMC60WY3ZoqfOT23zr+V+Jw/QNO6hew1JUbuTZUluW63NDyJhJjSkWI6A3rRc48JE orLdKACU9zEO1/esFmsTQwCTM0qyI6Z1eT53uUQzoobuHei4U78ibXIQ7ampVJl2r6I+ GbCJf9TQBhpqwMIj9EI7wgNxB0MRUG9WC8ENaGhiL3Uop+Rx283VsInB4DkHG9OUk8oJ CHXg== X-Gm-Message-State: AMCzsaV83e6XIOS+Xz54/UiMhIfRtvTT5cGvj60XjU59JxIWaeDwsGKR nbydIF8MM4fjrA6iHcfflttroLg3 X-Google-Smtp-Source: AOwi7QCgUyj2JUB/8bAqwdxt/+XFlph0dxrD4/yVKXDAV33PxOktIHewP3IRSB1D3UfTKNkhSqbzAw== X-Received: by 10.200.3.159 with SMTP id t31mr33416076qtg.338.1507210904014; Thu, 05 Oct 2017 06:41:44 -0700 (PDT) Received: from Papi.lobos (177.206.176.219.dynamic.adsl.gvt.net.br. [177.206.176.219]) by smtp.gmail.com with ESMTPSA id k187sm7375447qkf.17.2017.10.05.06.41.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2017 06:41:43 -0700 (PDT) Date: Thu, 5 Oct 2017 10:43:31 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-ID: <20171005104331.0cb4602b@Papi.lobos> In-Reply-To: <65DFB7B0-B25E-401A-B678-14B2E640598C@mail.sermon-archive.info> References: <20171005062919.88a3db9c.freebsd@edvax.de> <65DFB7B0-B25E-401A-B678-14B2E640598C@mail.sermon-archive.info> Organization: BSD X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 13:41:45 -0000 On Wed, 4 Oct 2017 21:55:36 -0700 Doug Hardie wrote: > > On 4 October 2017, at 21:29, Polytropon wrote: > > > > > > Reason 3 - three! three reasons! - is social appeal. Just imagine > > you're actually understanding your work, and you do it better > > than others, then you're not a "team player", because you "make > > the other branch offices look bad and lazy". That's why it is > > not encouraged to improve things. > > > > Example from reality: I once worked for a shop where one person > > got a high wage for creating timesheet templates. Manually. She > > basically entered years, months, days and hours manually into a > > PC as if it was a typewriter. With additional microformatting. > > Every day. Every month. For years. When one of her coworkers > > suggested to automate the task basically by piping the output > > of "ncal" into a little awk script (he was a Linux person), > > he got yelled at for being "hostile to coworkers" and "threatening > > the staff". That's what you get when you use your brain. > > > > PC on, brain off. > > I have been in the programming and system development business since > the mid 60's. The more things change, the more they stay the same. > Nothing is new other than the acronyms. These reasons also hold for > senior managers. Every senior manager who was competent was fired > for showing up the others. The more competent, the quicker they > vanish. Once a manager who was rewarded with a trip (including > family) to one of the Caribbean islands came back to go to jail for > the illegal activities he did to win that award. He also cost the > company a fortune is lost revenue. There are many other examples I > have witnessed. It will never change. > > -- Doug > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Throughout my life, I can't even count how many times I saw this happen. I started off with assembly programming on a TMS99/4A back in 1980 while attending Berklee. I had studied electronics outside of school during the 8th grade so programming digital circuits was just a hop away to my brain, and actually a relief not having to worry about different voltage, resistance or current levels to put together a logic board. The music I wanted to make could never provide enough to feed my family, specially here in Brasil, so the then starting IT market fell into my lap like a glove. Despite the fact that I could prove my time working with the IT field, I always had trouble when the only papers I had to show was a certificate in electronics and a music diploma, so I forced myself into a post-graduate course in network management so I could have that paper connection employers need as proof. Anyway, I'm here basically to express the same feelings Carlos Gottberg did on his post: of being grateful for being here, surrounded by people that found pretty much the same hardships as you (even given the differences in country, cultures and social upbringing) and chose to stay (also pretty much) on the path they started off with. It is an enormous relief to know you're all out there! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Thu Oct 5 14:40:37 2017 Return-Path: Delivered-To: freebsd-questions@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 E22B3E3A370; Thu, 5 Oct 2017 14:40:37 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (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 9AD8873E75; Thu, 5 Oct 2017 14:40:37 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-vk0-x232.google.com with SMTP id i1so8140687vke.12; Thu, 05 Oct 2017 07:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=wrakKtP2OM0iBUN89Z6zjDZLQYEsLAipIzM5NgTW40k=; b=pRfOUFIxWCgFv3GlTOiR49mTTtubOztgYndxzUCkhK0jO9wFMu8Usw07QBNcuqHkjR PKAfRc6A1Fnq65oCrPASj1aVEA7B+UXO+WhBbvpQe9WY+Is3u73T4QszzMw/Sq9MjkBp i8okG9Zetk1hVv/acPXM76ecdBZz3CehTy9RwNAp/JbhicFvgmrtD8Wpdt9rm3Np4wPk ++ZkChpLu5UXohjEtL29QiB1iynmUAUql+kW1webWVpKgU8vrZGFwYqAUO12LrNbam6O /rYu/Qezm2uc1iq6ReXXWTp8JFcBWW8eomF30RwPmMfnHqP6yrXyg9S4XarhiafpHwx6 k1Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=wrakKtP2OM0iBUN89Z6zjDZLQYEsLAipIzM5NgTW40k=; b=SNCR98p7xDkBqx4Pgbt6Ee9r/0AIwkzc2B7pqP59kjqrJKTL/oT1PQpdtR+L6cavb+ 91MzCFQi9G5eY7rGTC1wbS70WgWNu1uMUXYHls6jGaEuwLtf6VbEYogChyzRzTsyBK15 jzwVD6zMrpGRbA+N1XNNrRzrz4LKmCUlZ9+/wVnF0ZKsenV8wIW4ieTVjo98mi8KuWwW llvtPoeMFQgMgyNWLZxSUegKO1I2iL1PeFS4b1e2UHDJ/78lrTWPNgtG4X0CK6U8Mr6r bQCRv6VOvjBp4h7DxSgv+GgNl4keqR4vUtBpnCBRjxBKYtW8IOTiOQfEbuWcaDqq0akE SKYA== X-Gm-Message-State: AHPjjUi6h1LABFUdA+av2srflt7RInxOHHmAY+TIfYrK79WrC7ZiXbS5 XeouJ/SAN4rVLvhKbGlxWPdO5B4Sjc/YRpqMXHk4ATAK X-Google-Smtp-Source: AOwi7QAVzPgFYQLyFHOuDgUOzgQkuRAxaDEtwpFXlyu4ek1BKfqOkvwoSrSXaeJBAq2r1VCMlozKC97SS1VbTUoQaRw= X-Received: by 10.31.167.71 with SMTP id q68mr12792372vke.49.1507214436490; Thu, 05 Oct 2017 07:40:36 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Thu, 5 Oct 2017 07:40:15 -0700 (PDT) From: Tomasz CEDRO Date: Thu, 5 Oct 2017 16:40:15 +0200 X-Google-Sender-Auth: 18cimykU4fy5pYL_XPWJmzGNFtM Message-ID: Subject: usbdump on macOS To: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org, Hans Petter Selasky , Tomasz Cedro Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 14:40:38 -0000 Hello world! Is there any chance to have USBDUMP working on current macOS? I can see there is a manual page for usbdump in XCode taken directly from the FreeBSD.. but I could not find the binary.. Is anyone aware or can make usbdump work on macOS? I may be able to find some funding to make it work.. :-) Best regards, Tomek CEDRO -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Thu Oct 5 15:42:15 2017 Return-Path: Delivered-To: freebsd-questions@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 3EF1BE3B9DE for ; Thu, 5 Oct 2017 15:42:15 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (unknown [IPv6:2607:f440::4227:4116]) (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 0EF57768CE for ; Thu, 5 Oct 2017 15:42:14 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (localhost [127.0.0.1]) by mail1.g16.pair.com (Postfix) with ESMTP id D1C055DA1; Thu, 5 Oct 2017 11:42:06 -0400 (EDT) Received: from atomizer-dfly.osb (c-73-174-28-246.hsd1.pa.comcast.net [73.174.28.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail1.g16.pair.com (Postfix) with ESMTPSA id B64BE5D74; Thu, 5 Oct 2017 11:42:06 -0400 (EDT) Date: Thu, 5 Oct 2017 11:42:07 -0400 From: Rod Person To: Polytropon Cc: FreeBSD Questions Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-ID: <20171005114207.0f4f7857@atomizer-dfly.osb> In-Reply-To: <20171005062919.88a3db9c.freebsd@edvax.de> References: <20171005062919.88a3db9c.freebsd@edvax.de> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; x86_64-portbld-dragonfly4.8) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 15:42:15 -0000 Polytropon, I just want to also thank you for your comments. They hit so many nails and the head and made me feel better about the despair I feel toward the direction of corporate IT. I really want to send this thread out to everyone in my department, but I know it will fall on deaf ears. But again thanks for letting me know I'm not as crazy as the rest of my co-workers think! On Thu, 5 Oct 2017 06:29:19 +0200 Polytropon wrote: > Allow me a few comments. It will be mostly statements from my > very limited individual point of view and experience. > > > On Wed, 4 Oct 2017 10:10:04 -0400, Alejandro Imass wrote: > > Why did C++ and Java seem win over C and shared object libraries? > > Java is the new COBOL, 'nuff said. > > No, actually not. > > Mastering C requires a proper understanding of how things work > at a quite low level, and it also requires the ability to > search for (and find!) modular components to incorporate into > own projects (because not everyone wants to write a XML or > CSV parser in C on his own). Those skills aren't taught at > university or in vocational schools anymore, so C became a > "magic language" which only old people and "nerds" can use > today. > > So a self-amplifying mechanism has been built: Projects require > the use of Java, and because they do, nobody learns C. And > as there is nobody who can write C, those responsible for > projects suggest Java. > > Nobody ever got fired for suggesting Java. > > > > > In the Unix model the general philosophy is precisely that is made > > up of tiny little things that do one thing really, really well and > > are able to operate with other tiny things by means of a common > > protocol such as pipes etc. > > On the other hand, there is no problem creating LOB software > entirely in C. Sure, this is hard, _really_ hard, but possible > > > > > What more encapsulation than shared objects, header files, and C > > structs? if you want higher level there is for example, Perl with an > > elegant XS interface to C which can in turn leverage all the > > underlying O/S. Not only that, Perl (amongst other great "scripting" > > langs) is multi-paradigm allowing you write software to tackle > > problems in different ways, which are much more clearer than trying > > to stick a square peg in a round hole approach of single paradigm > > languages such as Java. > > When running on a Unix system, programs can also use omnipresent > external tools, for example a "report generator" dynamically > created as an awk script. Java may be a multi-OS choice ("write > once, run everywhere"), but the systems it's actually being run > on maybe do not have such tools... > > > > > And only after 30 years or so, do you start seeing some functional > > paradigms come to Java and new languages over the JVM such as Scala. > > When in fact these things have been with us for ages since Scheme, > > Perl, etc. ? and these integrate beautifully with the underlying > > O/S. > > In marketing, it's important to tell people things are new, even > though they aren't. ;-) > > > > > Why dis the industry degrade the languages as "scripting languages" > > when in fact this is precisely what you want: simplicity, elegance > > and tight integration to the O/S! > > Because they are only seen as "programming glue" and highly > discouraged in the world of monolithic "one thing does all" > applications. > > > > > So why did the Java Virtual Machine concept win, instead of > > leveraging the underlying O/S ? Was portability the only mermaid > > song ? > > This often-mentioned portability is mostly nonsense. As soon > as you use some OS-specific hooks in your Java program - and > you _do_ -, portability is gone. "This CRUD CRM only works > with this one database subsystem which only runs on 'Windows'." > > > > > or was it > > the promise of a language to protect us from the mediocre > > programmer ? > > No. As you can write bad programs in any programming language, > some languages encourage writing shit more than others. Just > have a look at "The Daily WTF" and their CSOD (code snippet of > the day) articles. Guess what languages you'll find? Mostly > Java and C#, the "business languages" of today. > > > > > What is the point of portability if it doesn't really leverage the > > underlying O/S? I personally think portability is not only a myth > > (i.e. Java is not really portable as people may think) and it's > > actually pretty stupid and it's actually what you DON'T want. > > Users don't want to run their software on a changing OS, they > want a "solution", i. e., a monolithic thing where they have > someone to blame and to sue if things break. > > Improving things means change, and nobody wants to change. > > > > > What you really want IMHO is a fined-tuned architecture that not > > only plays well with the underlying O/S but that actually leverages > > the O/S, which makes it NOT portable by definition. Why do we want > > portability in the first place? Does portability foster competition > > and innovation or just makes everybody mediocre at best? Does it > > increase security or performance? NO, it's actually the total > > opposite! > > You easily see the borders of portability even for applications > written for "Windows" exclusively: Do the update, break the program. > I sadly have to deal with such crap on a weekly basis... :-/ > > Sometimes you'd say certain platforms (hardware and OS) are > better suited for specific jobs. This is the reason why still > so much computing is done on mainframes, or why hardware control > is done on things that are not regular PCs. Those platforms are > different for a reason, but choosing the right platform can be > hard when "qualified consultants" (quotes deserved) suggest you > do it on a "Windows" PC. > > > > > Code reusability is mostly bullshit too, and what you wind up with, > > AGAIN, is piles over piles of crap, wheel re-invention and > > duplication of efforts. > > Definitely true. > > And add interoperability. You have a program that needs data A > and does X, Y, and Z. And you also need to do V and W, but that's > done with another program, where you also have to enter data A. > You cannot transfer the data once acquired. No interface, no > standard exchange format. > > > > > A quick look to the Java ecosystem is enough to show this > > is fundamentally flawed. Even the simplest Java application winds up > > bloated with megabytes (sometimes gigabytes) of crap in there that > > is not doing anything but hampering performance and opening up all > > sorts of security holes. > > This can be easily compensated with hardware resources. :-) > > > > > The same goes for the Windows world and C++ where > > it gets even worse as every application you install is able to > > overwrite critical system libraries. > > Again, this is fully intended and a "feature". A "security feature", > if I remember correctly. :-) > > > > > Why did virtualization and outsourcing (AWS) seem to win over > > concepts such a chroot and FreeBSD Jails and a good old sysadmin? > > You just said it: "old". Administration of a Unix system requires > skills. Those are probably too expensive when you can easily take > any person who is "in IT" (read: sits at a desk with a PC on it), > and advertising tells you that it's so easy, no knowledge needed, > does everything on its own, just click on the funny pictures and > make money. > > > > > Why do we > > really need full virtualization in the first place? Does it help in > > performance or security? Does it reduce costs? On the contrary it > > does neither, at least IMHO. > > An interesting approach is to run programs under a specific user. > That "chroots" the process to the respective $HOME, still being > able to benefit from the OS infrastructures and services. > > > > > HTF did we get such aberrations as Docker on an already virtualized > > environment such as AWS??? I mean WTF is that? really? Why pile up > > all those layers of shit to get what you could get with a real > > hardware with FreeBSD and EzJail ? > > With solutions like Docker and immutable images, you are basically > back to the past: Software loaded from ROM modules, immune to change, > and everything is present in one big block: the OS, the libraries, > the application program. > > > > > I write these reflections at a time when all these security breaches > > such as Yahoo's 3 billion account breach and Equifax 145 million and > > much more serious breach are happening and the situation will only > > get worse because of all the piles, over piles and piles of shit > > the most companies run on. > > Nobody cares. The end user pays the bills anyway. > > > > > So how did we get here? Why does industry insist on complicating > > stuff instead of a complete back to basics approach? > > Because there are parasites that benefit from the status quo. Those > are companies that offer "solutions" which only work with heavy > vendor lock-in - or the customer could move to a more efficient > solution that costs less. In order to avoid this, extensive > marketing and PR is being performed to convince the decision-makers. > Always keep in mind that those who make the decisions about what > software to use aren't the ones who are forced to use that software > (and deal with crashes, missing features, multiple work, etc.). > Add long-running contracts with penalty fees, and everyone is > happy. As I said, the end user pays. > > > > > Why is the answer to > > these problems is more and more outsourcing and throwing even more > > piles of crap and wasting money in the hopes that will fix the > > fundamentally broken systems we have in place? What we need is a > > radical back to basics approach to software engineering. > > This is due to the belief that you don't need to build something, > instead just take what's already there (because it's being promised > to be "the solution"). So no more thinking is needed. Every layer > of abstraction, be it 3rd party OCO libraries, Internet-based > services using an API, or simply handing off the work to a cheap > shop (the cheapest one is just good enough) adds more crap. But > as I mentioned, this can be compensated by machine power. :-) > > > > > Well at least not ALL industry. I think Apple made the right choice > > when they decided to embrace NeXT (which is heavily based and > > inspired on FreeBSD) and Objective-C from the start, creating > > highly-tuned systems that are not only NOT portable in software > > terms but not even portable in hardware terms! > > With this approach, Apple wanted to be able to offer a hardware and > software combination (!) that they verified to work. Control over > hardware makes software creation much easier, as you know your > "moving parts" and don't have to introduce guesswork and abstractions > for hardware. Apple's primary goal is not to sell an OS or a > computer - they want to sell an "experience" where many things > add up to the product. > > > > > Pardon the rant and have a wonderful day. > > I'd like to expand on one thing I briefly mentioned, because I > think it could be important for the process: > > With articles like "Why can't programmers... program?" that > question fundamental knowledge that "we" (skilled and experienced > "old people") take for granted, the question comes up: Why are > there no programmers who want to do good work? > > The reason is simple: Good work doesn't pay. > > This is for two reasons: > > Reason 1 is related to taxes. If you want to employ a really good > programmer, this will cost you money. You don't get it for minimum > wage. But personnel costs are bad on your balance sheet, as you > cannot deduct those costs. So what do you do? Turn personnel > costs into material costs, i. e., get consultants and external > services who finally write you an invoice which can be deducted. > Sure, they are often more expensive (!) than your own programmer, > but hey, everyone does it that way! And now that the contract has > been signed, there is no way back. Three rules justify all those > actions: (1st) "We've always done it that way." (2nd) "We've > never done it that way." (3rd) "Then anybody could do it." > > (The previous paragraph applies extremely in Germany.) > > Reason 2 is education. As I said, it requires a structured mind > and a passionate heart to learn and use (!) languages like C or > systems like Unix. From the beginning, you're not "business-y", > because that would be "Windows" and Java and C#. Copypasting from > the Internet without understanding what you're doing and still > getting something that "somehow works, sometimes" seems to be > sufficient to get a job today. Even when graduates fail in a > simple FizzBuzz interview, hey, they are fresh out of university, > so they must be good, right? A degree and lots of certificates > open many doors, skills do not. > > You'd be surprised how many programmers you could find in the > "jobless" section, but they'll probably never get a job again > even though they educate themselves. This is because they often > don't have access to an important resource: money. > > Let me explain: In order to get "monkey see, monkey do" jobs in > IT where you don't need a fully functioning brain because you > just press buttons when the bell rings, you need to be certified. > This costs lots of money. But because it is being paid for, the > result is easy to predict: No knowledge needed, just be visible > when the courses are being held; pay your money, get your shiny > sheet of paper. In many cases, employers send their underlings > to such certification courses just to make the customers pay > more ("But our consultants are certified!"). Only with money, > you get access to this world. If novice programmers aren't > lucky, they'll always stay on minimum wage, even though their > skills and experience are better than those of the HPCs who > tell them what to do. > > I've seen more than enough of those "qualified consultants" > who make boatloads of money, but are stupid as hell. They > are, in fact, excellent actors and influencers... > > Reason 3 - three! three reasons! - is social appeal. Just imagine > you're actually understanding your work, and you do it better > than others, then you're not a "team player", because you "make > the other branch offices look bad and lazy". That's why it is > not encouraged to improve things. > > Example from reality: I once worked for a shop where one person > got a high wage for creating timesheet templates. Manually. She > basically entered years, months, days and hours manually into a > PC as if it was a typewriter. With additional microformatting. > Every day. Every month. For years. When one of her coworkers > suggested to automate the task basically by piping the output > of "ncal" into a little awk script (he was a Linux person), > he got yelled at for being "hostile to coworkers" and "threatening > the staff". That's what you get when you use your brain. > > PC on, brain off. > > > > > > > Sorry for the rant. :-) > > > > -- Rod http://www.rodperson.com For we are both ready to believe the thing we want to believe, and also hope other people feel what we feel ourselves. Julius Caesar The Civil War, book II, 27 Expedition of Curio to Africa From owner-freebsd-questions@freebsd.org Thu Oct 5 17:52:15 2017 Return-Path: Delivered-To: freebsd-questions@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 852B9E3E7DD for ; Thu, 5 Oct 2017 17:52:15 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpd.telissant.net (smtpd.telissant.net [104.225.1.170]) (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 564B07F483 for ; Thu, 5 Oct 2017 17:52:15 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from cortina.3dresearch.com (localhost [127.0.0.1]) by smtpd.telissant.net (Postfix) with ESMTP id C81421186DF for ; Thu, 5 Oct 2017 13:34:42 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpd.telissant.net ([127.0.0.1]) by cortina.3dresearch.com (cortina.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TH6eosZdKHG6 for ; Thu, 5 Oct 2017 13:34:09 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.240.62]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra) by smtpd.telissant.net (Postfix) with ESMTPSA id F1825116449 for ; Thu, 5 Oct 2017 13:33:56 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id 2A7E02897AE for ; Thu, 5 Oct 2017 13:33:56 -0400 (EDT) Date: Thu, 5 Oct 2017 13:33:21 -0400 From: Janos Dohanics To: FreeBSD Questions Subject: Application startup time Message-Id: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 17:52:15 -0000 Greetings, I have a fairly recently built computer: i7-4790K CPU @ 4.00GHz, 32GB RAM, GeForce GT 730, FreeBSD 10.4-BETA2. On this computer, I have thunderbird-52.3.0_3, installed from ports. Thunderbird takes 38 seconds to start up, that is, from clicking the icon until Thunderbird offers a login prompt. On the same computer, I also have Virtualbox + Win7 Pro installed. The Win7 machine has 8 GB RAM. Thunderbird in the Win7 virtual machine starts in 7 seconds. In addition, Thunderbird in the FreeBSD host often freezes for several seconds, as long as 20 seconds or longer. During such "freezes" top(1) showed plenty of CPU and RAM being available. As per instructions on page https://wiki.mozilla.org/MailNews:Logging I did: $ export MOZ_LOG=IMAPOFFLINE:5,MAILBOX:5,MSGDB:5,timestamp $ export MOZ_LOG_FILE=/tmp/ztb_log Just guessing that logging these modules might offer some clue. Then started and shut down Thunderbird from the command line. /tmp/ztb_log is created, but empty. Please advise... -- Janos Dohanics From owner-freebsd-questions@freebsd.org Thu Oct 5 20:28:20 2017 Return-Path: Delivered-To: freebsd-questions@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 56005E41DAE for ; Thu, 5 Oct 2017 20:28:20 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 0E289D90 for ; Thu, 5 Oct 2017 20:28:20 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id r64so15736060qkc.1 for ; Thu, 05 Oct 2017 13:28:20 -0700 (PDT) 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:cc; bh=9J9o0ZMz9kbOGgUNoAeSdVpzf4+VJg0itVi5BDp3zMA=; b=kPGnXs7IZlNzA1T4qM34GCM9F4/8uTG13TXFd93vr4U1E9duFbOKQUQyZRNe8ejs5O NDE0PeF2sUFBPJKOtC8N5StftknghYeVYxAaltHlr3HvIeSPeCJLWCW1VKvIUby2QhNH 6yw3aYZRjPbnZiZKdN0Jts1mdaa+Cembh+tiI+jcRNsstl9e38p1pIOor8GFAUe1F7g/ tsYcLCXEbNay0dOY8YEpWIt0ukn9AIROKyC8uwxXrIWa0Op24wnefFEP/KZ0S8sZWSjZ 9XD8ZctnhKRov/QzRYF7NgMjrTbOBrdv1KiugwSrlvJtBL3shfdYHKT87nwwD/z3yKKt dFOg== 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:cc; bh=9J9o0ZMz9kbOGgUNoAeSdVpzf4+VJg0itVi5BDp3zMA=; b=f2QJbcVUKxlnEnu8LvENEdnHKqNXwGR34a3a2PQX+D1j+Pd8Jg7gvPVOYWr2iyacUX mk1s9rjWVdlC2TArBUIDiUgo/nSSKUUamPoFR5MRkEypus4flob5tGOx4rUIZxy4bvLq i+tL7Ar2U/jLeg2xenw7oqz0OsNS/Qj59mnZD85GuWd4QHsumlZdwr+n/Nb37eL32G22 8jHOFfXtuaDe6yyI2oQsR6BkJv/tfNPnxF8RA32u6BBF26ggfzlbEySu/Ua/YoyhcdZW +ODcMIUfsJWnk7OpzKDBFeyXn7NNLuD9efX7/VwX7UAp6qQo34CstCH34X4+oIeLkynn CppA== X-Gm-Message-State: AMCzsaUdmhhj/EMxOD6aFb9NYk549Tj9r21E4Oy5Jm722gpsKxf0RAtG Ms5tim1gW0Z0ZseWIKMo3DccF59XjrIN7S/BRjA= X-Google-Smtp-Source: AOwi7QDjJ+Eo0MRltizBQlLtddBh7MoObPGdSs8chBxJfPJPGzvmgTSgNZ2l6WNxIt5ePEAoZe7JXffTxfPFunMsByc= X-Received: by 10.55.215.22 with SMTP id m22mr14191636qki.119.1507235298800; Thu, 05 Oct 2017 13:28:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.23.202 with HTTP; Thu, 5 Oct 2017 13:28:18 -0700 (PDT) In-Reply-To: References: From: Eduardo Lemos de Sa Date: Thu, 5 Oct 2017 17:28:18 -0300 Message-ID: Subject: Re: Screen Saver under FreeBSD 11.1 Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 20:28:20 -0000 Dear Manish On Thu, Oct 5, 2017 at 10:22 AM, Manish Jain wrote: > > > On 10/05/17 18:32, Eduardo Lemos de Sa wrote: > > Dear > > > > I have used FreeBSD 11.1 (release/amd64) since some months. Everything > > seems to working good, but I couldn't find a way get screensaver > working. I > > added into my /etc/rc.conf: > > > > saver=3D"blank" > > blanktime=3D"120" > > > > > > rebooted several times, but simply it did not work. Under X11, I could > have > > xscreensaver working (and to reinforce security, I am working under X11 > > enviroment to have screen locked). Please, could you give some advise t= o > > solve this? > > > > Thanks in advance > > > > My best regards > > > > Eduardo > > Getting the saver to work in console mode is difficult nowadays - > perhaps even impossible. > > The only way you can get saver to work in console mode is to add this to > /boot/loader.conf and reboot : > > kern.vty=3Dsc > > The default console driver under 11.x is vt. If you use sc, your saver > will begin to work, but then X will refuse to start (happens under > 10.3/11.0). If you manage to get it to work under 11.1 - good luck ! > > Regards > Manish Jain > Thank you for your clarifications: I saw a discussion about vt x sc terminals, but I couldn't realize that problems could have rearch screensaver. My best regards Yours Eduardo --=20 Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186 From owner-freebsd-questions@freebsd.org Thu Oct 5 20:59:22 2017 Return-Path: Delivered-To: freebsd-questions@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 686ABE428EF for ; Thu, 5 Oct 2017 20:59:22 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 2D65120B1 for ; Thu, 5 Oct 2017 20:59:22 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id c77so24652364oig.0 for ; Thu, 05 Oct 2017 13:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=mVo69hhWbqHHL0c9+dWqWIYb/przej3TSOV8J9K9nx0=; b=eSH3bJx78OZztn8btDBdvmYAKcKznx6kFjRKItP5SOcqfMVvtXGC+ntURCLss5BwAx xvMuvZOT4ufiidOWym8NbUWUSz55gJEqtsoY+3ZKr0jRVYE1KlNM1UO/ZzJDfhgZ5ERH iUTJ1n09m+IYyphQQKDcKfXZRSRTsOUe3W4Hs7h3ySTs/QLYHpCFOMstdYwRMrca7/il hNWPMPjP4LDGuCWZ17icCsPb6px/dgaP/5k9u8U5FNQEcaxyAAyinz+I9lfmSHjRszBx C6FZ6oPp2Sac+YEEfB18BiU7Bqxy6NC9Hb0WpevKzY8wXEAXYhXxaeI1mxevQB1lxe8a k0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=mVo69hhWbqHHL0c9+dWqWIYb/przej3TSOV8J9K9nx0=; b=CIavD0LOjwxWLanB5hyW2LidPDO8Xpemf7FLlriKPgOWmKI8JAdwX1UPNPC3Nj122p qZzUgzpWgPoCzHpteViX5UrttZ9/aBiwLNXIzBUVAbJaOPBXKPe5MXJY/8IJzhMjR/w4 3XSlWsFnpkAtirQCXy+E0LDMHGkz7NmLLNt4Y6xmpaw6k6+9Dr1CjDRydTrm/NWkKHvd AR0UNxfRJFeGTLzqi+WFRUB/Trlc8PZF52HvPzh+bZMkqMo6ZIJLl3ohlededyWky+sT SQziUk12IA3cMyxKNiAJuOM55brvRbLh6u7PTAjU4x5jloV7D+XAE7/ssHbXo6HbgYh1 KB7A== X-Gm-Message-State: AMCzsaXsFWRifUNwjtTiVTitcVTywENR2d/RcKNv/SOBEE4wpL7puhG2 nf4Vdgp0au0+qXlyTPLIjtBaykkqR+5VTKVcqrs= X-Google-Smtp-Source: AOwi7QCKwVUUJmqAsJM4K/mEpQ56iyhP5HTfyUX390ale4fNGz0lD1nhp/ojfcB9TrLYWwA9I2oRUsP07t7Q+Zj8AcY= X-Received: by 10.202.88.86 with SMTP id m83mr13183967oib.75.1507237161256; Thu, 05 Oct 2017 13:59:21 -0700 (PDT) MIME-Version: 1.0 Sender: vrwmiller@gmail.com Received: by 10.202.92.138 with HTTP; Thu, 5 Oct 2017 13:59:20 -0700 (PDT) In-Reply-To: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> References: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> From: Rick Miller Date: Thu, 5 Oct 2017 16:59:20 -0400 X-Google-Sender-Auth: fEMxRqWEhIKkB82QGThRH7NIvvk Message-ID: Subject: Re: make WITH_VMIMAGES=yes release fails with permission denied. To: Johan Hendriks Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 20:59:22 -0000 Hi, On Thu, Oct 5, 2017 at 6:52 AM, Johan Hendriks wrote: > Hello all. > > I thought it was time to test the make release to create my own .qcow2 > and .raw files. > I am on a FreeBSD 11.1p1 machine. > But it does not work, it builds the ftp, bootonly and memstick images > fine, but the vm part does not. > I do the following. > > cd /usr/src/ > make -j4 buildworld && make -j4 buildkernel > cd /usr/src/release > make WITH_VMIMAGES=yes release > You may consider using release/release.sh. Edit/create a config file from release/release.conf.samples and calling the script with this config. Config knobs like WITH_VMIAMGES are located -- and can be modified -- in this config file. The script builds a clean environment in which the the media is generated. -- Take care Rick Miller From owner-freebsd-questions@freebsd.org Thu Oct 5 22:15:13 2017 Return-Path: Delivered-To: freebsd-questions@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 81955E43F37 for ; Thu, 5 Oct 2017 22:15:13 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from sonic305-21.consmr.mail.ir2.yahoo.com (sonic305-21.consmr.mail.ir2.yahoo.com [77.238.177.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EB2A63CB1 for ; Thu, 5 Oct 2017 22:15:12 +0000 (UTC) (envelope-from emorrasg@yahoo.es) X-YMail-OSG: 38r2SLAVM1nwBio3HD5NX90HRRQ9iX2AKLhYj7wuT02Kl294lfXcTbmpLIDxMsV x6Q3xhxjTf6ChVPdJ9C4g5g5rsfUgzYq2516eKHOlh8V7Vro_FZRMVIewXJJ8fxZ.lpTNTE.Zd0y hcxxPN0GSqMaO2BD1Yw1Tsw4zUstBzya4rJqi_QQ.d.JNfq8xPEYOXh4BLBOZV2oRL8Ge87GK_MB fHBaL1aqn1LX66a0gKs7b0AZJY00sqpiLSuI4qP6ZNNu2lx.Q88COUj1s5PY5nC_ydw_uPvbtTNp d7JvBCi.ZmdU2hmqHW193tpDCWAbwTfExpUu92_YnIW5wRbmjjug3eXzjnx8Bu041JiXjpTmT8Tq UdKWWK8NQBkrkeUTmJst4zMKBY7tYJMBbV7ArVg8M8dKlRT6Zm1c84AQcpQWtGGYQFhgIrJaRF63 kDSxP2RwFnuOMnqly2sOOVteD64E_Sf7u_DuN1ktRyq2k.DJJrdfSSNn9JRSKKoHJ.EDOU1.jNQ8 oKEeaEZL.XaqmZ_KzVheZXIE5O2Fw8Jo- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Thu, 5 Oct 2017 22:15:09 +0000 Received: from [127.0.0.1] by smtp116.mail.ir2.yahoo.com with NNFMP; 05 Oct 2017 22:15:08 -0000 X-Yahoo-Newman-Id: 887753.50365.bm@smtp116.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 38r2SLAVM1nwBio3HD5NX90HRRQ9iX2AKLhYj7wuT02Kl29 4lfXcTbmpLIDxMsVx6Q3xhxjTf6ChVPdJ9C4g5g5rsfUgzYq2516eKHOlh8V 7Vro_FZRMVIewXJJ8fxZ.lpTNTE.Zd0yhcxxPN0GSqMaO2BD1Yw1Tsw4zUst Bzya4rJqi_QQ.d.JNfq8xPEYOXh4BLBOZV2oRL8Ge87GK_MBfHBaL1aqn1LX 66a0gKs7b0AZJY00sqpiLSuI4qP6ZNNu2lx.Q88COUj1s5PY5nC_ydw_uPvb tTNpd7JvBCi.ZmdU2hmqHW193tpDCWAbwTfExpUu92_YnIW5wRbmjjug3eXz jnx8Bu041JiXjpTmT8TqUdKWWK8NQBkrkeUTmJst4zMKBY7tYJMBbV7ArVg8 M8dKlRT6Zm1c84AQcpQWtGGYQFhgIrJaRF63kDSxP2RwFnuOMnqly2sOOVte D64E_Sf7u_DuN1ktRyq2k.DJJrdfSSNn9JRSKKoHJ.EDOU1.jNQ8oKEeaEZL .XaqmZ_KzVheZXIE5O2Fw8Jo- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Fri, 6 Oct 2017 00:20:08 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-Id: <20171006002008.0dd518da8b2173ff8c8cafa2@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 22:15:13 -0000 On Wed, 4 Oct 2017 10:10:04 -0400 Alejandro Imass wrote: > .. or did they? UaUUU.. Good mail. Just to share real case, from years 1999-2001 (and repeated again in other job (2007-2010)). We began to build IT infrastructure, my part worked fast, low resources, in C, but the other part was being developed in Java. While my daemons read, process and write results directly in binary data files, Java still was parsing the binary input files, because it hadn't binary operators. The solution wasn't to kick java, it was to convert all data to xml. Since then there wasn't a significant difference between my C daemons and Java programs, because network (100MB ethernet) becames the bottleneck and the final problem wasn't that programmers team did a bad work, it was sysop team fault (the guys that controlled the network) that didn't design and measure the expected traffic. After 18 years, now I'm again in a similar situation, trying to move the business process from .NET/Windows big monolitic server to Unix philosophy, simple tools that do one work and do it perfect (and FreeBSD server). --- --- Eduardo Morras From owner-freebsd-questions@freebsd.org Fri Oct 6 03:11:54 2017 Return-Path: Delivered-To: freebsd-questions@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 E4A9CE2504D for ; Fri, 6 Oct 2017 03:11:54 +0000 (UTC) (envelope-from christina@mybannerbillboard.com) Received: from a2nlsmtp01-01.prod.iad2.secureserver.net (a2nlsmtp01-01.prod.iad2.secureserver.net [198.71.224.24]) (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 A224A6C141 for ; Fri, 6 Oct 2017 03:11:54 +0000 (UTC) (envelope-from christina@mybannerbillboard.com) Received: from a2plcpnl0854.prod.iad2.secureserver.net ([107.180.109.53]) by : HOSTING RELAY : with SMTP id 0Iusegs085tA10IuseAiwj; Thu, 05 Oct 2017 20:03:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mybannerbillboard.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:Reply-To:From:To:Date:Sender:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HjzDsbdquF2pr4j1+5fRFcq/VQ5g6UVnztmKzN0umu0=; b=i9BjqLO1kubGCF23sEvaJBgn0W DGcObzeDquOn6At6E4klBsD/kHERC5pnLGIXi2hKTJYoTj2auJFcyvZa8EeGWR0G93fcameZcwKXV tHaajy9rbb8rJx1i0nVA4P3gqCydiemnyV5ehHHCTLej7hWUqdQxTz8Q4g68Coqxj3EmhgS514rNl +th6Kn116AubE4HtRZtDaysYLvmYvjcP9hY2657fPVfz4cmGtikXuvPzEsLnWn+hb5NRoMSHcVwr0 iLGQAl0jwQqWHUPy0n5SDlnDjngvMKC3IuhcApwz1IS/WB4gSb0/folG/Fj7hGDANGY2pc/8SMQ/R RvLoYG6A==; Received: from [127.0.0.1] (port=56438 helo=mybannerbillboard.com) by a2plcpnl0854.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from ) id 1e0Iur-003RNg-Rc for freebsd-questions@freebsd.org; Thu, 05 Oct 2017 20:03:09 -0700 Date: Fri, 6 Oct 2017 03:03:04 +0000 To: "freebsd-questions@freebsd.org" From: "christina@mybannerbillboard.com" Reply-To: "christina@mybannerbillboard.com" Subject: Freebsd-questions, No extra budget for optimization needed Message-ID: X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0854.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mybannerbillboard.com X-Get-Message-Sender-Via: a2plcpnl0854.prod.iad2.secureserver.net: authenticated_id: christina@mybannerbillboard.com X-Authenticated-Sender: a2plcpnl0854.prod.iad2.secureserver.net: christina@mybannerbillboard.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfLN6ageiT024tK4TycmEO/Q2zj8d6Xendl0EeXcMT5YE3HBnwTr3+KbOvSlkAvcyMDsI3jWpzxYXgGhzMGTkm8eWPs5JIUnnOuTSWLLlyNJXxJpDycCA tzInFDfku60fkP6fG7dbIOuL/fYH6XE8VYiLPcgp0r8kf09OlmicseOX6IyaHN0uidAkU/2W/5H/oSS6UJfWoysoVo1DP7eYgOk5FMU4MpsG1YLhh0OsJquf Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 03:11:55 -0000 Hi Freebsd-questions! Not all online business owners rank their web pages so that their websites are placed on top of Google, Bing, and Yahoo. Surely, some may admit that it is not a hard thing to make to optimize their web pages. But for those, who don't want to get much suffering from website optimization process, we can give you a chance to try a new technology that absolutely makes your web page be placed on a top portion of all search engines. If interested, First, visit our website and click on the Demo link. Second, enter your website freebsd org and keywords and check the validity of this proposal. Thank you for your consideration, Christina Hamilton From owner-freebsd-questions@freebsd.org Fri Oct 6 04:14:07 2017 Return-Path: Delivered-To: freebsd-questions@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 1869DE2667E for ; Fri, 6 Oct 2017 04:14:07 +0000 (UTC) (envelope-from eddiecervacio@email.arizona.edu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 009D56D8F5 for ; Fri, 6 Oct 2017 04:14:07 +0000 (UTC) (envelope-from eddiecervacio@email.arizona.edu) Received: by mailman.ysv.freebsd.org (Postfix) id F1071E2667D; Fri, 6 Oct 2017 04:14:06 +0000 (UTC) Delivered-To: questions@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 F0781E2667C for ; Fri, 6 Oct 2017 04:14:06 +0000 (UTC) (envelope-from eddiecervacio@email.arizona.edu) Received: from mails2n0-route0.email.arizona.edu (mails2n0-route0.email.arizona.edu [128.196.130.122]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "*.email.arizona.edu", Issuer "InCommon Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF31F6D8F4 for ; Fri, 6 Oct 2017 04:14:06 +0000 (UTC) (envelope-from eddiecervacio@email.arizona.edu) Message-Id: <3f1937$6fhamm@mails2n0out.email.arizona.edu> X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BcOABK9dZZbE5WkktbhA1ZTSyOQnKPMgEBAQEBBoFaAYIiiyyIMheBegEJFIUdAwEEhB5LDQECAQEBAQEBARMNFgRZQg4BhFkgKxsgeAEJBQGKSQEBCQ2WHod1ikMPhGKCIwMBdgeGd4MLhSYGL4RkAQFqglmCTwWKGJcbAoFrRZQuARiBcYd8gUYPYYRTlVlnUk2BGHqBbhqDHgELAYJiJIIthFiCNAECAw X-IPAS-Result: A2BcOABK9dZZbE5WkktbhA1ZTSyOQnKPMgEBAQEBBoFaAYIiiyyIMheBegEJFIUdAwEEhB5LDQECAQEBAQEBARMNFgRZQg4BhFkgKxsgeAEJBQGKSQEBCQ2WHod1ikMPhGKCIwMBdgeGd4MLhSYGL4RkAQFqglmCTwWKGJcbAoFrRZQuARiBcYd8gUYPYYRTlVlnUk2BGHqBbhqDHgELAYJiJIIthFiCNAECAw X-IronPort-AV: E=Sophos;i="5.42,482,1500966000"; d="scan'208";a="217623254" Received: from 75-146-86-78-lakecounty.hfc.comcastbusiness.net (HELO BH-RPM-21) ([75.146.86.78]) by mails2n0out.email.arizona.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Oct 2017 19:48:44 -0700 From: "Moris Flinthogu" Subject: Read your mail and respond back To: questions@freebsd.org MIME-Version: 1.0 Reply-To: mfli1945@yahoo.com Date: Thu, 5 Oct 2017 22:48:50 -0400 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Antivirus: avast! (VPS 171005-4, 10/05/2017), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 04:14:07 -0000 Hello, I have a profitable partnership that may interest you, respond back fo= r more details. Yours faithfully, Engr. Moris Flinthogu From owner-freebsd-questions@freebsd.org Fri Oct 6 04:25:19 2017 Return-Path: Delivered-To: freebsd-questions@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 94464E26ACB for ; Fri, 6 Oct 2017 04:25:19 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 4C5066DD2E for ; Fri, 6 Oct 2017 04:25:19 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-vk0-x234.google.com with SMTP id 126so9077905vkj.9 for ; Thu, 05 Oct 2017 21:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AqjWPSnPyidy5r9/xuVs1QHbAcxYIWX9i4VAiPgChR8=; b=aJUkrzJQRjD3OsMK8KxfB11TYSBAsbXN+3G/MzhbOcsSfATvaiHQYinXKcC0zKRTRm Tft4nZD9jbPSKWFmgjqYgZAEWQ+cBJwKCM3jsDl8wO0gAKqmWCSuaBzz3180CdbaEzb8 YoGdYcGBbc/Vg6ts2VOZDLIiYy3lnbMLRxkUQRF38A5eXNK460hDkXBpY96ymKewHfEM oP5j/qbBrTJ55w/DJm8bLGiCWSsuSz/r0LPiBU6qagVIkO2x7ceSNIZ6pldmZ2s6QoJM 7Ehnx7Nil8W3aO3kWcsqJ1RGKO8NJTiHrpIxXxR/NOzrT1UeQY74HXtuOXwG7YWL4HCH AfSg== 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=AqjWPSnPyidy5r9/xuVs1QHbAcxYIWX9i4VAiPgChR8=; b=iwjCbVTbCIBNOcVIzwelJ400MhmTwVmmmfgmoWuJtKrlveSfAoUGCE36ywHjvsVccQ lRmfuLkUYONLoJdmEwkoT6amRx2G+Fll+NFvQ9OvfN8FobqDYvkuND4mwKZ9DmcAeYHd kywhKTINORKpIIZqKTqgLNn0ZqxtdoLA3hgJ437hDeixfty0yOWwPpmMLzzzvyleBJ/z /SrbQGhzTHwtZ6gvmVwXtQ4FPyDwTS0m6f/3TDkv1eQzZQFMybG6gSo7UYjGJ50VEmCN FE1utEU40/ObHJF2s++3aMjhc0D4MfJ+7HuX20c449Ko6vzUfiswyEgyT4AeqA0XukhK NyXg== X-Gm-Message-State: AMCzsaVFKd0ErO0juyVWajO0YroEy5aL3VARpFls9TPHMGyBz2om0HqS +dDRnKlJfEh0j4B1OhVq0jXBYD9JuXvSL8SA2jHP9Q== X-Google-Smtp-Source: AOwi7QCzFdFHoizv4zbkDBYHeA0g6gxfox+JFnxgYNX8trWbvkkw6SdiPq3Oxc+B/k+Sf/1AwCEe9GoWi6D9f+5THEw= X-Received: by 10.31.158.138 with SMTP id h132mr342781vke.139.1507263918301; Thu, 05 Oct 2017 21:25:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.86.157 with HTTP; Thu, 5 Oct 2017 21:25:17 -0700 (PDT) In-Reply-To: <20171005062919.88a3db9c.freebsd@edvax.de> References: <20171005062919.88a3db9c.freebsd@edvax.de> From: Alejandro Imass Date: Fri, 6 Oct 2017 00:25:17 -0400 Message-ID: Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... To: Polytropon Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 04:25:19 -0000 On Thu, Oct 5, 2017 at 12:29 AM, Polytropon wrote: > Allow me a few comments. It will be mostly statements from my > very limited individual point of view and experience. > > > On Wed, 4 Oct 2017 10:10:04 -0400, Alejandro Imass wrote: >> Why did C++ and Java seem win over C and shared object libraries? > > Java is the new COBOL, 'nuff said. > [...] > > The reason is simple: Good work doesn't pay. > Seems that now I have a lot of work to comb through this thread and pick out the gems in all the great feedback, but this one in particular struck a very strong chord with me. This email from which I'm writing is from a moribund company which I founded around 10 years ago in which we developed some amazing technology for a few companies, some of which went on to be pretty successful, although our humble little company failed in the end. The fundamental reason we failed is because nobody was really willing to pay for great work. Our business model was flawed from the start because we gave our customers a lot more than they were paying us, and the competition would deliver mediocre crap (at best) for more money, and our customers didn't really care either way. They never really understood our passion and elegance, and in retrospect, I get it now. How could they really "get it"? For example when I would talk passionately about FreeBSD and mod_perl and 6,000 concurrent requests per server, the answer was like "well what do you think about WSO2, I heard some XYZ company from Wall Street uses that"... shouldn't we be moving towards that architecture?" Honestly, what can you answer to that? where do you even begin to explain? I mean, what part of 6K request per node didn't you get? We were the underdogs, selling something that nobody really wanted to buy: great work. In the end customers don't really care about good technology or elegant systems. All they care about is eye candy and buzz words. So I finally gave in, and sold what was left of our team to one of our customers that did really well, and we continue to do the best work we possibly can, but sadly limited within the realm of "enterprise" system development, and out of all things in f-cking Java. In my particular case, it's a means to an end to eventually move on to my next little startup, because I surely don't want to spend the rest of my time on this planet with this enterprise bullshit. Warmest regards to all! And a heartfelt thank you for confirming that I am not the only one frustrated about all this. -- Alex From owner-freebsd-questions@freebsd.org Fri Oct 6 08:37:21 2017 Return-Path: Delivered-To: freebsd-questions@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 9F003E30AFA for ; Fri, 6 Oct 2017 08:37:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BFEC752DD for ; Fri, 6 Oct 2017 08:37:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Fri, 06 Oct 2017 10:37:12 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8212B3CBF9; Fri, 6 Oct 2017 10:37:11 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v968bA25002070; Fri, 6 Oct 2017 10:37:10 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 6 Oct 2017 10:37:10 +0200 From: Polytropon To: Alejandro Imass Cc: FreeBSD Questions Subject: Re: [OT] Why did "enterprise" crap seem to win? (re: Virtualization, Java, Microsoft, Outsourcing, etc.)... Message-Id: <20171006103710.b15bae7c.freebsd@edvax.de> In-Reply-To: References: <20171005062919.88a3db9c.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 099EF6860AC X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1982 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 08:37:21 -0000 On Fri, 6 Oct 2017 00:25:17 -0400, Alejandro Imass wrote: > On Thu, Oct 5, 2017 at 12:29 AM, Polytropon wrote: > > Allow me a few comments. It will be mostly statements from my > > very limited individual point of view and experience. > > > > > > On Wed, 4 Oct 2017 10:10:04 -0400, Alejandro Imass wrote: > >> Why did C++ and Java seem win over C and shared object libraries? > > > > Java is the new COBOL, 'nuff said. > > > > [...] > > > > > The reason is simple: Good work doesn't pay. > > > > Seems that now I have a lot of work to comb through this thread and > pick out the gems in all the great feedback, but this one in > particular struck a very strong chord with me. It's interesting that (1st) I'm not the only one to notice, and (2nd) the problem isn't specific to Germany... > This email from which I'm writing is from a moribund company which I > founded around 10 years ago in which we developed some amazing > technology for a few companies, some of which went on to be pretty > successful, although our humble little company failed in the end. YOu mention something that I think is worth emphasizing: Just because you have a good product / service / idea, it doesn't imply you can make money with it. A typical conclusion: You can make money with crappy products / idiotic services / stupid ideas as long as you find someone willing to pay money for it. In the corporate context, this means that excessiv advertising and PR has to be added, and of course you need the ability to "shift down" the costs, which means that a final costumer (not neccessarily yours) has to pay the full price. When you walk around the world with open eyes, you'll easily recognize where you (as a private person) pay the bills to kepp all those bullshit companies alive, and this is because you have no choice. You cannot say "I'll deduct 20 % from my utility bill because you're using highly expensive shit software, and I don't want to pay for that." And guess what you Internet access really costs? Not more than 10 % of what you're actually paying. > The fundamental reason we failed is because nobody was really willing > to pay for great work. Our business model was flawed from the start > because we gave our customers a lot more than they were paying us, and > the competition would deliver mediocre crap (at best) for more money, > and our customers didn't really care either way. That exactly is an important statement. Our typical wage is just a fraction of what our boss makes with the results of our work. Let me add something: Efficient work isn't honored. As I said before, employees (even programmers who are sometimes thought of as "creative minds") are expected to be "do what you've been told" kind of persons, push the button, turn the screw, write the value into this field, don't ask questions. Nobody says: Don't make yourself (or your coworkers) superfluous, but that's probably also true. Just imagine a task is "timed" to fill 8 hours of work. But you find a way to do it in 1 hour. Will you get a reward! No, you'll be punished for "not engaging" with "the goals". Now let's make this less harsh: Let's say you do the 8 hours work in 6 ours and want to leave. Hell no! You cannot leave! There is work to do! What kind of lazy and unsocial person are you?! But your coworker needs 10 hours for the same task. Look how passionate he is! He identifies with the company philosophy and does excellent work! Now guess who gets promoted. :-) As good work obviously does not pay, in conclusion: What would be a reason to actually _do- good work when mediocre work is fully sufficient? Now you could say: As an engineer, I have certain standards I _personally_ adhere to. And you will say this maybe for some months and years. But finally, "corporate culture" will have drained all your self respect, and for the peanuts they pay you, you'll finally crank out all the crap they want - but keep your standards, quality, creativity and enthusiasm for your side projects. IF YOU PAY PEANUTS, YOU GET MONKEYS. Yes, it is that simple. If good work would result in good pay, we'd see better software around, especially in the enterprise world where money never really is a problem. > They never really understood our passion and elegance, and in > retrospect, I get it now. How could they really "get it"? For example > when I would talk passionately about FreeBSD and mod_perl and 6,000 > concurrent requests per server, the answer was like "well what do you > think about WSO2, I heard some XYZ company from Wall Street uses > that"... shouldn't we be moving towards that architecture?" Honestly, > what can you answer to that? where do you even begin to explain? I > mean, what part of 6K request per node didn't you get? This fits the "don't care" indoctrination. No own thoughts. But refering to Wall Street companies is always "good". They cannot fail! They prosper! (No further thoughts of if this is right, or why this is.) Solutions aren't being searched within the own potential (provided by qualified and motivated personnel), but instead in external products and services. I think this is because nobody really wants to take responsibility, and with a pile of external dependencies you hardly understand, it's always easy to blame somebody else... > We were the underdogs, selling something that nobody really wanted to > buy: great work. It was the nonconformant people, the tinkerers, the thinkers, the dreamers who created all the technological innovation that society takes for granted. It was not the suits, the "looking good man", the yes-sayers, the bean-counters or bone-heads. > In the end customers don't really care about good technology or > elegant systems. All they care about is eye candy and buzz words. Yes. And strangely, this always seems to work. Even if you don't have a product that matches the customer's needs, you'll be able to sell him crap with good talk, colorful documents, a nice "Powerpoint" presentation and fake recommendations. I didn't believe it until I saw it myself. More than once. So in the end, the customer's employees have to work around all the problems that the software solution includes. Those who decide about what software to use aren't the ones who are going to use it later on. There are also cases where no decision is possible due to idiotic regulations. For example in schools. The government issues a list of "approved" software and "certified" service contractors. Those solutions are expensive, prone to break, heavily insecure, and more or less belong to a museum (or country fair horror show). You'd be surprised how many pupils (and few passionate teachers) you'll find in local school computer clubs who could do a much better job for fewer money (as no external "service contractors" are needed), but they aren't allowed to even touch the "certified" solutions. So while software in administration and classroom permanently bluescreens, data gets lost or stolen, the parasites get money. Their contracts say things like "if something breaks, it's your fault, and we are not liable for anything." Those kinds of "approved solutions" can be found in many other contexts. > So I > finally gave in, and sold what was left of our team to one of our > customers that did really well, and we continue to do the best work we > possibly can, but sadly limited within the realm of "enterprise" > system development, and out of all things in f-cking Java. I've recently dealt with an installation where a working environment consisting of mainframe + skilled programmers is to be replaced with "query generators" written in Java on local PCs - introducing a complexity of O(n) for administration -, and those who are aware of it already predict two significant problems: (1st) the speed of resolving customer queries (often quite complex) will rise, and (2nd) for changes (happens very often), the external company supplying the Java solution needs to be addressed, as of course they only serve binary blobs to be used locally on the individual PCs. Until now, you simply needed to call one of the programmers and tell them what you need, and they would write a program for you and send the output. I have no idea how complex it will get now after being "modernized" to Java... > Warmest regards to all! And a heartfelt thank you for confirming that > I am not the only one frustrated about all this. Definitely not. We who suffer are a silent majority. :-) Related war story, happened this year when the "Wannacry" et al. crypto trojans caused problems: 2:30 in the night, phone rings. Big boss: "You must come in immediately, out while production has stopped!" I say "Okay, I'll be ready in 30 minutes, don't touch anything" and collect my equipment and am being picked up by the production supervisor himself. He says: "I'm so sorry we have to wake you up. Did the boss tell you already? Production stopped. Somehow our system got infected by some crypto trojan. Maybe you can find out who is responsible." Arriving at the site, getting production system up again. Checking the office installation: All PCs re-installed cleanly (user data lost, of course, as the server and its local backup were also reset). I ask: "Has someone been here before me?" Big boss: "Oh yes, we have a consultant for that. He's very qualified and has lots of good certificates. He's my neighbor's son. He's good with PCs, you know? He does PC all the time!" After I explain to him that all possible evidence from the PCs has been lost now (and also the firewall and logging mechanisms have been wiped!), I cannot tell him what actually happened. His reply: "But I want to know who I can fire for this outage! Tell me who did it! I must act!" (Sometimes, morons seem to think IT is magic.) The production supervisor said that he objected the wiping of the office PCs, but is told "Shut up! That is not your responsibility! Go back to your machine park!" by the big boss. Luckily, I don't have to deal with the surprised faces of the office personnel that arrives next morning when they see their "pictures" are gone (term applies to desktop background _and_ files they are working on), as an intern (!) is their actual IT staff. Poor soul. So: Now guess who got paid properly! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 6 12:00:37 2017 Return-Path: Delivered-To: freebsd-questions@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 47BC3E3533D for ; Fri, 6 Oct 2017 12:00:37 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id C626B804F2 for ; Fri, 6 Oct 2017 12:00:35 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ppp103-111.static.internode.on.net (HELO lillith-iv.ovirt.dyndns.ws) ([150.101.103.111]) by ipmail06.adl2.internode.on.net with ESMTP; 06 Oct 2017 22:25:25 +1030 X-Envelope-From: ws@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from predator-ii.buffyverse (predator-ii.buffyverse [172.17.17.136]) by lillith-iv.ovirt.dyndns.ws (8.14.9/8.14.9) with ESMTP id v96BtHn6063906; Fri, 6 Oct 2017 22:25:18 +1030 (ACDT) (envelope-from ws@au.dyndns.ws) Message-ID: <1507290916.2905.5.camel@au.dyndns.ws> Subject: Re: Application startup time From: Wayne Sierke To: Janos Dohanics , FreeBSD Questions Date: Fri, 06 Oct 2017 22:25:16 +1030 In-Reply-To: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Fri, 06 Oct 2017 22:25:19 +1030 (ACDT) for IP:'172.17.17.136' DOMAIN:'predator-ii.buffyverse' HELO:'predator-ii.buffyverse' FROM:'ws@au.dyndns.ws' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Fri, 06 Oct 2017 22:25:19 +1030 (ACDT) X-Scanned-By: MIMEDefang 2.78 on 172.17.17.142 X-Scanned-By: SpamAssassin 3.004001(2015-04-28) X-Scanned-By: ClamAV X-Spam-Score: -1 () ALL_TRUSTED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 12:00:37 -0000 On Thu, 2017-10-05 at 13:33 -0400, Janos Dohanics wrote: > Greetings, > > I have a fairly recently built computer: i7-4790K CPU @ 4.00GHz, 32GB > RAM, GeForce GT 730, FreeBSD 10.4-BETA2. > > On this computer, I have thunderbird-52.3.0_3, installed from ports. > > Thunderbird takes 38 seconds to start up, that is, from clicking the > icon until Thunderbird offers a login prompt. > > On the same computer, I also have Virtualbox + Win7 Pro installed. > The > Win7 machine has 8 GB RAM. Thunderbird in the Win7 virtual machine > starts in 7 seconds. > > In addition, Thunderbird in the FreeBSD host often freezes for > several > seconds, as long as 20 seconds or longer. > > During such "freezes" top(1) showed plenty of CPU and RAM being > available. > > As per instructions on page https://wiki.mozilla.org/MailNews:Logging > I > did: > > $ export MOZ_LOG=IMAPOFFLINE:5,MAILBOX:5,MSGDB:5,timestamp > $ export MOZ_LOG_FILE=/tmp/ztb_log > > Just guessing that logging these modules might offer some clue. > > Then started and shut down Thunderbird from the command > line. /tmp/ztb_log is created, but empty. > > Please advise... Hi Janos, Best guess is that 38s includes 30s of "network issue" (probably dns) delay time. Given that the Windows TB client doesn't appear to suffer from the same problem - and assuming that it is configured to access the same mail servers - that may help you isolate a network configuration problem. A good place to start would be to compare the DNS configuration in FreeBSD vs the Windows VM. The "freezes" are a bit curious. If they're repeatable (i.e. occur in response to a specific action) you could put TB into "offline" mode and see if the freezes still occur. If they don't then they are probably related to the same network issue. From owner-freebsd-questions@freebsd.org Fri Oct 6 12:38:32 2017 Return-Path: Delivered-To: freebsd-questions@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 7FA92E3646F for ; Fri, 6 Oct 2017 12:38:32 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpd.telissant.net (smtpd.telissant.net [104.225.1.170]) (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 56D6281A6E for ; Fri, 6 Oct 2017 12:38:31 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from cortina.3dresearch.com (localhost [127.0.0.1]) by smtpd.telissant.net (Postfix) with ESMTP id 341EE118BF7 for ; Fri, 6 Oct 2017 08:38:30 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpd.telissant.net ([127.0.0.1]) by cortina.3dresearch.com (cortina.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X7RPdHTPdN8h for ; Fri, 6 Oct 2017 08:37:58 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.240.62]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra) by smtpd.telissant.net (Postfix) with ESMTPSA id 14805118BF3 for ; Fri, 6 Oct 2017 08:37:58 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id 9BB5B23AE4F for ; Fri, 6 Oct 2017 08:37:57 -0400 (EDT) Date: Fri, 6 Oct 2017 08:37:50 -0400 From: Janos Dohanics To: FreeBSD Questions Subject: Re: Application startup time Message-Id: <20171006083750.2c5331ac8c120ab9624115d4@3dresearch.com> In-Reply-To: <1507290916.2905.5.camel@au.dyndns.ws> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> <1507290916.2905.5.camel@au.dyndns.ws> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 12:38:32 -0000 On Fri, 06 Oct 2017 22:25:16 +1030 Wayne Sierke wrote: > On Thu, 2017-10-05 at 13:33 -0400, Janos Dohanics wrote: > > Greetings, > > > > I have a fairly recently built computer: i7-4790K CPU @ 4.00GHz, > > 32GB RAM, GeForce GT 730, FreeBSD 10.4-BETA2. > > > > On this computer, I have thunderbird-52.3.0_3, installed from ports. > > > > Thunderbird takes 38 seconds to start up, that is, from clicking the > > icon until Thunderbird offers a login prompt. > > [...] > > Hi Janos, > > Best guess is that 38s includes 30s of "network issue" (probably dns) > delay time. Given that the Windows TB client doesn't appear to suffer > from the same problem - and assuming that it is configured to access > the same mail servers - that may help you isolate a network > configuration problem. A good place to start would be to compare the > DNS configuration in FreeBSD vs the Windows VM. > > The "freezes" are a bit curious. If they're repeatable (i.e. occur in > response to a specific action) you could put TB into "offline" mode > and see if the freezes still occur. If they don't then they are > probably related to the same network issue. Hi Wayne, DNS doesn't seem to be the bottleneck: $ time drill imap.telissant.net ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 49359 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;; imap.telissant.net. IN A ;; ANSWER SECTION: imap.telissant.net. 23887 IN A 104.225.1.170 ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 0 msec ;; SERVER: 10.61.70.7 ;; WHEN: Fri Oct 6 08:26:38 2017 ;; MSG SIZE rcvd: 52 real 0m0.029s user 0m0.001s sys 0m0.001s 10.61.70.7 is the FreeBSD computer with the troublesome Thunderbird and also is the host for the Win7 virtual machine, which looks up 10.61.70.7 for DNS resolution. However, I ran truss(1) which showed errors like: 0.054980624 recvmsg(0x4,0x7fffffffdd40,0x0) ERR#35 'Resource temporarily unavailable' 0.055094665 recvmsg(0x4,0x7fffffffddd0,0x0) ERR#35 'Resource temporarily unavailable' 0.055193841 recvmsg(0x4,0x7fffffffdcc0,0x0) ERR#35 'Resource temporarily unavailable' 0.055211203 recvmsg(0x4,0x7fffffffdcc0,0x0) ERR#35 'Resource temporarily unavailable' 0.055297486 recvmsg(0x4,0x7fffffffdd60,0x0) ERR#35 'Resource temporarily unavailable' 0.055314573 recvmsg(0x4,0x7fffffffdd60,0x0) ERR#35 'Resource temporarily unavailable' 0.055435337 recvmsg(0x4,0x7fffffffddf0,0x0) ERR#35 'Resource temporarily unavailable' 0.055452586 recvmsg(0x4,0x7fffffffddf0,0x0) ERR#35 'Resource temporarily unavailable' and many like these: 0.657764282 _umtx_op(0x8013151a0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffddfccce8) ERR#60 'Operation timed out' 0.672757944 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' 0.688696796 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' 0.706338501 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' and 1.905534690 getpeername(40,0x7fffdfdfc778,0x7fffdfdfc744) ERR#57 'Socket is not connected' 1.967428986 getpeername(51,0x7fffdfdfc7a8,0x7fffdfdfc774) ERR#57 'Socket is not connected' 1.967580715 getpeername(51,0x7fffdfdfc970,0x7fffdfdfc934) ERR#57 'Socket is not connected' 1.997209982 getpeername(51,0x7fffdfdfc970,0x7fffdfdfc934) ERR#57 'Socket is not connected' and 6.783927993 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' 6.784120019 sigreturn(0x7fffdafb3500) ERR#4 'Interrupted system call' 103.644696383 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' 103.644887820 sigreturn(0x7fffdafb3f40) ERR#4 'Interrupted system call' 108.663319712 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' 108.663460460 sigreturn(0x7fffdafb3f40) ERR#4 'Interrupted system call' 113.668752752 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' Perhaps a bug in Thunderbird? -- Janos Dohanics From owner-freebsd-questions@freebsd.org Fri Oct 6 14:17:50 2017 Return-Path: Delivered-To: freebsd-questions@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 4CEA2E385CB for ; Fri, 6 Oct 2017 14:17:50 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 9335F1611 for ; Fri, 6 Oct 2017 14:17:49 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ppp103-111.static.internode.on.net (HELO lillith-iv.ovirt.dyndns.ws) ([150.101.103.111]) by ipmail07.adl2.internode.on.net with ESMTP; 07 Oct 2017 00:42:02 +1030 X-Envelope-From: ws@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from predator-ii.buffyverse (predator-ii.buffyverse [172.17.17.136]) by lillith-iv.ovirt.dyndns.ws (8.14.9/8.14.9) with ESMTP id v96EBolq065852; Sat, 7 Oct 2017 00:41:52 +1030 (ACDT) (envelope-from ws@au.dyndns.ws) Message-ID: <1507299110.2905.8.camel@au.dyndns.ws> Subject: Re: Application startup time From: Wayne Sierke To: Janos Dohanics , FreeBSD Questions Date: Sat, 07 Oct 2017 00:41:50 +1030 In-Reply-To: <20171006083750.2c5331ac8c120ab9624115d4@3dresearch.com> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> <1507290916.2905.5.camel@au.dyndns.ws> <20171006083750.2c5331ac8c120ab9624115d4@3dresearch.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Sat, 07 Oct 2017 00:41:52 +1030 (ACDT) for IP:'172.17.17.136' DOMAIN:'predator-ii.buffyverse' HELO:'predator-ii.buffyverse' FROM:'ws@au.dyndns.ws' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Sat, 07 Oct 2017 00:41:52 +1030 (ACDT) X-Scanned-By: MIMEDefang 2.78 on 172.17.17.142 X-Scanned-By: SpamAssassin 3.004001(2015-04-28) X-Scanned-By: ClamAV X-Spam-Score: -1 () ALL_TRUSTED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 14:17:50 -0000 On Fri, 2017-10-06 at 08:37 -0400, Janos Dohanics wrote: > On Fri, 06 Oct 2017 22:25:16 +1030 > Wayne Sierke wrote: > > > On Thu, 2017-10-05 at 13:33 -0400, Janos Dohanics wrote: > > > Greetings, > > > > > > I have a fairly recently built computer: i7-4790K CPU @ 4.00GHz, > > > 32GB RAM, GeForce GT 730, FreeBSD 10.4-BETA2. > > > > > > On this computer, I have thunderbird-52.3.0_3, installed from > > > ports. > > > > > > Thunderbird takes 38 seconds to start up, that is, from clicking > > > the > > > icon until Thunderbird offers a login prompt. > > > [...] > > > > Hi Janos, > > > > Best guess is that 38s includes 30s of "network issue" (probably > > dns) > > delay time. Given that the Windows TB client doesn't appear to > > suffer > > from the same problem - and assuming that it is configured to > > access > > the same mail servers - that may help you isolate a network > > configuration problem. A good place to start would be to compare > > the > > DNS configuration in FreeBSD vs the Windows VM. > > > > The "freezes" are a bit curious. If they're repeatable (i.e. occur > > in > > response to a specific action) you could put TB into "offline" mode > > and see if the freezes still occur. If they don't then they are > > probably related to the same network issue. > > Hi Wayne, > > DNS doesn't seem to be the bottleneck: > > $ time drill imap.telissant.net > ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 49359 > ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 > ;; QUESTION SECTION: > ;; imap.telissant.net. IN A > > ;; ANSWER SECTION: > imap.telissant.net. 23887 IN A 104.225.1.170 > > ;; AUTHORITY SECTION: > > ;; ADDITIONAL SECTION: > > ;; Query time: 0 msec > ;; SERVER: 10.61.70.7 > ;; WHEN: Fri Oct 6 08:26:38 2017 > ;; MSG SIZE rcvd: 52 > > real 0m0.029s > user 0m0.001s > sys 0m0.001s > > 10.61.70.7 is the FreeBSD computer with the troublesome Thunderbird and > also is the host for the Win7 virtual machine, which looks up > 10.61.70.7 for DNS resolution. > > However, I ran truss(1) which showed errors like: > > 0.054980624 recvmsg(0x4,0x7fffffffdd40,0x0) ERR#35 'Resource temporarily unavailable' > 0.055094665 recvmsg(0x4,0x7fffffffddd0,0x0) ERR#35 'Resource temporarily unavailable' > 0.055193841 recvmsg(0x4,0x7fffffffdcc0,0x0) ERR#35 'Resource temporarily unavailable' > 0.055211203 recvmsg(0x4,0x7fffffffdcc0,0x0) ERR#35 'Resource temporarily unavailable' > 0.055297486 recvmsg(0x4,0x7fffffffdd60,0x0) ERR#35 'Resource temporarily unavailable' > 0.055314573 recvmsg(0x4,0x7fffffffdd60,0x0) ERR#35 'Resource temporarily unavailable' > 0.055435337 recvmsg(0x4,0x7fffffffddf0,0x0) ERR#35 'Resource temporarily unavailable' > 0.055452586 recvmsg(0x4,0x7fffffffddf0,0x0) ERR#35 'Resource temporarily unavailable' > > and many like these: > > 0.657764282 _umtx_op(0x8013151a0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffddfccce8) ERR#60 'Operation timed out' > 0.672757944 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' > 0.688696796 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' > 0.706338501 _umtx_op(0x8013152f0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdc3bec98) ERR#60 'Operation timed out' > > and > > 1.905534690 getpeername(40,0x7fffdfdfc778,0x7fffdfdfc744) ERR#57 'Socket is not connected' > 1.967428986 getpeername(51,0x7fffdfdfc7a8,0x7fffdfdfc774) ERR#57 'Socket is not connected' > 1.967580715 getpeername(51,0x7fffdfdfc970,0x7fffdfdfc934) ERR#57 'Socket is not connected' > 1.997209982 getpeername(51,0x7fffdfdfc970,0x7fffdfdfc934) ERR#57 'Socket is not connected' > > and > > 6.783927993 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' > 6.784120019 sigreturn(0x7fffdafb3500) ERR#4 'Interrupted system call' > 103.644696383 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' > 103.644887820 sigreturn(0x7fffdafb3f40) ERR#4 'Interrupted system call' > 108.663319712 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' > 108.663460460 sigreturn(0x7fffdafb3f40) ERR#4 'Interrupted system call' > 113.668752752 _umtx_op(0x8013153e0,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call' > > Perhaps a bug in Thunderbird? While hardly a thorough comparison I can tell you that I get what appears to be a strikingly similar set of messages from truss with my Thunderbird. Un(?)fortunately I would say those messages are probably not significant. Below are some events whose timing in particular might make for an interesting comparison. First dns server connection: 0.194129868 open("/etc/resolv.conf",O_CLOEXEC,0666) = 13 (0xd) 0.194383797 open("/etc/nsswitch.conf",O_CLOEXEC,0666) = 13 (0xd) 0.196764530 open("/etc/hosts",O_CLOEXEC,0666) = 13 (0xd) 0.197027552 connect(14,{ AF_INET 172.17.17.42:53 },16) = 0 (0x0) 0.197582820 recvfrom(14,"\f\M-:\M^E\M^@\0\^A\0\^A\0\^A\0"...,65536,0x0,{ AF_INET 172.17.17.42:53 },0x7fffffffb8dc) = 93 (0x5d) 0.320484741 connect(16,{ AF_INET 172.17.17.42:53 },16) = 0 (0x0) 0.321022309 recvfrom(16,"|\^]\M^E\M^@\0\^A\0\^A\0\^A\0\^A"...,65536,0x0,{ AF_INET 172.17.17.42:53 },0x7fffffffb86c) = 93 (0x5d) First imap server connection and send/recv: 3.613094209 connect(46,{ AF_INET 172.17.17.142:993 },16) ERR#36 'Operation now in progress' 3.613132454 getpeername(46,0x7fffdf9fa970,0x7fffdf9fa934) ERR#57 'Socket is not connected' 3.614344524 sendto(46,"\^V\^C\^A\0\M^Q\^A\0\0\M^M\^C\^C"...,150,0x0,NULL,0x0) = 150 (0x96) 3.614382113 recvfrom(46,0x825157a80,5,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable' 3.687505051 recvfrom(46,"\^V\^C\^A\0005",5,0x0,NULL,0x0) = 5 (0x5) From owner-freebsd-questions@freebsd.org Fri Oct 6 14:31:43 2017 Return-Path: Delivered-To: freebsd-questions@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 F1E5AE38AC3 for ; Fri, 6 Oct 2017 14:31:43 +0000 (UTC) (envelope-from firdayuni8@gmail.com) Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (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 C270620FA for ; Fri, 6 Oct 2017 14:31:43 +0000 (UTC) (envelope-from firdayuni8@gmail.com) Received: by mail-pf0-x242.google.com with SMTP id i23so16945711pfi.2 for ; Fri, 06 Oct 2017 07:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=K7Op3tn4V5CHljSpvYh8+wM+O1CcFjyHq4nt6f2r4O/nttTukd+Ch2kPbl+tFHjHaT y3hEveN95CYgxvcf2VVVE/5ML50RCa71m9+WnSdBbh+f/pcLy6d01qx/yoySFzBrkLaF PBr1Ohmzhj0ylsoWl4MQoxg3Tbz6m8wcJOyHv87nUCnEL16pj1qBC5/HQO9nTQiGiPRp /B59QfQXWwtS4O+jHtiOvn3enoTvelEfiyr0yHvDMRNNgVr/q//RvN3mBdV/Jev0QFam eU2SnQtXujJ9LQOhtj5tWkcODQ+AZ0GWMWn3a58wW3Z5GBVEBNRAiGiv/2VpelAgsRNO zawQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=kTqDrH0gxFlHBAXalMsRXZowYRVWB2mXu0XnkDpjFQSx9dmIK1veQl2DzITC4IK6Qo R2prpuQOYm00OAtSFAh3hW8xVo4IqqWdp4vZxx6Trn34RZAJgt6kBg7n2v0nn5g/gAcp kC7MgXO2KxDWExj+qSBIToREqJjspC5l9US9PtiRuzmEgOJVasbz8aEyxLqxZe0mb2AU pP25zXSAI/adzQe4AddNqf0NHZy9tQqoDD5cXfP8oW2KmWyArZTjYUHPOtLhJ87ySMBj okrFID5nGQzWxEy1ySyOWVNGdaALG026jJOBtnl7RK92YitcOc90wkBDtpZlvl4oKdTW 05nw== X-Gm-Message-State: AMCzsaWKzfsgpcpCJoQz1YxhjHmrCYWRjeHY9fECgQd1X2nIPZsv0j+P 9Dgz8I6Ynt0Oj/ZTQ5UMn4eWph5T X-Google-Smtp-Source: AOwi7QCEPQHq0vqR1fyXGjy+pCfXv8IrZd1mx/EJjcIV9E+gX3N8o1SZAWemDw8yflK70tGfbTJbtQ== X-Received: by 10.98.86.135 with SMTP id h7mr2401275pfj.216.1507300303263; Fri, 06 Oct 2017 07:31:43 -0700 (PDT) Received: from [192.168.0.12] ([140.0.70.164]) by smtp.gmail.com with ESMTPSA id b9sm3677761pff.63.2017.10.06.07.31.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Oct 2017 07:31:42 -0700 (PDT) From: firda yuni Content-Type: text/plain Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: http://localhost/phpmyadmin Message-Id: Date: Fri, 6 Oct 2017 21:31:40 +0700 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 14:31:44 -0000 From owner-freebsd-questions@freebsd.org Fri Oct 6 16:39:52 2017 Return-Path: Delivered-To: freebsd-questions@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 C56A3E3B491 for ; Fri, 6 Oct 2017 16:39:52 +0000 (UTC) (envelope-from iz0wkv@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::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 8AD026578A for ; Fri, 6 Oct 2017 16:39:52 +0000 (UTC) (envelope-from iz0wkv@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id h200so3504550oib.4 for ; Fri, 06 Oct 2017 09:39:52 -0700 (PDT) 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=pu0NdAMSv6k96Lh/kjlx+Q0wUwKUj5uqiuKwvzZup4I=; b=fnWaruX5R81Tn5qJ7vt7PQgzU/PAtmdGQrcxRQ/DzjpR/C2Z4pJaohX929geAKd9qs n83oHKOjIcv8qcAd3NMtNgDKGParxA0rgUt7kdwGgp9Uc+6u+hV4hqkG3DxoK5KUnGDP anip79sIL4g11A3VP+NJgqLRMBAKAWIQDTWeB787MWfD+bPBI04OMcEljM2cr5J1cvCc tODOlI6fkKtHJWnRuAgAtSlI/z0/AXyQIiA9XmgkWwZUH6hZgQIWXCgBVOyd0XwI7fyI 6YFH7a9yK71OzIaHXM+D2TSYnDqsgWrEQVr8cxNTXSIxafmoaGG8+fxhRHR+Os8vZ/Vx G0Bg== 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=pu0NdAMSv6k96Lh/kjlx+Q0wUwKUj5uqiuKwvzZup4I=; b=RehiPv9bv6vpzPORcLMbDCU3n+Url08wfRYQKsLhyT9Fg++B+p1gn5J7j5IeMjang6 SSAZAX+E0pR3JtRCMzrTFbjgsi+lmvdKvVHNdn5mPhW3ZJy90KgKK6Q1JLZEMryvvMYn mbsl61Xs89pfC/JWSVTDt/FpeKbSNOs1XPUd5GZvQZothuWGMTgXtmzA654M5qgP1PcG 4zSVeVTkrgR28rmrhpCutBzT7wIpH57WgYu6xteitOSCtzRQrgpmxYCAPd4uah2d2U3/ B0zW+UTcr0vOGCVUmyqHkV4mxILrAXxhTzfq786xkkBiJiW7qeyMPkv8Ud85l4XKmHUn k52Q== X-Gm-Message-State: AMCzsaUMe0z415YnzV1pk+aIDbXdelRKAayflNF7HNxkpXndyxke5p32 eU+nkHqy6XCPgjMJhpTSZiKVrOfDsC3N26lRJi0= X-Google-Smtp-Source: AOwi7QAGoNpwAUkslZfPW5g5zl6OgaT0TVVcXWYbcTP0huLHzLddqy+bViahSutM33/HrQBoNrFCdd+3fRYX+gaf6No= X-Received: by 10.157.20.141 with SMTP id d13mr1467956ote.361.1507307991276; Fri, 06 Oct 2017 09:39:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.15.81 with HTTP; Fri, 6 Oct 2017 09:39:50 -0700 (PDT) From: Alessandro La Rosa Date: Fri, 6 Oct 2017 18:39:50 +0200 Message-ID: Subject: info about freebsd download To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Fri, 06 Oct 2017 17:22:08 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 16:39:52 -0000 hi, i am alessandro la rosa, i am writing you because i downloaded many times freebsd and masterized it on dvd, but it seem to be always a corrupted download, where i can find a good iso to download and masterize? thanks --=20 *Cordiali 73 * *Alessandro La Rosa * *Callsign: IZ0WKV* *Address: Via Barna Senese n.1, cap.00028,Subiaco (Rm), ItaliaPhone: +39 3288352365* *"Voi siete il sale della terra; ora, se il sale diviene insipido, con che lo si saler=C3=A0? Non =C3=A8 pi=C3=B9 buono a nulla se non ad esser gettat= o via e calpestato dagli uomini. Voi siete la luce del mondo; una citt=C3=A0 posta = sopra un monte non pu=C3=B2 rimaner nascosta; e non si accende una lampada per metterla sotto il moggio; anzi la si mette sul candeliere ed ella fa lume a tutti quelli che sono in casa." (Matteo 5:14-15)* From owner-freebsd-questions@freebsd.org Fri Oct 6 16:43:10 2017 Return-Path: Delivered-To: freebsd-questions@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 9F03AE3B69C; Fri, 6 Oct 2017 16:43:10 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 325A765B29; Fri, 6 Oct 2017 16:43:09 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FA3C56.dip0.t-ipconnect.de [217.250.60.86]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id v96GdWmr081179 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Oct 2017 16:39:36 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id v96GeK5a006195; Fri, 6 Oct 2017 18:40:20 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id v96GdhSM024796; Fri, 6 Oct 2017 18:39:55 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201710061639.v96GdhSM024796@fire.js.berklix.net> To: Tomasz CEDRO cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org, Hans Petter Selasky , Tomasz Cedro Subject: Re: usbdump on macOS From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Thu, 05 Oct 2017 16:40:15 +0200." Date: Fri, 06 Oct 2017 18:39:42 +0200 X-Mailman-Approved-At: Fri, 06 Oct 2017 17:22:38 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 16:43:10 -0000 Tomasz CEDRO wrote: > Hello world! > > Is there any chance to have USBDUMP working on current macOS? I can > see there is a manual page for usbdump in XCode taken directly from > the FreeBSD.. but I could not find the binary.. > > Is anyone aware or can make usbdump work on macOS? I may be able to > find some funding to make it work.. :-) > > Best regards, > Tomek CEDRO I'd guess you'd stand best chance asking on a MacOS list. But if you do find funding & want a geographic indexed global BSD contractors index: http://www.berklix.com/consultants/ Cheers, Julian -- Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer, Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/ UK stole 3,500,000 votes; 700,000 from Brits in EU. From owner-freebsd-questions@freebsd.org Fri Oct 6 16:47:17 2017 Return-Path: Delivered-To: freebsd-questions@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 2DBE7E3B816; Fri, 6 Oct 2017 16:47:17 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-vk0-x243.google.com (mail-vk0-x243.google.com [IPv6:2607:f8b0:400c:c05::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 DA40E65CF2; Fri, 6 Oct 2017 16:47:16 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-vk0-x243.google.com with SMTP id b5so4378622vkf.1; Fri, 06 Oct 2017 09:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zvEMDOc9idGWYg+hRAxR7AZT7mp+zwStjbPcQlTbmOA=; b=IwMeu6kHN0qV0G6tYu+CysZ/8jxEN5f+J0tAzOv2Yx+IJNmFzOV3Io8O4ZxpGTy7Ok ilfKopRSadNBMoHKpMDEz9EzMp8Swz3L4T4J1bu9yRIQEdnXT22Qgmv9H71lRHDf7uPT 5G/rPCVrGfHUYJcvoC3XqfXmtYZYuRoeNRoNn4r7FuOeH0YY5CFWhmRAA3nMTi98nVwJ eoN4Wu8jhkq8IijXWn04eGs51EaTJDgZliYkXRDdL3ArTFmrqQpErKiDgSQ0x9OKYWw/ FG00cjWvWbNJaO4VHidufjEpLJikeCUhvNlq/S6zv7yt8Z3xF90JsmOmhjHDFOctOs+Q 288A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zvEMDOc9idGWYg+hRAxR7AZT7mp+zwStjbPcQlTbmOA=; b=K2DWJdN/Mn6W2PlIyAKo6n/ejLJxRMwlWfIF6iAm8sUmj+t8WqBOz7RSDW2N74Py+r z7qXnxEIFVL1HprOjjPyjy/LAefKstXewDv+pMdxJ2Kru+M+TN3zE5lv/w7cju69lK+d 5VKPeZb5RyhPsE+yWv8UvQshVfkeFsv0j7ae3kM4Pdul2QhW1Buh7BrssLOEDQ5V9RrA ysbgfiCJ/w5In75VfTUZslWLTyuBX4ilSnOEM7NpkSzan2S2MBtPAEi8IShYGpvlYDra z3YkwcvCI0RJzdizN3OMAm3WZwFKPg1ziiDTlpOY1U++5s0HIeubGeqt5/my5kVRzHgy LSrA== X-Gm-Message-State: AMCzsaWnFD4ACyb2HGFG8+qD6KXENdyYZO7w639MiV51rR58OQLSb8bG gz8rWEvn1yb/moYth6eah32barguR1vD9oA7/Abdhg== X-Google-Smtp-Source: AOwi7QA7+l8ROIIgc/Wm2/lYOP1r1LAKZN20w/4+gRTKQk/emJxVB9peQAJlDmjLPDiBgo9XK8WIYR/OQVJTRKpODJc= X-Received: by 10.31.41.151 with SMTP id p145mr649363vkp.3.1507308435972; Fri, 06 Oct 2017 09:47:15 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Fri, 6 Oct 2017 09:46:55 -0700 (PDT) In-Reply-To: <201710061639.v96GdhSM024796@fire.js.berklix.net> References: <201710061639.v96GdhSM024796@fire.js.berklix.net> From: Tomasz CEDRO Date: Fri, 6 Oct 2017 18:46:55 +0200 X-Google-Sender-Auth: _vU0Kw07pevSSTc_qUSmWHfPRnY Message-ID: Subject: Re: usbdump on macOS To: "Julian H. Stacey" Cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org, Hans Petter Selasky , Tomasz Cedro Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Fri, 06 Oct 2017 17:22:51 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 16:47:17 -0000 On Fri, Oct 6, 2017 at 6:39 PM, Julian H. Stacey wrote: > Tomasz CEDRO wrote: >> Hello world! >> Is there any chance to have USBDUMP working on current macOS? I can >> see there is a manual page for usbdump in XCode taken directly from >> the FreeBSD.. but I could not find the binary.. >> Is anyone aware or can make usbdump work on macOS? I may be able to >> find some funding to make it work.. :-) >> Best regards, >> Tomek CEDRO > > I'd guess you'd stand best chance asking on a MacOS list. But if you > do find funding & want a geographic indexed global BSD contractors index: > http://www.berklix.com/consultants/ > Cheers, > Julian Hello Julian, thanks for response! I thought there may be an effort already to port usbdump to macOS as I found the man page there.. no clue why it landed there without the binary... this is why I ask here :-) Do you know any sensible macOS list of this kind where I could ask? I did not get ANY sensible support from Apple Developer Forum nor Support.. Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Fri Oct 6 17:28:35 2017 Return-Path: Delivered-To: freebsd-questions@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 7F5E2E3CA65 for ; Fri, 6 Oct 2017 17:28:35 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout03.bt.lon5.cpcloud.co.uk (rgout0303.bt.lon5.cpcloud.co.uk [65.20.0.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0B42D675CA for ; Fri, 6 Oct 2017 17:28:34 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2017.10.6.164215:17:7.763, ip=, rules=__HAS_MSGID, __SANE_MSGID, __SUBJ_ALPHA_END, __HAS_FROM, __FRAUD_WEBMAIL_FROM, __TO_MALFORMED_2, __TO_NO_NAME, DATE_TZ_NA, __CT, __CTYPE_MULTIPART_ALT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __HAS_X_MAILER, __MIME_VERSION, MIME_LOWER_CASE, __MIME_TEXT_P2, __MIME_TEXT_H2, __ANY_URI, __URI_WITH_PATH, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, __MULTIPLE_URI_TEXT, __URI_IN_BODY, __URI_NOT_IMG, __HTML_AHREF_TAG, __HAS_HTML, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_3000_3999, BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML, __TAG_EXISTS_HTML, __URI_NS, BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, __MIME_TEXT_H, __MIME_TEXT_P, NO_URI_HTTPS, BODY_SIZE_7000_LESS, URI_WITH_PATH_ONLY Received: from minerva (207.242.201.20) by rgout03.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 58A82A5C186D79FA for freebsd-questions@freebsd.org; Fri, 6 Oct 2017 18:16:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507310915; bh=dI1DW5GI0ZfP1XIxMgAL2YfN4tJA/7HujtHbRtISeKE=; h=Message-ID:Subject:From:To:Date:X-Mailer:Mime-Version; b=NKBq9BuJs+bgV0S4y96zEIHn/bnvZmV2zajgzhZN8UTMF1OK9PZddDHNxFtF3/A/zSkRMFtLGaZf84P7FLzKKx3o35B6HK4shmQsq5K8iBxC2ZkXvyRL57FiQUqfjKmi2nx5pXhQISQxpjiiwTFLDMMEyzssCaqmhGslwHUtRPU= Message-ID: <1507310201.4831.52.camel@btinternet.com> Subject: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues From: James Geering To: freebsd-questions@freebsd.org Date: Fri, 06 Oct 2017 13:16:41 -0400 X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 17:28:35 -0000 Hi All, I have just moved from RedHat and have progressed with the learning curve of moving to FreeBSD. I'm running 11.1-release #0 r321309 amd64. I have installed Xorg and am running WindowMaker 0.95.7 successfully. Both installed using "pkg install <***>" Out of interested I wanted to try the more recent WindowMaker 0.95.8 and downloaded the source from http://windowmaker.org/. I followed the how-to of extract and configure steps but am having problems with .configure step. The script stops with the information:- "checking for Xmu library... configure: error: library Xmu not found" however, Xmu library seems to be installed as reported by cd'ing to /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". The command reports the library is already installed. Also I find the *.h at /usr/local/include/X11/Xmu. However I cannot find a .lib file - should I be able to, and if so why does ports think it is installed. Clearly, I am misunderstanding what the error message is telling me. Thus, I would be grateful if someone could give me hint of what is going on, I have Googled extensively but cannot work through this issue - so am posting here. Many thanks for any help! From owner-freebsd-questions@freebsd.org Fri Oct 6 17:56:24 2017 Return-Path: Delivered-To: freebsd-questions@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 45DF2E3D2F6 for ; Fri, 6 Oct 2017 17:56:24 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c: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 C95A768490 for ; Fri, 6 Oct 2017 17:56:23 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id q124so8997020wmb.0 for ; Fri, 06 Oct 2017 10:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=EerDGG2CchVN9YP70ctFb3cFzvjX6sN3r5aJQm5ikxQ=; b=PHzbqEg0qReLfT3/BjccWT6Z/SK8YThM7dPc2LeFAGSX7T/eD1s9/iC8e39H73HImL nFjw3M8DeMr2fEWVvDG+uLaIWjtUAOhgmF9JBURhjo/sjsMwQb6KKpa5Au+sChXvlwGK VboyT9J9863JP+uPfGBOXf494Z+86dseBdBCIFJvXeVEkdKmLTf2rdWtX/SlrnbpsYsd r4bCJOTo3FRUDWRvsctQ3vxrY0UaZLpG9eM7NOKGkhB0xtwmAAHmFuYeJ8f03B7T10MZ 5ysfSbwaTLr4l0YI++k4oM//hRZ/pAsdbZOstS0nZ3tUyDzucnRcvUk+A1te4jCSxUj5 xu3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=EerDGG2CchVN9YP70ctFb3cFzvjX6sN3r5aJQm5ikxQ=; b=EQked11YH9ce0UARvoH3ow2LnussdgPfjbgnUv7b1hLd8b9kWvS+VekWOJSM7Rzet7 S4O5Jx6k/Su1AJMkDY3PXDTHBgyD53ualrgraEbQDA1K90uXIYzD1quwv7dUKsSqVsnr xr+u8extQJwB8B+JcdFmZgQIdkspWiJyuFfQc6P1rh6WmYqXq7Ws1ssSOLGSrdh0bxUR eMHkAMtLpbvUk5k/3i450XQb1CdlE5j4xpm/1n79faVoHc2MCuLwRgC+EI9ybVaI3mXu OeI3RqWi+ndlbVF6z2dQq9Qz7tax2QZsHTmQoQolsTD2/djPRDPaAkvpuXcFtVMtsfiN gl5Q== X-Gm-Message-State: AMCzsaUnloVnM8TPuI/Hr2aTYXVmmf36yeWDNI5BtCbsTxK9ZNB9em72 EowcKXhfswfOmKokQrRTc4Jpfw== X-Google-Smtp-Source: AOwi7QDvxGAfPy+EDpFNxW4CZQHzNzfslaAfjIbU3ymN3OmrLblsEqcrP46kzGDHBmAlockgFqahVw== X-Received: by 10.80.151.211 with SMTP id f19mr2707203edb.141.1507312581551; Fri, 06 Oct 2017 10:56:21 -0700 (PDT) Received: from Johans-MacBook-Air-2.local (92-111-79-242.static.chello.nl. [92.111.79.242]) by smtp.googlemail.com with ESMTPSA id r8sm2268704edd.96.2017.10.06.10.56.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Oct 2017 10:56:20 -0700 (PDT) Subject: Re: make WITH_VMIMAGES=yes release fails with permission denied. To: Rick Miller References: <963376ba-d16e-2a1a-ea2c-e35fbf68da0d@gmail.com> Cc: freebsd-questions@freebsd.org From: Johan Hendriks Message-ID: <8de0bf63-7ebc-6f3d-20ac-a2befc4cab81@gmail.com> Date: Fri, 6 Oct 2017 19:57:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Language: nl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 17:56:24 -0000 Op 05/10/2017 om 22:59 schreef Rick Miller: > Hi, > > On Thu, Oct 5, 2017 at 6:52 AM, Johan Hendriks > wrote: > > Hello all. > > I thought it was time to test the make release to create my own .qcow2 > and .raw files. > I am on a FreeBSD 11.1p1 machine. > But it does not work, it builds the ftp, bootonly and memstick images > fine, but the vm part does not. > I do the following. > > cd /usr/src/ > make -j4 buildworld && make -j4 buildkernel > cd /usr/src/release > make WITH_VMIMAGES=yes release > > > You may consider using release/release.sh.  Edit/create a config file > from release/release.conf.samples and calling the script with this > config.  Config knobs like WITH_VMIAMGES are located -- and can be > modified -- in this config file. The script builds a clean environment > in which the the media is generated. > > -- > Take care > Rick Miller I will look into that. I also think i found the problem. I had set exec = off on the zroot/usr/src zfs dataset. At least i know setting that prevents the execution off files! Sorry for the noice. And thank you both for your time. regards Johan From owner-freebsd-questions@freebsd.org Fri Oct 6 18:01:12 2017 Return-Path: Delivered-To: freebsd-questions@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 B2979E3D533 for ; Fri, 6 Oct 2017 18:01:12 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 354E9686B6 for ; Fri, 6 Oct 2017 18:01:09 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v96I0vow070506; Fri, 6 Oct 2017 20:00:57 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues To: James Geering , freebsd-questions@freebsd.org References: <1507310201.4831.52.camel@btinternet.com> From: Bernt Hansson Message-ID: <87387108-40f3-62f1-ef70-0a95152d5776@bananmonarki.se> Date: Fri, 6 Oct 2017 20:00:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1507310201.4831.52.camel@btinternet.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 18:01:12 -0000 On 10/06/17 19:16, James Geering wrote: > Hi All, > I have just moved from RedHat and have progressed with the learning > curve > of moving to FreeBSD. I'm running 11.1-release #0 r321309 amd64. > I have installed Xorg and am running WindowMaker 0.95.7 successfully. > Both > installed using "pkg install <***>" > > Out of interested I wanted to try the more recent WindowMaker 0.95.8 > and > downloaded the source from http://windowmaker.org/. I followed the > how-to > of extract and configure steps but am having problems with .configure > step. > The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h > at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should > I be able to, and if so why does ports think it is installed. The lib file is in /usr/local/lib. Mine is libXmu.so.6.2.0 > Clearly, I am misunderstanding what the error message is telling me. > Thus, > I would be grateful if someone could give me hint of what is going on, > I have Googled extensively but cannot work through this issue - so am > posting here. > > Many thanks for any help! > From owner-freebsd-questions@freebsd.org Fri Oct 6 18:09:42 2017 Return-Path: Delivered-To: freebsd-questions@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 6C1FDE3D731 for ; Fri, 6 Oct 2017 18:09:42 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net [194.109.24.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0ADBA68B06 for ; Fri, 6 Oct 2017 18:09:41 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud9.xs4all.net with ESMTP id 0X3zeLKdVnIXb0X40eUT2C; Fri, 06 Oct 2017 20:09:32 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v96I9TEr004130 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Oct 2017 20:09:30 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 6 Oct 2017 20:09:29 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: James Geering cc: freebsd-questions@freebsd.org Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues In-Reply-To: <1507310201.4831.52.camel@btinternet.com> Message-ID: References: <1507310201.4831.52.camel@btinternet.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfEtZzcYpA9VIgpi5sPb6sJk6RkvvxM07kpmYwdvhQBHOUn2xKyUex5jQnKIQQ26TQj/hQiaNseKBW5aanPReSPJEnN6PbQcLU3Nz8KxgQvAPqtaKGThX HzdBDPrwvhoaepLA1IkxmejhZ8I5ZM69XL9eW5bGmZsUkXw9ygomt2q5Yao5yO0BEoJDGb6AkFLjTjkxOeFoJPoUNSmlNnXXpc0= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 18:09:42 -0000 On Fri, 6 Oct 2017, the wise James Geering wrote: > Hi All, I have just moved from RedHat and have progressed with the > learning curve of moving to FreeBSD. I'm running 11.1-release #0 r321309 > amd64. I have installed Xorg and am running WindowMaker 0.95.7 > successfully. Both installed using "pkg install <***>" > > Out of interested I wanted to try the more recent WindowMaker 0.95.8 and > downloaded the source from http://windowmaker.org/. I followed the > how-to of extract and configure steps but am having problems with > .configure step. The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should I be able to, and if so why does ports think it is installed. > > Clearly, I am misunderstanding what the error message is telling me. > Thus, I would be grateful if someone could give me hint of what is going > on, I have Googled extensively but cannot work through this issue - so > am posting here. You should only build and install software by ports or pkg in FreeBSD. So the port needs an update. I've filed a bugreport in june for the upgrade of x11-wm/windowmaker to 0.95.8 but unfortunately this hasn't been committed yet. Windowmaker 0.95.8 runs fine here though. Regards, Marco -- Ask not for whom the Bell tolls, and you will pay only the station-to-station rate. -- Howard Kandel From owner-freebsd-questions@freebsd.org Fri Oct 6 18:36:49 2017 Return-Path: Delivered-To: freebsd-questions@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 594B3E3E43D for ; Fri, 6 Oct 2017 18:36:49 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (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 309CE6A3FF for ; Fri, 6 Oct 2017 18:36:48 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from dalet420 ([174.0.43.39]) by shaw.ca with SMTP id 0XUMebuGOM9gt0XUNeJBdl; Fri, 06 Oct 2017 12:36:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20150330; t=1507315007; bh=Zj6ajfPzYxNJAl/YdP/07zXB7WpG60dBDzkUWmzp+hc=; h=From:To:References:In-Reply-To:Subject:Date; b=q25QBlbP5exSQLi6Nii201n52lelmezo95vLX8q0jP5v0GL7DCOGjPc8alJ4ISOhC 49fXQ/slI06eQOgeyELWarYnXjtayUEjRyj//v88YbluLy7XBRVRn5kBO/fPPRcZfs 6IxqFmKnY065fLZxJc/Xv1agZ2RYEzGCTAgSzgoKzCT6NpSXlA4EHJQv7aOaonK91i yjlUGABiSvfEC/tKb7p3NQzI/HoAzEMtQIAvTkD5UN/beB3CSf3KecCb0L6FVa1Z1n 6zZQT2no7WKUZrk5t81ftjdVZ6lcUY6DJ1peoxQvTbGeZA5YykHgk3+SVkIevA1w6A lbPuIUKiANypQ== X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=TiBur8m8wieNAdBnNdHE5Q==:117 a=TiBur8m8wieNAdBnNdHE5Q==:17 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=5mcg790sAAAA:8 a=jU4qhlNgAAAA:8 a=ZeieZHtt2CBu6FNDXqIA:9 a=CjuIK1q_8ugA:10 a=uQeDYW1NI25gHNlrW_eK:22 From: "Dale Scott" To: References: <1507310201.4831.52.camel@btinternet.com> In-Reply-To: Subject: RE: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues Date: Fri, 6 Oct 2017 12:36:47 -0600 Message-ID: <019401d33ed2$11b78350$352689f0$@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGxIc42nRpzbWUtPBSPwzJ7DTLAXAEL8bq3oxL6XEA= Content-Language: en-us X-CMAE-Envelope: MS4wfDR/zyx5LQwlj3N7qOVZAqpiF2kwrq0yJP3rEL6IKyMcKz4BCH2M+sfI8900M8ExwWMiQgUjzUm330pYxQuD4kaAIAomPMCfCBXX/wKjjZg6nxf/R2/7 XjeTQ3x6hI2x0WopFLeLmWV0zd3c4uVvpEVyMH/dGNiPgfiJSzlzpMQu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 18:36:49 -0000 > You should only build and install software by ports or pkg in FreeBSD. So the > port needs an update. My first choice for installing an application is _always_ a package, followed by compiling from source in the ports tree when a specific compile option not available as a port is required (I compile openldap-server from the ports tree to configure using BDB which has been deprecated). However, there will certainly come a time when an application is only available as a source tarball from the dev project team. There is no technical reason requiring you to install applications only using packages or ports, but do expect that software not available as a package or port will be more trouble to build and install. If the application was created for Linux, you may need to install and configure the GNU build chain first, and also expect to encounter problems along the way. Experiment first in a VM (e.g. create a VM in VirtualBox using a backup of your FreeBSD system or a distribution ISO), and only work on a critical machine if you have a backup (and have proven it can be restored!). Good luck! Dale --- Transparency with Trust Blog: http://www.dalescott.net LinkedIn: https://ca.linkedin.com/in/dalescott From owner-freebsd-questions@freebsd.org Fri Oct 6 18:52:12 2017 Return-Path: Delivered-To: freebsd-questions@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 00078E3E9A9 for ; Fri, 6 Oct 2017 18:52:11 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net [194.109.24.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9769D6AEB0 for ; Fri, 6 Oct 2017 18:52:11 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud9.xs4all.net with ESMTP id 0XjDeLglYnIXb0XjEeUYxz; Fri, 06 Oct 2017 20:52:08 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v96Iq3if004745 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Oct 2017 20:52:07 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 6 Oct 2017 20:52:03 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: Dale Scott cc: freebsd-questions@freebsd.org Subject: RE: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues In-Reply-To: <019401d33ed2$11b78350$352689f0$@shaw.ca> Message-ID: References: <1507310201.4831.52.camel@btinternet.com> <019401d33ed2$11b78350$352689f0$@shaw.ca> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfLoPAGkSsA+uNLA9vSZ3SxHHwE7DtBH35F0iXVOc/1oQ/cnuTp9HvtbuGKTTC7YLLHBiuKy5QQL6XNftMJyLB/7AM/ZjzJr0zOpd8zoXr/4VVlmfQ1ZG XiKX9I0Y0zfFTVTfIgqGGgSESXFZYaf7A5q2yBykfD9RVJ9LIjWe2pw6QqouXj/iFIJsJBoXnR96dA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 18:52:12 -0000 On Fri, 6 Oct 2017, the wise Dale Scott wrote: > [...] If the application was created for Linux, you may need to install > and configure the GNU build chain first, and also expect to encounter > problems along the way. [...] If the application was created for Linux then it should be ported first so that it can be build/installed by ports. That's the point of the portstree: applications ported from other systems, so that it installs and runs on FreeBSD. -- I wish there was a knob on the TV where you could turn up the intelligence. They've got one called brightness, but it doesn't seem to work. -- Gallagher From owner-freebsd-questions@freebsd.org Fri Oct 6 19:09:33 2017 Return-Path: Delivered-To: freebsd-questions@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 47653E3EF99 for ; Fri, 6 Oct 2017 19:09:33 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpd.telissant.net (smtpd.telissant.net [104.225.1.170]) (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 1E4C76B9C5 for ; Fri, 6 Oct 2017 19:09:32 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from cortina.3dresearch.com (localhost [127.0.0.1]) by smtpd.telissant.net (Postfix) with ESMTP id 205CE118D18 for ; Fri, 6 Oct 2017 15:09:26 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpd.telissant.net ([127.0.0.1]) by cortina.3dresearch.com (cortina.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edLKftMq8Xe5 for ; Fri, 6 Oct 2017 15:08:53 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.240.62]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra) by smtpd.telissant.net (Postfix) with ESMTPSA id 3213E118D02 for ; Fri, 6 Oct 2017 15:08:18 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id CBD9F23B3E4 for ; Fri, 6 Oct 2017 15:08:17 -0400 (EDT) Date: Fri, 6 Oct 2017 15:08:07 -0400 From: Janos Dohanics To: FreeBSD Questions Subject: Re: Application startup time Message-Id: <20171006150807.4eb51bec656829b9045e032a@3dresearch.com> In-Reply-To: <1507299110.2905.8.camel@au.dyndns.ws> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> <1507290916.2905.5.camel@au.dyndns.ws> <20171006083750.2c5331ac8c120ab9624115d4@3dresearch.com> <1507299110.2905.8.camel@au.dyndns.ws> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:09:33 -0000 On Sat, 07 Oct 2017 00:41:50 +1030 Wayne Sierke wrote: > [...] > > Below are some events whose timing in particular might make for an > interesting comparison. Trying to find the matching entries in the output I have... > First dns server connection: > 0.194129868 open("/etc/resolv.conf",O_CLOEXEC,0666) = 13 (0xd) The time elapsed until talking to the DNS server in my case is similar to what you have shown. However, connection to the IMAP server is much delayed, almost 60 seconds! >From the output it seems that before offering the login prompt, Thunderbird reads some or all the messages or headers from the local cache (?). May be that's my problem - the mailbox in question is about 180 GB. -- Janos Dohanics From owner-freebsd-questions@freebsd.org Fri Oct 6 19:13:37 2017 Return-Path: Delivered-To: freebsd-questions@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 4E42BE3F274 for ; Fri, 6 Oct 2017 19:13:37 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27AF66BE7B for ; Fri, 6 Oct 2017 19:13:36 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from [10.170.206.111] (mobile-166-176-123-146.mycingular.net [166.176.123.146]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id 3804fef4 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 6 Oct 2017 14:13:28 -0500 (CDT) Date: Fri, 6 Oct 2017 14:13:25 -0500 From: edgar To: James Geering , freebsd-questions Message-ID: <3c15d198-f7e5-4400-9be2-dc4334e04ff8@localhost> In-Reply-To: <1507310201.4831.52.camel@btinternet.com> Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:13:37 -0000 My first step would be to look in the porta tree and see what patches are being applied for it to build on freebsd. You may have to do the same. Then do ./configure --help and see what options you may need to set. Such as where to find the Xmu library. Then repeat as necessary because there will probably be more. > > On Oct 6, 2017 at 12:16 PM, wrote: > > > Hi All, I have just moved from RedHat and have progressed with the learning curve of moving to FreeBSD. I'm running 11.1-release #0 r321309 amd64. I have installed Xorg and am running WindowMaker 0.95.7 successfully. Both installed using "pkg install <***>" Out of interested I wanted to try the more recent WindowMaker 0.95.8 and downloaded the source from http://windowmaker.org/. I followed the how-to of extract and configure steps but am having problems with .configure step. The script stops with the information:- "checking for Xmu library... configure: error: library Xmu not found" however, Xmu library seems to be installed as reported by cd'ing to /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". The command reports the library is already installed. Also I find the *.h at /usr/local/include/X11/Xmu. However I cannot find a .lib file - should I be able to, and if so why does ports think it is installed. Clearly, I am misunderstanding what the error message is telling me. Thus, I would be grateful if someone could give me hint of what is going on, I have Googled extensively but cannot work through this issue - so am posting here. Many thanks for any help! _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Fri Oct 6 19:18:18 2017 Return-Path: Delivered-To: freebsd-questions@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 1E1C9E3F417 for ; Fri, 6 Oct 2017 19:18:18 +0000 (UTC) (envelope-from laurajones@leadskart.biz) Received: from p3plsmtpa12-06.prod.phx3.secureserver.net (p3plsmtpa12-06.prod.phx3.secureserver.net [68.178.252.235]) (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 06EFB6C131 for ; Fri, 6 Oct 2017 19:18:18 +0000 (UTC) (envelope-from laurajones@leadskart.biz) Received: from DESKTOPND7MTA4 ([157.49.4.20]) by :SMTPAUTH: with SMTP id 0Y5zecNS1z6eH0Y6GeAkcP; Fri, 06 Oct 2017 12:15:57 -0700 From: "Laura Jones" To: Subject: Computer system Professionals email Contacts Date: Fri, 6 Oct 2017 15:15:46 -0400 Message-ID: <00b901d33ed7$8de51e10$a9af5a30$@leadskart.biz> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdM+1hzRjaWeePgPTESgM5iGV/JI+Q== Content-Language: en-us X-CMAE-Envelope: MS4wfApFw0AAmYvLMNCI5pzFCwvcAMMk8gleFiY6TSxi7e8wfBS9fSFyiv6kNVWYy7tBqyzpxlzqfqbCqFtt5vhXNl0MbPqGbOAtByWZPjPwUWKODQVTS+Xn bFDiKiwnzkAwpncPF0Jt1vOC0vvPFcl3J+Ah+T0TMj9x1WFCbTEA7OfifjnkZ/llTzfWmaNVENzvQA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:18:18 -0000 Hi, Hope you are doing well. Would you be interested in our newly updated Computer system professionals Database-2017 for your upcoming campaigns, which includes complete contact details and verified email id of - Academicians, IT Professionals, Scholars, Researchers, Practitioners, Academic Scientists, Research Scientists, Engineers OR as per your requirement. Please provide me the below target market criteria you would be interested in reaching: Job titles ________? Industry markets _______? Countries _____________?. Appreciate your time and looking forward to hear from you. Best Regards, Laura Jones Database coordinator If you don't wish to receive our newsletters, reply back with Leave-Out in subject line From owner-freebsd-questions@freebsd.org Fri Oct 6 19:25:36 2017 Return-Path: Delivered-To: freebsd-questions@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 A720AE3F8EA for ; Fri, 6 Oct 2017 19:25:36 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout0802.bt.lon5.cpcloud.co.uk (rgout0802.bt.lon5.cpcloud.co.uk [65.20.0.149]) by mx1.freebsd.org (Postfix) with ESMTP id 46DC86C7CB for ; Fri, 6 Oct 2017 19:25:36 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva (207.242.201.20) by rgout08.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 58BFF0801624A504; Fri, 6 Oct 2017 20:18:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507317936; bh=lSp8maLVj4lokCwlPVsEEHIuDVF8qe29wXQ8ab/qvxw=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=h/8usKHjEGKw7OwhnP+v7Mt1HCFfHe/2JOTGvYr76OWUtbx1OUg0axfsiEwQ8SN2CvQDBZ3TwhGmYzANv+M4QUr6J7e5l0Qe+H7rLQTukdjpVyADjVQI6CH3nngCpk2oqw/PT78rgQ0UhGnKEKNSjVe4BCQHQ3qoAKegmU/vcmU= Message-ID: <1507317531.4831.74.camel@btinternet.com> Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues From: James Geering To: Marco Beishuizen Cc: freebsd-questions@freebsd.org Date: Fri, 06 Oct 2017 15:18:51 -0400 In-Reply-To: References: <1507310201.4831.52.camel@btinternet.com> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:25:36 -0000 -----Original Message-----From: Marco Beishuizen Reply-to: Marco Beishuizen To: James Geering Cc: freebsd-questions@freebsd.org Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues Date: Fri, 6 Oct 2017 20:09:29 +0200 (CEST) On Fri, 6 Oct 2017, the wise James Geering wrote: > Hi All, I have just moved from RedHat and have progressed with the > learning curve of moving to FreeBSD. I'm running 11.1-release #0 r321309 > amd64. I have installed Xorg and am running WindowMaker 0.95.7 > successfully. Both installed using "pkg install <***>" > > Out of interested I wanted to try the more recent WindowMaker 0.95.8 and > downloaded the source from http://windowmaker.org/. I followed the > how-to of extract and configure steps but am having problems with > .configure step. The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should I be able to, and if so why does ports think it is installed. > > Clearly, I am misunderstanding what the error message is telling me. > Thus, I would be grateful if someone could give me hint of what is going > on, I have Googled extensively but cannot work through this issue - so > am posting here. You should only build and install software by ports or pkg in FreeBSD. So the port needs an update. I've filed a bugreport in june for the upgrade of x11-wm/windowmaker to 0.95.8 but unfortunately this hasn't been committed yet. Windowmaker 0.95.8 runs fine here though. Regards, Marco James Geering wrote: Oh I see; yes of course because following this concept one knows the software from a third party has been 'ported' to the freeBSD platform using the various libraries that are synchronised to that port version -- right?? I still have the side-question though, which is why do I not have the libXmu.so.* library in my file-system. When I install it using ports: % pkg install libXmu it installs but the libXmu is nowhere to be found? I really feel like I'm missing a conceptual understanding here? Thank you, James From owner-freebsd-questions@freebsd.org Fri Oct 6 19:27:31 2017 Return-Path: Delivered-To: freebsd-questions@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 5C5C1E3FA25 for ; Fri, 6 Oct 2017 19:27:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6A4E6C9B4 for ; Fri, 6 Oct 2017 19:27:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Fri, 06 Oct 2017 21:27:21 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2D3133CBF9; Fri, 6 Oct 2017 21:27:20 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v96JRJWm002025; Fri, 6 Oct 2017 21:27:19 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 6 Oct 2017 21:27:19 +0200 From: Polytropon To: Alessandro La Rosa Cc: freebsd-questions@freebsd.org Subject: Re: info about freebsd download Message-Id: <20171006212719.f70f0de4.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 65CC7683447 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1341 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:27:31 -0000 On Fri, 6 Oct 2017 18:39:50 +0200, Alessandro La Rosa wrote: > hi, i am alessandro la rosa, i am writing you because i downloaded many > times freebsd and masterized it on dvd, but it seem to be always a > corrupted download, where i can find a good iso to download and masterize? The official FreeBSD download site is: https://www.freebsd.org/where.html Use the correct image for the architecture you intend to use. After downloading, verify the image's integrity with the checksum. If it has been downloaded correctly, create the CD or DVD from it. Downloading from a local mirror is possible, too, if speed (or download time) is a concern. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 6 19:31:44 2017 Return-Path: Delivered-To: freebsd-questions@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 9560EE3FCCB for ; Fri, 6 Oct 2017 19:31:44 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net [194.109.24.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37ACD6CD57 for ; Fri, 6 Oct 2017 19:31:43 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud9.xs4all.net with ESMTP id 0YLTeLz4qnIXb0YLUeUdvw; Fri, 06 Oct 2017 21:31:40 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v96JVcqA006274 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Oct 2017 21:31:39 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 6 Oct 2017 21:31:38 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: James Geering cc: freebsd-questions@freebsd.org Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues In-Reply-To: <1507317531.4831.74.camel@btinternet.com> Message-ID: References: <1507310201.4831.52.camel@btinternet.com> <1507317531.4831.74.camel@btinternet.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfFvyrwJL+rtlgeMN7z6w0ymf8HYJql1vKUDEoQbozocJ5R0pD110hWIIe2XXpdtm++sO+bRmElQOHMoFlKApJ1w76VDvJRj/S1f4uUy+LFqQlshHUfsy giQDUsPH/LbNF4l9JL37nO2leFYZr2j26O7x3DSefUeGqiW7y46GEpScmfdrOKTx36iYZTNJ2O3Wm3WsC3jALwe7fGcPGstuAQY= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:31:44 -0000 On Fri, 6 Oct 2017, the wise James Geering wrote: > Oh I see; yes of course because following this concept one knows the > software from a third party has been 'ported' to the freeBSD platform > using the various libraries that are synchronised to that port version > -- right?? Correct. Dependent libraries are build and installed too, see below. > I still have the side-question though, which is why do I not have the > libXmu.so.* library in my file-system. When I install it using ports: > > % pkg install libXmu > > it installs but the libXmu is nowhere to be found? I really feel like > I'm missing a conceptual understanding here? I could be wrong but shouldn't this be done as root? Regarding libXmu: this library is a dependency of windowmaker so when windowmaker is build and installed via ports, libXmu will be build and installed also (if it doesn't exist on your system yet). Nice site to check on things like this is www.freshports.org. Regards, Marco -- Eagleson's Law: Any code of your own that you haven't looked at for six or more months, might as well have been written by someone else. (Eagleson is an optimist, the real number is more like three weeks.) From owner-freebsd-questions@freebsd.org Fri Oct 6 19:38:53 2017 Return-Path: Delivered-To: freebsd-questions@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 36AE4E3FF05 for ; Fri, 6 Oct 2017 19:38:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A30D76D0F3 for ; Fri, 6 Oct 2017 19:38:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Fri, 06 Oct 2017 21:38:44 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 75D553CBF9; Fri, 6 Oct 2017 21:38:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v96JcgB2002057; Fri, 6 Oct 2017 21:38:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 6 Oct 2017 21:38:42 +0200 From: Polytropon To: James Geering Cc: freebsd-questions@freebsd.org Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues Message-Id: <20171006213842.e0b5f82e.freebsd@edvax.de> In-Reply-To: <1507310201.4831.52.camel@btinternet.com> References: <1507310201.4831.52.camel@btinternet.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with BB64F68342E X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1673 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:38:53 -0000 On Fri, 06 Oct 2017 13:16:41 -0400, James Geering wrote: > Out of interested I wanted to try the more recent WindowMaker 0.95.8 > and > downloaded the source from http://windowmaker.org/. I followed the > how-to > of extract and configure steps but am having problems with .configure > step. This is not the standard way of installing software from source on FreeBSD. If possible, use the ports collection. You can use svn to get the lasted version (or portsnap, if the snapshot version is sufficient). > The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h > at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should > I be able to, and if so why does ports think it is installed. The library files are /usr/local/lib/libXmu.so (symlinked to the correct version) and /usr/local/lib/libXmu.a. > Clearly, I am misunderstanding what the error message is telling me. Maybe the configure script is Linux-centric and cannot properly deal with the locations where FreeBSD locates the libraries? Keep in mind this kind of software is being developed primarily with Linux in mind, so don't expect portability. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 6 22:11:03 2017 Return-Path: Delivered-To: freebsd-questions@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 5D3E9E42C7B; Fri, 6 Oct 2017 22:11:03 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 2E86471D16; Fri, 6 Oct 2017 22:11:02 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8152A20EB1; Fri, 6 Oct 2017 18:11:00 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 06 Oct 2017 18:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=N2OCVv +hEih1cAFqTFZhfvqOdI+9Rc05apu0QKaof+s=; b=Uc4cIWrVDsDVvuSZYasery HMeGEaVC5ahyW4yuYHu64soLj7w9RweLo4pgxqRzoYbyzgMEX/6NnJi8XKE3HC3Y L1dthka/fZ4h49iVzd3nvP48AQRvaEi88AaD5eAoaVfaXgvtYksNH5A4ODRpbbrL RvRxY8xStzDrHrVyXNYlzZOgQPvRG9DJv9KMb5bZ1rSRZ8gHeB50g6Izx3jZsqNr SrN8/ZhY/egi5MpDiaqEi07kpX6CFMMoprRDZOmaQ/ynM1lxdW/6aeqBTuq7M6lw xgyCDDFx/ACpaPgDp+uJaEnguUtjmubWcOqu6y4Cyi2RFhx2zt5oU81iJU2zsGLQ == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=N2OCVv+hEih1cAFqTFZhfvqOdI+9Rc05apu0QKaof +s=; b=qD+nsJFZzPMykp92ELDyVDiVZhiYK1JYigOPBDZWXpozbHtssbKRpk6u5 Ns47mGolYPR6cW5GtYWPlZjBrNRE09C+zEVWfvnPS0r3rOb2aA97FU6/aihjDC9t kQfSY3zh87nyLWniaZGaaOBerJpM2kQFxscagU3v95P4Q79gaB0nmotHQvdMzqYS oDmd6bS7gbd1T9qL1ZRbz0WbhkdT98rRS9U7ikT2J6gCQss2aJ+yawPxv0UiaDIe l3kVL4RiacR/uzqMCv1jOHAXOeK6X0TrIGunbhGAwEurtfyTWGjrncGSy8WNT0so jtQOmf/q0rdB73Q4tsOTpvkYlSPhQ== X-ME-Sender: X-Sasl-enc: /lcpcA+CjzP/I2wwoqANqJiRlJbh30nOVsNbcQpqksMF 1507327860 Received: from v007.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id EBD1C7F066; Fri, 6 Oct 2017 18:10:59 -0400 (EDT) Date: Fri, 6 Oct 2017 23:10:58 +0100 From: tech-lists To: freebsd-questions@freebsd.org Cc: freebsd-ports@freebsd.org Subject: make ports use system clang & llvm Message-ID: <20171006221058.GA98039@v007.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 22:11:03 -0000 Hello, Is there a way to make ports use system clang & llvm (now at v5) rather than pulling in llvm4? If so, please tell me what it is! thanks, -- J. From owner-freebsd-questions@freebsd.org Fri Oct 6 22:54:03 2017 Return-Path: Delivered-To: freebsd-questions@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 9BD13E439EF for ; Fri, 6 Oct 2017 22:54:03 +0000 (UTC) (envelope-from jbeich@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 73E2C72FE6; Fri, 6 Oct 2017 22:54:03 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 854FAA784; Fri, 6 Oct 2017 22:54:02 +0000 (UTC) From: Jan Beich To: Steven Nikkel Cc: freebsd-questions@freebsd.org Subject: Re: OpenCL Issues References: <1b3fafb4-1f41-1ef0-dce5-3c97ccb39570@ertyu.org> Date: Sat, 07 Oct 2017 00:53:58 +0200 In-Reply-To: (Steven Nikkel's message of "Fri, 14 Jul 2017 19:21:21 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 22:54:03 -0000 Steven Nikkel writes: > On 2017-07-14 6:11 PM, Jan Beich wrote: > >> Steven Nikkel writes: >> >>> On 2017-07-14 8:13 AM, Jan Beich wrote: >>>> See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217635 >>>> >>> >>> Thanks, work around from the bug report solves my issue with beignet >>> and I can successfully use OpenCL on that host. >> ^^^^^^^^^^^ >> >> Awesome! I'd like to update the port to a snapshot to pick up the fix in >> question upstream, LLVM 4.0 support, more optimizations and catch >> regressions early. Can you give it a try? >> >> https://reviews.freebsd.org/D11377 (see Download Raw Diff) >> > > The update builds and installs. It runs clinfo fine, but I'm getting > errors in my CL app, looks like it can't find the cl_amd_media_ops > extension. Not sure where that error comes from as it's fine in the > 1.3.1 from the existing port. > > Error building cl program on device 0 > Error code -11, message: Program build failure > Build log returned 624 bytes > Build Log: > stringInput.cl:56:17: warning: implicit declaration of function > 'amd_byteal ... > stringInput.cl:12:19: note: expanded from macro 'SWAP' > stringInput.cl:56:17: error: function with no prototype cannot use the > spir ... > stringInput.cl:12:19: note: expanded from macro 'SWAP' > stringInput.cl:58:12: warning: implicit declaration of function > 'amd_bitali ... > stringInput.cl:11:20: note: expanded from macro 'ROTL' > stringInput.cl:58:12: error: function with no prototype cannot use the > spir ... > stringInput.cl:11:20: note: expanded from macro 'ROTL' I've updated the port to a release branch snapshot 52 commits after 1.3.1. It fixed some regressions since 1.3.0 and got LLVM support up to 5.0. Can you check if your app now works fine or not? From owner-freebsd-questions@freebsd.org Sat Oct 7 00:17:37 2017 Return-Path: Delivered-To: freebsd-questions@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 4CD57E44E62 for ; Sat, 7 Oct 2017 00:17:37 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout0805.bt.lon5.cpcloud.co.uk (rgout0805.bt.lon5.cpcloud.co.uk [65.20.0.152]) by mx1.freebsd.org (Postfix) with ESMTP id D14B87530F for ; Sat, 7 Oct 2017 00:17:36 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 45.25.168.118 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva.attlocal.net (45.25.168.118) by rgout08.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 58BFF08016296576; Sat, 7 Oct 2017 01:13:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507335457; bh=8MoPFjKxTvofVdDNBH2g0k/qst4h/AEWHkGHB3Kzg/0=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=FOS4+dlgQz9ElbrTBhLOzXvialydesoZ6aGtgfzFYeqMJw/jQu5SFcmfQetwUhK6Tq4RNt7LLAp2sEZiBZY32miFvfIgvGgKglvGwjnLJUA6TZeuVBcPq/nRINoVUGSvkCyHzC3VwnnFYUSP44C7lxhmOT6aWuLCHsYADD8HT9k= Message-ID: <1507335213.4246.18.camel@btinternet.com> Subject: Re: Cannot .configure WindowMaker 0.95.8 - Xmu lib issues From: James Geering To: Polytropon Cc: freebsd-questions@freebsd.org Date: Fri, 06 Oct 2017 20:13:33 -0400 In-Reply-To: <20171006213842.e0b5f82e.freebsd@edvax.de> References: <1507310201.4831.52.camel@btinternet.com> <20171006213842.e0b5f82e.freebsd@edvax.de> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 00:17:37 -0000 Thank you for all your replies; I'm slowly getting the idea. Yes, I hadn't realised that when I download the source from another site (of general target) that the various scripts are, likely not targeted at freeBSD. I will try and do a latest portsnap etc and see where I get with that! I have attempted to provide a quick summary of the various answers from you very helpful experts. Many many thanks! Bernt The lib file is in /usr/local/lib. Mine is libXmu.so.6.2.0 Marco You should only build and install software by ports or pkg in FreeBSD. So the port needs an update. I've filed a bugreport in june for the upgrade of x11-wm/windowmaker to 0.95.8 but unfortunately this hasn't been committed yet. Windowmaker 0.95.8 runs fine here though. Edgar My first step would be to look in the porta tree and see what patches are being applied for it to build on freebsd. You may have to do the same. Then do ./configure --help and see what options you may need to set. Such as where to find the Xmu library. Then repeat as necessary because there will probably be more. > Oh I see; yes of course because following this concept one knows the > software from a third party has been 'ported' to the freeBSD platform > using the various libraries that are synchronised to that port version > -- right?? Marco Correct. Dependent libraries are build and installed too, see below. > I still have the side-question though, which is why do I not have the > libXmu.so.* library in my file-system. When I install it using ports: > % pkg install libXmu> > it installs but the libXmu is nowhere to be found? I really feel like > I'm missing a conceptual understanding here? I could be wrong but shouldn't this be done as root? - > I'm missing a conceptual understanding here? Sorry I meant as root Regarding libXmu: this library is a dependency of windowmaker so when windowmaker is build and installed via ports, libXmu will be build and installed also (if it doesn't exist on your system yet). Nice site to check on things like this is www.freshports.org. > Out of interested I wanted to try the more recent WindowMaker 0.95.8 > and downloaded the source from http://windowmaker.org/. I followed the > how-to of extract and configure steps but am having problems with .configure > step. Polytropon This is not the standard way of installing software from source on FreeBSD. If possible, use the ports collection. You can use svn to get the lasted version (or portsnap, if the snapshot version is sufficient). > The script stops with the information:- > > "checking for Xmu library... configure: error: library Xmu not found" > > however, Xmu library seems to be installed as reported by cd'ing to > /usr/local/ports/x11-toolkits/libXmu/ and issuing "make install clean". > The command reports the library is already installed. Also I find the > *.h > at /usr/local/include/X11/Xmu. However I cannot find a .lib file - > should > I be able to, and if so why does ports think it is installed. The library files are /usr/local/lib/libXmu.so (symlinked to the correct version) and /usr/local/lib/libXmu.a. > Clearly, I am misunderstanding what the error message is telling me. Maybe the configure script is Linux-centric and cannot properly deal with the locations where FreeBSD locates the libraries? Keep in mind this kind of software is being developed primarily with Linux in mind, so don't expect portability. ;-) From owner-freebsd-questions@freebsd.org Fri Oct 6 22:38:14 2017 Return-Path: Delivered-To: freebsd-questions@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 8D1C5E43485; Fri, 6 Oct 2017 22:38:14 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B4FD72868; Fri, 6 Oct 2017 22:38:13 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FA3C56.dip0.t-ipconnect.de [217.250.60.86]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id v96MbBL7093456 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Oct 2017 22:37:20 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id v96MbxSj009460; Sat, 7 Oct 2017 00:37:59 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id v96MbNIS031218; Sat, 7 Oct 2017 00:37:59 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201710062237.v96MbNIS031218@fire.js.berklix.net> To: Tomasz CEDRO cc: FreeBSD Questions Mailing List , "freebsd-usb@FreeBSD.org" , freebsd-hardware@freebsd.org, Hans Petter Selasky , Tomasz Cedro Subject: Re: usbdump on macOS From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 06 Oct 2017 18:46:55 +0200." Date: Sat, 07 Oct 2017 00:37:23 +0200 X-Mailman-Approved-At: Sat, 07 Oct 2017 01:28:02 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 22:38:14 -0000 Tomasz CEDRO wrote: > On Fri, Oct 6, 2017 at 6:39 PM, Julian H. Stacey wrote: > > Tomasz CEDRO wrote: > >> Hello world! > >> Is there any chance to have USBDUMP working on current macOS? I can > >> see there is a manual page for usbdump in XCode taken directly from > >> the FreeBSD.. but I could not find the binary.. > >> Is anyone aware or can make usbdump work on macOS? I may be able to > >> find some funding to make it work.. :-) > >> Best regards, > >> Tomek CEDRO > > > > I'd guess you'd stand best chance asking on a MacOS list. But if you > > do find funding & want a geographic indexed global BSD contractors index: > > http://www.berklix.com/consultants/ > > Cheers, > > Julian > > Hello Julian, thanks for response! I thought there may be an effort > already to port usbdump to macOS as I found the man page there.. no > clue why it landed there without the binary... this is why I ask here > :-) > > Do you know any sensible macOS list of this kind where I could ask? I > did not get ANY sensible support from Apple Developer Forum nor > Support.. > > Best regards, > Tomek Sorry Tomasz, I know nothing helpful, I do know a friend who used to work for Apple who is on BSD lists maybe he knows lists, I'm bcc'ing him, so's not to drop him in it :-) Actually I think theres been a few BSD people at Apple, maybe some on lists will see your call for help. All the best. Cheers, Julian -- Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer, Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/ UK stole 3,500,000 votes; 700,000 from Brits in EU. From owner-freebsd-questions@freebsd.org Sat Oct 7 02:58:47 2017 Return-Path: Delivered-To: freebsd-questions@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 BAC4EE2AE70; Sat, 7 Oct 2017 02:58:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 9A7ED7E944; Sat, 7 Oct 2017 02:58:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 3B7965A9F12; Sat, 7 Oct 2017 02:58:40 +0000 (UTC) Date: Sat, 7 Oct 2017 02:58:40 +0000 From: Brooks Davis To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: make ports use system clang & llvm Message-ID: <20171007025839.GA68389@spindle.one-eyed-alien.net> References: <20171006221058.GA98039@v007.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <20171006221058.GA98039@v007.zyxst.net> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 02:58:47 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 06, 2017 at 11:10:58PM +0100, tech-lists wrote: > Hello, >=20 > Is there a way to make ports use system clang & llvm (now at v5) rather t= han=20 > pulling in llvm4? If so, please tell me what it is! Short verison: no. Longer version: Ports that depend on a specific LLVM version typically do so because they link to LLVM libraries. LLVM provides *no* API stability between releases so programs can only link to a narrow range of LLVM versions (1 version is common) and we can not ship the libraries with the base system because we would then be stuck with a single LLVM and clang version for the life of a STABLE branch (usually 5+ years). -- Brooks --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJZ2ELfAAoJEKzQXbSebgfAhBQH/2ZKrtO3p930178J/MSfOK0l 6U9gXdqZ8lw0+DaW0dVM/Yhy0N3SEvoRwGv67qorF9jpilkXgAVhAnW1cVIAfSIo YrYFgXsQg8AM+WzhdajFyKe4O/lLH/brQvczXX2/8mAA/g9NTpcGGtStfsYJo7bI If24qdzusA0h4OKrIhlqV9jbGSvMPRsluA2Nmx8K3YS9pfnbkH/csOIbS4VQaru2 OASYelV2ZI+iiscHu0F/OKadSyeOgQqXkt0vKk/OL0FRPmp4WmI7CiwkKAPzpIzk StwuhDgZJmoa5Wqvvc36AXJ/Kej4yH95Wy/kYu4Wg0BSsNpFwwZuNny0SWPob2M= =NYYn -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- From owner-freebsd-questions@freebsd.org Sat Oct 7 11:35:55 2017 Return-Path: Delivered-To: freebsd-questions@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 AB1A4E36156 for ; Sat, 7 Oct 2017 11:35:55 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.43]) (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 596FF2C68 for ; Sat, 7 Oct 2017 11:35:55 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.164.83] (helo=fabiankeil.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e0nOC-000774-4x; Sat, 07 Oct 2017 13:35:28 +0200 Date: Sat, 7 Oct 2017 13:35:32 +0200 From: Fabian Keil To: Jonathan Bond-Caron Cc: "freebsd-questions@freebsd.org" Subject: Re: GELI disk and glabel label Message-ID: <20171007133532.0c647a07@fabiankeil.de> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/RS7wJZ7nbIi3BqCVEpqrNXk"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 11:35:55 -0000 --Sig_/RS7wJZ7nbIi3BqCVEpqrNXk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Jonathan Bond-Caron wrote: > I was trying to organize hard disk using labels and labelled two geli > disks: https://marc.info/?l=3Dfreebsd-questions&m=3D147526341300616&w=3D2 Note that this post seems to be about gpt labels, not about glabel labels. They are not the same kind of label (and there are various other types of labels in FreeBSD). As you have just discovered, sometimes the difference matters. > glabel secure /dev/da1 > galbel backups /dev/da2 >=20 > The problem is now I can't mount them :/ > geli attach -k /root/geli.key > geli: Cannot read metadata from /dev/da1 As Bernt already explained, that's the expected behaviour. While it's possible to relocate the geli metadata, before adding a "glabel label", the process is a bit tedious and I wouldn't recommend trying it unless you already know that your backups work. > Is there anything I can do to 'revert' the glabel operation? If I have a > backup of these disks, can I grab the metadata from them and restore the > data? If you have a backup of the whole disk, you can extract the geli metadata with "geli backup ..." and restore it with "geli restore ..." which will also overwrite the "glabel label". See the geli man page for details. Note that "geli init ..." creates metadata backups by default, so you may want to look for those as well. Here's an example from one of my servers: [fk@elektrobier3 ~]$ ls -l /var/backups/*.eli -rw------- 1 root wheel 512 Jun 3 14:09 /var/backups/gpt_dpool-ada0.eli -rw------- 1 root wheel 512 Jun 5 21:26 /var/backups/gpt_dpool-ada1.eli -rw------- 1 root wheel 512 Jun 3 14:09 /var/backups/gpt_dpool-ada2.eli -rw------- 1 root wheel 512 Jun 3 14:09 /var/backups/gpt_dpool-ada3.eli While the system has an encrypted rpool as well, the geli metadata backups for the vdevs are located elsewhere as the pool was created at install time. Given that /var/backups is on the rpool, I can't access it without access to the rpool vdevs anyway, so it wouldn't be the greatest location for the geli metadata backups in the first place. Fabian --Sig_/RS7wJZ7nbIi3BqCVEpqrNXk Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCWdi8BAAKCRAFiohV/3dU nelmAJ46M0/qt9S4uyCgNxSavEg0RWfC+gCeOkklEdX8QOj4TdgjUkPb9uweLAs= =FIV8 -----END PGP SIGNATURE----- --Sig_/RS7wJZ7nbIi3BqCVEpqrNXk-- From owner-freebsd-questions@freebsd.org Sat Oct 7 14:20:30 2017 Return-Path: Delivered-To: freebsd-questions@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 B992DE39112; Sat, 7 Oct 2017 14:20:30 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 4E0083718; Sat, 7 Oct 2017 14:20:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 417E120AB4; Sat, 7 Oct 2017 10:20:21 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 07 Oct 2017 10:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=vGIVMQ lAUCSH1hioMISgEXjIchN2VPz0l4qzxWShdlc=; b=r4ipyMBuT+q8FIok8K1/+S 1fhytqEHw2eQl49+WX312DlIgv31G6OGEOIQI3qwbr/HkhIVKgWyqPA2lct3yCoN B6a2uWuX6blh3HRehyaOwVPXXbcv8rwgQOd/Rh+pX89DcyQqVugn2JdL0vH9LZLd V3JSFQyiTd0Xu23KNZOfqUjPZhqChtWrnBCStSxiqBXdWRz9v+b0W6JpOOmbOD+X AXTgngnGW/7w2Ckh9Jvv9zsq0cTsK+fd1OSJRalTuHEkO7PpYEmCjsmBPpbZs/HV H9BuiFZJ0mvCjzZ0f1M4ZASchmjXbLkmo+hs3FbecOKiAAOV6ZBlcQLjodO0wV6w == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=vGIVMQlAUCSH1hioMISgEXjIchN2VPz0l4qzxWShd lc=; b=cVfGsgpFN6wYW9XP0QTbJv3ged/a7oT7Ft93tkZH2PXRrXlS2qtxTD3Ob UiXPBP+1UYqo5QuLPpkkVHlOSCdJJVsmIgsjKalywR5hcb7PQbO5g8XhPwEMU8dM aibG9EpxQ5W9FxtAlSsicmUnAbfxahh0grWemXC7acMhcywAqeyeUhLIrpFunXlu e9W2BdLA2gYOhu8YxyVaYh4FA82ml3nAtrJNMdZ/JQZiXGEbo1ubMAHR+k3VgKY1 PqAnLo97G0352j0X33kF07TjMGfpW53oD/S9K1LVXSuLl9X3Yj3HQ/zlPLKlSvGL 8GTNL2Hj1OQaa+a2jqOYf4xf0XfyA== X-ME-Sender: X-Sasl-enc: N+JQ7EhU/SiCSwtdr/tjvHoiHGFjbCF7S9sxnCP1pYrJ 1507386020 Received: from v007.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id AFC3A7E1D8; Sat, 7 Oct 2017 10:20:20 -0400 (EDT) Date: Sat, 7 Oct 2017 15:20:19 +0100 From: tech-lists To: freebsd-questions@freebsd.org Cc: freebsd-stable@freebsd.org Subject: console-only freebsd Message-ID: <20171007142019.GA19356@v007.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 14:20:30 -0000 Hi, I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like is full functionality via the console[1]. One of the things it needs is some graphics capability but without xorg. So I'm thinking, svga or libSDL. For example, let's say to view a jpg file. If this is possible from the console, what program or port would one use to view a gif or jpg file? [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] [2] can the number of consoles be increased? many thanks, -- J. From owner-freebsd-questions@freebsd.org Sat Oct 7 14:37:21 2017 Return-Path: Delivered-To: freebsd-questions@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 91E55E39898 for ; Sat, 7 Oct 2017 14:37:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFB81663AE for ; Sat, 7 Oct 2017 14:37:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sat, 07 Oct 2017 16:37:11 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 201733CBF9; Sat, 7 Oct 2017 16:37:10 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v97EbA3c002992; Sat, 7 Oct 2017 16:37:10 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 7 Oct 2017 16:37:10 +0200 From: Polytropon To: tech-lists Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: console-only freebsd Message-Id: <20171007163710.9ef5a0b4.freebsd@edvax.de> In-Reply-To: <20171007142019.GA19356@v007.zyxst.net> References: <20171007142019.GA19356@v007.zyxst.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 65D9868345F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1368 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 14:37:21 -0000 On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote: > I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like > is full functionality via the console[1]. One of the things it needs is some > graphics capability but without xorg. So I'm thinking, svga or libSDL. > For example, let's say to view a jpg file. If this is possible from the console, > what program or port would one use to view a gif or jpg file? Maybe something svgalib-based? With the new console "vt", you basically are in graphics mode all the time, there is no text mode anymore (that was "sc"). I know there was an image viewer called zgv (console) + xzgv (X), with version 0.8_9 being the last usable version (prior to the "library shift"), but this probably isn't being maintained anymore... Still you might be successful finding a viewer that can directly interface with the "vt" graphics mode... > [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] > [2] can the number of consoles be increased? Yes. Edit /etc/ttys to spawn more gettys. See "man 5 ttys" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Oct 7 14:43:13 2017 Return-Path: Delivered-To: freebsd-questions@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 DED00E39E3D for ; Sat, 7 Oct 2017 14:43:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A4096799C for ; Sat, 7 Oct 2017 14:43:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Sat, 07 Oct 2017 16:43:10 +0200 Received: from r56.edvax.de (port-92-195-63-92.dynamic.qsc.de [92.195.63.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4D4033CBF9; Sat, 7 Oct 2017 16:43:09 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v97Eh8SX003015; Sat, 7 Oct 2017 16:43:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 7 Oct 2017 16:43:08 +0200 From: Polytropon To: tech-lists Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: console-only freebsd Message-Id: <20171007164308.e960781e.freebsd@edvax.de> In-Reply-To: <20171007142019.GA19356@v007.zyxst.net> References: <20171007142019.GA19356@v007.zyxst.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 9F5EF68342E X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1430 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 14:43:14 -0000 On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote: > what program or port would one use to view a gif or jpg file? Additional thought: With vt, default text modes are typically much bigger than the traditional 80x25 of sc. With the "block graphics" and maybe ASCII art + foreground / background color attributes, maybe there is a viewer that converts the image into "text with control characters" that can be displayed directy in the vt text mode, without using any graphics? Just a stupid thought... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Oct 7 16:41:09 2017 Return-Path: Delivered-To: freebsd-questions@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 DFD4DE3C118; Sat, 7 Oct 2017 16:41:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 A23D5848F5; Sat, 7 Oct 2017 16:41:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3AEFB2098B; Sat, 7 Oct 2017 12:41:08 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 07 Oct 2017 12:41:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=mqg97V1s+T1xk7fB9MWAmxyUwCM/YrfdVHOLRmBDe lU=; b=kr4PSXWDriJ2IoafEBlsU4WrkzhMAAVmYDpzXcSBVohDxbugW1Xo733N+ Cma4oVO+UDavZ00NKSAW/PNpxCc53nE5Bv9vuiIegbh3zWlQw43QOZInkS+UZkbG laaKmw2tkGHU+Eg7pYtc8+TEKc469cj2EWYND0pOpiskBeOueD56AXtbgLbGDnB1 kv3klpIF64akfymjBx+sYN2efuEDF6i0pHWQ9/QAxgvPWuQ53EPuGu5SyBGxFrGc mt9V4Lem9ueiOxD3BJ7mJEwdJvGefeIhvyCFobGp+hSKomwfhDXxuuwxvvvUDxOK 0jhxLiqkDAsQVpg68ULEnyx2Me8+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=mqg97V1s+T1xk7fB9M WAmxyUwCM/YrfdVHOLRmBDelU=; b=b93jngmJ1XAtWJjIX/WMBEW8DupoKyzHS0 DGb9uXxGrc2VfgnVgEUcXYYQOSKsXQFchnFu5mMcTTNAAU7MdV7FEnXYWuXFQ4B3 +2evKzC5SiD+oBbhlbE4q0ep00pQujDDELWuaBP5hMJeO4wZYkiuxQZ5kAvuT1tk tmtPc8Z/1cyQdBL5tzL9yqBS/aWnN668isIDAAv1fpASEIR3zv5gGs+sOy9thxPz tBESqjcapDWy/VkEaxjMcJj4+AdcB4gyP3z69uBvgyR8em2X/LkRghpQmGYKq99Z P+EmFqOV8r1xhxkTId2FrCqqOPFfWzwo71HqgR5aM6QU2mLh5IyA== X-ME-Sender: X-Sasl-enc: tS0IYDFGpJZlWvHR6Yt3NL4ecgC7q/vtrGCNoW9rShcZ 1507394467 Received: from v007.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 98DBC2484E; Sat, 7 Oct 2017 12:41:07 -0400 (EDT) Date: Sat, 7 Oct 2017 17:41:06 +0100 From: tech-lists To: freebsd-questions@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: console-only freebsd Message-ID: <20171007164106.GB19356@v007.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org References: <20171007142019.GA19356@v007.zyxst.net> <20171007163710.9ef5a0b4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171007163710.9ef5a0b4.freebsd@edvax.de> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 16:41:10 -0000 On Sat, Oct 07, 2017 at 04:37:10PM +0200, Polytropon wrote: >Maybe something svgalib-based? With the new console "vt", you >basically are in graphics mode all the time, there is no text >mode anymore (that was "sc"). I know there was an image >viewer called zgv (console) + xzgv (X), with version 0.8_9 >being the last usable version (prior to the "library shift"), >but this probably isn't being maintained anymore... thanks for the tip. I'll checkout zgv. Basically I'm looking for the console equivalent of all the programs one would expect to use on a desktop. So for example, my favourite email program is mutt. So for mutt, to view a html email I pipe it through w3m, to view a jpg attachment I guess I'll need to edit the mailcap file to make it load zgv. I'm interested in any suggestions the list(s) have concerning console equivalents of desktop programs. >Still you might be successful finding a viewer that can >directly interface with the "vt" graphics mode... Yeah that's what I hope. The laptop is AMD C-70 which has an AMD/Radeon APU. It will run xorg but console mode is much faster and consumes a lot less power. What's nice about the netbook is that it's just about the ideal size of keyboard and screen, the case is high quality glossy black plastic and it has a usb3 port and the video is recognised by radeonkms, which gives a really nice clear console. The downside is the CPU isn't powerful, so I need to optimise everything for it, and this "console-only" idea is part of the optimisation I'm attempting. >Yes. Edit /etc/ttys to spawn more gettys. See "man 5 ttys" >for details. thanks for this tip as well -- J. From owner-freebsd-questions@freebsd.org Sat Oct 7 19:14:12 2017 Return-Path: Delivered-To: freebsd-questions@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 E6669E3FB37; Sat, 7 Oct 2017 19:14:12 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (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 12DE783FE7; Sat, 7 Oct 2017 19:14:11 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v97Is1B0095906; Sun, 8 Oct 2017 05:54:02 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 8 Oct 2017 05:54:01 +1100 (EST) From: Ian Smith To: Polytropon cc: tech-lists , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: console-only freebsd In-Reply-To: <20171007163710.9ef5a0b4.freebsd@edvax.de> Message-ID: <20171008053800.X20901@sola.nimnet.asn.au> References: <20171007142019.GA19356@v007.zyxst.net> <20171007163710.9ef5a0b4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2017 19:14:13 -0000 On Sat, 7 Oct 2017 16:37:10 +0200, Polytropon wrote: > On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote: > > I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like > > is full functionality via the console[1]. One of the things it needs is some > > graphics capability but without xorg. So I'm thinking, svga or libSDL. > > For example, let's say to view a jpg file. If this is possible from the console, > > what program or port would one use to view a gif or jpg file? > > Maybe something svgalib-based? With the new console "vt", you > basically are in graphics mode all the time, there is no text > mode anymore (that was "sc"). I know there was an image > viewer called zgv (console) + xzgv (X), with version 0.8_9 > being the last usable version (prior to the "library shift"), > but this probably isn't being maintained anymore... > > Still you might be successful finding a viewer that can > directly interface with the "vt" graphics mode... You'd earlier said that you couldn't use sc anymore as you couldn't get X to work with it - that it lost video when quitting X or switching to vtys from X, which presumably is still an issue. But since tech-lists specifically doesn't intend running X, is there any other reason to avoid still using sc(4)? It's still optional, isn't it? > > [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] > > [2] can the number of consoles be increased? > > Yes. Edit /etc/ttys to spawn more gettys. See "man 5 ttys" > for details. cheers, Ian