From nobody Mon Apr 8 13:10:52 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VCqGX2KMZz5H0sJ for ; Mon, 8 Apr 2024 13:11:00 +0000 (UTC) (envelope-from DanieltheDeer@outlook.com) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn20801.outbound.protection.outlook.com [IPv6:2a01:111:f403:2814::801]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VCqGW0B17z4pFR for ; Mon, 8 Apr 2024 13:10:59 +0000 (UTC) (envelope-from DanieltheDeer@outlook.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=CFKHcBS4; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of DanieltheDeer@outlook.com designates 2a01:111:f403:2814::801 as permitted sender) smtp.mailfrom=DanieltheDeer@outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fTdVJ5FpJOrDzt5zNdKzKpN8WODrOm4aQTeTKRx6HkJBWY2AwRASVkEGwlyqdUBCebV+ismonyq9Go1F7dxDQmMADTi5lnDDkqpbuMZjkAWf/vHHjMQo92/IJgjfoYcXrjWbJAYAQrEGlNyhKdacDAiQczg6a0ReJ2qxEF5rjJahOJ5cRGMgLQEhJt/w4hG5Tb1IY6xsZXSb8G7+Frk6qjt9w67zEtRoRdUnCG76c5slvIaRaqosHK99BQZMgNP3Jz04n0F/gmpAymRsaNc84zu3on8ynRpX4GrgjCeB4Lf98TbJoVTwPuokQCcNuZX6pN4A1U08c8p900v2QAOzHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z4VVxicfxkDegQlJ9G3XsJpAMIzcM0jLxrNzjZntdxw=; b=Jxk/XUD9YzpChNtS/h6OHsrae76OBLYAMiRSvEXLmtqE1ovN6mBwExYeJpT5lhqHmXuWxIYmLZphdWFUKwVJ0wLSpwqdk3qUM1AZHB+MDu49p9S3qPOAB+PQCBk8p+NyNsZSnmnl7oiba534gnSLToKdK6XqDxdOjUUAaFlmVnNdhmmBGrtJ8dJlq95+H4zl+FRzBGj5J9Yz5++r2tQ6H6JJQrfVgdB8PQgyK6YmiVn9UFReP5z8QTjA6Wppbi32p54STeWRs6D17ewY5IvatnR97AYCP4nHDz5AJoIKRvvPNGM2x6xJhXpvkNC4qvKkywzBJXBFZKQlb4X02lcAhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none 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=z4VVxicfxkDegQlJ9G3XsJpAMIzcM0jLxrNzjZntdxw=; b=CFKHcBS4Xz/oTaN07JIvCJlAMEhVNB18NZyc/2gUG17dEn7B1HmRMyU9iKsDD3RKf5lemn+S6Dyl1fBC9Xy5pOspXPodBvM1yW6rH+2crACr8AV0VfW2IFq+AJ1e27BZyV+yWe9PvuoGDfcFuI1q3tzPA83eFiOB1bUiIB5kVVu9J3P+sWKMZ6qOxbyhRgavLFAkPjHGn+3P2UpEueb3qu9B+Lr+6In+69YTCWuuGlmzHMWrIjzUUwtaw9SihYL+Bk7aRvzYEfe+tQwj3qGFiDIPZO6gKgmu5RHkZWJ9PpfFGUDmKHbBvYj9lE3kI06ZgY2m0ynvS5gjdstt8qLhsw== Received: from TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:24e::7) by OS3P286MB3193.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:20f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Mon, 8 Apr 2024 13:10:53 +0000 Received: from TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM ([fe80::5007:cb08:4ec8:d9a6]) by TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM ([fe80::5007:cb08:4ec8:d9a6%5]) with mapi id 15.20.7409.053; Mon, 8 Apr 2024 13:10:53 +0000 From: Daniel Eastwood To: "freebsd-questions@freebsd.org" Subject: EC no response Thread-Topic: EC no response Thread-Index: AQHaibYvZ/WYRzj6/k+72yWbPbqCiw== Date: Mon, 8 Apr 2024 13:10:52 +0000 Message-ID: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [Nd25N0mREabASv7EAtg1/CwMnaN0BXxp6UQKb2z7RVM=] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYWP286MB2667:EE_|OS3P286MB3193:EE_ x-ms-office365-filtering-correlation-id: 3845107f-9d31-416d-8db4-08dc57cd51ae x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JCBPiiT7yitxBrrQH5Ei8bhMexxjIcpu1lLxcdtCU0M2IUIcjqCuwEb1pB+ha01JPRJu6SafTDtMOLNVHWJk5lIq1p1yiH0Uz8ywmL9OttWa0gt3KG5gpW/7wquIBUzzwSxkTlj0WgH4cewZqKZQE0gilnsTk5akH0BoU7G4jcgIVKbCLT7M9m0bH8tKPh62CirT0XX0zfLC1pKYhC375spGmjUlTgDG2HtpdCw02LfhrLUM7mYXdHb05snJ/6cqGONWbuDEPPJHtwtpYsLTxG0zV/QQh4naOP7JMrf8MneBo43BV5M3Enyee3fuMcrfzfmZpPoALmNuQxN8jOjVxtehViORlnbmi/NzDiYrPIXVOGSOxMPI/pAxC6wgL/kISLrVDOQS3UCoc+VytWghWox46ewdDE3iOI5y8P8cazK5vRn2HE42XfREVH62MvQhKY2LyW36EMdzw3mCmntmaBvNfGI4fDaT/rgCJ4D7SjwMpHC5yiRm1dJo7hFBlDoNYQwd1keNl3ZxRf4p+o9aZYB8vjPRFrPXDQ5tfKxieOtO8cL9iYRsCgE/PAPoYseT x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?m7tdeo2xNlajBrzyAFFPNHC+JrdZNm2pMiGC69HKMn83GLFJGGdN5K4K1PNp?= =?us-ascii?Q?8tyOvJroHOwiyql5Rh7JFuoLVVOUUJsQlkHEv9sF9gUeYLKTPFoTERaOJaWt?= =?us-ascii?Q?ObNv/dvgdIunPnPbXMnirDDVjENu/gVOgik91pO83G+OYF3lPkeZlGdWR8am?= =?us-ascii?Q?RzDSwlqcKgm3FFcaoniK3jWTwQeCE5oWJk+Ob942HsZAslAE88Xq4FWr03pC?= =?us-ascii?Q?/CUpGU8kVlE3rP/+u6eVknv7zEXLiV96nFfUNXRmdBKyP+GeGSDHzRzV0yLn?= =?us-ascii?Q?epQkQoe1eK9PBs+XK85yhIHnQ5y0ZBDv235PM0G6Vq94OBUdEvfmqnMlmN46?= =?us-ascii?Q?gk0x70GqSUH+tDo7Ae3OUDmQBmmO79JWDF8IlEPRTbmaTAa2SC2muc9Rw7US?= =?us-ascii?Q?7iC8xLyh/uK8jdQHKVNy05FPIUj7AVXIx8xSX5OCCu7eVZaRTXe91mz2uIYA?= =?us-ascii?Q?4QBjjWgTuuo08may/hGrmhDb7tKuoRKPupZVQPByNUBcg/A2XLHfgISME342?= =?us-ascii?Q?dmlgeDSUJl6qOtioa73jvXfyPteXuoXAH2ezZnbNgSf5TtXQCcLnvmTCopKf?= =?us-ascii?Q?E15xwPWOXhkmtwyv5nhyzSWt1z4deYcngSjG+EIh4ZX77NR+KNaHZ0RqWiEI?= =?us-ascii?Q?afGLJt9IV8M55gr/A2A3YbKSvafIrbS2wcoff1ENSLnWIRYIeTpPHsSogPl7?= =?us-ascii?Q?vFYQO/mTSFXUpqF9/GDea/GjwVdoARYANH7gft6bwuV69M10vGiWueIN36Kw?= =?us-ascii?Q?Sal4U3hdCUENZo2E4QPb6d+0jhWEiPKnvIDddyVIpgU/HNA1RmxOnY65eOH9?= =?us-ascii?Q?EUxcSHxK824+D4zHoqQQ2qCJrwopZ6ccr7OGdGfyqK1/ZEMvDG1dBxrALeGJ?= =?us-ascii?Q?N/Uex571iNuLaGhxmFVe8pYPJZ+TLWL7/Iv1455dwlHhekPZ0h1wgttXgom1?= =?us-ascii?Q?bywcjAh2pVNx/m918zQHob9vtX1xR4sLo/WlTDQPw7zhZwnDiRKKfKisJ71A?= =?us-ascii?Q?PnPMrt1XtClvlbRTq/47t+lmMlODT0YiRvng7OsGQ6tHG8YdFuaXrEphBA9f?= =?us-ascii?Q?/Qt4KZl1O/Nath2mRF1Ww529SOm4ytdDKZ3EGH07xcU7NG+/bq+kOSjoeOZr?= =?us-ascii?Q?8Wno9+cytPh1yFOA0YLE+OeDYfcP4KmEsFnK7g36rRmgGDVUnbSHorFcrKmH?= =?us-ascii?Q?0GI0Vobkp/jk+7EYiK0HsYSCZJ9L/+5CygdOiEFISXisiuwlT+ogC6fT9bRr?= =?us-ascii?Q?2B+jd/VJcUs9lxMsgmMs?= Content-Type: text/plain; charset="us-ascii" Content-ID: <453FCBB187EBEE40897F9210E4435A5F@sct-15-20-4755-11-msonline-outlook-05f45.templateTenant> Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3845107f-9d31-416d-8db4-08dc57cd51ae X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2024 13:10:52.9475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB3193 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.91 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.906]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim]; FREEMAIL_ENVFROM(0.00)[outlook.com]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[outlook.com]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+] X-Rspamd-Queue-Id: 4VCqGW0B17z4pFR Hello everyone, I have just got a new laptop (HP 14-dq0052dx) and trying to install FB 14= .0. But after booting into installation media. I got=20 acpi_ec0: EcCommand: no response to 0x84 acpi_ec0: EcCommand: no response to 0x84 acpi_ec0: GPE query failed: AE_NO_HARDWARE_RESPONSE repeatedly. After successful installed the system. I still get this problem= frequently and when I bootstrap pkg, the kernel will panic because of page= fault in kernel (Seems dereferenced a null pointer). How can I solve this? Thanks, Daniel From nobody Mon Apr 8 15:08:31 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VCstN448cz5HB7f for ; Mon, 8 Apr 2024 15:08:44 +0000 (UTC) (envelope-from cscgrange@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VCstM552Rz48KZ for ; Mon, 8 Apr 2024 15:08:43 +0000 (UTC) (envelope-from cscgrange@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=EOTCpg+y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of cscgrange@gmail.com designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=cscgrange@gmail.com Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-4346e50ef62so16892591cf.1 for ; Mon, 08 Apr 2024 08:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712588923; x=1713193723; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sAiYhXUK2HWz7Pv5wRJ1Uq3WEfA06ICXX98BpDYlpBc=; b=EOTCpg+yJ82mzNhlOQCbxQHWVeXa6CeG4Jt6uLNDMF5H89BrqO1Y+c9UQ5ywNwpa06 mhveRSwauilR2dvoGTKt8u+4JMPgHh3NFOWI9oWh5jdYiwIcqtZhmGD10fb9GIm7ilM+ gIgLKhKztwe+Mw2QRBltyConaBTp11LrXEMgTQzhR1Ig1JIGfjeBSeGtPScOrcXlrGWd IO000t1U7/YXy2YTXhzGPSRuIZ+WVl9cJ+5xImZD+QV/aOd8wHlKE32lmRHkyxdikCT2 ZgquE9nPsq8rvcuOBh9uhYWjcbXgPduWXT7j+3lwC7srWA5qh9MEsdRjGBt52x6fa5BU rubQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712588923; x=1713193723; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sAiYhXUK2HWz7Pv5wRJ1Uq3WEfA06ICXX98BpDYlpBc=; b=ExasIeoN5TFKDlxu4EjozEKV3asSKTcCXdH9eMvm7/xc0SDeewbVwoeA35elbiNAPn VrMxGHGGUXdG25HxT9Z/Q1hHGpppPzin/0op00lObwmaI/3Cbx7DHf6NDlBiOE6mA4Yb 9XRXpBovou2Z8jGJPSlL4J2PzDLbd3UR0qvK1RFbGkBhEDzTsY4+NWvyj8T+I25ZyWTA lHSHSEiD+NctdbJGRtQsBZF4VXOTsHWTDrG6eIZu+yyePvMzekgMKkUmhJkn4fXWjaiC p90xczng9BDsaRsXomlsnLy/n6HjYDM0yu1wLMO4weYKFqrSiktszF1Pyb6DxC39/5V/ 5qrQ== X-Forwarded-Encrypted: i=1; AJvYcCUZsT+fV8WN+y4F0rb7i1WKhEpf+5eAY7xCDMaU3XpaZoA5Sn6qhx8rDsx3wVKz1HCgg5yBTSnDnyp7QizfC2OyyclHlzU= X-Gm-Message-State: AOJu0Yyhh2BwsK78YlGgNBFF8FNmdPOndhNZzIG5EmqhxsKNqC2joZWv rasIdQdhx8aBlHOFBVvRM898b17lDPajya3own3x8Cbt2V7JGi+TZRfcJNlF2dEmSAJkRKT0bhU I7Gisv6AerzxJ7qE5f6j/dsCSTlg= X-Google-Smtp-Source: AGHT+IGY8zFfF1YlIHdsbZGIm0K7btiCzJcSqVGJktmZmxVr6hmGRF5MBFCAQsc2KUEx4J0Mo2S/CnfpjfbMPvnXBr4= X-Received: by 2002:ac8:5851:0:b0:434:6b70:4a1e with SMTP id h17-20020ac85851000000b004346b704a1emr11197728qth.6.1712588922943; Mon, 08 Apr 2024 08:08:42 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: CSC Grange Date: Mon, 8 Apr 2024 11:08:31 -0400 Message-ID: Subject: Re: No package for net/relayd To: Souji Thenria Cc: TIM KELLERS , questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000006614e60615972e08" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.84 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.84)[-0.841]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::831:from]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4VCstM552Rz48KZ --0000000000006614e60615972e08 Content-Type: text/plain; charset="UTF-8" On Fri, Apr 5, 2024 at 3:42 PM Souji Thenria wrote: > On Fri Apr 5, 2024 at 4:13 PM BST, TIM KELLERS wrote: > > On 4/5/24 9:37 AM, Souji Thenria wrote: > > > Hello, > > > > > > I wanted to use net/relayd to relay IPv4 UDP traffic to another IPv6 > > > address. However, it seems like the port is unavailable as a package > for > > > most architectures [1] because it fails to build. > > > > > > I cannot see why it's failing to build. Can anyone confirm that the > > > build generally works before I try to build it from source? (Because > I'm > > > on a VPS with limited resources, and building it might take a lot of > > > time.) > > > > > > [1] https://www.freshports.org/net/relayd/ > > > > > > Regards, > > > Souji > > > > > On arm64: > > > > root@cloudlocal:/usr/ports/net/relayd # uname -a > > FreeBSD cloudlocal.us 13.3-STABLE FreeBSD 13.3-STABLE > > stable/13-n257625-b5e7969b239f MAR27 arm64 > > > > With make clean && make config && make depends && make > MAKE_JOBS_UNSAFE=yes > > > > ld: error: version script assignment of 'global' to symbol 'login_tty' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'logout' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'logwtmp' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_bitstring' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_boolean' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_enumerated' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_eoc' failed: symbol not defined > > ld: error: too many errors emitted, stopping now (use --error-limit=0 to > > see all errors) > > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > > *** Error code 1 > > > > Stop. > > make[2]: stopped in > > /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil > > *** Error code 1 > > > > Stop. > > make[1]: stopped in > /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5 > > > > *** Error code 1 > > > > On amd64: > > > > FreeBSD beachpatt.com 13.3-STABLE FreeBSD 13.3-STABLE > > stable/13-n257519-f7a47daa384e FEB22 amd64 > > > > /relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil/Symbols.map > > ld: error: version script assignment of 'global' to symbol > > 'bcrypt_pbkdf' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'fdforkpty' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'fdopenpty' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'fmt_scaled' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'forkpty' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'fparseln' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'getmaxpartitions' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'getptmfd' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'getrawpartition' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'isduid' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'login' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'login_check_expire' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'login_fbtab' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'login_tty' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'logout' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol 'logwtmp' > > failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_bitstring' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_boolean' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_enumerated' failed: symbol not defined > > ld: error: version script assignment of 'global' to symbol > > 'ober_add_eoc' failed: symbol not defined > > ld: error: too many errors emitted, stopping now (use --error-limit=0 to > > see all errors) > > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > > *** Error code 1 > > > > Stop. > > make[2]: stopped in > > /mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil > > *** Error code 1 > > > > Stop. > > make[1]: stopped in > /mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib > > *** Error code 1 > > > > > > Both instances have ports all updated, but it breaks on both. > > > > > > Tim > > Hey Tim, > > Thank you very much! > In that case, I'll look into alternatives. > > Regards, > Souji > > --0000000000006614e60615972e08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Apr 5, 2024 at 3:42 PM Souji Thenria <mail@souji-thenria.net> wrote:
On Fri Apr 5, 2024 at 4:13 PM BST, TIM K= ELLERS wrote:
> On 4/5/24 9:37 AM, Souji Thenria wrote:
> > Hello,
> >
> > I wanted to use net/relayd to relay IPv4 UDP traffic to another I= Pv6
> > address. However, it seems like the port is unavailable as a pack= age for
> > most architectures [1] because it fails to build.
> >
> > I cannot see why it's failing to build. Can anyone confirm th= at the
> > build generally works before I try to build it from source? (Beca= use I'm
> > on a VPS with limited resources, and building it might take a lot= of
> > time.)
> >
> > [1] https://www.freshports.org/net/relayd/
> >
> > Regards,
> > Souji
> >
> On arm64:
>
> root@cloudlocal:/usr/ports/net/relayd # uname -a
> FreeBSD cloudlocal.us 13.3-STABLE FreeBSD 13.3-STABLE
> stable/13-n257625-b5e7969b239f MAR27 arm64
>
> With make clean && make config && make depends &&a= mp; make MAKE_JOBS_UNSAFE=3Dyes
>
> ld: error: version script assignment of 'global' to symbol = 9;login_tty'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;logout'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;logwtmp'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_bitstring' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_boolean' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_enumerated' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_eoc' failed: symbol not defined
> ld: error: too many errors emitted, stopping now (use --error-limit=3D= 0 to
> see all errors)
> cc: error: linker command failed with exit code 1 (use -v to see invoc= ation)
> *** Error code 1
>
> Stop.
> make[2]: stopped in
> /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p= 5/lib
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5 >
> *** Error code 1
>
> On amd64:
>
> FreeBSD beachpatt.com 13.3-STABLE FreeBSD 13.3-STABLE
> stable/13-n257519-f7a47daa384e FEB22 amd64
>
> /relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil/Symbols.map
> ld: error: version script assignment of 'global' to symbol > 'bcrypt_pbkdf' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;fdforkpty'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;fdopenpty'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;fmt_scaled'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;forkpty'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;fparseln'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'getmaxpartitions' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;getptmfd'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'getrawpartition' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;isduid'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;login'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'login_check_expire' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;login_fbtab'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;login_tty'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;logout'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol = 9;logwtmp'
> failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_bitstring' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_boolean' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_enumerated' failed: symbol not defined
> ld: error: version script assignment of 'global' to symbol > 'ober_add_eoc' failed: symbol not defined
> ld: error: too many errors emitted, stopping now (use --error-limit=3D= 0 to
> see all errors)
> cc: error: linker command failed with exit code 1 (use -v to see invoc= ation)
> *** Error code 1
>
> Stop.
> make[2]: stopped in
> /mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil
> *** Error code 1
>
> Stop.
> make[1]: stopped in /mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p= 5/lib
> *** Error code 1
>
>
> Both instances have ports all updated, but it breaks on both.
>
>
> Tim

Hey Tim,

Thank you very much!
In that case, I'll look into alternatives.

Regards,
Souji

--0000000000006614e60615972e08-- From nobody Mon Apr 8 20:49:03 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VD1Rr2QjDz5FmGL; Mon, 8 Apr 2024 20:49:44 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD1Rq0b2pz4DMy; Mon, 8 Apr 2024 20:49:43 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=iI8VKm5F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::529 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-5e4f79007ffso3334503a12.2; Mon, 08 Apr 2024 13:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712609380; x=1713214180; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=N817xL8L7824fxQfequheM+xKXT1IqIyZ1lWhSVTADk=; b=iI8VKm5FKH3PzvmUMZJcA9XB+VNWzlqRxE4qyUds4dA12YRnS2RAu7HG22xFfEZ2BO 2RD0RdQeYd4wlF4p8HtKvs15XrScMQtpzojbKj9ENv3X1ZDst8SE3WfzxJG8ZTS/n8Uk dfOZeyz5LTx8ceZqAUkShUOKlDHYL7O8xqTUH/qu6yNPKRphg61dZx/ebx1DiEmYc6fN hty1moG9YrEn+1KQpk/hGAbDoyrY4Yf02FexBuzCnL4v5Ax8I82BCSMGUhWHLgNsYCVc Cx2E6U2987kpmri5Um40ZR//TH76RPrtNyI1H5vY6VpIqQ+MnwAheOSSStFhqJUVGL9h bbaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712609380; x=1713214180; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=N817xL8L7824fxQfequheM+xKXT1IqIyZ1lWhSVTADk=; b=QwhZrArNJvfVSSJz1oCK5KBthAyF5wcZGnhY1R2ifDwK7V1NzcQD4jgemLFE6Xa3RH PgrH02t/3n71f8GpvD4lHBoMv4ynOwL61E6rSlE4RJE8UzVuKtG57pE7LI83Nk+lLA2p Uko6xDfQnXe7nMSapQapzFZiLzReViti5Kj5CtsjN1AXrNcPPQOCWfJX5y2mJxb0XpmK vjNhWAxrcdkiiE8QqCaxpo984InNY62Vl7ja6JvG2uYnW6ADd8+i92EhEW2o5NeR+dwN AVgSWaTPFEjW5InhwmyAfWkEj+GnIJMvGcLCw8hE4FUWk7cMU87OoSQGSxp+69LM7f3r 4NTg== X-Forwarded-Encrypted: i=1; AJvYcCWIdhzjnjJWDBlrfmyfkAFMogax/aZnxs+utO7BDfPir5ADDLG6szjOFCxO5ZtdlGWVccis1glClHV/6HpKRObvS104JPiw3fRbvdKcnQ== X-Gm-Message-State: AOJu0YxJMi+Gtg8EZ4oSyICo4ykixybvAsAcONMx4pXHaFSS0AHSPQM/ 4C0TyUPDdKz/0x5mXD5dCIrIygxy8a1fC2uY1DffkDElEFJaGeuH9NyX+NLczjM8yuNkTV6j9Ek fTJUhMRtweIgMxtXrZidIuiltsojFqDB1MRFc/F8I X-Google-Smtp-Source: AGHT+IFjudKGT9XI4iw49Xj7k5tlR/gmb1ayPxAL1sZppPsZXkhiEUPQntUChowUzICBmWE+ic42a1horAOlHN74BmY= X-Received: by 2002:a17:90b:33d2:b0:2a5:2870:6d with SMTP id lk18-20020a17090b33d200b002a52870006dmr3080029pjb.48.1712609380477; Mon, 08 Apr 2024 13:49:40 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Mon, 8 Apr 2024 22:49:03 +0200 Message-ID: Subject: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. To: freebsd-hackers , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000c3335206159bf1a0" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::529:from]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-questions@freebsd.org]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4VD1Rq0b2pz4DMy --000000000000c3335206159bf1a0 Content-Type: text/plain; charset="UTF-8" Hello. surfing the net I found this : https://github.com/fail0verflow/ps4-kexec It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD version. But I'm intrigued by the idea to update the code and make it work for a recent version of FreeBSD. It would be cool to "boot a Linux kernel directly from FreeBSD"...Any consideration ? -- Mario. --000000000000c3335206159bf1a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

surfing the net I fou= nd this :


<= /div>
It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD = version. But I'm intrigued by the idea to update the code and make it w= ork for a recent version of FreeBSD. It would be cool to "boot a Linux= kernel directly from FreeBSD"...Any consideration ?
--
Mario.
--000000000000c3335206159bf1a0-- From nobody Mon Apr 8 22:24:57 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VD3Yn3pVZz5FxSv for ; Mon, 8 Apr 2024 22:25:01 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD3Ym2MzRz4QCM for ; Mon, 8 Apr 2024 22:25:00 +0000 (UTC) (envelope-from infoomatic@gmx.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.at header.s=s31663417 header.b=NHnBeg7e; dmarc=pass (policy=quarantine) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.20 as permitted sender) smtp.mailfrom=infoomatic@gmx.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1712615098; x=1713219898; i=infoomatic@gmx.at; bh=XJksqZOz5zKRULPIi6TM8+WTggb0inCPZrrdtb2TN30=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=NHnBeg7e+WIFf/lAAsDzaDcinrb3AQ23umt9JeDPL1Zbs/Q4dARf3MxCUtOBv5ZS 1aJSNmp4ykT3GCS1Q1P0fljFqGrFfQRat/ZqTqIBItZTlhfqAbc4fgO8t3L1vYdIJ pws1PkKMv0vceXMMrNxZwsXNMJ1tIG8jZBMS5BzxOyxE24C5AWJ4dk6M8TK3HPk9t SuTtP8mofEpEjlZ5TVz9G4lxunOx/ZgYH464YaFSawSgxdy0EljxljnZchFeWJAGI UqG4IGc6Cs3dG5duAZ7ATgOR8y1l+mace4w7q6+ubXGebUCnhkIwU5rVr+uilBMk4 SbGCLYwgysMAlUQ3+g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.0.1.209] ([178.114.191.212]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N2Dx8-1svDqG1dcc-013dhv for ; Tue, 09 Apr 2024 00:24:58 +0200 Message-ID: Date: Tue, 9 Apr 2024 00:24:57 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. To: questions@freebsd.org References: Content-Language: en-US From: infoomatic In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:3aqAtP8OxD8ILF4flFoHLJsagAnVyZNLh7zCgHS66x9ggU9xjef 6EyImZL83n9HA0NBkQG2H+hRzKp+6FbD57lHZYOUN/Z8pgNbAD8LzPVYl1lCCav6v7+bciX H7VxxofBw2sVQg8rqKcnlFGOnwlGec7f334Jl8CGsc9tFWbASQQUTaWhLwOjVJgX5rHf8Ln ZLj78SM35+XqvF4DzJ/OA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:SeHN23fSGSs=;k9dygOROVrxnXVkaxo95B70ud7y dDoovnrdhnBPdinq8JU41bH7vYQNEIe74Mf4YT5Ws4TJ6dA5bMGUSyQwYkL65QkLyo3aNOXWQ CSnMHYda3hwQI8Bd7MzqaLDw65J+EdIAdQNBJ07ovhb4nagsHCkYB/ZHykk0+bX0resBYZiUe YO7jJSokDfIQgZyR09/5NorjlYep4LhyqfKf2QaicJQPNCVOB0ye345gaQPfjsR2YSMSEc8Zd aw4o/mYFkJfEZ11/AyDjRQ+O0hfhWRU1/90c93Hb7IyOrsD1W5kE3acrhnR+44khFec5hqVCm bc7BnlxVd2YKQnzIrW93PZtwm4OTdXsST+K0gqYxI+CWE1O3aeG0vB4s2UwjtIhtsUqanXVBZ Z2k62aNG+f4TdPQAfyXzqOy9LXGCj1/LiL6v0PtysBtVlBFYVgPXFuLzkYGmJXJBGlihoUX7H a0HEAUEnhJoCmluzekXmpchXErTliOZb9HygdwImhk43AaZ3w+aJR94o4mFx1oF+6ulaguWbU 0JRASWgTEtESOZoz1Sbkdqxqgi96f1zucykx9XGQjaorr7uCRCVjZPUeYOIhA8Nlv26/aNO8a 4ZhSuxvkSoNYcM3HC/pu6nghg+AP8w1qByUVpyZmK1Cv1pldMJr3TcrlnsUDHt/4SMkYwTjmn Iwz31818O1pMYTK+7x0EL6YwQDygPmUpa4C1ukDp3JrlMYaLOwytowQuA1QhH3kGpPBQYqcm1 MoGbZb7jY2eHfupSRktBYulVIU6Z+MNP68i3yY59aWf4/LwdXc82L4CSvYSYsICvrnUmhZxWR 7Yk3ll+yFFbviOFAN3F3JGq82HhH/q0Z+98c+OH2OFukk= X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.37 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,quarantine]; NEURAL_HAM_SHORT(-0.28)[-0.284]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; R_DKIM_ALLOW(-0.20)[gmx.at:s=s31663417]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.17.20:from]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.at:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.at] X-Rspamd-Queue-Id: 4VD3Ym2MzRz4QCM On 08.04.24 22:49, Mario Marietto wrote: > It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD > version. But I'm intrigued by the idea to update the code and make it > work for a recent version of FreeBSD. It would be cool to "boot a Linux > kernel directly from FreeBSD"...Any consideration ? The great thing about open source is that everyone can do what she or he likes. However, I do believe that you will not find more than 10 users for your software. If you already have the knowledge to do kernel programming or if you want a project to gain deeper knowledge and hands-on practice I suggest you contribute to the bhyve hypervisor - your work there would surely be highly appreciated and many more users would profit from your work. Regards, Robert From nobody Mon Apr 8 23:19:41 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VD4nb3TdCz5G314 for ; Mon, 8 Apr 2024 23:20:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD4nb2zH8z4VWZ for ; Mon, 8 Apr 2024 23:20:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-2a2d0ca3c92so3263562a91.0 for ; Mon, 08 Apr 2024 16:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712618418; x=1713223218; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QmFm/qNSpD++vri2vSsLkX0vnq4+HjeAWjRqsXfciBk=; b=Vkj8IfQn7zjoK62fK/568qFjoXpHyI/W5aGjf4rHEI+eJDM7APk7IUf6BeQKZNrH0Q WgjXo0BZZGJcO3qj6gQ492iQ/tXn/xdqr6OXFwvjOpHubs9eNvCPCVklK7+fidnzKVI2 zF8anNXe2vjDb9Qz70Q0AlNyz2LYlNkPZevgnzxI/I04ULTkhTmdZ8SuYdldHuK5rDLS 9FrM1NujRO0mFbwJIzWX6e1n4G46dUfhuYgBzDcok6i9Cq3qEDjyVICs3MsqOTOzDZby 3Xin/mtPR3Rg34yKkQWqQ1u5uLLf9mWCtCSWHTtjazoG1lWe6sblI6leWrsodq5Id+8U n9gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712618418; x=1713223218; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QmFm/qNSpD++vri2vSsLkX0vnq4+HjeAWjRqsXfciBk=; b=JV6qqJjCq1iWcoj+fVeEAuaRDz16mLOqnIjIG9spMpMobEori+yNH3IEtUhzJ9OUwh BKkfks0G6Y+YlsyYKh/kNULM0MKaNKZkLM6QDd4I/Dg6lXcMS8BE5TzbzVdtRGllr5Gk mt6A8Ugt2gVKBXK3UaONpSYzrqxMXiVQTTdKU99mLc4WzSUnh8xf7bQBmyBmvqr8qNiL gZReQudxuY9h2vunXXLA9+WE/sxzIrbCsCfHbova0mE0pwuzqX7MvTV6r5zlDJdUYn/N /w249Fwk1scbFWTvO4hKttLQtS2IX7n9j+YiLycv/U2IOHB1vvFM3tAN5eg/OAGfvIn+ qRIA== X-Gm-Message-State: AOJu0YzTmlPAmcXCMr+q9W24/Z6vYEfhjq1WvvhY9ARPha0uiaiaTOYi /RdlI8avUoBNZPxMIpMNgCmstmgGr0r41gJmo43eai1aDRM9HM48OWVKMO+DZXZVX5tsv6Dox4A zTiwjOkSPZcSqORjvuKbncuGDg34TjRv1QCgjzQ== X-Google-Smtp-Source: AGHT+IEOWW0oFUDE03tIgnLnnLbwe7ekLRkPt5uw+qRaM6Uaa7CUMQocU2lFGwH9j2FOfQn01cTm3x/6mkhKmXPlxzw= X-Received: by 2002:a17:90a:1fc8:b0:2a0:78f4:2dc5 with SMTP id z8-20020a17090a1fc800b002a078f42dc5mr1374695pjz.22.1712618418125; Mon, 08 Apr 2024 16:20:18 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Tue, 9 Apr 2024 01:19:41 +0200 Message-ID: Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. To: infoomatic Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000072c2b406159e0cb6" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VD4nb2zH8z4VWZ --00000000000072c2b406159e0cb6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. Yeah,thanks. I'm already working on an alternative for vm-bhvye. I know that what I have proposed requires a deep knowledge and I don't have it. To dream is the only thing I can do and I wanna do. I'm also interested to understand if it is feasible,how hard it is,if it makes sense or not,something like this. On Tue, Apr 9, 2024 at 12:25=E2=80=AFAM infoomatic wrot= e: > > On 08.04.24 22:49, Mario Marietto wrote: > > > It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD > > version. But I'm intrigued by the idea to update the code and make it > > work for a recent version of FreeBSD. It would be cool to "boot a Linux > > kernel directly from FreeBSD"...Any consideration ? > > The great thing about open source is that everyone can do what she or he > likes. However, I do believe that you will not find more than 10 users > for your software. > > If you already have the knowledge to do kernel programming or if you > want a project to gain deeper knowledge and hands-on practice I suggest > you contribute to the bhyve hypervisor - your work there would surely be > highly appreciated and many more users would profit from your work. > > Regards, > Robert > > --=20 Mario. --00000000000072c2b406159e0cb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

