From owner-freebsd-questions@freebsd.org Sun May 27 00:23:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 467F2F6E14E for ; Sun, 27 May 2018 00:23:28 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 BBB048741C for ; Sun, 27 May 2018 00:23:27 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x236.google.com with SMTP id j186-v6so11016001ita.5 for ; Sat, 26 May 2018 17:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Wz9PI6f5jZUSc64dG1MOXHPFD19CraHsk33UR7OTkkQ=; b=GAQpifH0sxxz4mgkQZYC9C4jyGGwnmDx5v2GDS7nM7eF9BjMkMSKUU2umXVR3SzFrC eH5JdQbcsSyc4SHWaNj0Ay2IHBXUqWsJ2bOYwDMPtTsmdHmvIb2XpgCS0h3b9I28uAbQ OQtLYks19Io67Pe+DFR+oajp3wTf6PmuAM9obignqdreTgV/LfA2ocDOqcTzwPhFlLRV 9Ki+vdTz1OC6vZkd7N6ayTLOYak/h+9FlTRSAPn5zpzqI9mIgfxDQIUxBL5hbd34j+re t0Oqxr4rmetb+XrvZAy2BYFRSQ6mmtXkK0EnmAQ8rbBCLnDFt1ge0PQ4j/L8Sf1pu6+L Ggog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wz9PI6f5jZUSc64dG1MOXHPFD19CraHsk33UR7OTkkQ=; b=suCXFENqX3GUqmmSS9NNBHVrt3IovYEZRx5Lja21grOtkOJ4uFXCLLGPoJAV6BuY56 4gzy124dG8M8uDzQO77LGfR//c+oPaDirqFVZZkvr2nPIdQSjw87dejNMuwQK+aoySLD uOg8x/QdycRo5GJvfkKAKb5W911L40OeT6TGB0IrU6LMAcds1+1B2/sLPlo2rrc+Qvf/ 0SYNNOBVlxzsSJQLlBtbpke3nJklPkjCqrEIsiLokUWnm6SDi3yuDa+0JwQxBf9NpVHI ZMS9yf/dKR1AT2wHW0xOwyQ9Z2m2EO3H1Kmr4MpDWNf2WSBFcU9lFPlGXs9d3cU6HE/E CV5g== X-Gm-Message-State: ALKqPwdpoFBYbR4X0cEls8JiE50WXMkkUhgArSxfwlaxVlOo1Ztw2w/s jK/3HeW1wioPIM465ZI82EZqi+jArQhVgHcv75I= X-Google-Smtp-Source: AB8JxZoPMmiB7sPsiqgQHgLK8SM+bkF7DEC7Maw0Y6ibr+Htp+meBf64Yj7qqDdxo0tuyI+46OxuF5PpgTtOXv1QpBU= X-Received: by 2002:a24:47d1:: with SMTP id t200-v6mr7253649itb.1.1527380606927; Sat, 26 May 2018 17:23:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: blubee blubeeme Date: Sun, 27 May 2018 08:23:29 +0800 Message-ID: Subject: Re: FBSD on Mac To: "M. P." Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 00:23:28 -0000 On Sun, May 27, 2018, 08:02 M. P. wrote: > Hello I have succeded in creating an install disk for Mac but when I try > to install single user the process hangs and I get the message Power Fault > Detected. Any Ideas? Does the Mac hard drive have to be formatted for FBSD? > _______________________________________________ > 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 wouldn't recommend trying to run anything not Mac OS on their machines. If your Mac is up to version 11.2 or lower you should be fine. The new Mac hardware actively does things to thwart anyone who tries to run non Mac OS. Even if you do get it up and running, the wifi will be broken so you'll need a dongle. GPU will give you trouble as well. If it's one of the newer Mac with those led buttons you're totally out of luck. If you are able to reverse engineer custom hardware and write custom drivers then you might be OK. If not, either run FreeBSD in a VM on Mac, sell that Mac and buy a compatible laptop or ... Best, Owen > From owner-freebsd-questions@freebsd.org Sun May 27 02:03:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74510F7360F for ; Sun, 27 May 2018 02:03:50 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 EDFAF69CEE for ; Sun, 27 May 2018 02:03:49 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: by mail-pf0-x22e.google.com with SMTP id c10-v6so4256072pfi.12 for ; Sat, 26 May 2018 19:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qOs0kpdrD0DztcJHqc8bkBQ+g/WX9wGzWGRUdchc9Vs=; b=peoVGNCcwnLlZ6eNmsYbRK4JXI1dANwy100YUwFtgdGoYAZhsGoI+rNdQ0KnOTsQbB rJnOjxDNoTAd6ZzfIkcP3p54OMu8Xw1Od6nEkQgGfCm2yX9s4s6/ebeCkBRgYRud9BW0 IKnviKQvdiI/LkIAIlTCvy9nkFHS30ZwwJHPLVaSQRqe19ErNqJXKM+NB16KtSETwgX1 5dCDcAzP0swOga1rbWdg1l+Plqyjf7Pc12ltkSbdMJX7HSEwqaIyqx1G09rddimwh505 SEDnqodNcR4iFenJm2GsCp4/BVz1nLU5tKYFvgzR/yD+1ms/JrSfSFp6HWhfD9TFuX11 Xx2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qOs0kpdrD0DztcJHqc8bkBQ+g/WX9wGzWGRUdchc9Vs=; b=qANX72/i/KQI4IdONoImzJyT1XoQ6P58B7SRr3Gsf2NFcpQYjVXeXzkLLhodQl6MQ3 zxZNbT8caBPAnMLTJT+kzHzQlstIaYW5agyq4pJrzmayRmrEK/it1zI63A6loSRZgw63 E+RVY87d5hBgEubPdkMpmthU5bQ/WUENVRhKLbuxc1rOJrTOj9qmHNJzJaUIDd4+gdkx w/vF/o86N02wAXYdFRYRlWdBgM4cJkHh4K0Gk/RHw3lyw3MhhiOd+sd7qWqAUGVSWAXI zYQHP8pCK/kqRWRGL0JxcGys10vVLpGT8WwNLEGiwgzN086iCKQ62M9sZzT+HQCuZ5vZ VH4g== X-Gm-Message-State: ALKqPweXKP5452zfjpVmnN6pHAyLDIy7OxXrc0LPN0oXVtdGgProFz3S CYuyAmvBOh/TtNPYZ/kPeys= X-Google-Smtp-Source: AB8JxZqmIluVWQ8AYuqQX+92kbmkGmFlZi3N7xcNJMgBMn2YTxWBjQH4tRGuqZgw6HI4FJefUmrGvQ== X-Received: by 2002:aa7:81cc:: with SMTP id c12-v6mr8363942pfn.169.1527386628866; Sat, 26 May 2018 19:03:48 -0700 (PDT) Received: from [10.20.68.103] (BnG-nat-02.anu.edu.au. [130.56.207.2]) by smtp.gmail.com with ESMTPSA id z16-v6sm32726589pge.90.2018.05.26.19.03.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 May 2018 19:03:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: FBSD on Mac From: Felix Friedlander In-Reply-To: Date: Sun, 27 May 2018 12:03:44 +1000 Cc: blubee blubeeme , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "M. P." X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 02:03:50 -0000 > On 27 May 2018, at 10:23, blubee blubeeme wrote: >=20 >> On Sun, May 27, 2018, 08:02 M. P. wrote: >>=20 >> Hello I have succeded in creating an install disk for Mac but when I = try >> to install single user the process hangs and I get the message Power = Fault >> Detected. Any Ideas? Does the Mac hard drive have to be formatted for = FBSD? >=20 > I wouldn't recommend trying to run anything not Mac OS on their = machines. >=20 > If your Mac is up to version 11.2 or lower you should be fine. >=20 > The new Mac hardware actively does things to thwart anyone who tries = to run > non Mac OS. >=20 > Even if you do get it up and running, the wifi will be broken so = you'll > need a dongle. >=20 > GPU will give you trouble as well. >=20 > If it's one of the newer Mac with those led buttons you're totally out = of > luck. >=20 > If you are able to reverse engineer custom hardware and write custom > drivers then you might be OK. >=20 > If not, either run FreeBSD in a VM on Mac, sell that Mac and buy a > compatible laptop or ... >=20 > Best, > Owen On the contrary, I=E2=80=99ve had great success running FreeBSD on Apple = hardware. The hardware=E2=80=99s not actively thwarting anything, and = FreeBSD already has drivers for most of the custom or less common = hardware. (The one exception is Wi-Fi, which is unlikely to work unless = you have quite an old Mac.) When you say the boot process hangs, does the entire OS stop responding, = or just the installer? Is there any more detail in the message than = Power Fault Detected? And to answer your question, yes, the hard drive has to be formatted, = but the FreeBSD installer will do that for you automatically. - Felix= From owner-freebsd-questions@freebsd.org Sun May 27 03:28:29 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4464AF773E1 for ; Sun, 27 May 2018 03:28:29 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 CA5796C68D for ; Sun, 27 May 2018 03:28:28 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x235.google.com with SMTP id j186-v6so11220717ita.5 for ; Sat, 26 May 2018 20:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F6jYaE9KZ3w5CYTMd7P7t2aypoiVgy0ydH7IX4Z2f/s=; b=lnYl3AlEl9EM3mBPKIx20F61U+/UhN9PphZd/Oo6moX6TH7fZTmRb9ngrJkDKdb88X EDUFTdWqXjGnkthuZsqf+PV4n46zhTTx+M4dNCGikMmcuVUIir49dxH1v72JbtTJRCcM tOgJs0C3x3CbOrCddTBxJJyC3eYCrTRSRmOB95k9fvhJJ5Y8x5IhPYKJI8VbKTfCh6UR /cx3GfE2dHr4Zwmw2jexdK7azMnHCkcJZwSvODMoEBSHqmd3IoC1m+K+UWMFiYD/UC1G UgVAtWyx1IId4bxgb6OH91cD6Di7jUSeHWnKzv2DjmT4oHC+ihe8ZdOKOrtWqpo2JRib M+iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F6jYaE9KZ3w5CYTMd7P7t2aypoiVgy0ydH7IX4Z2f/s=; b=drt4x0rvh7SgZilpXW8kUlS/OwJRttvzmeD0CHZVbVq2DydBnq7YNCbeJLK+I65jVv 6HBaEBfayZmOEdZVQjrcREAZJ6eQG54tNstX8FkcqAEB8o7L3AfZiKjCZQkeLOVGQfYh DC4CGT70UT/Y5TSlLMLmNKBR6eMJGJmoZAREwbu5sIipGDDbEdfQIstVH7iaF3zHbHnH hAR8gRSJvXtfBHp0fbZsd4VqZoE5r2f4nA9ZFlEpHOj+TzWKqZjMp7ybwWFPJcz1jpyK 6uXziknhP3zQdaEHe+tym9cT60DEdigWe+DeBFotR9S2WxD9ZJEdaTy/TYue1P4xHit3 K3Og== X-Gm-Message-State: ALKqPweCNlRH5C0BBqV/0qSs9kgK0PDGKCfaAYaUkCKWtXBIaxn/NwFm ra+NrtjROnkP5GaWDBUx4/XRLyB9vG49LJ8laT8= X-Google-Smtp-Source: AB8JxZpVbq4XXCuNNHwAxmLNN34pyuMdtzft3CT06usGaISlk4XByjW32N7OW7tM9RZ03HyYUeSs3u9A4xH+ZQi3IOw= X-Received: by 2002:a24:e506:: with SMTP id g6-v6mr7429732iti.117.1527391708108; Sat, 26 May 2018 20:28:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: blubee blubeeme Date: Sun, 27 May 2018 11:28:30 +0800 Message-ID: Subject: Re: FBSD on Mac To: Felix Friedlander Cc: "M. P." , freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 03:28:29 -0000 On Sun, May 27, 2018, 10:03 Felix Friedlander wrote: > > > > On 27 May 2018, at 10:23, blubee blubeeme wrote: > > > >> On Sun, May 27, 2018, 08:02 M. P. wrote: > >> > >> Hello I have succeded in creating an install disk for Mac but when I t= ry > >> to install single user the process hangs and I get the message Power > Fault > >> Detected. Any Ideas? Does the Mac hard drive have to be formatted for > FBSD? > > > > I wouldn't recommend trying to run anything not Mac OS on their machine= s. > > > > If your Mac is up to version 11.2 or lower you should be fine. > > > > The new Mac hardware actively does things to thwart anyone who tries to > run > > non Mac OS. > > > > Even if you do get it up and running, the wifi will be broken so you'll > > need a dongle. > > > > GPU will give you trouble as well. > > > > If it's one of the newer Mac with those led buttons you're totally out = of > > luck. > > > > If you are able to reverse engineer custom hardware and write custom > > drivers then you might be OK. > > > > If not, either run FreeBSD in a VM on Mac, sell that Mac and buy a > > compatible laptop or ... > > > > Best, > > Owen > > On the contrary, I=E2=80=99ve had great success running FreeBSD on Apple = hardware. > The hardware=E2=80=99s not actively thwarting anything, and FreeBSD alrea= dy has > drivers for most of the custom or less common hardware. (The one exceptio= n > is Wi-Fi, which is unlikely to work unless you have quite an old Mac.) > > When you say the boot process hangs, does the entire OS stop responding, > or just the installer? Is there any more detail in the message than Power > Fault Detected? > > And to answer your question, yes, the hard drive has to be formatted, but > the FreeBSD installer will do that for you automatically. > > - Felix What Mac hardware version do you run? Like I said in my previous reply if the user has newer Mac hardware he's going to be in for a world of pain. I have a 11,4 retina macbook pro and it's so problematic I bought a new laptop. Audio also proves problematic. If the users laptop is newer than 11,2 there will be issues. Best, Owen From owner-freebsd-questions@freebsd.org Sun May 27 04:24:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07024F7959A for ; Sun, 27 May 2018 04:24:26 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: from mail-pl0-x232.google.com (mail-pl0-x232.google.com [IPv6:2607:f8b0:400e:c01::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 83A876E5B2 for ; Sun, 27 May 2018 04:24:25 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: by mail-pl0-x232.google.com with SMTP id az12-v6so5334452plb.8 for ; Sat, 26 May 2018 21:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZykN0bwZbHFUXC33xM+ZgPPb2zjvNbw2pMy6qlXvKFQ=; b=LAv9xYbDMiODLGb0XWWai6gv8BBOe8biIKblGAhZ8Mp1JOhLyiCtMWJzfY4wbZXkhq YR6T1BgOzDO9LH4g4p6S503udzJO5gybDvQkJX0mouVzDYjMiwB72YjYA61EK3z2e7/j IRv2/QyY8ekIk2BtFRrtpC1Elew9zEOg8lwPPp/W8UAGSNo3Amm2JL28jf2ZBh8mdG/m bcGg0JGRnLDPELxyBW9/fNpDReBKQQ80oGtENjeJZQLsg7H7CbkoFGXguT6BNq5Y4as9 19vTsisEpcn6XBGO5YexI+m02q1+x5eY/QuUheWgf4p5Eb3gyDM6tqLXtLNUB23EdFVZ 9l1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZykN0bwZbHFUXC33xM+ZgPPb2zjvNbw2pMy6qlXvKFQ=; b=ILPVxAU/G7uNrOta0w14eZ/+tojpd0cgeoEtgysYsJV0+xOWcxr2McpfiphFcMxUd2 xVSCtcq3eTLwMUVI+aEzzCelTFvUdN68wdOMOofgBOSFHkEb7uEVEr5CT4IRMefIFJOS nRzYbOSx+cjw0E0S58S3u4DQbNj1xomlFCDBUyVg9AIJQ/YKS2zFFtcgDr+DjttZgWfE 18WMjIQCBGSDG6BltNDZlsWn/W42ZWckU+oj1vPPDbiRyHvHbjx7kPDMo4Y8FU8GliIQ BI3PhNXVCDqhYNUyNQtRQPT7G5u+XQYjIzafUzuSR0Dh+1Gs9vOXnw+Z3HFyV7alRpTw u8Dg== X-Gm-Message-State: ALKqPwcQsxaluyFGZ5Eo/iHPYaC4pjTSPDbRfuueogv2iyXzIzJ1eIak jBrV9g80I0B1uixhRV++QgKm/snrZS0= X-Google-Smtp-Source: AB8JxZr0Z9jz8CgNY9O+nYzebdZEJ3HCdpP31HcedtV1OnwMIiQvsQmGALPoaViyoDwJPcmxtmx/NQ== X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr8755000pla.125.1527395064220; Sat, 26 May 2018 21:24:24 -0700 (PDT) Received: from [10.20.70.169] (BnG-nat-02.anu.edu.au. [130.56.207.2]) by smtp.gmail.com with ESMTPSA id c27-v6sm4909248pfl.63.2018.05.26.21.24.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 May 2018 21:24:23 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: FBSD on Mac From: Felix Friedlander In-Reply-To: Date: Sun, 27 May 2018 14:24:25 +1000 Cc: "M. P." , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2DE4EED8-6EB9-4AAE-938B-344211A5C654@gmail.com> References: To: blubee blubeeme X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 04:24:26 -0000 > On 27 May 2018, at 13:28, blubee blubeeme wrote: >=20 >> On Sun, May 27, 2018, 10:03 Felix Friedlander = wrote: >>=20 >>> On 27 May 2018, at 10:23, blubee blubeeme = wrote: >>>=20 >>>> On Sun, May 27, 2018, 08:02 M. P. = wrote: >>>>=20 >>>> Hello I have succeded in creating an install disk for Mac but when = I try >>>> to install single user the process hangs and I get the message = Power Fault >>>> Detected. Any Ideas? Does the Mac hard drive have to be formatted = for FBSD? >>>=20 >>> I wouldn't recommend trying to run anything not Mac OS on their = machines. >>>=20 >>> If your Mac is up to version 11.2 or lower you should be fine. >>>=20 >>> The new Mac hardware actively does things to thwart anyone who tries = to run >>> non Mac OS. >>>=20 >>> Even if you do get it up and running, the wifi will be broken so = you'll >>> need a dongle. >>>=20 >>> GPU will give you trouble as well. >>>=20 >>> If it's one of the newer Mac with those led buttons you're totally = out of >>> luck. >>>=20 >>> If you are able to reverse engineer custom hardware and write custom >>> drivers then you might be OK. >>>=20 >>> If not, either run FreeBSD in a VM on Mac, sell that Mac and buy a >>> compatible laptop or ... >>>=20 >>> Best, >>> Owen >>=20 >> On the contrary, I=E2=80=99ve had great success running FreeBSD on = Apple hardware. The hardware=E2=80=99s not actively thwarting anything, = and FreeBSD already has drivers for most of the custom or less common = hardware. (The one exception is Wi-Fi, which is unlikely to work unless = you have quite an old Mac.) >>=20 >> When you say the boot process hangs, does the entire OS stop = responding, or just the installer? Is there any more detail in the = message than Power Fault Detected? >>=20 >> And to answer your question, yes, the hard drive has to be formatted, = but the FreeBSD installer will do that for you automatically. >>=20 >> - Felix >=20 > What Mac hardware version do you run? > Like I said in my previous reply if the user has newer Mac hardware = he's going to be in for a world of pain. >=20 > I have a 11,4 retina macbook pro and it's so problematic I bought a = new laptop. >=20 > Audio also proves problematic. >=20 > If the users laptop is newer than 11,2 there will be issues. >=20 > Best, > Owen I=E2=80=99ve run FreeBSD on everything from a PowerBook G4 through to a = MacBookPro12,1 (which is a retina the same vintage as the 11,4 except = with 13" screen). Audio works fine, as does graphics (after I submitted = a 2-line patch to fix the vt(4) hard-coded resolution limit). A touch bar will probably cause major issues, but those are only present = on the 13,2 and 13,3 (and their successors). Other than that there may be minor issues (e.g. the tilde key needing to = be remapped), but nothing that would stop me from installing FreeBSD. - Felix= From owner-freebsd-questions@freebsd.org Sun May 27 09:41:04 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47A03EFB3A1 for ; Sun, 27 May 2018 09:41:04 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::602]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADE367951F for ; Sun, 27 May 2018 09:41:02 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 7BBA15A03C2E; Sun, 27 May 2018 12:40:59 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YyfjXKgapK-exUaSt40; Sun, 27 May 2018 12:40:59 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1527414059; bh=7fXZY19ar9VP/AEjlM9sGb4OjCvfNVxYDqEjBnIcXI8=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References; b=oF8u7ThhcO5hCfCX4e9Sp4eZEPj2pO3b1/7dAiQLSkb8pxuFMPgm4xNs7W1mKOQeY nSy6sWF2mZ9xFg2TUU/VBUPX07IX1n7KR1b8zAR/2Ez3YWxdufiNHdK1xvuxZquORg ycCxUSM0PVPwEFxyaESdFewgR6VvdpSRctV7frNk= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xsVjL5DXkl-evlCLh2B; Sun, 27 May 2018 12:40:58 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1527414058; bh=7fXZY19ar9VP/AEjlM9sGb4OjCvfNVxYDqEjBnIcXI8=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References; b=mPnteCAh16AULIafnu+EAUdTDi6tH6yJnslpN59xmxiU9H6PRSCO4SrS30yXTHrHA Ca2T7qqWxDp3wXiIACAjs0KCBN5X43bO6l7EnUzoSzZZuuKy2efEcgH9bsQ0kjpPNr NPqVxOMhZ1EOIQHDfNIhNHymtrAK8X5O2JSGur3w= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.com Message-ID: <1527414055.646.1.camel@yandex.com> Subject: Re: FBSD on Mac From: StariKarp To: Felix Friedlander , blubee blubeeme Cc: freebsd-questions@freebsd.org, "M. P." Date: Sun, 27 May 2018 05:40:55 -0400 In-Reply-To: <2DE4EED8-6EB9-4AAE-938B-344211A5C654@gmail.com> References: <2DE4EED8-6EB9-4AAE-938B-344211A5C654@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 09:41:04 -0000 On Sun, 2018-05-27 at 14:24 +1000, Felix Friedlander wrote: > > > > I’ve run FreeBSD on everything from a PowerBook G4 through to a > MacBookPro12,1 (which is a retina the same vintage as the 11,4 except > with 13" screen). Audio works fine, as does graphics (after I > submitted a 2-line patch to fix the vt(4) hard-coded resolution > limit). > > A touch bar will probably cause major issues, but those are only > present on the 13,2 and 13,3 (and their successors). > > Other than that there may be minor issues (e.g. the tilde key needing > to be remapped), but nothing that would stop me from installing > FreeBSD. > > - Felix > _______________________________________________ I also don' have a problem on 11,1 except sound: It works but I can use just headphone or just speakers or both at the same time. Maybe the link will help: https://glenbarber.us/2011/11/12/Dual-Booting-OS-X-and-FreeBSD-9.html From owner-freebsd-questions@freebsd.org Sun May 27 12:27:58 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00BB3F7174A for ; Sun, 27 May 2018 12:27:58 +0000 (UTC) (envelope-from tom@bloggingemail.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 45C8B7E8AD for ; Sun, 27 May 2018 12:27:57 +0000 (UTC) (envelope-from tom@bloggingemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 01594F71744; Sun, 27 May 2018 12:27:57 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2E74F71743 for ; Sun, 27 May 2018 12:27:56 +0000 (UTC) (envelope-from tom@bloggingemail.com) Received: from homiemail-a110.g.dreamhost.com (homie-sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7107A7E8AA for ; Sun, 27 May 2018 12:27:56 +0000 (UTC) (envelope-from tom@bloggingemail.com) Received: from homiemail-a110.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a110.g.dreamhost.com (Postfix) with ESMTP id D4B632004CA0F for ; Sun, 27 May 2018 05:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bloggingemail.com; h=date :to:from:reply-to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=bloggingemail.com; bh=qYnO2IiquVqT 2dxLojWAOHF9Oi8=; b=OJRO9RdVo3oVYf2rH9ZOgWkYl1JIEIZ6qZ6CGtmWnP/J pjnuuWSDWSyNGpgemSQApCe4wWGZvwrSltMHfKX8KbIL7GU048NC8E/Kuf2tSNpF 7BQy57JhbN9MaaCCWO5EJt6IKOOTvyHnTW3cwrtLmkVB9idzL3x/YTn2nht8a5g= Received: from bloggingemail.com (ec2-54-166-191-165.compute-1.amazonaws.com [54.166.191.165]) (Authenticated sender: tom@bloggingemail.com) by homiemail-a110.g.dreamhost.com (Postfix) with ESMTPA id A697720046906 for ; Sun, 27 May 2018 05:27:54 -0700 (PDT) Date: Sun, 27 May 2018 12:27:54 +0000 To: questions@FreeBSD.org From: Tom Howard Reply-To: Tom Howard Subject: Re: Problem with page Message-ID: <18491458.or_mail@bloggingemail.com> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 12:27:58 -0000 Hi,=20 I've sent you a couple of emails recently and haven't heard back. I don't= want to be a nuisance so I'll take the hint and leave you alone but if y= ou do want to fix the broken link here are the details: =20 On Mon, May 21, 2018 at 2:36 PM, Tom Howard wro= te: =09 Hi,=20 I just wanted to follow up in case you missed my email from the other day= . Please see below: On Tue, May 15, 2018 at 11:10 AM, Tom Howard wr= ote: =09 Hello, You might not have seen but you=E2=80=99ve got a broken link on this page= - http://www.far-far-away.com/doc/fr_FR.ISO8859-1/books/fdp-primer/writi= ng-style.html The broken link (http://www.columbia.edu/acis/bartleby/strunk/) is suppos= ed to go to the excellent =E2=80=98elements of style=E2=80=99 book by Str= unk and White which can still be accessed at https://faculty.washington.e= du/heagerty/Courses/b572/public/StrunkWhite.pdf=20 Perhaps when you update your page you might also be interested in adding = this link (https://blogging.im/better_writing)? It=E2=80=99s our list of = useful writing resources which your visitors may also find helpful. I hope this helps, please let me know if you have any questions. Thanks, Tom --- Tom Howard Community ManagerIf you'd rather not hear from us in future, please reply= with unsubscribe in the subject line. Blogging.com, Winterfeldtstr., 21 Berlin, 10781, Germany =09 Don't want emails from us anymore? Reply to this email with the word "U= NSUBSCRIBE" in the subject line. Blogging.com, Winterfeldtstr., 21 Berlin, 10781, Germany =09 Don't want emails from us anymore? Reply to this email with the word "U= NSUBSCRIBE" in the subject line. Blogging.com, Winterfeldtstr., 21 Berlin, 10781, Germany From owner-freebsd-questions@freebsd.org Sun May 27 15:34:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B2D1F780E3 for ; Sun, 27 May 2018 15:34:50 +0000 (UTC) (envelope-from aikizen@ovh.fr) Received: from mo29.mail-out.ovh.net (mo29.mail-out.ovh.net [178.32.228.29]) (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 1BFB083F84 for ; Sun, 27 May 2018 15:34:49 +0000 (UTC) (envelope-from aikizen@ovh.fr) Received: from he30.mail.ovh.net (he30.mail.ovh.net [188.165.67.38]) by mo29.mail-out.ovh.net (Postfix) with ESMTP id CA4F134169 for ; Sun, 27 May 2018 17:28:16 +0200 (CEST) Received: from Dell-Precision (unknown [77.136.83.238]) by he30.mail.ovh.net (Postfix) with ESMTPSA id 90CD96462F2 for ; Sun, 27 May 2018 17:28:16 +0200 (CEST) Date: Sun, 27 May 2018 17:28:07 +0200 From: AikiZen To: freebsd-questions@freebsd.org Subject: anyone can port ripperX 2.8.0 ? Message-ID: <20180527172807.62ed120f@Dell-Precision> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 14884678244224146948 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedthedrheeggdekkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 15:34:50 -0000 hi, i need ripperX 2.8.0 but no maintainer... i don't know how port software. else, there are a cli encoder for backup cd on cli with : on single name : genre_artiste_year_album_tracknumber_trackname.flac and how can configure this software for cddb and else. take care, aiki. From owner-freebsd-questions@freebsd.org Sun May 27 16:54:55 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 650B3F7A580 for ; Sun, 27 May 2018 16:54:55 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) (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 DDC4C8650D for ; Sun, 27 May 2018 16:54:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr0-f175.google.com with SMTP id a15-v6so16630943wrm.0 for ; Sun, 27 May 2018 09:54:54 -0700 (PDT) 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:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/8wEMrkAcnkvnOfwvK/h4vqnx+8k73yz8jSzkQdfunI=; b=Yx7BT/7qi0m8DMJpiqv6MdMF4R1mBEs9bHHvxbtugBaeFBwyltWSBp9PWlBmQuHonP gmxcQKiSu5j2JMXkdoEHgBzOvf6GbTNIk9+98r5jqFUo329RCsAblyLR41XLrXbChkl1 wN4pSUJfH8J1ZWoMlf/6ZsTY2zaBt+PGdCK6G0fOeG9byjG4loXSBkRDbizNEahKsehX bu+Q1aAHeNzG23C/V/T2bQHS5rKaCnsDx9YV+jgdu8nO2eHHlAx1zIgLpUtg/y2g7mHJ 7EepbN8wgRvrQWLKNuCv5PViIRn3v+uc1+pz0AfFvumqNnj0vY0+2pvMKz+kMLiGvH/L xh9A== X-Gm-Message-State: ALKqPwfn6CPKEJtuF2VofPO+UCV6W0ys8TRKeScMsHj5kUsCqpnPB092 cgWz3SQC3iDbvGrgu7ZzoiHgD6Vs X-Google-Smtp-Source: ADUXVKJKdzlqXoKHhFeNOaRbcFzzM9poFwgKaqhJ5l+U+t5tQT4sup/80xxAOEIi8YDLwnZVKgSFgQ== X-Received: by 2002:a19:a113:: with SMTP id k19-v6mr5381857lfe.59.1527440088528; Sun, 27 May 2018 09:54:48 -0700 (PDT) Received: from oxy (customs.hackerspace.pl. [185.236.240.5]) by smtp.gmail.com with ESMTPSA id c63-v6sm6104586lfc.37.2018.05.27.09.54.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 May 2018 09:54:48 -0700 (PDT) Date: Sun, 27 May 2018 18:55:54 +0200 From: Mateusz Piotrowski <0mp@FreeBSD.org> To: AikiZen Cc: freebsd-questions@freebsd.org Subject: Re: anyone can port ripperX 2.8.0 ? Message-ID: <20180527185554.32535d5a@oxy> In-Reply-To: <20180527172807.62ed120f@Dell-Precision> References: <20180527172807.62ed120f@Dell-Precision> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 16:54:55 -0000 On Sun, 27 May 2018 17:28:07 +0200 AikiZen wrote: >i need ripperX 2.8.0 but no maintainer... i don't know how port >software. > >else, there are a cli encoder for backup cd on cli with : >on single name : genre_artiste_year_album_tracknumber_trackname.flac > >and how can configure this software for cddb and else. I've tried to upgrade it but it looks like gmake mixes C files with C++ files. There are also some GTK problems. Anyway, here's a WIP upgrade patch[1]. I am not going to work on this so feel free to use my patches. Regards, Mateusz [1]: https://github.com/0mp/freebsd-ports/tree/ripperx/audio/ripperx From owner-freebsd-questions@freebsd.org Sun May 27 20:51:34 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3489F7FE0B for ; Sun, 27 May 2018 20:51:33 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-ot0-x230.google.com (mail-ot0-x230.google.com [IPv6:2607:f8b0:4003:c0f::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 7E6556E15D for ; Sun, 27 May 2018 20:51:29 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-ot0-x230.google.com with SMTP id t1-v6so11474474ott.13 for ; Sun, 27 May 2018 13:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:from:date:message-id:subject:to; bh=pBBya8u+ZmD7To7YUIuBvsZEL5sMbiHsSeLYd+LE2vI=; b=NN+SUfQwUsMAIMdk9qJ+zkplwnM2kiiqw86KlFaR53ZcnTht9nVfEt/frCSdPKaPV5 T5Ba/pasIkFI0TRywBKvBKHBF7nkBE1opom8bn6i9iSifkword1iRxpoD+v82O9Woaw0 M+KQDqKfP3hRjfesacJKGGQsdtA/z90wCzdvU= 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=pBBya8u+ZmD7To7YUIuBvsZEL5sMbiHsSeLYd+LE2vI=; b=Xm6KIhwmKqdEtdyTTB3/KruzYiXip46+m8Bp5ooPxt9d3Qt1/hrEE+8dEL08/jxzv7 QUC4hfJ5vEjupglV+/s/RH9qrmoMKENVqtX6b4Zr4fchNWZQCCjo09dmKhiL7WOv0Xku rH5vplBVh4gUAj+RIbZJAppUb1m3LSond2nMfEmAf2aiMO94nEG4gTMHw2PiCOts349g oYf8P4aGX9jEu8zCHl8MEWRIYtr+WygClDByIMbD+Oil0UrG33tygIGQQj5AXauQjRlY 3+fEJJQtIHAsrsCOwZsPk29zL4/yNcaZHLGEzTc3RZpY5NJJrLskkZgnOl0I+CtWW4H3 t2bQ== X-Gm-Message-State: ALKqPwdHU1C10FAQkbL9a51CVq7JpTB2SYWYo5hYnq+/n07YWCzO9Zj1 yijeLMFfTN+Vr2/0gPvdZs30RwyjRljUfWRuehwB8hmC X-Google-Smtp-Source: ADUXVKIzklfjPPu38t6Qnl1AYECOWbyU6HoETWiiJaYSRkFPpcwEO7XIYUbXbx9+x4diyOaVSjyqufT9lxrEZWwGKDY= X-Received: by 2002:a9d:3ce9:: with SMTP id t38-v6mr7365837otf.166.1527454289019; Sun, 27 May 2018 13:51:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:1341:0:0:0:0:0 with HTTP; Sun, 27 May 2018 13:51:28 -0700 (PDT) From: Mario Lobo Date: Sun, 27 May 2018 17:51:28 -0300 Message-ID: Subject: Freebsd 11 STABEL and asus GL503VD skylake (Republic of Gamers) laptop To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 20:51:34 -0000 Hi; FreeBSD Lap 11.2-PRERELEASE r333311: Mon May 7 I got almost all of it working, (graphics with drm-next is perfect) except for the track pad and the SD card reader. Here is the list of non-driver devices: none0@pci0:0:8:0: class=0x088000 card=0x1bb01043 chip=0x19118086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model' class = base peripheral none1@pci0:0:20:2: class=0x118000 card=0x1bb01043 chip=0xa1318086 rev=0x31 hdr=0x00 vendor = 'Intel Corporation' device = 'Sunrise Point-H Thermal subsystem' class = dasp none3@pci0:0:22:0: class=0x078000 card=0x1bb01043 chip=0xa13a8086 rev=0x31 hdr=0x00 vendor = 'Intel Corporation' device = 'Sunrise Point-H CSME HECI' class = simple comms (possibly the trackpad) none4@pci0:0:31:2: class=0x058000 card=0x1bb01043 chip=0xa1218086 rev=0x31 hdr=0x00 vendor = 'Intel Corporation' device = 'Sunrise Point-H PMC' class = memory none5@pci0:3:0:0: class=0xff0000 card=0x202f1043 chip=0x522910ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTS5229 PCI Express Card Reader' According to some reports, the track pad is supposed to be elantech but I already have these on loader.conf hw.psm.synaptics_support="1" hw.psm.elantech_support="1" hw.psm.trackpoint_support="1" but the psm0 device doesn't show up. I can use a usb mouse without problems but it would be nice to get the track pad to work. As for the card reader, i found a PR to port openbsd's rtlx driver that supports this chip but that was as far as I could go. Except for the card reader (which shows up explicitly on the description), I can figure out what the other devices are for. Would anyone have any suggestion on what direction I should take? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] From owner-freebsd-questions@freebsd.org Mon May 28 08:37:49 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B451F73E56; Mon, 28 May 2018 08:37:49 +0000 (UTC) (envelope-from shaizhan79@163.com) Received: from m50-155.163.com (m50-155.163.com [123.125.50.155]) by mx1.freebsd.org (Postfix) with ESMTP id 71F6A834A4; Mon, 28 May 2018 08:37:46 +0000 (UTC) (envelope-from shaizhan79@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Message-ID:Date:MIME-Version; bh=L6iXi Pb6Y2v86FsbFBbGwQfB47Z47p0GDTUQ7uLqlaQ=; b=QDiS8ydSKQvItYCEJFmQJ fi0luVlNVHvDg+hNsG71KuowLWmx5Gw67xS+ozUqro98KWZ4LnGGmI0kB9o/8e2O Gs/N+7cS5hsDOcez5hzCKTB3qSZ/BaAtEwmZ+f4Jwbd4zmBFXdsEHZZcrwutx13V 7l4JMvflDPtbKcfmBgB0QI= Received: from nrych (unknown [182.86.16.103]) by smtp13 (Coremail) with SMTP id EcCowACnTI4xvAtbe1A8DA--.61845S2; Mon, 28 May 2018 16:22:10 +0800 (CST) From: Qjpu To: "freebsd-questions" Cc: freebsd-doc@freebsd.org, nsrj@163.com Subject: 241.174.103.17 Message-ID: <201805281622026094680@163.com> Date: Mon, 28 May 2018 16:22:02 +0800 X-Mailer: Foxmail 6, 10, 201, 20 [cn] MIME-Version: 1.0 X-Priority: 3 X-CM-TRANSID: EcCowACnTI4xvAtbe1A8DA--.61845S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUgkwIDUUUU X-Originating-IP: [182.86.16.103] X-CM-SenderInfo: pvkdx65kdqlmi6rwjhhfrp/1tbiLRNUtlSIW-3RtgAAsB Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 08:37:49 -0000 MTMyLjExOC42Mi4yMTUg From owner-freebsd-questions@freebsd.org Mon May 28 10:04:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C5B6F7A305 for ; Mon, 28 May 2018 10:04:42 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-oln040092007094.outbound.protection.outlook.com [40.92.7.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AE97872FB for ; Mon, 28 May 2018 10:04:41 +0000 (UTC) (envelope-from carmel_ny@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bQ31yV04b6KtJBT6oW0bFvppMOcq2+M157XAaJAlmbw=; b=tbHSnR555rWxPh5uidqNIFkz4py2b16Bp9DdnzB03crIbsoYkcdidlwxHr72u+277TLy4fetPXXXkVc4s/r71CVBScxxvCHKqf2U2IoVAe3jJuUJryQQhKVJaIpeXAUFagw5W+2o7lslfs7x+EuzUpHLRv4qPjs0wTg7dWiJGP6q+tuManBChMVVnw1aNKZCShPAdT9vVFlXzySaGpT00X63upRBFotVvLqeziVx1vDJlBrn2YK/8eXd8g5LLfWkzV/rKvolUJJ8PciU4mXsoOmQlimOE6fpYYcQ6KzwH4jhAQfbDFVJQYf1IC3/9IjsD3v9h5ltJtHHob1XGXzrtw== Received: from DM3NAM03FT063.eop-NAM03.prod.protection.outlook.com (10.152.82.52) by DM3NAM03HT237.eop-NAM03.prod.protection.outlook.com (10.152.83.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.755.15; Mon, 28 May 2018 10:04:39 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com (10.152.82.59) by DM3NAM03FT063.mail.protection.outlook.com (10.152.83.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.820.8 via Frontend Transport; Mon, 28 May 2018 10:04:39 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::c538:6c9b:5c23:4e24]) by SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::c538:6c9b:5c23:4e24%13]) with mapi id 15.20.0797.017; Mon, 28 May 2018 10:04:39 +0000 From: Carmel NY To: FreeBSD Subject: Re: 241.174.103.17 Thread-Topic: 241.174.103.17 Thread-Index: AQHT9mtKCP2Hoy10V0KhxqR51fYH8g== Date: Mon, 28 May 2018 10:04:39 +0000 Message-ID: References: <201805281622026094680@163.com> In-Reply-To: <201805281622026094680@163.com> Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR2001CA0031.namprd20.prod.outlook.com (2603:10b6:405:16::17) To SN1PR20MB2109.namprd20.prod.outlook.com (2603:10b6:802:28::14) x-mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; i686-w64-mingw32) x-incomingtopheadermarker: OriginalChecksum:AFC3E1BF515BAED84D59F95C4FBE1512FA2C2E3A0AD1C23739E38131E561C010; UpperCasedChecksum:8295B422E98EB43EA1D610077C5F3556AF885DBA08A25D89929DA46F933DEA69; SizeAsReceived:7391; Count:51 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [cgVsDlC9TbZsue1BhwO1u3rE+2UavJUE] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM3NAM03HT237; 7:g7aONPtKa24Nd3AT6SmcPGGT0L0j/Gv64KxLHvtKmObaSPN2TVk7ARcgvgi8e0118V/b5hoVEDtKx3V1mHBDZ7HPGvfw2+inILK8/6/uYPx6P8CnElqHiF86NrPqRk5Ge4mGkwpd6w8iiFIEMiN501Ng3oDVih5dvzKZu83JUWVKQSmuhkTZNNxq2bsSva87v2/JeopmUjGcjsbyjg78UZH0g9EMvwgH/LXhsIVvDIHYnhgQVZoHveK9YiezoSBK x-incomingheadercount: 51 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125466)(1603101448)(1701031045); SRVR:DM3NAM03HT237; x-ms-traffictypediagnostic: DM3NAM03HT237: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:DM3NAM03HT237; BCL:0; PCL:0; RULEID:; SRVR:DM3NAM03HT237; x-forefront-prvs: 06860EDC7B x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(377424004)(3660700001)(5660300001)(25786009)(305945005)(106356001)(446003)(104016004)(347745004)(966005)(3280700002)(74316002)(86362001)(6246003)(6436002)(20460500001)(6306002)(68736007)(229853002)(53386004)(55016002)(2900100001)(6916009)(81156014)(7696005)(26005)(87572001)(43066004)(8936002)(97736004)(33656002)(82202002)(76176011)(5250100002)(476003)(102836004)(426003)(6346003)(386003)(8676002)(11346002)(105586002)(486006)(50226002)(14454004)(99286004); DIR:OUT; SFP:1901; SCL:1; SRVR:DM3NAM03HT237; H:SN1PR20MB2109.namprd20.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=carmel_ny@outlook.com; x-microsoft-antispam-message-info: 7Mt2PCZf46UiFVKPkF2WtBmgWcl31tjDqpqAW5it2K12JJN4MgUkDFvKW3t/7E3rEuDoLV91RneLeOPZvDDLv2FdYMVVF9i6FZLM08/sAyp3QUvmI/L4DKhq77T43KwA2WyeZkFd4wKQ/aBlLSAG6eL5inaqx5vZrE2gVCN0ju6qCDNqqRGY444kvTmVg+pe Content-Type: text/plain; charset="us-ascii" Content-ID: <62A508DA9850044F8160BB774C8A3FCD@namprd20.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c7786bee-99f4-4002-5464-08d5c4826c4a X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: c7786bee-99f4-4002-5464-08d5c4826c4a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2018 10:04:39.2052 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT237 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 10:04:42 -0000 On Mon, 28 May 2018 16:22:02 +0800, Qjpu stated: >132.118.62.215=20 ~ $ whois 132.118.62.215 % IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query returned 1 object refer: whois.arin.net inetnum: 132.0.0.0 - 132.255.255.255 organisation: Administered by ARIN status: LEGACY whois: whois.arin.net changed: 1993-05 source: IANA # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html # # If you see inaccuracies in the results, please report at # https://www.arin.net/resources/whois_reporting/index.html # # # Query terms are ambiguous. The query is assumed to be: # "n + 132.118.62.215" # # Use "?" to get help. # NetRange: 132.118.0.0 - 132.132.255.255 CIDR: 132.132.0.0/16, 132.120.0.0/13, 132.128.0.0/14, 132.118.0.0= /15 NetName: ARNG-NG-CONC5 NetHandle: NET-132-118-0-0-1 Parent: NET132 (NET-132-0-0-0-0) NetType: Direct Allocation OriginAS: Organization: Headquarters, USAISC (HEADQU-3) RegDate: 1990-03-05 Updated: 2017-05-23 Ref: https://whois.arin.net/rest/net/NET-132-118-0-0-1 OrgName: Headquarters, USAISC OrgId: HEADQU-3 Address: NETC-ANC CONUS TNOSC City: Fort Huachuca StateProv: AZ PostalCode: 85613 Country: US RegDate: 1990-03-26 Updated: 2011-08-17 Ref: https://whois.arin.net/rest/org/HEADQU-3 OrgAbuseHandle: REGIS10-ARIN OrgAbuseName: Registration OrgAbusePhone: +1-844-347-2457 OrgAbuseEmail: disa.columbus.ns.mbx.arin-registrations@mail.mil OrgAbuseRef: https://whois.arin.net/rest/poc/REGIS10-ARIN OrgTechHandle: REGIS10-ARIN OrgTechName: Registration OrgTechPhone: +1-844-347-2457 OrgTechEmail: disa.columbus.ns.mbx.arin-registrations@mail.mil OrgTechRef: https://whois.arin.net/rest/poc/REGIS10-ARIN # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html # # If you see inaccuracies in the results, please report at # https://www.arin.net/resources/whois_reporting/index.html # --=20 Carmel From owner-freebsd-questions@freebsd.org Tue May 29 09:10:03 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4EFCFEFCA04 for ; Tue, 29 May 2018 09:10:03 +0000 (UTC) (envelope-from cuihao.leo@gmail.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::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 DEEB27EE1A for ; Tue, 29 May 2018 09:10:02 +0000 (UTC) (envelope-from cuihao.leo@gmail.com) Received: by mail-ua0-x22b.google.com with SMTP id d4-v6so9476542ual.10 for ; Tue, 29 May 2018 02:10:02 -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 :content-transfer-encoding; bh=iEoMpdofL1q1S2p2upFS2AeDrCB9+LvuIlsynQ1at5M=; b=dRlh2UcwOY4URrcQMH1TkJaErJADralZtdCdpeJpwPaswyB3d/+I0QRqg3ha17zeOK KcU6jBGyopeoJLC4O9k9SymZ6J4uugHvs71XwuFb2gV+htG50jxUWwqiJTH4+KYNIGl8 TCDGewrPzDcGzOj+ITCnwK7AyqYfkl4ZJnTW2UPiFRqKRFz/GCH1u0ELBfYd7eN6enkS 2sMvmy5mzK2Tbihp2RIndr/+LcpnRYY6KJgs0pQURKa0CGXWBpkgMKUwaGvLjPkBH0Zn uU97+VS4bn3hNp3nYUuExMlHz2LuIP2hPP8P7t+kvxL71BMck/o1yIS+QtbHy3hnt4+3 kMdA== 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 :content-transfer-encoding; bh=iEoMpdofL1q1S2p2upFS2AeDrCB9+LvuIlsynQ1at5M=; b=Cbpg64h/L443ki8Sdb3O18khfkAN0UcPW3KcXoAqSevZwMQOH6TQh2BHG63GpZK5cC vFW5muM5R6j47udVdExwocvq1vnUZ9+wX+MyHBmCxRzeHEWPeLu1xLfmW5HYWiifjyUb 6XDZtG4kAOHr1y5/3qs4OHhQiuZfp2Yt4+N4YjRQc9QKfxBDT6Q8h9QxhS92T10GJglk xZoUEnNCEU1wL3r4JhFKsXp+ryfJ9J7ngLivSODqSH3WFh66gEgK42pJLu5Mp89nLUNi AUNEualaiQ7e2YOF2itFcgmZrVxw64YjtpOVrASVwBZTrdvrB0aNVvR7BKsqvAEBlGNL djfQ== X-Gm-Message-State: ALKqPwc6evHQuEQbiIuF2/7YW04PWlKyxM+MmLbfAR0YYKOd2o9elRou 8HU93VveQEXR5Iqh4VAIdy9quxhuRoBIBphWwWmZug== X-Google-Smtp-Source: ADUXVKKE3oJicDzRc5PdNgHNdAAMmGX1Y1juoYk63GDvbr5YhucxMbkGvR7PKDgOfNP0u155E6wU434GL4RC9acVQZY= X-Received: by 2002:ab0:2508:: with SMTP id j8-v6mr10498484uan.83.1527585002182; Tue, 29 May 2018 02:10:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:490c:0:0:0:0:0 with HTTP; Tue, 29 May 2018 02:10:01 -0700 (PDT) From: =?UTF-8?B?5bSU54GPIChDVUkgSGFvKQ==?= Date: Tue, 29 May 2018 17:10:01 +0800 Message-ID: Subject: `reset` command makes backspace unusable To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 09:10:03 -0000 Hi, new to FreeBSD. On Linux, I often use `reset` command to recover an broken terminal. On FreeBSD, `reset` seems to render backspace unusable in some CLI programs. Steps to reproduce the problem: 1. SSH login FreeBSD server from a Linux terminal emulator. TERM is set to `xterm-256color`. I tried Konsole / Termite. Both reproducible. But xterm/uxterm doesn't trigger the problem. 2. Executing `reset` on FreeBSD. 3. Then pressing backspace will yields `^?` instead of backward delete in most CLI programs including bash/vim/cat, but not tcsh and sh. Like this: wm@wmc:~$ reset Erase is backspace. wm@wmc:~$ ^?^?^?^? # typing backspace... I googled about the problem. `stty erase ^?` after `reset`, or `reset -e ^?` fix it. But I still wonder why `reset` doesn't work like on Linux. I do some investigation, here are some of my observations: 1. terminal line settings (`stty -a`) I checked the output of `stty -a`. On Linux terminal (Termite), I saw `erase =3D ^?`. For full output, see https://cfp.vim-cn.com/cbff6 After SSH login FreeBSD, `stty -a` shows `erase =3D ^?; erase2 =3D ^H`, which seem to be consistent with Linux. See https://cfp.vim-cn.com/cbff7 But after `reset`, the settings changed and becomes `erase =3D ^H; erase2 =3D ^H`. see https://cfp.vim-cn.com/cbff8 2. termcap It seems default terminal line settings are determined by termcap db. I checked `/etc/termcap` and found the entry of `xterm-256color`, which inherits settings of `xterm-basic` entry. `xterm-basic` sets `kb=3D^H`. On Linux, I get the termcap settings by `infocmp -Cr`. Terminal `xterm-256color` sets `kb=3D^H`, while `xterm-termite` sets `kb=3D\177`. I tried to override FreeBSD termcap settings in `~/.termcap`: xterm-256color|xterm alias 3:\ :Co#256:pa#32767:\ :kb=3D\177:\ :AB=3D\E[48;5;%dm:AF=3D\E[38;5;%dm:tc=3Dxterm-new Above settings indeed works and `reset` won't alter erase setting. However, Linux `xterm-256color` termcap does set `kb=3D^H` like FreeBSD, but it doesn't cause the problem on Linux. Although I have found several workaround to fix backspace problem, may anyone explain why terminal settings inconsistent on Linux and FreeBSD? Is this a bug or just some compatibility issues? Are there other compatibility issues with Linux terminal emulator? --=20 =E5=B4=94=E7=81=8F / CUI Hao Homepage: i-yu.me Twitter: @cuihaoleo From owner-freebsd-questions@freebsd.org Tue May 29 16:50:07 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 480C4EF8036 for ; Tue, 29 May 2018 16:50:07 +0000 (UTC) (envelope-from robertames@hotmail.com) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-oln040092000107.outbound.protection.outlook.com [40.92.0.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B23CD7434C for ; Tue, 29 May 2018 16:50:06 +0000 (UTC) (envelope-from robertames@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:X-MS-Exchange-SenderADCheck; bh=katoTR/u66bgffA65dZs47ERtX4p9rtts1uZZAKApIA=; b=cj4VVuHBOmWvuIuKK3VQfi7ipOouKVbvhJH7DHBUMChUWIK5V99G/isWZFoAd7G+CWbXCwRUMF6bjhPbK1p9AFlcdXN14/AhKc1s/CJIZMVn+YTCq27ZaJV9KYsZCyvjYGWMYiNwadgoEq6USxpqAJN0Wh2r3V04ShsI2BpHVy87Ij1yCHxqcJAY9m/VO/b0PIT3xF4dhkR6E1CoGhZbff8hR4QDiFcyL/p3wIUOLlX0uA5IuyWm6HolTY+RozmAFPdSWq+NgZacPcqNz0AjqAk9tDtUdb6N1f4UhbhGzC+l0bJHv8N11sOfF9oYUK5/z89LhN1A/memjOJFq259/Q== Received: from BY2NAM01FT061.eop-nam01.prod.protection.outlook.com (10.152.68.52) by BY2NAM01HT168.eop-nam01.prod.protection.outlook.com (10.152.69.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.820.8; Tue, 29 May 2018 16:50:04 +0000 Received: from SN2PR0801MB0782.namprd08.prod.outlook.com (10.152.68.58) by BY2NAM01FT061.mail.protection.outlook.com (10.152.68.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.820.8 via Frontend Transport; Tue, 29 May 2018 16:50:04 +0000 Received: from SN2PR0801MB0782.namprd08.prod.outlook.com ([fe80::c111:7b9a:48c8:91]) by SN2PR0801MB0782.namprd08.prod.outlook.com ([fe80::c111:7b9a:48c8:91%15]) with mapi id 15.20.0820.010; Tue, 29 May 2018 16:50:04 +0000 From: Robert Ames To: "freebsd-questions@freebsd.org" Subject: Help configuring IPsec Thread-Topic: Help configuring IPsec Thread-Index: AQHT92wkC3NJ4VJA5UaEf/CDHywlPQ== Date: Tue, 29 May 2018 16:50:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F2F682C616BE266C580183C47E71D40C7054BFDF5F18EB73CF5FD83C1A8965AC; UpperCasedChecksum:7ADD33F48221DB14C00E0450DE5AEA170CF312C5346354BEC540B645D4EB434A; SizeAsReceived:6889; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [llcF07ZplAtNVN2IfwhZOF2tRtehm3kJ] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY2NAM01HT168; 7:bNCToZtHZav4q1p8G2sjuwKb4m9iuTjpNrsXCQvsdYozb5MNo5LZisjMAKzRIC3XEe1/va8e6+0geLZL1F+93I2bFoqe/d3/AFdLVdM+mf2y2GogGvfm5BosaI4fJVfxYXZ/L6eZDkrnDFTPyRecmoBBzeeGZZNXa2hyHjikSzuCOqFznhTZ0q8jevynsGx/XTnyRdNmAT0DidGbaAygif4yi8evwDT49KZtIAsmyR6XQ5TF8OhR6vMnu3yemPSn x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125466)(1701031045); SRVR:BY2NAM01HT168; x-ms-traffictypediagnostic: BY2NAM01HT168: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:BY2NAM01HT168; BCL:0; PCL:0; RULEID:; SRVR:BY2NAM01HT168; x-forefront-prvs: 0687389FB0 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(6506007)(305945005)(74316002)(25786009)(104016004)(26005)(2351001)(3480700004)(8936002)(2900100001)(7696005)(14454004)(3660700001)(33656002)(3280700002)(6916009)(7116003)(83332001)(575784001)(86362001)(2501003)(5660300001)(9686003)(5250100002)(106356001)(55016002)(6436002)(5640700003)(87572001)(476003)(20460500001)(82202002)(99286004)(97736004)(8676002)(6346003)(81156014)(486006)(105586002)(68736007)(73972006)(102836004)(15852004); DIR:OUT; SFP:1901; SCL:1; SRVR:BY2NAM01HT168; H:SN2PR0801MB0782.namprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=robertames@hotmail.com; x-microsoft-antispam-message-info: D+lfOwkT6f73yaqviF2jOyDu6tiLKTegq5If86TkVyYIr9uXqKef7jYY3D9euVj7eg0pkr7IIG+ww12Zl/1gHbbdL8ow3Xmd1i12V5HU+imlEXWYXSQTyXeFbmVN4HXxiT3CL904D1dBuilqPJMW3rhlXpeeyACCCIeQWp/gQJIPITBWgz9Scsmwj7MjJv/a Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0c133ca4-5ad5-4ef0-3c6d-08d5c5843a6b X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: b6587b75-6f1a-4db7-b0b6-5cad10ef59a7 X-MS-Exchange-CrossTenant-Network-Message-Id: 0c133ca4-5ad5-4ef0-3c6d-08d5c5843a6b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: b6587b75-6f1a-4db7-b0b6-5cad10ef59a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2018 16:50:04.4410 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT168 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 16:50:07 -0000 I'm trying to figure out how to enable IPsec between 2 machines on the name LAN.=A0 If I use ESP only things work fine.=A0 But I can't get setkey to parse the conf file when I try to add AH.=A0 I get the following error: Installing ipsec manual keys/policies. The result of line 7: Invalid argument. The result of line 8: Invalid argument. I don't understand which argument is invalid or why. Here's my ipsec.conf file: spdflush; flush; add 192.168.1.1 192.168.1.2 esp 0x6f09e2b3 -E rijndael-cbc 0xdd250866139cd4= 78998afcad368a0b95; add 192.168.1.2 192.168.1.1 esp 0x2f93524b -E rijndael-cbc 0x7fad6fa6f8b736= c8a31c00580af96928; add 192.168.1.1 192.168.1.2 ah 0x50cd6299 -A hmac-md5 0x220911839aac307a0bf= 2b5c224cef952; add 192.168.1.2 192.168.1.1 ah 0x13dbc343 -A hmac-md5 0x76e064204af70bf18e4= ae6a7d2ec5d25; spdadd 192.168.1.1 192.168.1.2 any -P out ipsec esp/transport//require ah/t= ransport//require; spdadd 192.168.1.2 192.168.1.1 any -P in ipsec esp/transport//require ah/tr= ansport//require; From owner-freebsd-questions@freebsd.org Wed May 30 02:30:07 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9471EF4C3D for ; Wed, 30 May 2018 02:30:06 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::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 614B969F79 for ; Wed, 30 May 2018 02:30:06 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: by mail-ua0-x22c.google.com with SMTP id i3-v6so11442057uad.4 for ; Tue, 29 May 2018 19:30:06 -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=K5+Jfcj4bgjVX+OFzgmcxj5qoAFlgEVi+2JAl1dJFyo=; b=PNmMhogMxwUn/Xx1ZRBrQgBUU46hvRqCwvNIcnE4feD2clsqH7juqbmDGgwxq87IJ+ DRkjpcTWLJuV0yy4OYYGLNbs5YnP0fdI9Oj5z8BBtQzdByhF1AwwcKwmhaJ5GVG0p2Xt nvoxYpfMySvmlgdO2KVXUh41kI1ThH8VClrVeDL70kKUJOoJ4ct4hUqSjMCNkEHQeNtk NHOsQ6RX6DcrLIOtbBleBLM9q+vTCuV6jy7YCH8m6wg5pMWRei7t74qsgpYA2QlVW/rN vyBeIpwhmhagSdSW5xNbpOGJHyitPdSAfD3UI95+zskAAhxYpjFWElrcByL411LVrMcB SDFQ== 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=K5+Jfcj4bgjVX+OFzgmcxj5qoAFlgEVi+2JAl1dJFyo=; b=IjTr5uISM4uXei+PIyspJigc2SQJqPNYmW0Gka4vznGZEGpUmTDXaa59zFnpSxhKrk PiTmMT2L4YXZ/NUIOc2UoJrcrRNzswDTtmxHKiZns5ropFk29L9YsqQXXyoAxKrLWpey TE5nwKqJCeSforiv8dvetid2Zgs/hBCqHYAfpqlBUfrsbHcR5cttsCxourH+ZnPkB/Ym hYZHf4EIsgCuIReWBCTPJynAUhlj0lqki1EmYFxFLnYFy6HkSaJHINlulV2Y4zC2b3Gv mzQXV6j84zoquoYI8EXkn6ADu3XmWMeXzOgMks3fX2PIWVLI+VdRhLC6U1feRMXJTARQ 67kg== X-Gm-Message-State: ALKqPwdgwvzNFwYDnHahkiTBo/QuMM9kN6gAkLbLQpN/rNPctSKQrENe XsJTvAplh2aTdW0x/jBXSUuImd+2v9x8th4bhAje0NJI X-Google-Smtp-Source: ADUXVKKcuf40JJNUPC05gqK+p09gr0lwEccdePnR5/a5gJ0jGRFj4cUA627N2TuFPF5KtCWXpUMWFpKc2OmXm32Y+GE= X-Received: by 2002:a9f:2635:: with SMTP id 50-v6mr533332uag.41.1527647404811; Tue, 29 May 2018 19:30:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:6206:0:0:0:0:0 with HTTP; Tue, 29 May 2018 19:29:34 -0700 (PDT) From: Aaron Date: Tue, 29 May 2018 19:29:34 -0700 Message-ID: Subject: ZFS mirror keeps going offline/removed To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 02:30:07 -0000 So recently my ZFS mirror keeps getting both drives marked as removed which makes my mirror go offline. I don't see anything obvious in my /var/log/messages (other than as below), although the errors always seem to be in metadata. The latest error seems to be in a non-metadata location, although not a file but a zfs directory. Whenever I run zpool clear -F -n bulk it ends up back online and after a scrub no errors, but it keeps happening. Based on the below paste, what could I look at that would tell me which drive, or both, or what the issue is? I'm running an old dual Xeon x5650, ECC memory (ran memtest86+ on it before installing, no errors). --Aaron /var/log/messages May 29 19:20:33 darkserver kernel: ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 May 29 19:20:33 darkserver kernel: ada2: s/n ZDH1CTDZ detached May 29 19:20:33 darkserver kernel: (ada2:ahcich2:0:0:0): Periph destroyed May 29 19:20:33 darkserver ZFS: vdev state changed, pool_guid=9608097630476313818 vdev_guid=4999141564141954755 May 29 19:20:33 darkserver ZFS: vdev is removed, pool_guid=9608097630476313818 vdev_guid=4999141564141954755 May 29 19:20:38 darkserver kernel: ada8 at ahcich9 bus 0 scbus9 target 0 lun 0 May 29 19:20:38 darkserver kernel: ada8: s/n ZDH1CS9M detached May 29 19:20:38 darkserver kernel: (ada8:ahcich9:0:0:0): Periph destroyed May 29 19:21:19 darkserver kernel: ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 May 29 19:21:19 darkserver kernel: ada2: ACS-3 ATA SATA 3.x device May 29 19:21:19 darkserver kernel: ada2: Serial Number ZDH1CTDZ May 29 19:21:19 darkserver kernel: ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) May 29 19:21:19 darkserver kernel: ada2: Command Queueing enabled May 29 19:21:19 darkserver kernel: ada2: 3815447MB (7814037168 512 byte sectors) May 29 19:21:19 darkserver kernel: ada2: quirks=0x1<4K> May 29 19:21:21 darkserver kernel: ada8 at ahcich9 bus 0 scbus9 target 0 lun 0 May 29 19:21:21 darkserver kernel: ada8: ACS-3 ATA SATA 3.x device May 29 19:21:21 darkserver kernel: ada8: Serial Number ZDH1CS9M May 29 19:21:21 darkserver kernel: ada8: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) May 29 19:21:21 darkserver kernel: ada8: Command Queueing enabled May 29 19:21:21 darkserver kernel: ada8: 3815447MB (7814037168 512 byte sectors) May 29 19:21:21 darkserver kernel: ada8: quirks=0x1<4K> # zpool status -x -v pool: bulk state: UNAVAIL status: One or more devices are faulted in response to IO failures. action: Make sure the affected devices are connected, then run 'zpool clear'. see: http://illumos.org/msg/ZFS-8000-HC scan: scrub repaired 0 in 7h22m with 0 errors on Tue May 29 04:27:28 2018 config: NAME STATE READ WRITE CKSUM bulk UNAVAIL 0 0 0 mirror-0 UNAVAIL 1 0 0 4999141564141954755 REMOVED 0 0 0 was /dev/ada2 16676652866205005686 REMOVED 0 0 0 was /dev/ada8 errors: Permanent errors have been detected in the following files: :<0x0> :<0x1> :<0x1b> :<0x33> bulk/video:<0xc0ad> From owner-freebsd-questions@freebsd.org Wed May 30 06:25:04 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22057F6FB57 for ; Wed, 30 May 2018 06:25:04 +0000 (UTC) (envelope-from info@techsmartexpress.info) Received: from srv11.whitelabeldnszone.com (srv11.whitelabeldnszone.com [158.69.253.36]) (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 C010571CE7 for ; Wed, 30 May 2018 06:25:03 +0000 (UTC) (envelope-from info@techsmartexpress.info) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=techsmartexpress.info; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:List-Unsubscribe:Message-ID:From:Date:Subject:To:Sender:Reply-To :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-Subscribe:List-Post:List-Owner:List-Archive; bh=P2H5pAYn29l1j5SNOUD+e6nzpjH3HJYaFuZPbQJ9wzw=; b=S4ylWuHQ7cbXjCEt8MAaaJ+tCI nB6Uh63Yt87AebF/QNNVUA2lxI2jXAnTijmth1JMmywMt4h98oeR4R09n43Vh6PA4FViyF+JaxzIv IFTvi7bkciOncmiezazr4qBjioXgh42R0BDgcchMY1LaJkkvgMtIiRLBenaFSqktxAK7RWj0wmzso OE9gKmhOn4frEWmV+VDfT/2jtHz9N03kwH0EyW8O0jY2A/SgsXwYIRJuPidyCl1y8NQJLGW23chAw zoCB4OKtFIG3sTYvZcJnfhoSOUAtjUN/7gGaBsRATowQXphU2p2P3V18rhXM7FKzH9uLsByQQahEy ZokFV8wA==; Received: from techsmar by srv11.whitelabeldnszone.com with local (Exim 4.89_1) (envelope-from ) id 1fNuXf-00Glzb-11 for freebsd-questions@freebsd.org; Wed, 30 May 2018 02:25:03 -0400 To: freebsd-questions@freebsd.org Subject: Audio Transcription Service Provider X-PHP-Script: techsmartexpress.info/wp-cron.php for 158.69.253.36 X-PHP-Originating-Script: 1631:class-phpmailer.php Date: Wed, 30 May 2018 06:25:01 +0000 From: Selina Mathews Message-ID: <11efaf895904bdf2205393c735131e0d@techsmartexpress.info> X-Priority: 3 X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) Precedence: bulk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv11.whitelabeldnszone.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1631 992] / [47 12] X-AntiAbuse: Sender Address Domain - techsmartexpress.info X-Get-Message-Sender-Via: srv11.whitelabeldnszone.com: authenticated_id: techsmar/from_h X-Authenticated-Sender: srv11.whitelabeldnszone.com: info@techsmartexpress.info X-Source: X-Source-Args: X-Source-Dir: techsmartexpress.info:/public_html MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 06:25:04 -0000 From owner-freebsd-questions@freebsd.org Wed May 30 11:11:08 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CB24FC77F9 for ; Wed, 30 May 2018 11:11:08 +0000 (UTC) (envelope-from d7o9idh8jlaj@opayq.com) Received: from gw1.borh.eu (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 6BB2B7CBB9 for ; Wed, 30 May 2018 11:11:06 +0000 (UTC) (envelope-from d7o9idh8jlaj@opayq.com) Received: from testbox.borh.eu (testbox.borh.eu [10.0.0.3]) by gw1.borh.eu (8.13.1/8.13.1) with ESMTP id w4UAm9CX072322 for ; Wed, 30 May 2018 12:48:10 +0200 (CEST) (envelope-from d7o9idh8jlaj@opayq.com) Reply-To: d7o9idh8jlaj@opayq.com To: "freebsd-questions@freebsd.org" From: Bernt Hansson Subject: Problems with upgrade. Message-ID: <78ec6723-1389-c1df-27ec-55f0c5b32775@opayq.com> Date: Wed, 30 May 2018 12:48:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 11:11:08 -0000 Hello list. Upgrade like this 10.3R -> 11.1R -> rollback -> 10.4 Now there is issues with some libs like Shared object "libldns.so.5" not found, required by "host" Shared object "libheimipcc.so.11" not found, required by "libkrb5.so.11" Probably others too. Tried to build from source but...... No. Should i download 10.4 source and build userland & kernel? Out of ideas. From owner-freebsd-questions@freebsd.org Wed May 30 14:31:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57347F70EFB for ; Wed, 30 May 2018 14:31:22 +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 014BA85F56 for ; Wed, 30 May 2018 14:31:21 +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 8C0E162568 for ; Wed, 30 May 2018 10:31:14 -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 xlLcF-NHjG5Z for ; Wed, 30 May 2018 10:31:12 -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 DECB062440 for ; Wed, 30 May 2018 10:31:11 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 30 May 2018 10:31:11 -0400 Message-ID: Date: Wed, 30 May 2018 10:31:11 -0400 Subject: Why is ntp listening on IP address 127.0.31.1 From: "James B. Byrne" To: 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 14:31:22 -0000 I have a FreeBSD Bhyve guest that has in its /etc/rc.conf file the following: . . . cloned_interfaces="lo1 lo2" ipv4_addrs_lo1="127.0.31.1/32" ipv4_addrs_lo2="127.0.32.1/32" . . . On the same host I have /etc/ntp.conf configured to listen on specific addresses: interface ignore wildcard interface listen 127.0.0.1 interface listen 192.168.216.18 But following a reboot I discovered this using netstat: udp4 0 0 127.0.0.1.123 *.* udp4 0 0 127.0.31.1.123 *.* udp4 0 0 127.0.32.1.123 *.* udp4 0 0 192.168.216.18.123 *.* udp4 0 0 216.185.71.18.123 *.* Why is ntpd listening on the cloned loopback interfaces? -- *** 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 Wed May 30 15:24:08 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 662D4F75FCF for ; Wed, 30 May 2018 15:24:08 +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 0BEF368D93 for ; Wed, 30 May 2018 15:24:07 +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 172406256B for ; Wed, 30 May 2018 11:24:07 -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 GiEdUmc-apPO for ; Wed, 30 May 2018 11:24:03 -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 80D8D62546 for ; Wed, 30 May 2018 11:24:03 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 30 May 2018 11:24:03 -0400 Message-ID: <3d2630ccefe11fb3fa94678665b4f7c6.squirrel@webmail.harte-lyne.ca> Date: Wed, 30 May 2018 11:24:03 -0400 Subject: What have I neglected to do in order to get networking in a jail? From: "James B. Byrne" To: 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 15:24:08 -0000 On FreeBSD-11.1 host: [root@host:~]# service pf onestatus pf.ko is not loaded In /etc/rc.conf . . . defaultrouter="216.185.71.1" # Gateway gateway_enable="YES" # Enable as ipv4 LAN gateway for guests/jails #ipv6_gateway_enable="YES" # Enable as ipv6 LAN gateway # Aliases on the host i/f are set here - jailed aliases are handled by ezjail ifconfig_vtnet0_alias0="inet 192.168.216.18 netmask 255.255.255.255" #ifconfig_vtnet0_alias1="inet 192.168.216.xxx netmask 0xFFFFFFFF" #ifconfig_vtnet0_alias2="inet 192.168.216.xxy netmask 0xFFFFFFFF" ### Enable and configure ezjail jails # Setup the loopback interfaces that each jail will use # Remember to add a 'set skip on lo#' clause in /etc/pf.conf cloned_interfaces="lo1 lo2" ipv4_addrs_lo1="127.0.31.1/32" ipv4_addrs_lo2="127.0.32.1/32" ### Jailed Services ezjail_enable="YES" # Enable ezjail jail manager [root@host:~]# ifconfig vtnet0: flags=8943 metric 0 mtu 1500 options=80028 ether 58:9c:fc:0e:cd:bb hwaddr 58:9c:fc:0e:cd:bb inet 216.185.71.18 netmask 0xffffff00 broadcast 216.185.71.255 inet 192.168.216.18 netmask 0xffffffff broadcast 192.168.216.18 inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 inet 192.168.216.31 netmask 0xffffffff broadcast 192.168.216.31 nd6 options=29 media: Ethernet 10Gbase-T status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 groups: lo lo1: flags=8049 metric 0 mtu 16384 options=600003 inet 127.0.31.1 netmask 0xffffffff nd6 options=29 groups: lo lo2: flags=8049 metric 0 mtu 16384 options=600003 inet 127.0.32.1 netmask 0xffffffff nd6 options=29 groups: lo [root@host:~]# jls JID IP Address Hostname Path 1 127.0.31.1 mx31 /usr/jails/mx31 On jail: root@mx31:~ # sysctl security.jail.allow_raw_sockets security.jail.allow_raw_sockets: 1 root@mx31:~ # ifconfig vtnet0: flags=8943 metric 0 mtu 1500 options=80028 ether 58:9c:fc:0e:cd:bb hwaddr 58:9c:fc:0e:cd:bb inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 inet 192.168.216.31 netmask 0xffffffff broadcast 192.168.216.31 media: Ethernet 10Gbase-T status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 groups: lo lo1: flags=8049 metric 0 mtu 16384 options=600003 inet 127.0.31.1 netmask 0xffffffff groups: lo lo2: flags=8049 metric 0 mtu 16384 options=600003 groups: lo root@mx31:~ # cat /etc/resolv.conf search harte-lyne.ca nameserver 216.185.71.33 nameserver 216.185.71.34 nameserver 127.0.0.1 options edns0 root@mx31:~ # cat /etc/hosts # $FreeBSD: releng/11.1/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ # # Host Database . . . # # ::1 localhost localhost.harte-lyne.ca 127.0.0.1 localhost localhost.harte-lyne.ca root@mx31:~ # pkg install bash The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly, please wait... pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/Latest/pkg.txz: No address record A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. root@mx31:~ # ping 216.185.71.1 PING 216.185.71.1 (216.185.71.1): 56 data bytes ^C --- 216.185.71.1 ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss Why does this jail not have a network connection? -- *** 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 Wed May 30 15:25:17 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3F2F761F3 for ; Wed, 30 May 2018 15:25:16 +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 8A70568E50 for ; Wed, 30 May 2018 15:25:16 +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 w4UFOctR085964 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 30 May 2018 11:24:38 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id w4UFOaw1023332; Wed, 30 May 2018 11:24:36 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ZFS mirror keeps going offline/removed To: Aaron , FreeBSD Questions References: From: Mike Tancsa Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; prefer-encrypt=mutual; keydata= xsBNBEzcA24BCACpwI/iqOrs0GfQSfhA1v6Z8AcXVeGsRyKEKUpxoOYxXWc2z3vndbYlIP6E YJeifzKhS/9E+VjhhICaepLHfw865TDTUPr5D0Ed+edSsKjlnDtb6hfNJC00P7eoiuvi85TW F/gAxRY269A5d856bYrzLbkWp2lKUR3Bg6NnORtflGzx9ZWAltZbjYjjRqegPv0EQNYcHqWo eRpXilEo1ahT6nmOU8V7yEvT2j4wlLcQ6qg7w+N/vcBvyd/weiwHU+vTQ9mT61x5/wUrQhdw 2gJHeQXeDGMJV49RT2EEz+QVxaf477eyWsdQzPVjAKRMT3BVdK8WvpYAEfBAbXmkboOxABEB AAHNHG1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5jYT7CwHgEEwECACIFAkzcA24CGwMGCwkI BwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEJXHwM2kc8rX+sMH/2V6pTBKsQ5mpWWLgs6wVP2k BC+6r/YKNXv9Rw/PrC6+9hTbgA+sSjJ+8gxsCbJsOQXZrxF0x3l9oYdYfuKcwdwXFX1/FS8p HfBeDkmlH+dI709xT9wgrR4dS5aMmKp0scPrXPIAKiYVOHjOlNItcLYTEEWEFBepheEVsgmk GrNbcrHwOx/u4igUQ8vcpyXPyUki+BsftPw8ZQvBU887igh0OxaCR8AurJppQ5UQd63r81cX E1ZjoFoWCaGK/SjPb/OhpYpu5swoZIhOxQbn7OtakYPsDd5t2A5KhvjI8BMTnd5Go+2xsCmr jlIEq8Bi29gCcfQUvNiClevi13ifmnnOwE0ETNwDbgEIALWGNJHRAhpd0A4vtd3G0oRqMBcM FGThQr3qORmEBTPPEomTdBaHcn+Xl+3YUvTBD/67/mutWBwgp2R5gQOSqcM7axvgMSHbKqBL 9sd1LsLw0UT2O5AYxv3EwzhG84pwRg3XcUqvWA4lA8tIj/1q4Jzi5qOkg1zxq4W9qr9oiYK5 bBR638JUvr3eHMaz/Nz+sDVFgwHmXZj3M6aE5Ce9reCGbvrae7H5D5PPvtT3r22X8SqfVAiO TFKedCf/6jbSOedPN931FJQYopj9P6b3m0nI3ZiCDVSqeyOAIBLzm+RBUIU3brzoxDhYR8pz CJc2sK8l6YjqivPakrD86bFDff8AEQEAAcLAXwQYAQIACQUCTNwDbgIbDAAKCRCVx8DNpHPK 1+iQB/99aqNtez9ZTBWELj269La8ntuRx6gCpzfPXfn6SDIfTItDxTh1hrdRVP5QNGGF5wus N4EMwXouskva1hbFX3Pv72csYSxxEJXjW16oV8WK4KjKXoskLg2RyRP4uXqL7Mp2ezNtVY5F 9nu3fj4ydpHCSaqKy5xd70A8D50PfZsFgkrsa5gdQhPiGGEdxhq/XSeAAnZ4uVLJKarH+mj5 MEhgZPEBWkGrbDZpezl9qbFcUem/uT9x8FYT/JIztMVh9qDcdP5tzANW5J7nvgXjska+VFGY ryZK4SPDczh74mn6GI/+RBi7OUzXXPgpPBrhS5FByjwCqjjsSpTjTds+NGIY Organization: Sentex Communications Message-ID: <7e6ff012-5108-aa30-2909-6a638b2cdbb1@sentex.net> Date: Wed, 30 May 2018 11:24:36 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 15:25:17 -0000 On 5/29/2018 10:29 PM, Aaron wrote: > So recently my ZFS mirror keeps getting both drives marked as removed which > > May 29 19:20:33 darkserver kernel: ada2 at ahcich2 bus 0 scbus2 target 0 > lun 0 > May 29 19:20:33 darkserver kernel: ada2: s/n > ZDH1CTDZ detached If I am reading this right, the physical drive is disappearing from the system. Try installing smartmontools and post smartctl -a /dev/ada2 -- ------------------- Mike Tancsa, tel +1 519 651 3400 x203 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada From owner-freebsd-questions@freebsd.org Wed May 30 16:30:36 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DDFFF7C507 for ; Wed, 30 May 2018 16:30:36 +0000 (UTC) (envelope-from a199e59c87e914e7b5fdb9459865d66e@zxas.fi) Received: from box.zxas.fi (box.zxas.fi [185.87.108.237]) (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 D64366C45D for ; Wed, 30 May 2018 16:30:35 +0000 (UTC) (envelope-from a199e59c87e914e7b5fdb9459865d66e@zxas.fi) Received: from authenticated-user (box.zxas.fi [185.87.108.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by box.zxas.fi (Postfix) with ESMTPSA id 9318E1E0E5; Wed, 30 May 2018 19:21:23 +0300 (EEST) Received: from authenticated-user (box.zxas.fi [185.87.108.237]) by zero.my.domain (Postfix) with ESMTP id 6FB2833C39; Wed, 30 May 2018 19:21:20 +0300 (EEST) Received: from authenticated-user (box.zxas.fi [185.87.108.237]) by thunderbolt.my.domain (8.15.2/8.15.2) with ESMTPS id w4UGLIvS077340 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 May 2018 19:21:18 +0300 (EEST) (envelope-from ejk@thunderbolt.my.domain) Received: from authenticated-user (box.zxas.fi [185.87.108.237]) by thunderbolt.my.domain (8.15.2/8.15.2/Submit) id w4UGLIOM077339; Wed, 30 May 2018 19:21:18 +0300 (EEST) (envelope-from ejk) Date: Wed, 30 May 2018 19:21:18 +0300 From: Esa Karkkainen To: Bernt Hansson Cc: freebsd-questions@freebsd.org Subject: Re: Problems with upgrade. Message-ID: <20180530162118.GC11983@pp.htv.fi> Mail-Followup-To: Esa Karkkainen , Bernt Hansson , freebsd-questions@freebsd.org References: <78ec6723-1389-c1df-27ec-55f0c5b32775@opayq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78ec6723-1389-c1df-27ec-55f0c5b32775@opayq.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 16:30:36 -0000 On Wed, May 30, 2018 at 12:48:09PM +0200, Bernt Hansson wrote: > Hello list. Hello, > Upgrade like this 10.3R -> 11.1R -> rollback -> 10.4 > > Now there is issues with some libs like > > Shared object "libldns.so.5" not found, required by "host" > Shared object "libheimipcc.so.11" not found, required by "libkrb5.so.11" > > Probably others too. Tried to build from source but...... No. > > Should i download 10.4 source and build userland & kernel? That is one possiblity, but "make buildworld" might not run succesfully, it depends how badly the operating system has been broken. I'm assuming you've used freebsd-update to do the updates. Please try # freebsd-update IDS Below is the relevant part of freebsd-update usage. IDS -- Compare the system against an index of "known good" files. You can see the freebsd-update commads usage if you run "freebsd-update" without any arguments. That might help you all the incorrect files, because the IDS might be able to tell you what files are not "known good" in 10.4. You can get specific files from the distribution packages like this. 1. You can download base.txz for amd64 architecture from: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.4-RELEASE/ 2. This is how you can find the specific path to the incorrect files: # xz -dc base.txz|tar tvf - | egrep 'libldns.so.5|libheimipcc.so.11' lrwxr-xr-x 0 root wheel 0 Sep 29 2017 ./usr/lib/private/libheimipcc.so -> libheimipcc.so.11 -r--r--r-- 0 root wheel 375976 Sep 29 2017 ./usr/lib/private/libldns.so.5 lrwxr-xr-x 0 root wheel 0 Sep 29 2017 ./usr/lib/private/libldns.so -> libldns.so.5 -r--r--r-- 0 root wheel 10032 Sep 29 2017 ./usr/lib/private/libheimipcc.so.11 The lines which begin with "l" character are just symbolic links, the lines that start with "-" character show the actual files that do not work. You can use "|egrep -v '^l'" at the end of the previous command to exclude any symbolic links, so the command would be xz -dc base.txz|tar tvf - | egrep 'libldns.so.5|libheimipcc.so.11' | egrep -v '^l' 3. Copy or download the base.txz file to /tmp directory 4. Extract the files needed: # cd /tmp/ # xz -dc /path/to/base.txz|tar xvf - ./usr/lib/private/libldns.so.5 ./usr/lib/private/libheimipcc.so.11 x ./usr/lib/private/libldns.so.5 x ./usr/lib/private/libheimipcc.so.11 5. So the two shared libraries are now in /tmp/usr/lib/private directory, now lets rename the incorrect files and copy these shared libraries to the correct directory: # mv -i /usr/lib/private/libldns.so.5 /usr/lib/private/libldns.so.5.broken && cp -pi /tmp/usr/lib/private/ibldns.so.5 /usr/lib/private/libldns.so.5 The "cp" comand will be run only if the "mv" command was successful and if the target file exist it will ask you "are you sure" You can't always overwrite files, because the file might be in use, so the safest way is to rename the file to a diffrent name and then copy the file to the same exact location. And that will not work on all files, for example "/usr/lib/libc.a" file unless you use statically linked commands from /rescue directory, but since you can run basically any command then the libc.a file is ok. You can do that by adding "/rescue" as the first diretory in your shells path environment variable. This is how you add "/rescue" temporarily as the first directory of the path using root users default shell, which is csh. # echo $SHELL /bin/csh # which mv /bin/mv # echo $path /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /root/bin # set path = ( /rescue $path ) # echo $path /rescue /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /root/bin # which mv /rescue/mv # If that doesn't help, please try this before running "freebsd-update" again. # cd /var/db # mv freebsd-update freebsd-update.not_in_use # mkdir freebsd-update # chown root:wheel freebsd-update # chmod 0700 freebsd-update # cp -pi freebsd-update.not_in_use/pub.ssl freebsd-update That makes freebsd-update lose all history, so it'll start from a clean slate. The you can run: # freebsd-update IDS or possibly: # freebsd-update fetch # freebsd-update install Hope that helps. Kind regards, Esa -- "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." -- Douglas Adams 1952 - 2001 From owner-freebsd-questions@freebsd.org Wed May 30 18:34:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41C1BEEE50C for ; Wed, 30 May 2018 18:34:37 +0000 (UTC) (envelope-from andrea.jones@get-excessive-search.com) Received: from vap.pama.vizvaz.com (vap.pama.vizvaz.com [80.211.168.126]) (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 C1BE0723ED for ; Wed, 30 May 2018 18:34:36 +0000 (UTC) (envelope-from andrea.jones@get-excessive-search.com) Received: from WS75 (unknown [223.190.58.166]) by vap.pama.vizvaz.com (Postfix) with ESMTPA id E0FF0EFF8 for ; Wed, 30 May 2018 14:34:32 -0400 (EDT) From: "Andrea Jones" To: Subject: Fw: Let us do the heavy work for your digital marketing campaign.... Date: Wed, 30 May 2018 23:52:22 +0530 Message-ID: <13d5301d3f844$e01e19d0$a05a4d70$@get-excessive-search.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdP4D7JjGruRZ/KxTCaeUwPny/LZJg== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 18:34:37 -0000 Hi, Greetings, Is your business on the first page of Google results? If no, we can help you get there! We are trusted digital marketing agency for more than 10 years, our team of 200+ technology specialists, has enabled 1000+ clients to gain a prominent presence on Google and other leading search engines. We have a unique model to share with you which are a 100% Risk Free and Cost effective. Our unique pay for performance model ensures high ROI, as you PAY ONLY WHEN YOUR KEYWORDS RANK. Salient features of our services include: . Assured top ranks in major search engines. . No monthly fee. . No contractual payout. . Minimum one time set-up fee. Sounds Intriguing? Get your website evaluated NOW, Just reply us your requirement along with contact details and we'll be in touch shortly. Looking forward to talk to you soon! Thanks & Regards, Andrea Jones Marketing Manager Head Office: San Jose, CA 95120 Disclaimer: We are using this domain for marketing. If you are interested and want to know about us, just reply to this email, if we have offended you by sending this to you by mistake, we apologize. Please reply "NO" or "UNSUBSCRIBE" to this email if not interested, so that we shall add you to our "Do Not Contact Again" list. From owner-freebsd-questions@freebsd.org Thu May 31 01:14:41 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C76F8FC9E44 for ; Thu, 31 May 2018 01:14:40 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::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 5DEF88501C for ; Thu, 31 May 2018 01:14:40 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: by mail-ua0-x232.google.com with SMTP id f30-v6so12108031uab.11 for ; Wed, 30 May 2018 18:14:40 -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=xdsatOfe/HZ3qY4SV25jOh3pqZ9J1J4K+Vn2LRI/qTE=; b=VTw5ET5aRWOdVSdL29izzSU+97MRHR0fbigbsPXpjIxRRR6jRFz5O/lxfiNGYyyW6E FO2vhUL0NuW+nqU8ywQxj0JnLtlLQTilh4GANAdhKRMTkTmilonc1GXnkbFj+HKCJWfR /EBYm093nCtkr0FBVi8gT/fSgls/JfrUfFl1sgYnmXJZ/N7Ke5hZm0BOMWFIKGaauH59 k9fxBJYAaiPNeAMeGFjKuN+908MJ7hmoZN3YlJsKf5nnV4JptRyzrvhCLkmgT3Wmy5KL LIlMOmG2QT74ktXzQh5L5z3rGCsCnlsBeCXTIwTBMbj/zorhn36jS9iBaOl+8OHsvrjp VZRQ== 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=xdsatOfe/HZ3qY4SV25jOh3pqZ9J1J4K+Vn2LRI/qTE=; b=mEyqU/cgpHqzcJREBPz/IqPv+4bFCwlg/cNjbSThsHQkR3LGJZmyyg3ZjvTHD6NWSQ uNNT78ugfk/I89JnqPox2zZjPBHhdMijrAGUQE2Yxx5oTPYnrZX0tRnbIT/gCQXYzTDx bExiMFYII0KXEpgz0yYgUN5FXIu5Ujbp6KTEYea2r7K64148VBeHPwZLKSX8NgoNRzsq xaRrvneMM/OmQ+Ed5vAaSvg2TQuploP4Rvhidbrs35D8kTxer/0kNkZuRU+9orXwSTzv aa1cLgeXD8gkkbGgraEYJ3jT/cnvVOWXWWG+53RYKu9iUiZgVNQrFyhVODz7LgIqflV8 uGxA== X-Gm-Message-State: ALKqPwfo+ywwlspCjz+2yKaRptlVgkS71Fw1fZghAlyYBZfgXwYPoMgG 3xnrNDvD251CHBDlPW+Y5vES0ofXiP6cDjw7oPMnBgm4 X-Google-Smtp-Source: ADUXVKJoO1AHfUYPwmRaExTvwjsp4F/GOcqa974ehIubvCbxkS1R54aKpjsogfoANlWOT+zks6aKA2v6+mOB6+XqMzY= X-Received: by 2002:ab0:130a:: with SMTP id g10-v6mr3048312uae.175.1527729277578; Wed, 30 May 2018 18:14:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:6206:0:0:0:0:0 with HTTP; Wed, 30 May 2018 18:14:07 -0700 (PDT) In-Reply-To: <7e6ff012-5108-aa30-2909-6a638b2cdbb1@sentex.net> References: <7e6ff012-5108-aa30-2909-6a638b2cdbb1@sentex.net> From: Aaron Date: Wed, 30 May 2018 18:14:07 -0700 Message-ID: Subject: Re: ZFS mirror keeps going offline/removed To: Mike Tancsa Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 01:14:41 -0000 Hm. SMART seems fine (see below for ada2 & ada8), but looks fine. I did look at camcontrol, don't see anything obvious but strange that ada2 & ada8 have the pass first, than the name. I do wonder if perhaps it's the SATA controller that might be going bad. Can't figure out if both drivers are on the same controller or not without cracking open the case. Unless you know some other command that I don't know about :) If it was just 1 disk the mirror wouldn't go offline if 1 of them had errors, right? It'd just be marked as degraded but still functional, right? This the entire mirror drops offline entirely. # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (pass2,ada2) at scbus3 target 0 lun 0 (ada3,pass3) at scbus4 target 0 lun 0 (ada4,pass4) at scbus6 target 0 lun 0 (ada5,pass5) at scbus7 target 0 lun 0 (ada6,pass6) at scbus8 target 0 lun 0 (ada7,pass7) at scbus9 target 0 lun 0 (pass8,ada8) at scbus10 target 0 lun 0 (ses0,pass9) # smartctl -a /dev/ada2 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.0-RELEASE-p1 amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 3.5 Device Model: ST4000DM005-2DP166 Serial Number: ZDH1CTDZ LU WWN Device Id: 5 000c50 0a2bdc9c5 Firmware Version: 0001 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Wed May 30 18:02:12 2018 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 591) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 640) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x10a5) SCT Status supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 100 064 006 Pre-fail Always - 36944 3 Spin_Up_Time 0x0003 095 094 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 24 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 076 060 045 Pre-fail Always - 39669459 9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 8225 (171 185 0) 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 11 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 0 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 071 062 040 Old_age Always - 29 (Min/Max 28/34) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1 193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 3008 194 Temperature_Celsius 0x0022 029 040 000 Old_age Always - 29 (0 19 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 496h+27m+04.872s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 15191309585 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 43595023625 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. # smartctl -a /dev/ada8 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.0-RELEASE-p1 amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 3.5 Device Model: ST4000DM005-2DP166 Serial Number: ZDH1CS9M LU WWN Device Id: 5 000c50 0a2bdfd11 Firmware Version: 0001 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Wed May 30 18:03:20 2018 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 601) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 658) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x10a5) SCT Status supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 100 064 006 Pre-fail Always - 47704 3 Spin_Up_Time 0x0003 096 094 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 23 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 075 060 045 Pre-fail Always - 35081586 9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 8212 (143 206 0) 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 12 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 0 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 070 061 040 Old_age Always - 30 (Min/Max 29/35) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 0 193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 2863 194 Temperature_Celsius 0x0022 030 040 000 Old_age Always - 30 (0 19 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 413h+54m+28.689s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 22813192594 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 28024253036 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. --Aaron On Wed, May 30, 2018 at 8:24 AM, Mike Tancsa wrote: > On 5/29/2018 10:29 PM, Aaron wrote: > > So recently my ZFS mirror keeps getting both drives marked as removed > which > > > > May 29 19:20:33 darkserver kernel: ada2 at ahcich2 bus 0 scbus2 target 0 > > lun 0 > > May 29 19:20:33 darkserver kernel: ada2: s/n > > ZDH1CTDZ detached > > If I am reading this right, the physical drive is disappearing from the > system. > Try installing smartmontools > and post > smartctl -a /dev/ada2 > > > > > -- > ------------------- > Mike Tancsa, tel +1 519 651 3400 x203 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada > From owner-freebsd-questions@freebsd.org Thu May 31 07:36:07 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C75CFC9DAB for ; Thu, 31 May 2018 07:36:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB6F275477 for ; Thu, 31 May 2018 07:36:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.66.222]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPA (Nemesis) id 0M8hmN-1gIbpK43KF-00wHsP; Thu, 31 May 2018 09:11:30 +0200 Date: Thu, 31 May 2018 09:11:29 +0200 From: Polytropon To: =?UTF-8?B?5bSU54GP?= (CUI Hao) Cc: freebsd-questions@freebsd.org Subject: Re: `reset` command makes backspace unusable Message-Id: <20180531091129.c0ff4dbb.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=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:sFDdsXCvyDQmynC1rG+2VWITupSJQmcjJLBgEt5olcrWdsmm1XM J3+aEPureXHgu6gbOQVuXCYwM6X+dHuN/PUnPHQIA0r/vuIVMelVoBX89kDzsUPsChjY1O8 MjXLOOfbl9VisfUKuu/YMDLgpXhHE6vm3I9WhNZ/sEG3TxlyeadyRUfABkLmLGeO1KhMLNm 2luy5PiOFLH9jHW+DL/HQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:wCj5xmRUD14=:dEle7+LJCk5qF1Y4H29uzt ljBe64hYANOHLf3h1UB5WPrpfBopSXHtNtKNPw0AvRkNBqES9JtDtQiWVnasB2yTU+ELsBbTs HI8aG0T1wI+3QlTtQLwpfmVO8beyd4yQduksKy3qPDaRiopo+vmQI9i9zpE1FHLaHxCDzwavq qZQ+l/xOPE+p9/CPDBG16e7hsTs0ofDCshAs5dt2XG6LkdLxKIPbDhfbQqawBjyyHtpESIaaO 3xo8S50mfVZWv8FZxUMM07Fl4sb0BHLxCzAdOqcEY1Jn9iIDTXCdAUXw3x6yDvXrti2FpUCsR 95iDbsF9U+05iQe3JwkxLZy/2Jqms7mM1EAJzz/RH67MziDrjJs3YpLO4v7WGtb3G1OJgLQZi fh4SBr6C0By0oEsSUaJ5fFOL9u+jNJMmarhhtxZ393MYoH4A6OS5AGNjeGzg7IesKazkJoIQS KJ0VP5ttpNQzcgI6/Pn1K9M0mKyLMZ3/Egk+2011WrbzFnSlwxK7WhgdEktsAFpBnCDzDkk6m 5KmqcTfwr/e0A/MADokjd6CXBQyJxzJLcMrpE0yDs2iE5toIsnmbHn31gZb999UAic8RiE2PV 6l0ATX0S3xHx2PS9eY9isFdeiWrkBXrU8FgWiy8pLnJPbuFPIF9MA1ERqL4vR5ew6Upp+PnxW uhJbIMJ8mbHlk8IxiNI1NLJqO7iCIYDjR+5OCKv90GXGm+bCC0b1BX6l47sFWVT46WLqQSq8K rSybLnYt5z6PL5UK X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 07:36:07 -0000 On Tue, 29 May 2018 17:10:01 +0800, 崔灏 (CUI Hao) wrote: > Hi, new to FreeBSD. On Linux, I often use `reset` command to recover > an broken terminal. On FreeBSD, `reset` seems to render backspace > unusable in some CLI programs. > > Steps to reproduce the problem: > 1. SSH login FreeBSD server from a Linux terminal emulator. TERM is > set to `xterm-256color`. > I tried Konsole / Termite. Both reproducible. > But xterm/uxterm doesn't trigger the problem. > 2. Executing `reset` on FreeBSD. > 3. Then pressing backspace will yields `^?` instead of backward > delete in most CLI programs including bash/vim/cat, but not tcsh and > sh. > > Like this: > wm@wmc:~$ reset > Erase is backspace. > wm@wmc:~$ ^?^?^?^? # typing backspace... This indicates that backspace's ^H has been altered to ^?, which usually is delete, but it only works when the "support chain" does react correctly to this code (the C shell sometimes doesn't, which is why you see the "replacement text" instead of the shell per- forming the correct edit action). > I googled about the problem. `stty erase ^?` after `reset`, or `reset > -e ^?` fix it. But I still wonder why `reset` doesn't work like on > Linux. I do some investigation, here are some of my observations: > > 1. terminal line settings (`stty -a`) > I checked the output of `stty -a`. On Linux terminal (Termite), I saw > `erase = ^?`. For full output, see https://cfp.vim-cn.com/cbff6 Here is some relevant output to compare: % stty -a [...] cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; 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; Note that backspace is called "erase" here, and correctly set to ^H, while there is no mentioning of delete (see further notes). > After SSH login FreeBSD, `stty -a` shows `erase = ^?; erase2 = ^H`, > which seem to be consistent with Linux. See > https://cfp.vim-cn.com/cbff7 This makes the DEL key the backspace key, if I read it correctly. > But after `reset`, the settings changed and becomes `erase = ^H; > erase2 = ^H`. see https://cfp.vim-cn.com/cbff8 Now ^H equals backspace (here: "erase"), which is what should happen when the terminal capabilities are reset according to the database. > 2. termcap > It seems default terminal line settings are determined by termcap db. > I checked `/etc/termcap` and found the entry of `xterm-256color`, > which inherits settings of `xterm-basic` entry. `xterm-basic` sets > `kb=^H`. Yes, that again is "key backspace" with the correct setting. > On Linux, I get the termcap settings by `infocmp -Cr`. Terminal > `xterm-256color` sets `kb=^H`, while `xterm-termite` sets `kb=\177`. Key code 177 (0x7F or 127) is a problematic key code because it sometimes means backspace, sometimes delete. > I tried to override FreeBSD termcap settings in `~/.termcap`: > xterm-256color|xterm alias 3:\ > :Co#256:pa#32767:\ > :kb=\177:\ > :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new > > Above settings indeed works and `reset` won't alter erase setting. > However, Linux `xterm-256color` termcap does set `kb=^H` like FreeBSD, > but it doesn't cause the problem on Linux. This kind of modification should not be needed. However, you can do certain customization to your C shell's settings (and let's assume for now you're using the C shell as your dialog shell, simply because this is FreeBSD's default). Add the following settings to /etc/csh.cshrc (for global effect) or to ~/.cshrc (for user-local effect): if ($?prompt) then # ... stuff omitted ... bindkey ^? delete-char # delete for console bindkey ^[[3~ delete-char # delete for xterm # ... more stuff ... endif You can also experiment with the "ESC sequence spelling" of the key codes (using "\e" instead of "^["), like this: bindkey "\e[3~" delete-char # delete bindkey "\e[1~" beginning-of-line # home bindkey "\e[4~" end-of-line # end Note that backspace will be reset to ^H which is the correct setting for this key, so there should be no need to add it. You can still _always_ simply press Ctrl+H to check if it does correctly perform the backspace operation on the current line. > Although I have found several workaround to fix backspace problem, may > anyone explain why terminal settings inconsistent on Linux and > FreeBSD? Is this a bug or just some compatibility issues? Are there > other compatibility issues with Linux terminal emulator? This is probably because FreeBSD's console subsystem currently still is in a flow, and Linux is always in a flow, so there is no real agreement about how things should be solved in a cross- compatible way... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu May 31 08:55:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3AF5EF3516 for ; Thu, 31 May 2018 08:55:21 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [144.76.30.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7824E79044 for ; Thu, 31 May 2018 08:55:21 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Thu, 31 May 2018 10:55:19 +0200 Message-ID: <87vab4mcg8.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: What have I neglected to do in order to get networking in a jail? In-Reply-To: <3d2630ccefe11fb3fa94678665b4f7c6.squirrel@webmail.harte-lyne.ca> References: <3d2630ccefe11fb3fa94678665b4f7c6.squirrel@webmail.harte-lyne.ca> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/27.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 08:55:22 -0000 On Wed, 30 May 2018 17:24:03 +0200, "James B. Byrne via freebsd-questions" wrote: > > On FreeBSD-11.1 host: > > [root@host:~]# service pf onestatus > pf.ko is not loaded > > > In /etc/rc.conf > . . . > defaultrouter="216.185.71.1" # Gateway > gateway_enable="YES" # Enable as ipv4 LAN gateway for > guests/jails > #ipv6_gateway_enable="YES" # Enable as ipv6 LAN gateway > > # Aliases on the host i/f are set here - jailed aliases are handled by > ezjail > ifconfig_vtnet0_alias0="inet 192.168.216.18 netmask 255.255.255.255" > #ifconfig_vtnet0_alias1="inet 192.168.216.xxx netmask 0xFFFFFFFF" > #ifconfig_vtnet0_alias2="inet 192.168.216.xxy netmask 0xFFFFFFFF" > > ### Enable and configure ezjail jails > # Setup the loopback interfaces that each jail will use > # Remember to add a 'set skip on lo#' clause in /etc/pf.conf > cloned_interfaces="lo1 lo2" > ipv4_addrs_lo1="127.0.31.1/32" > ipv4_addrs_lo2="127.0.32.1/32" > > ### Jailed Services > ezjail_enable="YES" # Enable ezjail jail manager > > > [root@host:~]# ifconfig > > vtnet0: flags=8943 > metric 0 mtu 1500 > options=80028 > ether 58:9c:fc:0e:cd:bb > hwaddr 58:9c:fc:0e:cd:bb > inet 216.185.71.18 netmask 0xffffff00 broadcast 216.185.71.255 > inet 192.168.216.18 netmask 0xffffffff broadcast 192.168.216.18 > inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 > inet 192.168.216.31 netmask 0xffffffff broadcast 192.168.216.31 > nd6 options=29 > media: Ethernet 10Gbase-T > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > groups: lo > lo1: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.31.1 netmask 0xffffffff > nd6 options=29 > groups: lo > lo2: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.32.1 netmask 0xffffffff > nd6 options=29 > groups: lo > > > [root@host:~]# jls > JID IP Address Hostname Path > 1 127.0.31.1 mx31 /usr/jails/mx31 > > > On jail: > > root@mx31:~ # sysctl security.jail.allow_raw_sockets > security.jail.allow_raw_sockets: 1 > > root@mx31:~ # ifconfig > vtnet0: flags=8943 > metric 0 mtu 1500 > options=80028 > ether 58:9c:fc:0e:cd:bb > hwaddr 58:9c:fc:0e:cd:bb > inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 > inet 192.168.216.31 netmask 0xffffffff broadcast 192.168.216.31 > media: Ethernet 10Gbase-T > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > groups: lo > lo1: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.31.1 netmask 0xffffffff > groups: lo > lo2: flags=8049 metric 0 mtu 16384 > options=600003 > groups: lo > > root@mx31:~ # cat /etc/resolv.conf > search harte-lyne.ca > nameserver 216.185.71.33 > nameserver 216.185.71.34 > nameserver 127.0.0.1 > options edns0 > > root@mx31:~ # cat /etc/hosts > # $FreeBSD: releng/11.1/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ > # > # Host Database > . . . > # > # > ::1 localhost localhost.harte-lyne.ca > 127.0.0.1 localhost localhost.harte-lyne.ca > > > root@mx31:~ # pkg install bash > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from > pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly, please wait... > pkg: Error fetching > http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/Latest/pkg.txz: No > address record > A pre-built version of pkg could not be found for your system. > Consider changing PACKAGESITE or installing it from ports: > 'ports-mgmt/pkg'. > > > > root@mx31:~ # ping 216.185.71.1 > PING 216.185.71.1 (216.185.71.1): 56 data bytes > ^C > --- 216.185.71.1 ping statistics --- > 5 packets transmitted, 0 packets received, 100.0% packet loss > > Why does this jail not have a network connection? After a quick check I guess you are missing NAT on the host (pf or ipfw)? -- Herbert From owner-freebsd-questions@freebsd.org Thu May 31 13:15:16 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC390F7F147 for ; Thu, 31 May 2018 13:15:16 +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 8239184A7F for ; Thu, 31 May 2018 13:15:16 +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 4270B625E9; Thu, 31 May 2018 09:15:15 -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 YyGOO5t6h9_l; Thu, 31 May 2018 09:15:11 -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 0EFE16255D; Thu, 31 May 2018 09:15:09 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 31 May 2018 09:15:11 -0400 Message-ID: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Thu, 31 May 2018 09:15:11 -0400 Subject: Re: What have I neglected to do in order to get networking in a jail? From: "James B. Byrne" To: "Herbert J. Skuhra" 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 13:15:17 -0000 On Thu, May 31, 2018 04:55, Herbert J. Skuhra wrote: > On Wed, 30 May 2018 17:24:03 +0200, "James B. Byrne via >> root@mx31:~ # ifconfig >> vtnet0: flags=8943 >> metric 0 mtu 1500 >> options=80028 >> ether 58:9c:fc:0e:cd:bb >> hwaddr 58:9c:fc:0e:cd:bb >> inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 >> >> Why does this jail not have a network connection? > > After a quick check I guess you are missing NAT on the host (pf or > ipfw)? One does not require NAT when one has a public IP address assigned to the I/F. The jail network traffic is not getting off the host system as I have determined from tcpdump. I have set jails up before on a similarly configured host and have gotten them to work, albeit always with some difficulty or other. -- *** 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 Thu May 31 13:51:27 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3480FCA367 for ; Thu, 31 May 2018 13:51:27 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (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 57AB78675F for ; Thu, 31 May 2018 13:51:27 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 6356210669; Thu, 31 May 2018 14:40:53 +0100 (BST) Subject: Re: What have I neglected to do in order to get networking in a jail? To: byrnejb@harte-lyne.ca Cc: freebsd-questions@freebsd.org References: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> From: Arthur Chance Message-ID: Date: Thu, 31 May 2018 14:40:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 13:51:27 -0000 On 31/05/2018 14:15, James B. Byrne via freebsd-questions wrote: > On Thu, May 31, 2018 04:55, Herbert J. Skuhra wrote: >> On Wed, 30 May 2018 17:24:03 +0200, "James B. Byrne via > >>> root@mx31:~ # ifconfig >>> vtnet0: flags=8943 >>> metric 0 mtu 1500 >>> options=80028 >>> ether 58:9c:fc:0e:cd:bb >>> hwaddr 58:9c:fc:0e:cd:bb >>> inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 >>> >>> Why does this jail not have a network connection? >> >> After a quick check I guess you are missing NAT on the host (pf or >> ipfw)? > > One does not require NAT when one has a public IP address assigned to > the I/F. The jail network traffic is not getting off the host system > as I have determined from tcpdump. > > I have set jails up before on a similarly configured host and have > gotten them to work, albeit always with some difficulty or other. > > I've just taken another look at your original mail. I think the key might be in this > [root@host:~]# jls > JID IP Address Hostname Path > 1 127.0.31.1 mx31 /usr/jails/mx31 Note address ^^^^^ > > root@mx31:~ # ifconfig > vtnet0: flags=8943 > metric 0 mtu 1500 > options=80028 > ether 58:9c:fc:0e:cd:bb > hwaddr 58:9c:fc:0e:cd:bb > inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 > inet 192.168.216.31 netmask 0xffffffff broadcast 192.168.216.31 > media: Ethernet 10Gbase-T > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > groups: lo > lo1: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.31.1 netmask 0xffffffff > groups: lo > lo2: flags=8049 metric 0 mtu 16384 > options=600003 > groups: lo Whatever you think is happening this shows your jail is using a loopback address on a loopback socket. Packets sent from loopback devices or from loopback addresses are simply not going to get off the box. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Thu May 31 14:21:15 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A15FBFD219A for ; Thu, 31 May 2018 14:21:15 +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 3556587F2F for ; Thu, 31 May 2018 14:21:15 +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 69163625E9; Thu, 31 May 2018 10:21:14 -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 YBkeF_orPAVm; Thu, 31 May 2018 10:21:11 -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 1F79662576; Thu, 31 May 2018 10:21:11 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 31 May 2018 10:21:11 -0400 Message-ID: In-Reply-To: References: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> Date: Thu, 31 May 2018 10:21:11 -0400 Subject: Re: What have I neglected to do in order to get networking in a jail? From: "James B. Byrne" To: "Arthur Chance" 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:21:15 -0000 On Thu, May 31, 2018 09:40, Arthur Chance wrote: > > I've just taken another look at your original mail. I think the key > might be in this > >> [root@host:~]# jls >> JID IP Address Hostname Path >> 1 127.0.31.1 mx31 >> /usr/jails/mx31 > > Note address ^^^^^ > The command jls reports the loopback address for all of the jails I have defined on other hosts. For example: [root@vhost02 ~]# jls JID IP Address Hostname Path 2 127.0.34.1 hlldns04 /usr/jails/hlldns04 3 127.0.150.1 hllmx150 /usr/jails/hllmx150 [root@vhost02 ~]# ezjail-admin console hlldns04 Last login: Thu May 31 10:14:37 on pts/0 . . . [root@hlldns04 ~]# pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.10.3_1 -> 1.10.5 Number of packages to be upgraded: 1 3 MiB to be downloaded. Proceed with this action? [y/N]: This jail has no problem reaching the internet. -- *** 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 Thu May 31 14:29:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E0FFD3398 for ; Thu, 31 May 2018 14:29:39 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (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 B161968868 for ; Thu, 31 May 2018 14:29:38 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id BD5BA10669; Thu, 31 May 2018 15:29:37 +0100 (BST) Subject: Re: What have I neglected to do in order to get networking in a jail? To: byrnejb@harte-lyne.ca Cc: freebsd-questions@freebsd.org References: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> From: Arthur Chance Message-ID: Date: Thu, 31 May 2018 15:29:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:29:39 -0000 On 31/05/2018 15:21, James B. Byrne wrote: > > On Thu, May 31, 2018 09:40, Arthur Chance wrote: > >> >> I've just taken another look at your original mail. I think the key >> might be in this >> >>> [root@host:~]# jls >>> JID IP Address Hostname Path >>> 1 127.0.31.1 mx31 >>> /usr/jails/mx31 >> >> Note address ^^^^^ >> > > The command jls reports the loopback address for all of the jails I > have defined on other hosts. For example: > > [root@vhost02 ~]# jls > JID IP Address Hostname Path > 2 127.0.34.1 hlldns04 /usr/jails/hlldns04 > 3 127.0.150.1 hllmx150 /usr/jails/hllmx150 > > [root@vhost02 ~]# ezjail-admin console hlldns04 > Last login: Thu May 31 10:14:37 on pts/0 > . . . > [root@hlldns04 ~]# pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > New version of pkg detected; it needs to be installed first. > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: > pkg: 1.10.3_1 -> 1.10.5 > > Number of packages to be upgraded: 1 > > 3 MiB to be downloaded. > > Proceed with this action? [y/N]: > > This jail has no problem reaching the internet. Addresses in 127/8 must not appear on the network anywhere (https://tools.ietf.org/html/rfc5735#page-3), and FreeBSD has specific checks in the networking code to prevent this. If any jail with such an address is contacting the network then there must be some form of NAT involved. I can only suggest you check for differences between the jails that can get out and the one that can't *and* look for NAT on the host(s) with jails that can get out. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Thu May 31 14:37:54 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9136FD41E3; Thu, 31 May 2018 14:37:54 +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 7072C6909E; Thu, 31 May 2018 14:37:54 +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 EC89C21B32; Thu, 31 May 2018 10:37:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 31 May 2018 10:37:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=fVKqmvBZY2eaGgqbCkV3jITFo6yApq5k02mKEpITaQg=; b=k8jOBJrv VZssy/GpbqoL/TYOP9W1KSGdTk8j0OhgOSsqszhg/mo922Y7lo4qLM8ZAEcfagMM 0a5qanW/W4y3ldkRV3WvS69qEumkzzjPSDeZ59NAP6oV6AwkAa3p/NQEWTyBzKa6 3LWpRmzR0bZ9XIEqCoAJDoje7KkVKb9tJL/xiD7j2BppISuSV817rswsmIMefJG2 iObGNqlALVIeXk/GoQDQRv3UiTnS1teZvOQ+Hjcc7UUKkd1QnACDw9VBkdsnVKFk r2Yw4MgKdKpNN3jKv4NVfzaezK9E853ZshpgMUcYgaFMSGNACKTPsGv3aN9Ehrun 18g/+sAwfY2Fpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=fVKqmvBZY2eaGgqbCkV3jITFo6yAp q5k02mKEpITaQg=; b=QI+rc80zud3bOJfYEmF4SKFef9aMKWcWI74IOSSGFuw9T XWcCw5RadC+hkiaFSesnSmBDWzeqJ3oJQkfPBwXaEA/c02MTcYjL7FKZ25CKJHmk UtQUXZtcoUqvGmK/UDnD/W+9UKCPiDOZLT0rljQA0b0A8kac3Qq+Aw8JP8ta4FUt H662QzhYYcWgYoHkdyw4OTKDXhxAUr4CyGgEpaikpdvR3j2DPXcWNOUYitej8iEA WUCHKN07gKoG5TouyeN+VfO7BRARMYDtNl6s115b0AFvdbxEaD5ovf2LL2+297tT 3br+pi4UNtGHe6/dRfxrj8lAUjuoTmEQHYaxS1j4g== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 489D710261; Thu, 31 May 2018 10:37:47 -0400 (EDT) To: freebsd-questions@freebsd.org Cc: FreeBSD Stable , freebsd-ports@freebsd.org From: tech-lists Subject: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) Organization: none Message-ID: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> Date: Thu, 31 May 2018 15:37:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:37:55 -0000 Hello lists, context: 11.2-PRERELEASE #0 r333458 / ports r471194 with xpdf I get the following error: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't install these directly though, seems they've been installed as dependencies of other ports. I'm using MATE desktop. I've tried reinstalling xfdf via pkg and the port with the same result. Is this a known problem/how can I fix? Have found no fix yet from GIS, most seem to point to deleting and reinstalling everything. thanks, -- J. From owner-freebsd-questions@freebsd.org Thu May 31 14:40:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34CC5FD4584 for ; Thu, 31 May 2018 14:40:12 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:191:217b::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB7E6693A8 for ; Thu, 31 May 2018 14:40:11 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Thu, 31 May 2018 16:32:28 +0200 Message-ID: <876033dhfn.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: What have I neglected to do in order to get networking in a jail? In-Reply-To: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> References: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/27.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:40:12 -0000 On Thu, 31 May 2018 15:15:11 +0200, "James B. Byrne via freebsd-questions" wrote: > > On Thu, May 31, 2018 04:55, Herbert J. Skuhra wrote: > > On Wed, 30 May 2018 17:24:03 +0200, "James B. Byrne via > > >> root@mx31:~ # ifconfig > >> vtnet0: flags=8943 > >> metric 0 mtu 1500 > >> options=80028 > >> ether 58:9c:fc:0e:cd:bb > >> hwaddr 58:9c:fc:0e:cd:bb > >> inet 218.185.71.31 netmask 0xffffffff broadcast 218.185.71.31 > >> > >> Why does this jail not have a network connection? > > > > After a quick check I guess you are missing NAT on the host (pf or > > ipfw)? > > One does not require NAT when one has a public IP address assigned to > the I/F. The jail network traffic is not getting off the host system > as I have determined from tcpdump. > > I have set jails up before on a similarly configured host and have > gotten them to work, albeit always with some difficulty or other. OK, you are obviously smarter than me (or a magician). I'll continue using NAT in such a setup. Adding the follwing to /etc/pf.conf works for me: nat on $ext_if inet from 127.0.32.1/32 to any -> $ext_ip -- Herbert From owner-freebsd-questions@freebsd.org Thu May 31 14:57:29 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C667FD5F9B; Thu, 31 May 2018 14:57:29 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (mail1.g16.pair.com [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 0B1386A50A; Thu, 31 May 2018 14:57:28 +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 D93045DCC; Thu, 31 May 2018 10:57:21 -0400 (EDT) Received: from atomizer.fios-router.home (pool-74-111-167-196.pitbpa.fios.verizon.net [74.111.167.196]) (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 AA8285DC5; Thu, 31 May 2018 10:57:21 -0400 (EDT) Date: Thu, 31 May 2018 06:57:04 -0400 From: Rod Person To: tech-lists Cc: freebsd-questions@freebsd.org, FreeBSD Stable , freebsd-ports@freebsd.org Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) Message-ID: <20180531065704.34b396fb@atomizer.fios-router.home> In-Reply-To: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:57:29 -0000 On Thu, 31 May 2018 15:37:46 +0100 tech-lists wrote: > Hello lists, > > context: 11.2-PRERELEASE #0 r333458 / ports r471194 > > with xpdf I get the following error: > > Cannot mix incompatible Qt library (version 0x50904) with this > library (version 0x50a01),Abort (core dumped) > > I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't > install these directly though, seems they've been installed as > dependencies of other ports. I'm using MATE desktop. > > I've tried reinstalling xfdf via pkg and the port with the same > result. Is this a known problem/how can I fix? Have found no fix yet > from GIS, most seem to point to deleting and reinstalling everything. > > thanks, I just fixed this a few week or two ago on my system. The problem is you have difference version numbers within the qt5 library, not having qt4 and qt5. I ended up having to rebuild everything single qt5 library installed on my system...pretty painful. Here is the text of a reply to me from Mark Mollering, that help me to track things down. Good Luck! Wow, I literally just finished fixing this with Lumina I did a pkg info | more and noticed that, even though I upgraded the qt5 [meta] version, there are some qt5 libraries that do not, automatically, upgrade. I then did a manual pkg upgrade qt5-[package] I know i had to do dbus, x11extras, svg, and a number of others. I just kept at it, until they were all upgraded to the same release. For Lumina, specifically, I had to do a pkg delete of all of the packages for it (such as lumina-core, etc) I then did a pkg clean -a (not sure if that was necessary) and pkg install. Finally, it was back to normal. -- Rod http://www.rodperson.com You can never get enough of what you don't need. -- David Morgan From owner-freebsd-questions@freebsd.org Thu May 31 15:11:18 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99A41EEF82D; Thu, 31 May 2018 15:11:18 +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 3C7C86B0F5; Thu, 31 May 2018 15:11:18 +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 50CBB211D3; Thu, 31 May 2018 11:11:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 31 May 2018 11:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=iqZ/XILDcYJGG5K2lwAt1eHlxd26d bSEbblmanX3KH0=; b=HcxK9qs5udqOZCdu0QtXIkUrQzN444Nv51khBpLHnejpa iArZQ5vkYpXkD+G45lnsBQzDi9oQoSMUHBfUdghmnztrvnemJQUONpUWZKyACSvY kWeZurRvntykIW23V4e1r0w5FFvTugEuR+ojivT+vHS02nuQFOqhQP1t3OPczpnL YrU9nqZImzz32X37AU5mPdGs4G4LOHDum/8aSrpguapgaQn4XOZELxgUGwrYPMJs AH1TqltpJ0cViFoUdimvndeNeSIdgV7ZL7CA8V/nnEHrvo2lSfkgDUK9S9IMVZAp zrRlHzWYTU8Xo1Po8xt0GYyhwelEqfFfGPichPchA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=iqZ/XI LDcYJGG5K2lwAt1eHlxd26dbSEbblmanX3KH0=; b=Yj6UyKnUaoQV5z5skBp3NA HvhaaSHvj4WC/gEO9FtcxOQc7FaebT8+XFN/edEuJoxpt/V+0ELSbYj3BzhMbNFm yIzvEH51F8s+go7p/MrHBsx13BTldG5c7HZLkN2xFS7NE2eCvwUX4hY/uKWSVtAY A6EitglXSZqj3bksqEHMLpbGp9FWwyBT9gMaC+SILtZZ/W1Gei4QwqaVmxjse6x2 uY3/Nf+2M8L1kNfPU+BLyG8dhbR/zzHp1ZIp0lqe+LEllb3FUmnbw+ui6PVKD/9a 62KRBgnVrUxVnIK2qxK5i8Z/CoZy0jsZ2vr2hE5M9dGElkLCY+bltMPvTBb4y5hw == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 73811102AA; Thu, 31 May 2018 11:11:16 -0400 (EDT) Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) To: Rod Person Cc: freebsd-questions@freebsd.org, FreeBSD Stable , freebsd-ports@freebsd.org References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> <20180531065704.34b396fb@atomizer.fios-router.home> From: tech-lists Organization: none Message-ID: <5cb5d301-7105-b91a-7fc5-2cd1fd04c560@zyxst.net> Date: Thu, 31 May 2018 16:11:15 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180531065704.34b396fb@atomizer.fios-router.home> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 15:11:18 -0000 On 31/05/2018 11:57, Rod Person wrote: > I just fixed this a few week or two ago on my system. The problem is > you have difference version numbers within the qt5 library, not having > qt4 and qt5. Thanks for the tip. Yes, there are versions of all kinds of qt4/5 programs that are not in complete version number agreement, on this system. I don't usually run pkg installs although I think libreoffice was installed as a package. currently running portupgrade -f "qt4*" thanks again, -- J. From owner-freebsd-questions@freebsd.org Thu May 31 16:15:47 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8164FEFE74C for ; Thu, 31 May 2018 16:15:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (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 15D2870AB6 for ; Thu, 31 May 2018 16:15:46 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 8762B10669 for ; Thu, 31 May 2018 17:15:45 +0100 (BST) To: FreeBSD-Questions From: Arthur Chance Subject: Disabling Bluetooth while booting? Message-ID: <373eb1f9-deea-c889-b7de-544692997f8d@qeng-ho.org> Date: Thu, 31 May 2018 17:15:45 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 16:15:47 -0000 I'm trying to install FBSD 11.1 amd64 on a 2015 HP Stream 13 using the memstick image with UEFI booting. It boots OK and starts showing the installer prompt, but then the screen is overwritten by non-stop console messages reading ubt0_intr_read_callback:878 interrupt transfer failed: USB_ERR_IOERROR This is coming out of the ng_ubt code. What are the incantations I need to disable this code? I can't find a device ubt line in the config file, but I presume I need something like ubt_load="NO" in /boot/loader.conf or hint.ubt.0.disabled="1" in /boot/device.hints Or are netgraph related devices different? -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Thu May 31 16:35:34 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BADFF71B9C; Thu, 31 May 2018 16:35:34 +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 BA0DE71A15; Thu, 31 May 2018 16:35:33 +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 5A6EF21D12; Thu, 31 May 2018 12:35:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 31 May 2018 12:35:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=zd0EWM9m+ej4+s1QvUxMI78QTkrPc RjLPgfzXCahiA4=; b=pg2btABge+hAaZ/6FpIpzwG8iXo/A1zNdWKxH5Tpl8Vkf BgvOCzd0isSMPk95WgPlTFQDOyE8Ee8KaRoZdU4oRXnSddNfIFmRRKrpVodrsWOe ye6X6i9Y97Z56PqQXfxW8l5tv943gobrKeqUwsPfEhtTAIvTf+9hhOge0oeXNCPN 789irMofK1YIa+2H6nq8NcmrOQRyIgw8ewM8/L9yYE6uUvGTwlLAlqoR+xKPPG+S 6pJHRMCr92Gg7qeehHpnT0uLXkxFgJc0Q4pDbdFKw8grVWSYaFd+J46uyX2Wv2WT 9EEvoj7+/oEmrY5pxEBm8myUNXJZFQhqR63wG6GKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=zd0EWM 9m+ej4+s1QvUxMI78QTkrPcRjLPgfzXCahiA4=; b=J0+GgSE9LNnPZHawcDfN5Z TkXHQRM5lDZy2BZiJ4ljqeeGcr2bbzH4Tt1LfXqugn724xyEVYZTprNOsAmmYr/P i3/S2qLLop49CRfqligTQnGDuy75TNZVrdDyztLbMYURzRzDg5wEFhmjMJhZXh2p bfy9A/haqluxrNEIO2Zw20T5dQF9eCIEUVYLrlWx+NWtzKqLtg0IjYWE6i9l+eBA 91ys5Sfv9H0TX3g1QBHLnJqwiKa5Ux/doDbc/ufKrVbMfhSZtd3TdB75hvamOwIk afWokjJFp5h7a0fAa2/dA3waEuD6a/cbyGrx26Xt1BciDXBIZNPK3FsxnHVYZpOQ == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 6DE1C1025D; Thu, 31 May 2018 12:35:32 -0400 (EDT) Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) To: Rod Person Cc: freebsd-questions@freebsd.org, FreeBSD Stable , freebsd-ports@freebsd.org References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> <20180531065704.34b396fb@atomizer.fios-router.home> From: tech-lists Organization: none Message-ID: <8d1fb369-afc1-c584-f852-0f7b171bb281@zyxst.net> Date: Thu, 31 May 2018 17:35:31 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180531065704.34b396fb@atomizer.fios-router.home> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 16:35:34 -0000 On 31/05/2018 11:57, Rod Person wrote: > I ended up having to rebuild everything single qt5 library installed on > my system...pretty painful. Hi, Just to update, I fixed the problem by doing this: 1. portupgrade -f "qt4*" 2. portupgrade -f "qt5*" Hopefully others will find this useful. Thanks again for the tip. -- J. From owner-freebsd-questions@freebsd.org Thu May 31 19:02:04 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A2FCFC9721 for ; Thu, 31 May 2018 19:02:04 +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 0FEBB78615 for ; Thu, 31 May 2018 19:02:03 +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 DCAF7625F1; Thu, 31 May 2018 15:02:01 -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 SuemAz3xHjIB; Thu, 31 May 2018 15:01:59 -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 1E3C5625E9; Thu, 31 May 2018 15:01:59 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 31 May 2018 15:01:59 -0400 Message-ID: <63611c4aa30f84022b570685135a14dc.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: <3f375650dfee47082e77cba953961a3f.squirrel@webmail.harte-lyne.ca> Date: Thu, 31 May 2018 15:01:59 -0400 Subject: Re: What have I neglected to do in order to get networking in a jail? From: "James B. Byrne" To: "Arthur Chance" 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 19:02:04 -0000 On Thu, May 31, 2018 10:29, Arthur Chance wrote: > On 31/05/2018 15:21, James B. Byrne wrote: >> >> On Thu, May 31, 2018 09:40, Arthur Chance wrote: >> >>> >>> I've just taken another look at your original mail. I think the key >>> might be in this >>> >>>> [root@host:~]# jls >>>> JID IP Address Hostname Path >>>> 1 127.0.31.1 mx31 >>>> /usr/jails/mx31 >>> >>> Note address ^^^^^ >>> >> >> The command jls reports the loopback address for all of the jails I >> have defined on other hosts. For example: >> >> [root@vhost02 ~]# jls >> JID IP Address Hostname Path >> 2 127.0.34.1 hlldns04 /usr/jails/hlldns04 >> 3 127.0.150.1 hllmx150 /usr/jails/hllmx150 >> > > Addresses in 127/8 must not appear on the network anywhere > (https://tools.ietf.org/html/rfc5735#page-3), and FreeBSD has specific > checks in the networking code to prevent this. If any jail with such > an > address is contacting the network then there must be some form of NAT > involved. I can only suggest you check for differences between the > jails > that can get out and the one that can't *and* look for NAT on the > host(s) with jails that can get out. > The 127.0.x.1 addresses are used by the cloned loopback interfaces that the jails require. Traffic on those addresses is going nowhere but back to the jail that owns them. I have several hosts with multiple jails and on every one of them the jls command displays the loopback address assigned to the jail. [root@vhost04 ~ (master #)]# jls JID IP Address Hostname Path 1 127.0.124.1 hll124 /usr/jails/hll124 [root@vhost02 ~]# jls JID IP Address Hostname Path 1 127.0.150.1 hllmx150 /usr/jails/hllmx150 2 127.0.34.1 hlldns04 /usr/jails/hlldns04 [root@vhost03 ~]# jls JID IP Address Hostname Path 1 127.0.151.1 hllmx04 /usr/jails/hllmx04 2 127.0.33.1 hlldns02 /usr/jails/hlldns02 I can go on but I believe that the point is made. Each of these jails can reach the internet. Some hosts are on the same LAN segment as the host with the jail I am having problems with. NAT is not involved as the IP address assigned to the jail's virtual interface is public. I have discovered my error. It is a typo in the IP address assigned to the jail. I wrote 218.185.71.31 when it should have been 216.185.71.31. I must have looked at that line in the jail configuration file a dozen times or more and missed it. -- *** 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 Fri Jun 1 02:35:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2592EF765D4; Fri, 1 Jun 2018 02:35:32 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx6-out9.antispamcloud.com (mx6-out9.antispamcloud.com [95.211.2.200]) (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 A57166F418; Fri, 1 Jun 2018 02:35:31 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx62.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fOZuV-0001uE-GD; Fri, 01 Jun 2018 04:35:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hj8cqKoWCGyZ0utTsr4wrauJW4XIsIjMfVEqDSBm67M=; b=mRSoJWsQ/J7UgPCJvG40Wd5i4V cA7Wb+j5rxeegiQOsJsopNWeYzxmVXyXtqYOec4xWMhorBMepGqdvThymC0/plQwWH/8xen6yfjY8 ekjuKZrWxv28gAMNaHC7uw95ZIqW0ejTwI6pTu9r70NtjFXSYcq/T7qf7jg7KSWuvIJiFp5pKm+NQ TFrWPbU6AcJR1hfUTm4Ydz35thZ+wNIhbLiKmg49qp1m2/2RrRtAB4fGGJqod8EspyMFz0o85aQS+ /xX5jyv05cqQBbLiq0EIisEYl7GZoHHla0k7ESI9BwxUk6dklbSLzeogQreHGtxVIUWNj8Cfec0qN +iFvN50Q==; Received: from subs12-223-255-228-82.three.co.id ([223.255.228.82]:24431 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fOZtf-0004Te-3C; Fri, 01 Jun 2018 09:34:33 +0700 Date: Fri, 1 Jun 2018 10:34:21 +0800 From: Erich Dollansky To: tech-lists Cc: freebsd-questions@freebsd.org, FreeBSD Stable , freebsd-ports@freebsd.org Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) Message-ID: <20180601103421.30968f1d.freebsd.ed.lists@sumeritec.com> In-Reply-To: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.33) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5r3N7manHa3zrQdfaQKih2N602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOxaIwtUujoNIbErZzpBhdLcz8dhukAZLa9+wj4wlfcdV2koUe6H4EgsR4KI2aZpsc0Bo Id9tfSOU4fF96QI/Dq3S8lXwLFQp8k7in0NND+uXnkT3PQgG80RP+tNqXarHO8pB7jaBrAwtFfR6 SqdZ9l7ilbHtbFYVmmyNP/jzd7CCbXU2a2IBuS47XX7B+UeWA26GdYWXfVL9j/M4HcjlnkdS5jwx DFcygpUkvsTNMOIFKiCa9o4hNK3GfW9e7J7na2wZ/EIeUEUmkjLMD+nYdnOJt5FxcU9zxyqQvC+E rY55x/UbeuKiusYBG1Ms/G/mcSrcSFC6MDBBTcRZzMON8R4pMeofrUhFxk7owSj+JT5uzHsFnNV2 ytQnVONhlZaGFD9vbzRks9pHooKAVCFQtN1ejxlKXQDDmeTP2TTAE92+Pd0rEuGjFyZoidhtHm+W oXQZOwTc0/H5Qf1AOEsXcH5MBqzR52YHar/IFGqdBj1a+hO+Gq9Nj28x517ZFh62dd7+sGeyKF6Y 4eJh28sJmp5IZsgmfGyoNinOfvstC33P6J1fhOzjF0b4LXcjJZ5louXG1ZXezgBMOBRNwcH3XsLr 38/eQT/Z0yRJUoE1V9DZIA9y8RIUGtqn4iJMoHoOtiZ7S7p/ztoEj3rjs7dNg1E9T6nTttGSl2VS 5kImdBRPiwQzKw+6v3CaIMG6s7LqJM2vPuzHVNLpbfM6d9TDep8w+3YUIew1qvDqOeDhbVNdfMmw r0h6gpRCxy4/rMf5kfH6hLIJnbNV1VsIfHYj9yUOfKUpCEmHTRY0GTN4Rnu6a/+f00L7StWEVXHu P48hQ5E2QAQRPOB84MmsDrk3yRnUjq68vZr+JJ1bJDCUHbEf5OULFjqmmjT2Lzr1GjHkRCERbInM iTBIUBbQ/Dy6Ip4ZoX5yXuaBZHopk5YnJpgZ4SlwXmd6lACyT6+Seu+by/Jr56Yplha5LoeQfChT p6s= X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2018 02:35:32 -0000 Hi, On Thu, 31 May 2018 15:37:46 +0100 tech-lists wrote: > Hello lists, > > context: 11.2-PRERELEASE #0 r333458 / ports r471194 > > with xpdf I get the following error: > > Cannot mix incompatible Qt library (version 0x50904) with this > library (version 0x50a01),Abort (core dumped) > > I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't > install these directly though, seems they've been installed as > dependencies of other ports. I'm using MATE desktop. > > I've tried reinstalling xfdf via pkg and the port with the same > result. Is this a known problem/how can I fix? Have found no fix yet > from GIS, most seem to point to deleting and reinstalling everything. > > thanks, portupgrade from the ports tree will be your good friend. It will either fix all problems or at least list the problematic ports. There are some other applications in the tree which do the same. So, you are spoiled for choice to get this problem fixed. Erich From owner-freebsd-questions@freebsd.org Fri Jun 1 15:12:06 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D3A2EFDAFE for ; Fri, 1 Jun 2018 15:12:06 +0000 (UTC) (envelope-from return@vincentgohproperty.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 E2CF98114B for ; Fri, 1 Jun 2018 15:12:05 +0000 (UTC) (envelope-from return@vincentgohproperty.com) Received: by mailman.ysv.freebsd.org (Postfix) id A220EEFDAEC; Fri, 1 Jun 2018 15:12:05 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B435EFDAE3 for ; Fri, 1 Jun 2018 15:12:05 +0000 (UTC) (envelope-from return@vincentgohproperty.com) Received: from vin-mail14.vincentgohproperty.com (vin-mail14.vincentgohproperty.com [54.39.73.57]) by mx1.freebsd.org (Postfix) with ESMTP id 11A4E81146 for ; Fri, 1 Jun 2018 15:12:05 +0000 (UTC) (envelope-from return@vincentgohproperty.com) Message-ID: <153e34b5b23034f53c60298d1b2308d4@vincentgohproperty.com> Date: Fri, 01 Jun 2018 15:00:05 +0000 Subject: Calgary - Canada - Market update talk on this weekend 2-3 June in HK From: Canada News - Calgary Reply-To: Canada News - Calgary To: "questions@freebsd.org" MIME-Version: 1.0 X-Wzte-Tracking-Did: 0 X-Wzte-Subscriber-Uid: kc965kts81ad2 X-Wzte-Mailer: SwiftMailer - 5.4.x X-Wzte-EBS: http://vincentgohproperty.com/crm/index.php/lists/block-address X-Wzte-Delivery-Sid: 1 X-Wzte-Customer-Uid: pr694btqye855 X-Wzte-Customer-Gid: 0 X-Wzte-Campaign-Uid: xt427bdz27faf X-Sender: return@vincentgohproperty.com X-Report-Abuse: Please report abuse for this campaign here: http://vincentgohproperty.com/crm/index.php/campaigns/xt427bdz27faf/report-abuse/zw024y3xg93f2/kc965kts81ad2 X-Receiver: questions@freebsd.org Precedence: bulk Feedback-ID: xt427bdz27faf:kc965kts81ad2:zw024y3xg93f2:pr694btqye855 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2018 15:12:06 -0000 Calgary - Canada - Market update talk on this weekend 2-3 June in HK http://vincentgohproperty.com/crm/index.php/campaigns/xt427bdz27faf/track-u= rl/kc965kts81ad2/658c51ec591bc8f7c2707fc9a0030424f7502f36 =C2=A0 Click here for full info pack http://vincentgohproperty.com/crm/index.php/campaigns/xt427bdz27faf/track-u= rl/kc965kts81ad2/658c51ec591bc8f7c2707fc9a0030424f7502f36 or email to: rsvp.hk@sqfthkg.com =C2=A0 =C2=A0 =C2=A0 =C2=A0 Property Newsletter MBFC Tower 1 Singapore 018988 Singapore =C2=A0 =C2=A0 If you no longer wish to receive mail from us, you can=C2=A0 unsubscribe http://vincentgohproperty.com/crm/index.php/campaigns/xt427bdz27faf/track-u= rl/kc965kts81ad2/8fc7fe98d4eab6086cd54f4e8d2784292c34ba57 DISCLAIMER Property Newsletter ("PN") is operated by GCS, a Thailand registered company that operates various business units, brands and associated Intellectual Property under license. These brands include but are not limited to BBI or Property Newsletter (PN). You are receiving this email as you have previously registered with one of the BBI or PN business units or associates. PN offers marketing services to 3rdparty ("Advertiser(s)") and does not take any responsibility for the legality or accuracy of any information provided by such Advertisers. The information contained in this message is provided by an Advertiser who is aware of the target audience and fully responsible for the legality and accuracy of the content provided, no such information forms part of any contract. Although every attempt is made to work only with ethical and professional Advertisers PN is unable to verify the contents and any claims made. PN including all its directors and staff cannot be deemed legally liable for any harm or loss incurred from the use of any information obtained from any of its websites (including PN) or advertising messages such as this. The information supplied by Advertisers is made available within messages like these and, where applicable, on the=C2=A0PN web site solely for the purpose of providing PN subscribers, clients, suppliers and the general public an informative portal and information relevant to their interests. PN offers links to thirdparty websites. PN does not claim to promote the contents of the information contained in these websites nor does PN accept any responsibility for any harm or loss caused by the usage of any information contained within these websites or any other website that is linked to the PN or BBI=C2=A0 website. PN observes data protection law and confirms that any personal information supplied will only be used for the purpose for which it was supplied and under the terms and conditions agreed to by the data supplier. Under no circumstances will the any personal information be passed to a thirdparty, we regard yourprivacy as paramount and can ensure all information will remainprivate. PN reserves the right to amend the content of this web site at any time without notice. This web site is a constantly evolving promotional tool, thus changes and alterations of all kinds will happen on a regular basis. All forms of investment carry risks, including the risk of losing all the invested amount. Such activities is not suitable for everyone. As overseasinvestments carry additional financial, regulatory and legal risk, investors are advised to do the necessary checks and research on the investment beforehand. Past performance not necessarily indicative of future performance. * & ** as stated in the sales agreement. T&C applies. *** terms and conditions applies. =C2=A0 From owner-freebsd-questions@freebsd.org Sat Jun 2 22:16:18 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F353FEEA36 for ; Sat, 2 Jun 2018 22:16:18 +0000 (UTC) (envelope-from brennan@umanwizard.com) 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 E36D57B99B for ; Sat, 2 Jun 2018 22:16:17 +0000 (UTC) (envelope-from brennan@umanwizard.com) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4E1E520D97 for ; Sat, 2 Jun 2018 18:16:11 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute7.internal (MEProxy); Sat, 02 Jun 2018 18:16:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Dk3LtsLaXuQoX9rr+h4089Pi0lmSt gDglleNx6QDfBE=; b=hNlPJ/VgDnlX1hxYt8tqYtRweJQnt0jqpKMj0LnDgOWA+ ZIgw+Ot2AkpKtbRDk9cnbenkbPPHmLI9hyA9nFvDBjI1uYvlDNRPEqCMIbu4AwaC bBkYdTSDPTRVG8FwjHwwmI2HCYzZM9F4m4sh908n65TSelQjQ15zJGYY0uQ6YVVw E+stdlk/n9aIVpBpfCoO7Z2Y3yn8iZ9U6hdkUYnde9dDsSNNAFqgu1F9qhvZRgno DAfi/PMq69HbLdIOCh74k3soBKDLZ8a2Thk2P8v0eaFEpaBI0azUyqo7td+ATn1s NraE8PT1H1zVHIS1eXTqVIjuRD+ERNHeQiH5ahMcg== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id F2B639E382; Sat, 2 Jun 2018 18:16:10 -0400 (EDT) Message-Id: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> From: Brennan Vincent To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_152797777026513781" X-Mailer: MessagingEngine.com Webmail Interface - ajax-397f98d6 Subject: Is it normal that a user can take down the whole system by using too much memory? Date: Sat, 02 Jun 2018 18:16:10 -0400 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 22:16:18 -0000 This is a multi-part message in MIME format. --_----------=_152797777026513781 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" The attached program `eatmem.c` is a simple example to waste N gigs of memory as quickly as possible. When I run something like `eatmem 32` (on a system with less than 32GB of RAM), about half the time everything works fine: the system quickly runs out of RAM and swap, the kernel kills `eatmem`, and everything recovers. However, the other half of the time, the system becomes completely unusable: my ssh session is killed, important processes like `init` and `getty` are killed, and it's impossible to even log into the system (the local terminal is unresponsive, and I can't ssh in because sshd is killed immediately whenever it tries to run). The only way to recover is by rebooting. Is this expected behavior? My system details are as follows: FreeBSD 12 CURRENT x86_64 guest on VMWare Fusion. ram: 8 GB swap: 1 GB Host: macbook pro running macOS. --_----------=_152797777026513781 Content-Disposition: attachment; filename="eatmem.c" Content-Id: <1527977409.2650163.6e127ffd81b5cf25772b7b863610084a2a170cfd.6AAE3585@content.messagingengine.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; name="eatmem.c" I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCiNkZWZp bmUgUEFHRV9TSVpFIDQwOTYKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKiph cmd2KQp7CglzaXplX3QgZ2IgPSBhdG9pKGFyZ3ZbMV0pOwoJc2l6ZV90IHN6 ID0gZ2IgKiAxMDI0ICogMTAyNCAqIDEwMjQ7Cgl2b2xhdGlsZSBjaGFyICpt ZW0gPSBtYWxsb2Moc3opOwoJaWYgKCFtZW0pIHsKCQlmcHJpbnRmKHN0ZGVy ciwgIkNvdWxkbid0IG1hbGxvYyFcbiIpOwoJCXJldHVybiAtMTsKCX0KCXdo aWxlICgxKQoJCWZvciAoc2l6ZV90IGkgPSAwOyBpIDwgc3o7IGkgKz0gUEFH RV9TSVpFKQoJCQltZW1baV0gPSAwOwp9Cg== --_----------=_152797777026513781-- From owner-freebsd-questions@freebsd.org Sat Jun 2 22:41:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60276FF1846 for ; Sat, 2 Jun 2018 22:41:23 +0000 (UTC) (envelope-from john@thehowies.com) Received: from remote.thehowies.com (remote.thehowies.com [50.197.91.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "remote.thehowies.com", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA2187E416 for ; Sat, 2 Jun 2018 22:41:22 +0000 (UTC) (envelope-from john@thehowies.com) Received: from PRIMARY.thehowies.local ([fe80::6437:d031:7477:6451]) by PRIMARY.thehowies.local ([fe80::6437:d031:7477:6451%10]) with mapi id 14.03.0382.000; Sat, 2 Jun 2018 15:40:54 -0700 From: John Howie To: Brennan Vincent CC: "freebsd-questions@freebsd.org" Subject: Re: Is it normal that a user can take down the whole system by using too much memory? Thread-Topic: Is it normal that a user can take down the whole system by using too much memory? Thread-Index: AQHT+r/j/zD/VmQpGkCFdYNvAEE9PKRNkARK Date: Sat, 2 Jun 2018 22:40:52 +0000 Message-ID: <01EE7EEA-03AC-4D71-BA08-B0CEA97EE720@thehowies.com> References: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> In-Reply-To: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 22:41:23 -0000 Hi Brennan, Do =91man -k limit=92 for details of means to restrict resource consumption= . In particular, check out limits(1) and rctl(8). Variations of this problem have been around forever. An oldie but goldie is= : main () { while (1) { fork (); } } I cannot say why you are getting the results you see on your specific syste= m. I would check limits to see where they are set, and tweak them. Cheers, John Sent from my iPhone > On Jun 2, 2018, at 15:20, Brennan Vincent wrote: >=20 > The attached program `eatmem.c` is a simple example to waste N gigs of me= mory as quickly as possible. >=20 > When I run something like `eatmem 32` (on a system with less than 32GB of= RAM), about half the time everything works fine: the system quickly runs o= ut of RAM and swap, the kernel kills `eatmem`, and everything recovers. How= ever, the other half of the time, the system becomes completely unusable: m= y ssh session is killed, important processes like `init` and `getty` are ki= lled, and it's impossible to even log into the system (the local terminal i= s unresponsive, and I can't ssh in because sshd is killed immediately whene= ver it tries to run). The only way to recover is by rebooting. >=20 > Is this expected behavior? >=20 > My system details are as follows: > FreeBSD 12 CURRENT x86_64 guest on VMWare Fusion. > ram: 8 GB > swap: 1 GB > Host: macbook pro running macOS. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@freebsd.org Sat Jun 2 23:25:33 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D151FF6806 for ; Sat, 2 Jun 2018 23:25:33 +0000 (UTC) (envelope-from brennan@umanwizard.com) 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 E835880588 for ; Sat, 2 Jun 2018 23:25:32 +0000 (UTC) (envelope-from brennan@umanwizard.com) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6208421908; Sat, 2 Jun 2018 19:25:32 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute7.internal (MEProxy); Sat, 02 Jun 2018 19:25:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=W8VlrL KTA/BcbCqVHWpFnlxSSkgl2EbntHbMQeb2/Bc=; b=IEzH06b5ImK87/igzVyA0X vxAa9Nh5bU/jl2fsuJ0XW4MjNTnzzL3BzPc9eyTuqIsafVCXV1I9aLc7Y9u+gS3h 3DgVXlL8hAA82Aa3wJ9TtUNnRRl7eywYeXKkWbuNfJqlqdukaGeyCJUGNEOfr49/ vvkN4L9TR3noKQZTA61r/YIpor/SoteR1EzHBTO0hpVDWrmfd9OnbNAANJ2ihF/j 43B/A7Pz7WRO3/+a76XJl8TeBPDF2WYkF1pZUZAGf6edpDi8rHQ4hyS+bVCHRigI JHsPVyQZTnHD9NTS/CcozNmUDIjyynQJ2yv2U8cq2n9YcOAAGF8GGiEnX2km19gQ == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 0287D9E382; Sat, 2 Jun 2018 19:25:31 -0400 (EDT) Message-Id: <1527981931.2670335.1394316280.09410FC9@webmail.messagingengine.com> From: Brennan Vincent To: John Howie Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-397f98d6 Date: Sat, 02 Jun 2018 19:25:31 -0400 References: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> <01EE7EEA-03AC-4D71-BA08-B0CEA97EE720@thehowies.com> Subject: Re: Is it normal that a user can take down the whole system by using too much memory? In-Reply-To: <01EE7EEA-03AC-4D71-BA08-B0CEA97EE720@thehowies.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 23:25:33 -0000 Thanks John for the response -- this should help me solve my practical need= s. I'm also curious, however, to learn more from an OS design perspective. Why= isn't it possible for the kernel to realize it should kill `eatmem` rather= than make the system unusable? Is this a hard problem in general, or just a missing feature in FreeBSD spe= cifically ? On Sat, Jun 2, 2018, at 6:40 PM, John Howie wrote: > Hi Brennan, >=20 > Do =E2=80=98man -k limit=E2=80=99 for details of means to restrict resour= ce consumption.=20 > In particular, check out limits(1) and rctl(8). >=20 > Variations of this problem have been around forever. An oldie but goldie = is: >=20 > main () { while (1) { fork (); } } >=20 > I cannot say why you are getting the results you see on your specific=20 > system. I would check limits to see where they are set, and tweak them. >=20 > Cheers, >=20 > John >=20 >=20 >=20 >=20 > Sent from my iPhone >=20 > > On Jun 2, 2018, at 15:20, Brennan Vincent wrot= e: > >=20 > > The attached program `eatmem.c` is a simple example to waste N gigs of = memory as quickly as possible. > >=20 > > When I run something like `eatmem 32` (on a system with less than 32GB = of RAM), about half the time everything works fine: the system quickly runs= out of RAM and swap, the kernel kills `eatmem`, and everything recovers. H= owever, the other half of the time, the system becomes completely unusable:= my ssh session is killed, important processes like `init` and `getty` are = killed, and it's impossible to even log into the system (the local terminal= is unresponsive, and I can't ssh in because sshd is killed immediately whe= never it tries to run). The only way to recover is by rebooting. > >=20 > > Is this expected behavior? > >=20 > > My system details are as follows: > > FreeBSD 12 CURRENT x86_64 guest on VMWare Fusion. > > ram: 8 GB > > swap: 1 GB > > Host: macbook pro running macOS. > > > > _______________________________________________ > > 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 Sat Jun 2 23:46:40 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84338FD0D25 for ; Sat, 2 Jun 2018 23:46:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::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 009BA8113C for ; Sat, 2 Jun 2018 23:46:39 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x231.google.com with SMTP id w7-v6so27633439wrn.6 for ; Sat, 02 Jun 2018 16:46:39 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=ftASg39vLPEUuPj9UIs/ceAPMzPETCzr77Byh3fprUQ=; b=T7ZowgGnU58XZoRDZN4Xbcd3gnhMqawLoqmxDpAT1TZWlaJ5TtXyZ+JpZAWiB0fNm9 5ie4Yfw10B/e2xWjY0RCdboUhcJVJmHbdNZdjWUUseAdWrnBvNHKXXVrHgHrdqwT0W+r IPty10D0GcpIWe8tUZ1Tm3Zty8um9gx5e+fUDYAu9xZ2sdt8WGy7pqnbFFvyCgcVPrci MRVoD8zFeJZ1fa0mYXkW5CfAfmVGz7eLmiF24dXkYzm+oH6VUjc+uGUtlx3J8NhPTmvU gXD5p6R12AeqD7mE0pd9/2KuAttpZCN5hpVF2UDiRA+Oa6UtRszEOWK3oNueAebR6A4+ 55mg== X-Gm-Message-State: APt69E2ihS2onK+xGv3M4ZLs8rQ1H4kDpVo8VrRWIZnL8Y2Im1qbj3MG 0M6/k13QFxRdjNRpI50MBbWK9g== X-Google-Smtp-Source: ADUXVKLGyy5pxTXsQkD2irTbRvaQGm5fyU7lZGOWbMT5MbljHOIy5T5fPnXXM2OhlTEcg54fAPexxw== X-Received: by 2002:adf:8c09:: with SMTP id z9-v6mr3104626wra.142.1527983198668; Sat, 02 Jun 2018 16:46:38 -0700 (PDT) Received: from gumby.homeunix.com ([90.211.23.147]) by smtp.gmail.com with ESMTPSA id s132-v6sm4548523wmf.5.2018.06.02.16.46.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Jun 2018 16:46:37 -0700 (PDT) Date: Sun, 3 Jun 2018 00:46:34 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Is it normal that a user can take down the whole system by using too much memory? Message-ID: <20180603004634.5865434d@gumby.homeunix.com> In-Reply-To: <1527981931.2670335.1394316280.09410FC9@webmail.messagingengine.com> References: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> <01EE7EEA-03AC-4D71-BA08-B0CEA97EE720@thehowies.com> <1527981931.2670335.1394316280.09410FC9@webmail.messagingengine.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 23:46:40 -0000 On Sat, 02 Jun 2018 19:25:31 -0400 Brennan Vincent wrote: > I'm also curious, however, to learn more from an OS design > perspective. Why isn't it possible for the kernel to realize it > should kill `eatmem` rather than make the system unusable? I did something similar a few years ago, and the process was reliably killed. From owner-freebsd-questions@freebsd.org Sat Jun 2 23:53:17 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D173DFD1ABA for ; Sat, 2 Jun 2018 23:53:17 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::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 EEF9581726 for ; Sat, 2 Jun 2018 23:53:15 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x234.google.com with SMTP id v13-v6so27887697wrp.13 for ; Sat, 02 Jun 2018 16:53:15 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=wEr+MXS/5LZoN8NQeUe1NbGZMyeJk41hxi+/9wULs8E=; b=sjoYIWtVq/wzIBT/gzvWyKHEj0F2P0Gl5w2ML68RcJpXgkn3I58tKbQDqYeTo1Zol0 oPw5gE0nqr2Gz9WoUUVRwoQHwRWa0YmLzaMhX/1CTLiFUfW5gtVhOKRzATO7pcxzWRZg 41A4FDeqYfxQ5P1nNZzWNQDpO6jV3eM3BZ7+NHygr5Vae+DtUQCHCXofXcdOtDrFm1Ft k/ouCcvAk+ybWrO0dDdFBo3cpNVtRJnjC1yvLstVMwgjYZ55dxq4QGHcFDRB+YJJGj94 zaSbWKW0rZBV2BkLLPLsaAVFNBJLmIdra7pIcHJ4WZ3tZbCqsbsQjgqR57WA/C53FpHE BZAA== X-Gm-Message-State: ALKqPweg6SKiW4AQFTz0KVP7lDR96c0LPydMoPo+uxdvq8tQu1Kf6JaD o16rOl+4REre8TnQ+VKli5/bZQ== X-Google-Smtp-Source: ADUXVKJ/M6kvFay78f0bzf5Enzv/W1hnOe9gJ0RVf1XQE0a/kAfR3F+IBCK2iEENV/mXDKqBFbO2Fw== X-Received: by 2002:adf:f5c8:: with SMTP id k8-v6mr11141764wrp.219.1527983594429; Sat, 02 Jun 2018 16:53:14 -0700 (PDT) Received: from gumby.homeunix.com ([90.211.23.147]) by smtp.gmail.com with ESMTPSA id v2-v6sm2691023wrm.84.2018.06.02.16.53.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Jun 2018 16:53:13 -0700 (PDT) Date: Sun, 3 Jun 2018 00:53:11 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Is it normal that a user can take down the whole system by using too much memory? Message-ID: <20180603005311.5768a2d7@gumby.homeunix.com> In-Reply-To: <20180603004634.5865434d@gumby.homeunix.com> References: <1527977770.2651378.1394286400.0806CC5C@webmail.messagingengine.com> <01EE7EEA-03AC-4D71-BA08-B0CEA97EE720@thehowies.com> <1527981931.2670335.1394316280.09410FC9@webmail.messagingengine.com> <20180603004634.5865434d@gumby.homeunix.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2018 23:53:18 -0000 On Sun, 3 Jun 2018 00:46:34 +0100 RW wrote: > On Sat, 02 Jun 2018 19:25:31 -0400 > Brennan Vincent wrote: > > > > I'm also curious, however, to learn more from an OS design > > perspective. Why isn't it possible for the kernel to realize it > > should kill `eatmem` rather than make the system unusable? > > I did something similar a few years ago, and the process was reliably > killed. I should have added that that was without virtualization, or ZFS.