Yeah,thanks. I'm = already working on an alternative for vm-bhvye. I know that what I have pro= posed requires a deep knowledge and I don't have it. To dream is the on= ly thing I can do and I wanna do. I'm also interested to understand if = it is feasible,how hard it is,if it makes sense or not,something like this.=

On Tue, Apr 9, 2024 at 12:25=E2=80=AFAM infoomatic <infoomatic@gmx.at> wrote:

On 08.04.24 22:49, Mario Marietto wrote:

> It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD
> version. But I'm intrigued by the idea to update the code and make= it
> work for a recent version of FreeBSD. It would be cool to "boot a= Linux
> kernel directly from FreeBSD"...Any consideration ?

The great thing about open source is that everyone can do what she or he likes. However, I do believe that you will not find more than 10 users
for your software.

If you already have the knowledge to do kernel programming or if you
want a project to gain deeper knowledge and hands-on practice I suggest
you contribute to the bhyve hypervisor - your work there would surely be highly appreciated and many more users would profit from your work.

Regards,
Robert



--
Mario.
--00000000000072c2b406159e0cb6-- From nobody Tue Apr 9 00:54:40 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VD6td1yDsz5GCMJ; Tue, 9 Apr 2024 00:54:49 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD6td1P1zz4gvk; Tue, 9 Apr 2024 00:54:49 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712624089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g8Z8cGkDAFLSfzeW/RqqFkALOclZQFPeAuBHnXu7Zu4=; b=q3QiwVo3ukwIgZ2KFZtTAz6TdumdZNVhaTeMW9GwL9594nb7MkUtAqhRjOFP96EptQtkmZ I3GUTJIKSzO82Vy6g/O/R3mjSNYXtvSXjFJbKq/O6p/5pB18Vm99xcyutW2HD1SnWYrbkb j5lpkUXGDWTPT1sCpZn+5gWMla3c8/Vyn1YDJ5R7c+1qncJNyjHlrketKoP+AvaoW9t+gI v9Qaxvq/T0QDzl5dxv/fBDCp54W7/Cr8Z5rVwMBE8CUiczygPV6mcHMrja0JEHVN5mKVm5 /TeBADDnDpsIsVokXEjKyj1w3LZUn4Lh8iOFZbph84lUmnKdfwalTlz2OJjadg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712624089; a=rsa-sha256; cv=none; b=dUEgTOYaTeyOXbmdmbEp40AzLMS/UieDohmNYyt341gKM5EyMwQauHRcwlYN/NU3PWYLlt Yen4U5Bw87ysmqa31JEh8L10JzrJfI97quMjtpDpivP0xom4xQd2C/6nzWkgqm97Ax+VPS 4/S+Q6wpJQV8sStdlri5q0ZRDs4fKTAZHWi5z6EJo9t1FkGdFta9VOrfsAjRH0kyilnefO iUFXtBkHP3MxM+MYbRSzVFJ/1/ULLAL1OINLv4+Xg3uwQZeZgDvZchjqwbYiOkRk42Kv0F yqJZryoE86CEezCWcnDCrcWc/FLAbLtw9xEf9ITEGJe/1F3wNS0hSQZSg98Lhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712624089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g8Z8cGkDAFLSfzeW/RqqFkALOclZQFPeAuBHnXu7Zu4=; b=mzt4ZnI4DaMzGh41nW3IohLY/T4Tb2dGHg5zwllOSohO6+3YLZJUntA9VY7eaxWFv8qjzN h0yXnjIU1HT75fdjZDGoEbCRYXejMjOCeGapwbjCU4BGH5prYCMgN1BG5hUtLDNx5xjgV7 Rx3OT07ScuUiOduJ1tf5jTm2NPnwU8RpgkLrykWRSKpVfh6DzPFxfgxFACZUqUKGZv3ZkN PPqVGGHIlLZEfeHCHxZGjVRIN/wsi8x1bW0DbBHmKveqNBO44cNvxVIRuNEFhTm7K6v19r xluiFWDZgCsIsLsIgzFBj/vo2ggkK7h9+3poo3y3Y0BBoLJsvlA19fEx7VPaXg== Received: from smtpclient.apple (unknown [IPv6:2001:19f0:6001:9db:98f0:9fe0:3545:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VD6tc07r2zdTp; Tue, 9 Apr 2024 00:54:47 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <2C59E3CF-CF00-4E36-9DAC-5DA01C9B0B23@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_604444C5-54B2-4B5A-8185-634D5E1AF1A5" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. Date: Tue, 9 Apr 2024 08:54:40 +0800 In-Reply-To: Cc: freebsd-hackers , FreeBSD Mailing List To: Mario Marietto References: X-Mailer: Apple Mail (2.3696.120.41.1.8) --Apple-Mail=_604444C5-54B2-4B5A-8185-634D5E1AF1A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Apr 9, 2024, at 4:49 AM, Mario Marietto = wrote: >=20 > Hello. >=20 > surfing the net I found this : >=20 > https://github.com/fail0verflow/ps4-kexec = >=20 > It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD = version. But I'm intrigued by the idea to update the code and make it = work for a recent version of FreeBSD. It would be cool to "boot a Linux = kernel directly from FreeBSD"...Any consideration ? Personally I do not care "boot a Linux kernel directly from FreeBSD". = I'm interested in "boot new FreeBSD kernel directly from FreeBSD". >=20 > --=20 > Mario. Best regards, Zhenlei --Apple-Mail=_604444C5-54B2-4B5A-8185-634D5E1AF1A5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Apr 9, 2024, at 4:49 AM, Mario Marietto <marietto2008@gmail.com> wrote:

Hello.

surfing the net I found this = :


It was built for Orbis = (based on FreeBSD 9) ; a very old FreeBSD version. But I'm intrigued by = the idea to update the code and make it work for a recent version of = FreeBSD. It would be cool to "boot a Linux kernel directly from = FreeBSD"...Any consideration ?

Personally I do not care "boot a Linux kernel = directly from FreeBSD". I'm interested in "boot new FreeBSD kernel = directly from FreeBSD".

--
Mario.

Best regards,
Zhenlei

= --Apple-Mail=_604444C5-54B2-4B5A-8185-634D5E1AF1A5-- From nobody Tue Apr 9 05:47:21 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDFNH3Y5bz5GhTQ for ; Tue, 9 Apr 2024 05:47:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDFNG3myJz46Xb for ; Tue, 9 Apr 2024 05:47:26 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.2/8.17.2) with ESMTPSA id 4395lL3b070759 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 9 Apr 2024 07:47:22 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: <9e29082b-9c77-4c16-8564-f9c113bea0ee@netfence.it> Date: Tue, 9 Apr 2024 07:47:21 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 13.3 troubles under load Content-Language: en-US To: "Edward Sanford Sutton, III" , freebsd-questions@freebsd.org References: <1ca17a7a-025d-4403-a7f3-2892408ad628@netfence.it> From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.905]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4VDFNG3myJz46Xb On 4/2/24 09:56, Edward Sanford Sutton, III wrote: > Look for kernel in arc_prune using a lot of CPU; launch top and press SH > to display system processes and threads. If it is the issue, consider > reverting back to 13.2, upgrading to 14, or testing patches from > applying relevant patches for 13.3 as mentioned in > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275594 Hello. I can confirm arc_prune seems to be the problem. However, after reading that bug reports, the related ones and the forum threads they link to, I'm a bit lost as to how exactly I should treat 13.3. Should I apply the attached patch? Should I cherry-pick come specific commit in git? bye & Thanks av. From nobody Tue Apr 9 06:44:01 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDGdt0bwtz5GnlJ for ; Tue, 9 Apr 2024 06:44:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDGds55ssz4FHp for ; Tue, 9 Apr 2024 06:44:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-56e48d0a632so4199025a12.2 for ; Mon, 08 Apr 2024 23:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1712645054; x=1713249854; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K1pTS/tjh8ynp64oDkRSVO7Du6b7EljDPxyg1yGBvmI=; b=WslxXDEEbxG79PzxMHo1z1/eyZuZGyA2AKmrG5xVw65J/y+0TOuU6ramKaR8UgWhYE ZxIMdSpakFuMNeGxqtraopA8cvp5PNB5wDhMowVZ/7lg8Soa6KdLryh3duGVyAG61fYv 9r1qbKXg+NUCmaxkLdN3ZKXOkW+ZEw6Dl2hODGPn+BQhDHYRJW1/CBJ4IhXe5+/THgD9 +sGXuM4B048o1qjDE6HIqjD/rC4lk/hOTlduUTF6eIW3+a/psHgL+3t8j3xBAGbDmAlL QKdDbDiQQYB8F1J4N9/3btmDfj/Pn6+nJmSUZWyePYwkElIJCcWQm76SSpJ5zfPEXbph arJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712645054; x=1713249854; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K1pTS/tjh8ynp64oDkRSVO7Du6b7EljDPxyg1yGBvmI=; b=pbx+A5o9ITaG7d4+AMhcrbCQItwhfVkiR/u4Mtq2rARknEqY8l50CGeiNLCmjZcs7L uo/udeod0kLrqv16lIopaxxulX67KwQEBUH3fAX5zFxR44ta0AvZ9bNRincSwWrB2/8O ryzm0l5jq6aHlMz5LxTOUU2sKAaIZppbJrVBX2NNWjl03hRGnDHpDrfdCmpMF0bc2OO4 /xcnGDvfqxnZKMe/7FiAsSIjYfp/B1g7TKsQAvPsK+89h9gptD4pvK2aIpHmL6IRlsCZ ULBAmfCoaoiGJ2yrbOoRm/Ec4JgfL7YckTjC2w/h1tTJqb80EGFq/VQWFelF+4Pw5K9c f2rQ== X-Forwarded-Encrypted: i=1; AJvYcCWLeTjdKbEJ3eJsQK+1MbDLWf3GyJgRXkIQ0LfmsimlK+NedrZWzy0TG8o1jc9KRteHdhHHu7f06F2xkhZOfjOpEmKAk0YEU4UBh/wB9A== X-Gm-Message-State: AOJu0Yx8HGYPW/UYBldk87JlqAYYsnDJyJGzKW1H05PLKBybV/ptRcdo zjU/DVKIiXcs/MWBSuScSNqyFqMTAMtz6oHyacw2ceiZiVC8+nttCUy51VOvLAG9GvtulGiuyw3 31yzWTBRpRZJOwj8xIO4hvPs0SqHibv3RrXLMZg== X-Google-Smtp-Source: AGHT+IHHDUFl/K1HetE0mzW5kri5N8xbsBqCNkTmJJeTt7YrfyYuarzo+UbXqGSA1CiRu+WPaYURY+GetPMaUocML/g= X-Received: by 2002:a17:907:1b17:b0:a51:da26:9062 with SMTP id mp23-20020a1709071b1700b00a51da269062mr3922756ejc.36.1712645053504; Mon, 08 Apr 2024 23:44:13 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <2C59E3CF-CF00-4E36-9DAC-5DA01C9B0B23@FreeBSD.org> In-Reply-To: <2C59E3CF-CF00-4E36-9DAC-5DA01C9B0B23@FreeBSD.org> From: Warner Losh Date: Tue, 9 Apr 2024 00:44:01 -0600 Message-ID: Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. To: Zhenlei Huang Cc: Mario Marietto , freebsd-hackers , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="0000000000000a78850615a44093" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VDGds55ssz4FHp --0000000000000a78850615a44093 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 8, 2024, 6:55=E2=80=AFPM Zhenlei Huang wrote= : > > > On Apr 9, 2024, at 4:49 AM, Mario Marietto wrote= : > > Hello. > > surfing the net I found this : > > https://github.com/fail0verflow/ps4-kexec > > It was built for Orbis (based on FreeBSD 9) ; a very old FreeBSD version. > But I'm intrigued by the idea to update the code and make it work for a > recent version of FreeBSD. It would be cool to "boot a Linux kernel > directly from FreeBSD"...Any consideration ? > > > Personally I do not care "boot a Linux kernel directly from FreeBSD". I'm > interested in "boot new FreeBSD kernel directly from FreeBSD" > Aarch64 is in and working in current. Amd64 is about 80% done. But you could also boot FreeBSD from FreeBSD with this... Warner > > -- > Mario. > > > Best regards, > Zhenlei > > --0000000000000a78850615a44093 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Apr 8, 2024, 6:55=E2=80=AFPM Zhenlei Huang <= ;zlei@freebsd.org> wrote:


On Apr = 9, 2024, at 4:49 AM, Mario Marietto <marietto2008@gmail.com> = wrote:

Hello.

= surfing the net I found this :


It was = built for Orbis (based on FreeBSD 9) ; a very old FreeBSD version. But I= 9;m intrigued by the idea to update the code and make it work for a recent = version of FreeBSD. It would be cool to "boot a Linux kernel directly = from FreeBSD"...Any consideration ?
=

Personally I do not care "boot a Linux kernel dire= ctly from FreeBSD". I'm interested in "boot new FreeBSD kerne= l directly from FreeBSD"

Aarch64 is in and working in cur= rent.=C2=A0 =C2=A0Amd64 is about 80% done.

But you could also boot FreeBSD from FreeBSD with this..= .

Warner=C2=A0

--
Mario.

Best regards,
Zhenlei

--0000000000000a78850615a44093-- From nobody Tue Apr 9 07:06:07 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDH7G1gxbz5GqYr for ; Tue, 9 Apr 2024 07:06:18 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: from charlotte.rm-rf.it (charlotte.rm-rf.it [149.28.228.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDH7F1Qpkz4JdM for ; Tue, 9 Apr 2024 07:06:16 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gpiero@rm-rf.it designates 149.28.228.198 as permitted sender) smtp.mailfrom=gpiero@rm-rf.it Received: from valentina.fdc.rm-rf.it (valentina.fdc.rm-rf.it [192.168.192.1]) by charlotte.fdc.rm-rf.it (OpenSMTPD) with ESMTP id 334e2da0 for ; Tue, 9 Apr 2024 09:06:09 +0200 (CEST) Received: from marcopolo.fdc.rm-rf.it (marcopolo.fdc.rm-rf.it [192.168.192.51]) by valentina.fdc.rm-rf.it (Postfix) with ESMTP id 458DD1F7C9 for ; Tue, 9 Apr 2024 09:06:08 +0200 (CEST) Received: by marcopolo.fdc.rm-rf.it (Postfix, from userid 1000) id 3B6B81C4FFF; Tue, 09 Apr 2024 09:06:07 +0200 (CEST) Date: Tue, 9 Apr 2024 09:06:07 +0200 From: Gian Piero Carrubba To: questions@freebsd.org Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. Message-ID: <6m2eoouznr5krpr5dynnjxba3s7brstng6zcbaj2fubtfqap3u@sxobicgty34s> References: <2C59E3CF-CF00-4E36-9DAC-5DA01C9B0B23@FreeBSD.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:149.28.228.198]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:20473, ipnet:149.28.224.0/20, country:US]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[rm-rf.it]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VDH7F1Qpkz4JdM * [Tue, Apr 09, 2024 at 12:44:01AM -0600] Warner Losh: >> Personally I do not care "boot a Linux kernel directly from FreeBSD". >> I'm >> interested in "boot new FreeBSD kernel directly from FreeBSD" > >Aarch64 is in and working in current. Amd64 is about 80% done. > >But you could also boot FreeBSD from FreeBSD with this... Can you point to some resources where to find more about this? The wiki page [0] is from 2012 and the repo [1] it points to is not much newer, and a generic web search does not help.... Thanks, Gian Piero. [0] https://wiki.freebsd.org/Kload [1] https://github.com/DaElf/freebsd/commits/kload-current-split-me From nobody Tue Apr 9 11:15:23 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDNfm57zfz5Glq7 for ; Tue, 9 Apr 2024 11:15:28 +0000 (UTC) (envelope-from alas.20073@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDNfl53W0z4lWN for ; Tue, 9 Apr 2024 11:15:27 +0000 (UTC) (envelope-from alas.20073@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=QUrcdrNU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alas.20073@gmail.com designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=alas.20073@gmail.com Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-343c7fae6e4so3640346f8f.1 for ; Tue, 09 Apr 2024 04:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712661326; x=1713266126; darn=freebsd.org; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Ftocq0AG9r7iLRUmfmDyoCTX/OWB1unbeV3sokYA+hM=; b=QUrcdrNUtC3FDGP5lSdInXcS3O/gmRleCHsmVwt3mwpY68Bvh099De1e8esdngXymM c7E31obkNyK7/9F6eXJyBvsTtVGV58D9ywo9kd1mJBOLJiMmbOOzbItzm+DoSAHSib+n LyqPm5Ljif62Qo1InO+bNQKqzXyb5tXQ8MuDCv3+9r69OLpbUe9RWIDVhquTRSTklEC1 G/GFNlrReT/wVGLr3DaaCA2gf800jayTeqYhRSd+/5bDkZVfdUJVz1r9mi+NF0dyXSdT vS1xP6XUpcN4skIbU96M30WqPjvO7rvzXA+A+Fuv9LKBp3KbPh5au+BiAjaNXKUPafo+ zMPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712661326; x=1713266126; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Ftocq0AG9r7iLRUmfmDyoCTX/OWB1unbeV3sokYA+hM=; b=o9rFE5pO4rMCGOyuLJCtz3yxPJKYZ/rjDLGthpoE6I9bTkH6/H8eB42qEY75mCWcot gjeulNpIWH2mPp3APSKREaODOcMMPZZLaXf3MNP6DKuPgEDuuW9xJl6acXJTsSZgs37C 3vz5C5aHucZwinwq4pNAZiPGRt9I/FiFFe5ja9RkBqyCAehNakyWqFPAo3di7J9KIyIa yDqQJvS9ENZG6wMrDvkCJ63UuRYwZvshUKX0sJ/CBoWKEqwLsuIHpQ9VLC1c3XFvz6GY 4AHu/2Z4aohNtPFJTQFOHACHnNLnrVrWPdGOqA/doxd6kQitTRzjiZo0/5BPAGIjHKe1 cpGA== X-Gm-Message-State: AOJu0Yx6HmkZvr2XZzfCPrskNIhi72e+fbWkMJp1v1YGc0OuqF92TnZH 4CrMhK/TTrK3c6L88aH794WKaO3wct7imz3QafARbtcsSKZLLwUApN+vMyfQ X-Google-Smtp-Source: AGHT+IFB2yIkxTs0nMqYg5a5CpOyUA+KPAY+JSQIzsk4XJiQoQlh71GCMzizHyT6R9jXznmm1VFIGA== X-Received: by 2002:adf:a486:0:b0:33e:bfd0:41f9 with SMTP id g6-20020adfa486000000b0033ebfd041f9mr7695560wrb.31.1712661325710; Tue, 09 Apr 2024 04:15:25 -0700 (PDT) Received: from [10.40.251.181] (pc207-181.public.smd.kcl.ac.uk. [193.61.207.181]) by smtp.gmail.com with ESMTPSA id r12-20020a5d498c000000b00343e8968917sm10790430wrq.1.2024.04.09.04.15.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Apr 2024 04:15:25 -0700 (PDT) Message-ID: Date: Tue, 9 Apr 2024 12:15:23 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Andrei Lascu Subject: Questions about a symbol in `libc.so` To: freebsd-questions@freebsd.org Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from] X-Rspamd-Queue-Id: 4VDNfl53W0z4lWN Hello. Due to certain circumstances, I am currently working on a loader-like application for shared object files to be ran on a system running an OS derived from FreeBSD. I've got most of the stuff working to the level I need, but I've found something in `libc.so.7` that's got me stumped. The goal is to run a test file that, among others, calls `fdopen` from `libc.so`. Everything runs well, until line 124 in `findfp.c` is hit (as per the source for `libc.so` in FreeBSD 14 Stable), where `__sdidinit` is accessed. In my loader, there is no memory allocated for this variable, because there is no relocation entry for it. Here is where my confusion starts. Looking at the symbol table for `libc.so`, `__sdidinit` is a `LOCAL DEFAULT` [1] symbol. The only way I can think of to replicate that behaviour is to declare a variable static. However, the variable is declared as `int __sdidinit` in `findfp.c` (and also as `extern int __sdidinit` in `stdio/local.h`, which again, looks odd), which to me should mean it's a `GLOBAL` symbol (unless there is some weird linking stuff I didn't manage to hunt down during compilation). Furthermore, running the program through the system runtime loader (and also looking at the compiled assembly), accessing the variable seems to be done to what I 90% believe is a GOT lookup. However, with no relocation entry, I'm completely unsure how this is the case. My questions are as follows: 1) Is it possible to access a variable via a GOT lookup when a relocation entry does not exist? 2) Is there some explanation as to how this variable gets `LOCAL` binding? 3) Is perhaps the system loader doing some special thing because it considers `libc.so` especially, and it brings some relocation entries from somewhere else, or has some default ones? 4) A side question: while the symbol exists in `libc.so.7.full`, after doing a `make buildworld`, it seems to be stripped out of `libc.so.7` itself - I'm wondering if this is some optimization at work. Thanks in advance for your help, and apologies if this was the wrong mailing list to ask. Regards, Andrei. [1] I should mention I had a look at OpenBSD's `libc.so`, which was the other `libc.so` that I found with this symbol. In there, the main difference is that `__sdidinit` is `LOCAL HIDDEN`, which, if some similar mechanism might be employed in FreeBSD, might explain 2) and 4) above, but I'm still unsure where to look. From nobody Wed Apr 10 23:32:16 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VFJyj6b4pz5GMpP for ; Wed, 10 Apr 2024 23:32:29 +0000 (UTC) (envelope-from tschweikle@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VFJyj22m4z4lsT for ; Wed, 10 Apr 2024 23:32:29 +0000 (UTC) (envelope-from tschweikle@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=RsAlERSt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of tschweikle@gmail.com designates 2607:f8b0:4864:20::1134 as permitted sender) smtp.mailfrom=tschweikle@gmail.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-617ddc988f5so64564557b3.2 for ; Wed, 10 Apr 2024 16:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712791947; x=1713396747; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mmnkXeFpzc+ltPdwL2pjR6bSgxK/K2DH+1yhX2n5OD4=; b=RsAlERStfx8oZpnzFY96mpOY5g6IJO1NWufLoOjuJZBegxARVojtSC7A623Cl3EIsq 8X+8/wJDcG6K3GqUqaxWQhWYVe9zGFi1WCw8BcYgiXGczHHmZwn2wmy7w11LRvP0yDCf bM8fbKhmD3jvqxMeQb75OqXLT4iUyWgm7Ail7dzczb/iTD98J5bY1r6vvcZSPgk44JQF rnTQDMcHtNB9ihvN161oVSj7JI9A1UtzEZ5h1oI0klaCeP0sg2QqGLvDdufqEtc51wN2 3bn/NBFfVfnAjpksEqKIBOzJ5IlOEfRXOWbBVMCUWAMBqR2oQBda2RtNDO5jqaD4sdwl 8evQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712791947; x=1713396747; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mmnkXeFpzc+ltPdwL2pjR6bSgxK/K2DH+1yhX2n5OD4=; b=sS3wKxq751q9FKNU3cs1iRirhvXViDO4ApqqB1hukJ5Nrdyi6J4m4ViTKB1rVEVCgE gyjPY/qw6UbM4kzkbh2C8ma2QarnjsEIGBF1z/cxxM2lCHgV79SKKmjpYExdYpbgQTJv pb/v3Su6qfC118vB1OcCWWgSxWmHiCu3Fr8P+miEPuj9xQl1uviSe9NZARzCy0kXBh3h wVMsIMl26wepNDolplJl+G9sXX7FOZxAAoPrjEXn7WGBg4i/5iBMfZFdAWWz2ApH7Oor p8+DQl5VMrtVNWfbCgqMTpyEsO8qcm3sNWGdiTmJ2xnJ89SmBoMCVWsEvV/Vte+V37fZ 48CA== X-Gm-Message-State: AOJu0YxUI+gjNu3cJbCGyBiiMaJPUn0fZSE27l1k6ew0eHsqVPfUWgFi BM5yHzVu/i8r//Mb1wxh4XvfOMC25RY9hg0PEXgMVQa0v+pAhkCmbvbNZe+EjQ6/q1AW+uUyWnt RPFX4n4UdiquJNJ6uoSk8oG6Frd8wzQ== X-Google-Smtp-Source: AGHT+IH/uy3nkqtgNYpFS0EgfcuA8SmyYgAzt8lxbKsTb6PM5WLWJ+AKBl1hbVNJZ9d+f+LeYvfgfulXBRwQW/elSQU= X-Received: by 2002:a81:7142:0:b0:617:cbc7:26fc with SMTP id m63-20020a817142000000b00617cbc726fcmr4229576ywc.42.1712791947410; Wed, 10 Apr 2024 16:32:27 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Thomas Schweikle Date: Thu, 11 Apr 2024 01:32:16 +0200 Message-ID: Subject: howto buildkernel showing all output generated by tools make calls To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000009987950615c67364" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.13 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; NEURAL_HAM_SHORT(-0.13)[-0.127]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from] X-Rspamd-Queue-Id: 4VFJyj22m4z4lsT --0000000000009987950615c67364 Content-Type: text/plain; charset="UTF-8" Hi! HowTo make "make buildkernel" show all output of all tools make calls? Not only one line per module and maybe some warnings? -- Thomas --0000000000009987950615c67364 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

HowTo make "make buildkernel&q= uot; show all output of all tools make calls? Not only one line per module = and maybe some warnings?

--
Thomas
--0000000000009987950615c67364-- From nobody Thu Apr 11 13:42:47 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VFgqx3jMJz5HRYP for ; Thu, 11 Apr 2024 13:42:53 +0000 (UTC) (envelope-from alas.20073@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VFgqw5XQLz3x9r for ; Thu, 11 Apr 2024 13:42:52 +0000 (UTC) (envelope-from alas.20073@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=nF7IaQaU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alas.20073@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=alas.20073@gmail.com Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-516d6c1e238so6984001e87.2 for ; Thu, 11 Apr 2024 06:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712842971; x=1713447771; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=QPbn+ye2JX334HKHOMaZFE8/ARa/CMdFalcDopbHnXI=; b=nF7IaQaUh7Uq8+T9+84dhjhhPmIcGUAlRvM2LPkdnp2JFOKn3IDUfZeLKFPbyWISOw pHbyYJeu6UBPCVv9z//+cqC51qxPNOMVXj6TI0bZFUtqppXpMZGMAzo9rvfu4DAdHGaH csD790TTf094MgSBxnHci+lVAq0bVVGPf0OyiNxqpp//oMivvAp9Zqu1TcMlryZZafgq MaRTieYTAn/zwGEaVdmNbyozbRJ+QHheDc+QoswyVIVkqffyMFwbY1aoXjm0TKfDd/lw 8BWuMDvcwp0yCTjhAh1WAPv0RkVUUlLajqbhEnRqb8E7tZ+0kQfenGJbgxavdhbgj3OL XIag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712842971; x=1713447771; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QPbn+ye2JX334HKHOMaZFE8/ARa/CMdFalcDopbHnXI=; b=Rm5/N2UzhylegDfojIeFKxCGo7AyudHDIYSNoXtlvChFNvscsa8QM7PNF5mhHU+8VD RWIUe+jRZTyIrhnGAswuzg+SbxPLa0IPqPeQFkWKxjnnQzNpotR9NDaoKhbB7Ij4Gd7o Wwk6jYdG71IgkbjonqSyoqGHmcquRC3ZbqoarXKMgnlWMuDWVkIAUfCMSq7sI9QUZXx0 jEniBPaBIP81+Fp/ufpss1d4m04I1XQDWZgedQSNR4suhfb+Hn49gEzgvc+R45FY1RrY YrJ4mBEXmACJzHXcaHxwVeBArUN2vZ9Si5DWGM6VgOm1oI+oymsN62xGG8LPRpms7eFZ eRCA== X-Gm-Message-State: AOJu0Yw70nCnYPXqz5QhaC892eoL5a8DNtrSPDP1Uur+NM2qcchH0qFg mASlcab1Md7baLD8pD/9AXM0rkwmlfHneGDIE5niY7LZWUY3OY6yqkKIxA== X-Google-Smtp-Source: AGHT+IG7zwrA8mUVw23/6RaizX1KeokEXZY+BKmu3B8l0xyPxrSBg8w6XINsycpEMVc1CCGs2WiTXA== X-Received: by 2002:a19:ca05:0:b0:516:c5b1:1b21 with SMTP id a5-20020a19ca05000000b00516c5b11b21mr3402777lfg.45.1712842970426; Thu, 11 Apr 2024 06:42:50 -0700 (PDT) Received: from [10.40.251.181] (pc207-181.public.smd.kcl.ac.uk. [193.61.207.181]) by smtp.gmail.com with ESMTPSA id t17-20020ac243b1000000b00515bf6ba7bdsm210397lfl.285.2024.04.11.06.42.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Apr 2024 06:42:50 -0700 (PDT) Message-ID: <755e1ea7-6102-450a-bf64-bc717129e4ba@gmail.com> Date: Thu, 11 Apr 2024 14:42:47 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Questions about a symbol in `libc.so` From: Andrei Lascu To: freebsd-questions@freebsd.org References: Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.977]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::129:from] X-Rspamd-Queue-Id: 4VFgqw5XQLz3x9r Hello again. Just to update my previous question, I did manage to eventually figure out where the relocation was hidden. I was aware of a number of relocation that seemed odd, and I put them on the side, thinking I might either have to figure them later, or they might just be some artifact. Well, the relocation I needed was hidden among them: Relocation section '.rela.dyn' at offset 0x2abf8 contains 2605 entries:   Offset          Info           Type           Sym. Value    Sym. Name + Addend 0000001d6888  000000000403 R_AARCH64_RELATIV 13416c 0000001d6890  000000000403 R_AARCH64_RELATIV 8b268 0000001d6898  000000000403 R_AARCH64_RELATIV 178108 0000001d68a0  000000000403 R_AARCH64_RELATIV 8b240 0000001d68a8  000000000403 R_AARCH64_RELATIV 15ac9c 0000001d68b0  000000000403 R_AARCH64_RELATIV 49b29 0000001d68c0  000000000403 R_AARCH64_RELATIV 45bfe The reason I thought them odd was because they had no symbol attached to them, just raw addressed. However, one of these offsets actually did match what the system loader was relocating against my mystery `__sdidinit`. So the solution was rather simple, ensure I relocate the addend into the offset, as there is no symbol value here, and I am on my way. There are still some odd issues here, like why are these relocations not referencing a symbol, when seemingly they should, and why it seems these resolve via `R_AARCH64_GLOB_DAT` at runtime, rather than via `R_AARCH64_RELATIVE` in `/libexec/rtld-elf/aarch64/reloc.c`, but I think as long as I am making progress, I'll let these questions get answered another time. Regards, Andrei. On 09/04/2024 12:15, Andrei Lascu wrote: > Hello. Due to certain circumstances, I am currently working on a > loader-like application for shared object files to be ran on a system > running an OS derived from FreeBSD. I've got most of the stuff working > to the level I need, but I've found something in `libc.so.7` that's > got me stumped. > > The goal is to run a test file that, among others, calls `fdopen` from > `libc.so`. Everything runs well, until line 124 in `findfp.c` is hit > (as per the source for `libc.so` in FreeBSD 14 Stable), where > `__sdidinit` is accessed. In my loader, there is no memory allocated > for this variable, because there is no relocation entry for it. Here > is where my confusion starts. > > Looking at the symbol table for `libc.so`, `__sdidinit` is a `LOCAL > DEFAULT` [1] symbol. The only way I can think of to replicate that > behaviour is to declare a variable static. However, the variable is > declared as `int __sdidinit` in `findfp.c` (and also as `extern int > __sdidinit` in `stdio/local.h`, which again, looks odd), which to me > should mean it's a `GLOBAL` symbol (unless there is some weird linking > stuff I didn't manage to hunt down during compilation). Furthermore, > running the program through the system runtime loader (and also > looking at the compiled assembly), accessing the variable seems to be > done to what I 90% believe is a GOT lookup. However, with no > relocation entry, I'm completely unsure how this is the case. > > My questions are as follows: > 1) Is it possible to access a variable via a GOT lookup when a > relocation entry does not exist? > 2) Is there some explanation as to how this variable gets `LOCAL` > binding? > 3) Is perhaps the system loader doing some special thing because it > considers `libc.so` especially, and it brings some relocation entries > from somewhere else, or has some default ones? > 4) A side question: while the symbol exists in `libc.so.7.full`, after > doing a `make buildworld`, it seems to be stripped out of `libc.so.7` > itself - I'm wondering if this is some optimization at work. > > Thanks in advance for your help, and apologies if this was the wrong > mailing list to ask. > > Regards, > Andrei. > > [1] I should mention I had a look at OpenBSD's `libc.so`, which was > the other `libc.so` that I found with this symbol. In there, the main > difference is that `__sdidinit` is `LOCAL HIDDEN`, which, if some > similar mechanism might be employed in FreeBSD, might explain 2) and > 4) above, but I'm still unsure where to look. > > From nobody Fri Apr 12 19:23:48 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VGRM32jL9z5Hwk9 for ; Fri, 12 Apr 2024 19:23:59 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VGRM22Bm6z4PbW for ; Fri, 12 Apr 2024 19:23:58 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=Qb7VNdQ0; dmarc=none; spf=softfail (mx1.freebsd.org: 2001:8b0:aab5:107::11 is neither permitted nor denied by domain of lexi@le-fay.org) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 87A8189F4 for ; Fri, 12 Apr 2024 19:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1712949829; bh=+vM4KoZjb9epO6lBmDwfVUl1NJdhkXmUMAqJ+btBkY4=; h=Date:From:To:Subject:References:In-Reply-To; b=Qb7VNdQ07om0DPOUdLjihITbkRBEXzohybdUSg9nrl6vvGoZIljeGjS5dV7KkmAp8 ruQmygSSWhh/hTPshQJizWETXPxqnnaXQ+u8WCa4YXx3p1A5b5g9TfWqAOZqofqh5l cdg1tzGHBStfYJgJk2+zYebU3FiTCQb63BL4cHO4= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 0CBA52C0421 for ; Fri, 12 Apr 2024 20:23:49 +0100 (BST) Date: Fri, 12 Apr 2024 20:23:48 +0100 From: Lexi Winter To: freebsd-questions@freebsd.org Subject: Re: small form factor router recommendations Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Z719StPg8GCSqO6B" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: - X-Spamd-Result: default: False [-1.80 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[le-fay.org]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[le-fay.org:+]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim] X-Rspamd-Queue-Id: 4VGRM22Bm6z4PbW --Z719StPg8GCSqO6B Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable i wrote: > i'm looking for an SFF or single-board computer that can run FreeBSD, > for routing (FTTC, IPsec, Wireguard) on a home/soho network. to summarise the various suggestions people made (thanks!): - Protectli : these looked interesting but the prices are *very* high compared to other options; the minimum price to get 10Gbps ports is =E2=82=AC879. - Netgate : again fairly high prices, although lower than Protectli, but these seem to be designed specifically to run Netgate's software (pfSense) and i didn't see anything about support for generic FreeBSD. - PC Engines : i've used these in the past, and was very happy with them, but the CPUs are just too slow for modern routing requirements. - TekLager : this was the most interesting suggestion of all (for me) as they seem to be fairly high performance, and include a good selection of ports. unfortunately, as i preparing to buy, i discovered the vendor doesn't ship to my country (UK) which made this a non-starter. so, in the end i bought a 'Kansung' device from AliExpress: https://www.aliexpress.com/item/1005006250289547.html i know many people are (reasonably) a bit iffy about buying computers =66rom China, but from what i can tell, this is the same device that TekLager sell, just direct from the manufacturer. the price was slightly cheaper than TL, but after accounting for customs fees, i suspect it'll end up roughly the same. the router hasn't arrived yet, but once it does, i'll post a follow-up with my experiences. regards, lexi. --Z719StPg8GCSqO6B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYZikIACgkQDHqbqZ41 x5mU/Qv+M1YTx2VUfNQSQDUttRaO0jqsNX1jsUtr4+cHbtfohYGcWOW/QoDOCevM taLxK/SgIYieIRZnHfXZpzsBwkMHxrHwCQrk/8XtCHhXDghMj5inbLiNURYmk17U pyJVJkvfp4KptnSHyDKxzkhh326Q3x2fjwHanW4pxS+BiHLEqblTSX9dFjRltkFF Cg+3Jz11DYAfRd3h7XQYgnSD5m+tPHpasZ1LA0sUQ4cCHjXI9T/AByOPsO/eMWm1 0AKYuIUDq53QFPNBGULBK23vVoVHT/Ge8UbIWSq5kV9lkDRDwXoZDDl6AgB6upIl 34VQCvdekpAuiutNU8fwdMh0/MN4GRe1xN+aVlZgZ+Pa0aFTLeTATCwVBpMm5JkN ks/Byvga71r49QO9J12hS+KZQ5EFwRpL7Fpc5rRvA0sCrM9buy+AOhkYGm6pswFB T4tVvgLEgqjKGu+Uu+6vxvDN/DoRZMACgil8lOTOEWgOFtRD8/UmWVeGnP+EMaQH cmugt18r =3mmA -----END PGP SIGNATURE----- --Z719StPg8GCSqO6B-- From nobody Fri Apr 12 19:55:21 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VGS3V1g34z5G0sH for ; Fri, 12 Apr 2024 19:55:34 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VGS3T1myXz4X9m for ; Fri, 12 Apr 2024 19:55:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=FWs93qoi; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1712951712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QrzBD2qFHw4ozlRB5N2lv5Ux9wkNq7wgTbVwCAYCkcE=; b=FWs93qoi0sA+3oumXmJs9/bvqhd9Z978sAkWLJyjKglPgTN9MZWuZuveoPB0Z42O5tmdpd QlHBe8cxALytbabuanEvnQrnC1tfXbJUdeOGRZw+TzafFfNH5Q33xQrYha3QBtMhn3akAO mhqGd6sN+fBPjnQEHwa9UNzPX8ot/pY= Received: from [192.168.1.160] ( [47.154.31.160]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 92790a25 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 12 Apr 2024 19:55:12 +0000 (UTC) Message-ID: Date: Fri, 12 Apr 2024 12:55:21 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: small form factor router recommendations To: freebsd-questions@freebsd.org References: Content-Language: en-US From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+] X-Rspamd-Queue-Id: 4VGS3T1myXz4X9m On 4/12/24 12:23, Lexi Winter wrote: > i wrote: >> i'm looking for an SFF or single-board computer that can run FreeBSD, >> for routing (FTTC, IPsec, Wireguard) on a home/soho network. i'm very keen to learn about new vendors in this space too - just a couple notes on a few of the vendors mentioned. > to summarise the various suggestions people made (thanks!): > > - Netgate : again fairly high > prices, although lower than Protectli, but these seem to be designed > specifically to run Netgate's software (pfSense) and i didn't see > anything about support for generic FreeBSD. i think it's worth noting that netgate is moving pfsense off of freebsd and onto a linux.  so long term ymmv in terms of paying the premium to have BSD support on their hardware unfortunately. i agree they were expensive and performance wasn't the best - but i was happy to pay the premium to support a freebsd based product. https://www.netgate.com/blog/pfsense-software-embraces-change-a-strategic-migration-to-the-linux-kernel > > - PC Engines : i've used these in the > past, and was very happy with them, but the CPUs are just too slow for > modern routing requirements. i think they are no longer making boards, or at least x86 based boards: https://pcengines.ch/eol.htm hope this helps! -pete -- Pete Wright pete@nomadlogic.org From nobody Sun Apr 14 22:24:20 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VHlGS0GQ1z5HBbs for ; Sun, 14 Apr 2024 22:24:32 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [208.111.40.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VHlGR27kvz54vq for ; Sun, 14 Apr 2024 22:24:31 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list_freebsd@bluerosetech.com designates 208.111.40.118 as permitted sender) smtp.mailfrom=list_freebsd@bluerosetech.com Received: from chombo.houseloki.net (65-100-43-2.dia.static.qwest.net [65.100.43.2]) by echo.brtsvcs.net (Postfix) with ESMTPS id E81E838D00 for ; Sun, 14 Apr 2024 22:24:23 +0000 (UTC) Received: from [10.26.25.100] (ivy.pas.ds.pilgrimaccounting.com [10.26.25.100]) by chombo.houseloki.net (Postfix) with ESMTPSA id 1FF8844D38 for ; Sun, 14 Apr 2024 15:24:22 -0700 (PDT) Message-ID: Date: Sun, 14 Apr 2024 15:24:20 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: small form factor router recommendations To: freebsd-questions@freebsd.org References: Content-Language: en-US From: list_freebsd@bluerosetech.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; ASN(0.00)[asn:36236, ipnet:208.111.40.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[bluerosetech.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VHlGR27kvz54vq On 2024-03-28 11:07, Lexi Winter wrote: > hi all, > > i'm looking for an SFF or single-board computer that can run FreeBSD, > for routing (FTTC, IPsec, Wireguard) on a home/soho network. > > specifically, i'd like: > > - at least one SFP cage > - at least one 1Gbps RJ-45 port > - a CPU fast enough to run PPPoE and ipfw at 2Gbps (1G up / 1G down) > - arm64 or amd64 > - passive cooling or quiet fan > - preferably not too expensive - around £/$200 would be ideal > > an SFP+ cage and/or a 2.5Gbps Ethernet port would be nice but aren't > required. A Dell Optiplex with a top-end i5 will do this, and are nearly silent. They come with one onboard gigabit Ethernet port and one low-profile x16 slot (sometimes also one x4 slot). They can be had on secondary markets for well below your price point.