From nobody Sat May 6 05:38:11 2023 X-Original-To: freebsd-hackers@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 4QCxD60KYbz494VP for ; Sat, 6 May 2023 05:38:14 +0000 (UTC) (envelope-from sblachmann@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 4QCxD55HKjz3C9G for ; Sat, 6 May 2023 05:38:13 +0000 (UTC) (envelope-from sblachmann@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-24e3b69bc99so1873002a91.2 for ; Fri, 05 May 2023 22:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683351492; x=1685943492; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=onwevCOcQNzkW1Ii1DT5ds4Hi1vYLVuawCjNNe3zJm8=; b=MkdU6usMz4y5en/pLToR3Kabb4FBgrZhpWtHguWZ1iZ70wLXYwRnPfok6dGTOTwfpr otrtWlCbNdaXOuPuumo5Q42ScarbHUzduGJecEzFsjs1rjQalg6rkLqc6x0Wt5yEiBz8 6f/+xjtUD1ZLLPiPlKzr1kF64vw+AKxXbgiRcXlBzdvEyiR9HI2/Nts/TWJMrYrE9muU RuKxKK3KaF/AUXRcAYpLWrENjruGMgyLFDHsub+CN9BdL/UJiKfheOeOTp15M5q4hUoP 95/G9HndQeysW/LBfix6HRPmcG2N3/m2+9nzDtjmfbFnrfoVLCcVhist27C/HHORuAVP YJrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683351492; x=1685943492; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=onwevCOcQNzkW1Ii1DT5ds4Hi1vYLVuawCjNNe3zJm8=; b=cDlqUJvlo/Mfjgq/qkhRuGTVPzI6E/A6hIJkb+I9buw8lIOSdpoN+buvAc3DhB/3CY Jral+u0qO4J62urINP3DPazlcFejmGy66rFjNiA52EEN4CVZRFLJ/IUP6fi+IdaZzq5C AuDmWituMdwKJyfJNLEEYosY2FfTHvgTA3UXwQUR/aVCua8sUUdq4HLI97EVf9a/coTr +5Q0xZfM31D3piq1WROASgU3woMFb3dRzs28XGvWkTjuOslQRsJro1ttWebxqYU0asko qzIxPylx6Ip8lKbPPzw8S64oqDLBGdkBjxQX7nPab/5jrElctWLs0If3yJ5iUgGCzoQA Qc9Q== X-Gm-Message-State: AC+VfDxAU3MpVGZhCz3RVNuaqfPXoe682VCQpIIqlNi/KLgQnA5ZFpeU QSjdzTX7bfLfjPYXl+fm/T8pF33SKB+WHYSMsekIXfSz X-Google-Smtp-Source: ACHHUZ64sLI/AmM35Kar3hh2xFXy77lOFprQp+LyInj/6lPIH+8NZYhuwcSm7yX5j9f8OyZQdpl+YINDCcWI5+H6Ppg= X-Received: by 2002:a17:90a:b908:b0:250:4876:26a8 with SMTP id p8-20020a17090ab90800b00250487626a8mr1485416pjr.13.1683351491837; Fri, 05 May 2023 22:38:11 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Received: by 2002:a05:6a10:e293:b0:464:96a:741a with HTTP; Fri, 5 May 2023 22:38:11 -0700 (PDT) In-Reply-To: References: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com> From: Stefan Blachmann Date: Sat, 6 May 2023 00:38:11 -0500 Message-ID: Subject: Re: Run scripts from rc.suspend To: "Peter 'PMc' Much" Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4QCxD55HKjz3C9G X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5/5/23, Peter 'PMc' Much wrote: > On 2023-05-04, Johannes Totz wrote: > I found there is a rather short timeout, when the susppend script will > not complete running child processes and give up (hand over to acpi). > > OTOH stopping processes may sometimes be fast and sometimes take a while - > so the outcome is likely an unpredictable state in the suspend, and some > people don't like that. Can't this timeout delay be made configurable, or just that the suspend scripts complete, instead of killing them? From nobody Sun May 7 17:06:22 2023 X-Original-To: freebsd-hackers@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 4QDrRv6CQ6z49F13 for ; Sun, 7 May 2023 17:06:35 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (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 4QDrRv24Y3z42CF for ; Sun, 7 May 2023 17:06:35 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Mh20+eco; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-b9a879cd49cso5006990276.0 for ; Sun, 07 May 2023 10:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683479194; x=1686071194; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SAospWSTcSZAiy8YfVWjAo0qNkO2F9cASgFlWgHuQzo=; b=Mh20+eco2XhGUgcV8P53RjxxCQQGFHOGOo1U5NJ86BBmp5AgEJ7TiDC1WMy0b8dVGC wuwBTZcDnZi66T7cNC5OjiDAtl3jnbNFZpT4mCgphqvf3q0i+6ut+APGndnYWNINNc7O BTPJUu0TqHbPh2c/iT6EY5h4msPndCxTyAhjVK+5ShnPKw5Sb3bArNOBCbe84iV0qr3s CEUqKVXju4u26hhzAYM0ALNKu/10e7HdRy8zQES+S9JAamp0FNxGrOxfwpJqXQ891Km8 TcjLaaRkrzM6Oe4eWEvaKFg5sVD9mcv/fZoBsG224sCJQvw9r7d1TIUC6RQl5lz/GLXJ Y2nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683479194; x=1686071194; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SAospWSTcSZAiy8YfVWjAo0qNkO2F9cASgFlWgHuQzo=; b=XXcAQcvr7tJ7VK/Haim0HlmuW1DwRZv8XIz68W5kfo4d9SwzA887KHud2b4SSbs/Wd E8NI/RoqsCUl2eZpmrOhD4lwnTK6B+hpRz6oqyWt+gl/iooFcKEBAePMYnSeup7HLje+ GT4Mrn+3a8gfpnq99bu/1f3Bo/XkD0IlRbOi9QgHf10JpX+HVo2wgiK93lCHpcIq3ClQ ZmVuSFxZr02/A5GpMzBuMqKxW5JKNkoj7u7eO0kG9M5sexKbXUoLEMxFLuQUS2djKh2C IhMaHEEGPn62ZnJDV0otQs0t/+pNzsXlhmNaePbBpyZpp0xDwQWTo7KpeTXCDpydMjIZ QEjQ== X-Gm-Message-State: AC+VfDzmnQcAhrEpSo3btbvegQEky9DlNdh506qf4DwsyEEGKEdabwUh nw1Ikl2cawHm4P5Hmc7irOy2O/NJb8YmajclBUWUPbFT X-Google-Smtp-Source: ACHHUZ72NFVjXMxAMU4sPw82SxmQS0ZYv2uDGbgc2Ar0w/V1kAB1IJQLZ4ryzqZL+vckMwdVS0OKU4a+mH7a6XJy2BE= X-Received: by 2002:a25:642:0:b0:ba2:bffd:e054 with SMTP id 63-20020a250642000000b00ba2bffde054mr439495ybg.44.1683479194425; Sun, 07 May 2023 10:06:34 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Sun, 7 May 2023 19:06:22 +0200 Message-ID: Subject: freebsd on an ebook ereader ? To: freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000005ee0d605fb1d8b45" X-Spamd-Result: default: False [-2.79 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; NEURAL_HAM_SHORT(-0.81)[-0.811]; 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=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b33:from]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QDrRv24Y3z42CF X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --0000000000005ee0d605fb1d8b45 Content-Type: text/plain; charset="UTF-8" Hello. any chance to install freebsd on some kind of ebook ereader like the kindle ? I just also need to have a partial tutorial already written. I can finish the project,but im not able to start it from scratch. let me know. --0000000000005ee0d605fb1d8b45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

any c= hance to install freebsd on some kind of ebook ereader like the kindle ? I = just also need to have a partial tutorial already written. I can finish the= project,but im not able to start it from scratch. let me know.
--0000000000005ee0d605fb1d8b45-- From nobody Mon May 8 13:09:19 2023 X-Original-To: freebsd-hackers@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 4QFM7v3vBfz49thJ for ; Mon, 8 May 2023 13:09:31 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on20718.outbound.protection.outlook.com [IPv6:2a01:111:f400:feae::718]) (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 4QFM7t2p8Mz4Gm5; Mon, 8 May 2023 13:09:30 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b="B/i8szRG"; spf=pass (mx1.freebsd.org: domain of schakrabarti@microsoft.com designates 2a01:111:f400:feae::718 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com; dmarc=pass (policy=reject) header.from=microsoft.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aHNF6Ns4/tyjubeGxyYCgoiXp/OnsrMGhqMaha6TRJoC9UOwLsPsCl+hczztkBa0gSjOFj7vbi0LEX8bg96nYcg8VkgClPZNOM7myt2gKRF5w/iGttMZY32M9Y8sDrvkt90ZejU2jKB/4TlCfZ50cXcTq8Rb4wKHf1/LZgACd+phBQ/fW0TSz19XHXVP8ba70VbdqPZFWP7GnSlmyNL36l6z6l3Iy3bFJ4jRE+WyvrfS1yZENsbQlfiL0SavsCwcIHSBa/FCr2PPu9ATRKQeGMzblU/iDSrSVEhULpyrdLMShk999Sz4b9R++NSExybx3hwWXcZRf3nk4yExLQrfwg== 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=+7st0ENGOhqeq3iduVXtasysFMa0OK3GIiAhbqbDiQo=; b=KU5uepxsm+avoJZQOK3yGB7bvmv35G42deGsubjNhKgKJfRwXmVVjLLuEZOpKaC/7FrzYLBA/K/wNmFutktmRHaI+IcZv4rOgY+jfiILSzI7ZCIlQXb7rOePIXB09S9xs7nq89178Lg0vZbVvPBeS0MC0BF0XyLcrmgyamdaU5ahAVti26SJh3sRbj3qX6Px5NTEc3yX2jRGEtaw8RHS+WIwsM0LKai4qGBrBPOMDL/sefhsjGpcaPCdIRB3Ia0MPoQdvILWQwHC+y22PWLfysxIHiDj5PN7aKA9mPgT3Ez7S7EHvw3ZpJAXj0/e3G1XYbj4To1EfuYXBnrpnsjU5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+7st0ENGOhqeq3iduVXtasysFMa0OK3GIiAhbqbDiQo=; b=B/i8szRGDKOjCqcC9IaLMu/e9oz+Jnxn3f15S7EBjKGS5Wr2mt4PPCSfG9jcAYB3uUsxih25XUsrpa1msxq5MVBwhf366wG48a1fYHsSW1ORe1kCSud4UqhqoOKPfk5B9hhYSzBosgY8FpD1fb+xQBI3x2CV1KOAsXh5CCHGpuE= Received: from KL1P15301MB0532.APCP153.PROD.OUTLOOK.COM (2603:1096:820:5a::14) by SI2P153MB0655.APCP153.PROD.OUTLOOK.COM (2603:1096:4:1fb::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.3; Mon, 8 May 2023 13:09:19 +0000 Received: from KL1P15301MB0532.APCP153.PROD.OUTLOOK.COM ([fe80::b2c0:4605:3aeb:b0f6]) by KL1P15301MB0532.APCP153.PROD.OUTLOOK.COM ([fe80::b2c0:4605:3aeb:b0f6%7]) with mapi id 15.20.6411.004; Mon, 8 May 2023 13:09:19 +0000 From: Souradeep Chakrabarti To: Kyle Evans CC: Wei Hu , "freebsd-hackers@FreeBSD.org" Subject: enabling same PPI interrupt to all CPU in ARM64 SMP Thread-Topic: enabling same PPI interrupt to all CPU in ARM64 SMP Thread-Index: AdmBrWHu4SCK2cRnRnyy6MBGajO35Q== Date: Mon, 8 May 2023 13:09:19 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=45c2ec45-1f81-486d-a600-39d56d6abc32;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-05-08T13:02:09Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: KL1P15301MB0532:EE_|SI2P153MB0655:EE_ x-ms-office365-filtering-correlation-id: 7c086e70-a5f0-4436-9dcd-08db4fc56f3f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wj6jywdOMIbC1FJ7CURtMzpdOB0e1zzkHzUJuogY2uVtpkg+hd8wlqxRIodruM9PBMGj1m4inWUgTCAQ8cQ6D3nDNUD+8e8c0yDf7mhSEBsECYk8J3iIwXOmngg2J4Q/SX4b/bknURGdEhlZMeEOMHStsOGXLfpkI0Dy/akxRH3BLeWVyWOvMzf6dixX4RE0X46ktvs7MRz1E40IXNOOr6J+997YFCNKwQFAmQ166yoSUMIG6CzuVG0NBbKU0iPtpGJhhSauXmcMzenWjL3T9T4llYfuBPqf9ojjIoTjwKLC+L48FystsYf6zKpNttNhsBx+brhVk7NMjZPsH2JSCci/yfQCRgzw2opLAJttuxh9aB68K2BDxLrYh2vTp0e3KrbnikvpM15lwa4EUT14jxCHuJkE0FshcGPdMBXAVxfg4mqCC18Ur7kMt7r8dgTiTEXoL9D4AMOMrsZCZv9ya6h+mcsKhAJvWQFUK5odjVxC+VFr0q+nLJWqu++LcP/FxvL+Aew8aviAjE+j9pXhaFgn3Ti3b35NmBCYTdtfzYMlzWGdFSHQp2C0uuaO6fmg6hrr2IA5SlsjmW17ceMBYT4A4za+gwt7vVGdOMqCuBNT5e7Y5z6wVAQez3oZAki5BU5S1iM0XkPfP8cr79HR2Wn23efhaFRelBMrPAEmBGQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:KL1P15301MB0532.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(346002)(366004)(136003)(39860400002)(451199021)(33656002)(38100700002)(786003)(52536014)(4744005)(2906002)(38070700005)(8676002)(316002)(86362001)(5660300002)(55016003)(8936002)(76116006)(64756008)(6916009)(82960400001)(66946007)(66446008)(66476007)(41300700001)(66556008)(122000001)(4326008)(82950400001)(450100002)(83380400001)(186003)(6506007)(8990500004)(9686003)(7696005)(478600001)(10290500003)(54906003)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+I1jGVvt1YXP6H7Nra028HerQKAk9j0CB/inz6Wcp6n3lPAou/ZsEqX/ciL+?= =?us-ascii?Q?K8QFrCm3Sz1Uj3WrhnMgCGIk3xk0aujDFK9E8q6sm7ud3L/10c5MoCy1w/8l?= =?us-ascii?Q?EaKSgqulpkRZkqM7UcuNnv9HzLiKJ2Dv7IZhNyMuvq2+bXNmurmeIyq97iAX?= =?us-ascii?Q?IUdqvJTu1BAHFjFGhfpar/LenGgPBQMx6ZJWDEgfdps9/FtgDD8eHdiIvpJc?= =?us-ascii?Q?F7HVMy69Tlqd5rt5YIkjjvSYU4vIs9rcXF+zIINTZSwUc/96GiBo9HQJ5Usf?= =?us-ascii?Q?fIDRz7A6WzfZJ7govyupI7WPT38mazTcHjdW9r7p1IM8YasXjb6LD0B6nhMU?= =?us-ascii?Q?qDbrd/Wlz+995JEBaCde6o8ry2f5Xsq+9fPTPKEBvusmymzsH5b6JbjfaG09?= =?us-ascii?Q?Me+xMM5yUMZcN0YU6Ocrowf6juLzVyiiKaII4I+CVbJQcGuyynLdBy+dWjtB?= =?us-ascii?Q?+paQBiayrhAoC/e6Y4Z0zot/Thd1krUqCbhj4m8Td+gsQW9WddjphADI7ni7?= =?us-ascii?Q?AOOVQ8Snc+Og0Na5WCfA83fAJtGr+qoTkyz/SdAm7i94J27sGyMsskZw2n64?= =?us-ascii?Q?6Mi4fDhYTqPvq962Jn0UZa6nCFFGNKHWSiaaCV2nILfrP4CJi2FdMHtjoONV?= =?us-ascii?Q?ZTqu+4OU5X1VkNjxTJw5pZWvFX1mHbw+LJg42c2MTGrJ0J9/i/4FPtVCdOAY?= =?us-ascii?Q?FMh+V61MrfspbhulFpwLd1D5sIYmtd7c5r1Z6SstOQRsqvticxGq7Ej0P2LI?= =?us-ascii?Q?HSH1cVHUECgyJJAImxTbn3GfIWuBzNrAD8Jzuah7AsXOF2WdfMsgAuKDsaaW?= =?us-ascii?Q?P/hFXELBSJsR2vOvcdzv2wvuCpcVExma+Fu7tBMDEEQkKN95yUmUHDwwkRYQ?= =?us-ascii?Q?j1FpaYodlfTXdPhAKSC09lbGb2KFWBPM9ZLRuvO10PSQicX8sgIbBufHt13u?= =?us-ascii?Q?L9M4+b7zwi8h5kMm/RnA1Yt7snl7teME6rU+Wqq230zKdue+X6ufFK/J+5TS?= =?us-ascii?Q?aW3zH1CdiM2qTmvT4eDj46tV2Z5xaDFFhMMpCTc7G6AD2ewY0KrfDrUb1STI?= =?us-ascii?Q?1F/wSnB/uvqv9VAcWv2Rq7cBuW3jNzAYMpyDbxBEn7Oa1VnXMokG5CKUQVz6?= =?us-ascii?Q?VlFCVI6VdFq/ZnkPE05fbHeCTsAOSEYkQuqk1UCEgOyKr5qvAI0SLuqOzESj?= =?us-ascii?Q?90ECbZ10QoqM4Hfy4o+R/pnbtR4upqGqvzm/6N4+YL+pVO9mBiFHte4NJwRH?= =?us-ascii?Q?ZWeyNf2+T4egiqzGYOuaePPIT1FeEQeyZVHKful9eehbyBRapj7j0xNBbxnw?= =?us-ascii?Q?+/4adNor6/xohcDdQ9VSLtyDQvgcU0bHSOOeXJGHjZE75hHzt49uk/P841rN?= =?us-ascii?Q?YkJ9K5bMq66EkGbv9Y1dRKzsuwI8kAtBfojDpdAK6pRrBoYg4FsOikt4SuTO?= =?us-ascii?Q?dGZesvFpziM+XlF0SaHpfg5RAb9BgH0uOxQiN67UgCrzKif5L2KY7PX5wpBh?= =?us-ascii?Q?FeoxTx78OhnGxvOvJzw7FgI0Y6HenT0Z2ERlGy6VqTjuDl+bnt3OECxd+yji?= =?us-ascii?Q?CtxO7s5CWyHuKXPGWEOdbIgE1zmkJ5WoHsbK1uFk?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: KL1P15301MB0532.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 7c086e70-a5f0-4436-9dcd-08db4fc56f3f X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2023 13:09:19.6211 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KM5+YyBFYmKrNH9o93cdFknsfV/Ofiv9aD8e1DMqfhd+izVhMhb5iYU86Lf+4ggH9tfNrjlmCJp2BmgdBp2Rmc7cTovkohP0X5aHFwPGwQo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0655 X-Spamd-Result: default: False [-9.00 / 15.00]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; DWL_DNSWL_LOW(-1.00)[microsoft.com:dkim]; 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(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[microsoft.com:+]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2603:1096:820:5a::14:server fail,2a01:111:f400:feae::718:server fail]; RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[] X-Rspamd-Queue-Id: 4QFM7t2p8Mz4Gm5 X-Spamd-Bar: -------- X-ThisMailContainsUnwantedMimeParts: N Hi , While using SMP in ARM64 Hyper-V we are getting stuck in boot if there is a= interrupt for VMBus coming to CPU1 and VMBus interrupt handler is not getting that interr= upt. In ARM64 Hyper-V we are using IRQ18 for VMBus and it is a PPI interrupt. But Hypev-V host sends interrupt to this IRQ 18 for both CPU0 and CPU1 in 2= CPU system. This is based on the corresponding VMBus channel which assigned with the CP= U. Now VMBus ISR is getting the interrupt in CPU0 but not getting from CPU1. Any idea, how we can use the same PPI 18 for all the CPU cores? Any help will be appreciated, as this is blocking the enablement of FreeBSD= in Azure ARM64. Thanks, Souradeep From nobody Tue May 9 12:51:55 2023 X-Original-To: freebsd-hackers@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 4QFyjL4RR0z4B8yY for ; Tue, 9 May 2023 12:52:06 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QFyjK271Bz4PtH for ; Tue, 9 May 2023 12:52:05 +0000 (UTC) (envelope-from wojtek@puchar.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=RgRs7TD0; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net; dmarc=none Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 349CpuQB073963 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 May 2023 14:51:57 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1683636717; bh=csZ2KGYuT/yTtBWUlGLQ3oiJBbJ1nreYjrRdDqgmeiM=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=RgRs7TD0z78x80w+s+twH+QUiYnwa+FoCYfW03RiqZE13A2ZscTmrzCqzzbsTZoPc i8WO59BufpSmNBj+DTx4omdCIbsJps5uN08r9/zwNShQH/o1Sa/bhDSMnodvGJwNm9 /FN7rQXt44IBkdMI6jPxmExNjAMToMZy1vc2kHwI= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 349CpubP064307; Tue, 9 May 2023 14:51:56 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 349Cptp8064304; Tue, 9 May 2023 14:51:55 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Tue, 9 May 2023 14:51:55 +0200 (CEST) From: Wojciech Puchar To: Mario Marietto cc: freebsd-hackers Subject: Re: freebsd on an ebook ereader ? In-Reply-To: Message-ID: References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Result: default: False [-2.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; HAS_XAW(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[puchar.net:+]; DMARC_NA(0.00)[puchar.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QFyjK271Bz4PtH X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N here is tutorial for You: 1) Write FreeBSD port on hardware you want. All you need is MMU capable CPU, at least 64MB RAM on target hardware, C compiler for target. All certainly met for kindle. 2) Run it :) From nobody Tue May 9 13:15:08 2023 X-Original-To: freebsd-hackers@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 4QFzD90qdnz4BB1p for ; Tue, 9 May 2023 13:15:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4QFzD8682sz3DnX for ; Tue, 9 May 2023 13:15:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-50bcb4a81ceso10636983a12.2 for ; Tue, 09 May 2023 06:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1683638119; x=1686230119; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/a4XO5JW5qr2IiE9D1ixb0X4pC5SlCy4oSCTusfCgcg=; b=lborLqEcF3jWFFmNK9zlaae/m2MJvUYctieyUwqWWXbWNal/gZrTkoYE4XoH4J8Txt pgPi53OgUBH9Bvt+/ZpcUjNqvWGVZdUWwMn2L4sjXYpVzOPDfi/ln5eipPGVo3nv71n8 5TmnNfE6moRcpZvE7QWkmf91tG/4jKrMJQ5DhebgGKYs7Yow4bhXIvnu0uVygmMif2xA bcE1JkwVQCcTFti9nT1KIGl6nPYEzGhx61rqIhsDjCkbVL8bUaGjWA3Uf3G3Y0k1Jiub dFxI2DL5JNLtW9EkoLuHDnizwTfU/gXQkFkw1oxsZyBghtLlGFMJYZ/luIbRykn7Thl5 kmnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683638119; x=1686230119; 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=/a4XO5JW5qr2IiE9D1ixb0X4pC5SlCy4oSCTusfCgcg=; b=QlgBI6KinvrLAQY/Mw7GYGsLb97vxtDtrckvitBiXQ1+FcNQ2tXSyVQdZP4FjKwDyv wZXhFxul2NYgH4MzFAr0ARLWnZr+rKnPR5WeaK87Beq09ivPV18CpEc97VUpfA5FrvC8 Go2ucVL2BZAqGb6Q7xO58gbs7/IF0ye7v1uOlXfM1YY1GtBmTL59G9odsp9DNFP+v+3t 5sRpox99s787DoR/kSk67Mq3XcZblA3yyCyM4xjVNiyyJqzAht7vMAWIpuxjP8OBf6Uy ddxX9aXOrn2HiNuhaUr7pONLPvJGgtcuS6RHhpS/RN0qtXRTkF6VUXTghqwok1eMaIkb cSJQ== X-Gm-Message-State: AC+VfDzNolVw624A337y12n7xSXmJUsMKM2fSB19Gt5W8oplncWa0uQ/ WSsJ5wceS0jyFOBjlekn0vuoYfiIeUPJRAheANWMIYhto3kamUrd X-Google-Smtp-Source: ACHHUZ5z6tP2Rf6kLgMy2NMv1JeGVu4F1twY3+vb8V06iUeUJF5a4MF/tdsoTkuQKCgrrGAZJGR7aKVImIr7KfZ4EhI= X-Received: by 2002:a17:906:9b89:b0:94a:5ecb:6ea7 with SMTP id dd9-20020a1709069b8900b0094a5ecb6ea7mr15108911ejc.43.1683638119413; Tue, 09 May 2023 06:15:19 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 9 May 2023 07:15:08 -0600 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Wojciech Puchar Cc: Mario Marietto , freebsd-hackers Content-Type: multipart/alternative; boundary="00000000000009e68b05fb428cda" X-Rspamd-Queue-Id: 4QFzD8682sz3DnX X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000009e68b05fb428cda Content-Type: text/plain; charset="UTF-8" On Tue, May 9, 2023, 6:52 AM Wojciech Puchar wrote: > here is tutorial for You: > > 1) Write FreeBSD port on hardware you want. All you need is MMU capable > CPU, at least 64MB RAM on target hardware, C compiler for target. All > certainly met for kindle. > It's been a long time since I have been able to run to single user on anything less than 256mb. The hard part these days is interrupting the boot sequence to run your own thing. Though there are enough Linux how-to guides that often detail the sometimes crazy steps involved Warner 2) Run it > > :) > > --00000000000009e68b05fb428cda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, May 9, 2023, 6:52 AM Wojciech Puchar <wojtek@puchar.net> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">here is tutorial for You:

1) Write FreeBSD port on hardware you want. All you need is MMU capable CPU, at least 64MB RAM on target hardware, C compiler for target. All
certainly met for kindle.
It's been a long time since I have been able t= o run to single user on anything less than 256mb.
The hard part these days is interrupting the boot= sequence to run your own thing. Though there are enough Linux how-to guide= s that often detail the sometimes crazy steps involved=C2=A0

Warner=C2=A0
<= br>
2) Run it

:)

--00000000000009e68b05fb428cda-- From nobody Tue May 9 13:47:41 2023 X-Original-To: freebsd-hackers@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 4QFzxk1SYqz4BChC for ; Tue, 9 May 2023 13:47:54 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 4QFzxj6xRTz3JN8 for ; Tue, 9 May 2023 13:47:53 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-559e2051d05so85028757b3.3 for ; Tue, 09 May 2023 06:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683640073; x=1686232073; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=raTbyglGPGlS+ih2kqZ7YWypoTwb2Uy1UnovrDzqQFs=; b=p9aTN3IMEe9aO5MvSQOSuDY+0TDSp/MefSdQkJXeyg4lO7TCrUB8R1nQvFCKHLFzYl U8XU3eZ6IzoOC339dMnDG5suAKF0Xh7UBFra6saBXFOiUVByZQowFO0UI4rK/rawdjRf ff0R4zUkiU49NVQn4Q29eImnP/CzZ4IzrcvGeVv/xpnMPV1HGF+5O3J75ZNR25xYUNOy gNORMtoBIjutkxv8v4yRm7aYG5LRhgUdgNR91QRYHTyh2007mLSdrNOaTjUIXgxxczSg KYko8TtsWrYlDdJjySuPLFgKBzA8S4ahQxVWympJCSCm4C8LFn2TqT+oqXR/gLySggi8 nQYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683640073; x=1686232073; 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=raTbyglGPGlS+ih2kqZ7YWypoTwb2Uy1UnovrDzqQFs=; b=JNkkEZ5kyDlRvRAscgLhwMC9rdcbtdvMr3zd7aBOOjYadPtNioSJN+XRHsrODHuroU 0qhBHHFfPvwHZDgRfBgjyNSRtFg6P3S4LtZp4gjrpSIoxccoLG69MZZjsQ5e5/aafprq 6dOYNl8PfD7Yskh/2TBIU160tjpJ+36RggG7i0d41IAMXvqqA3BGevnvhZ/nIUUB4PF+ wt87PoK00QUfBP+xblTMXBnRdXaZtTZMqghCLq/Zafla5uSOieH34koKbEZicRijG7K0 FxGHFcxA6mWUM+jjR9ahBI8TPkXjwDkOBoIty/YT9TMfEEB/jOwvKPZF5Rt/5YKDtulM KawQ== X-Gm-Message-State: AC+VfDxLeP5C4uOxvKHI6ucnXGFOo74l4pzYxlpHYBYkmVrrXRUDmXbO p7VHRu2noXKADxlXV1USsESaKGy927g1x0rP3O57o9EhN5I= X-Google-Smtp-Source: ACHHUZ5H7oJMR8+Hu91oAqhxoEKezwJo/kN3HCs4TmbimIGLBvR5tJkr2fAQQoNgHi0vi9s+lByCz6ADYen6sPSZ14Y= X-Received: by 2002:a25:4a46:0:b0:b8e:e918:33ac with SMTP id x67-20020a254a46000000b00b8ee91833acmr14066554yba.1.1683640072942; Tue, 09 May 2023 06:47:52 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Tue, 9 May 2023 15:47:41 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Wojciech Puchar Cc: freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000007a391505fb430034" X-Rspamd-Queue-Id: 4QFzxj6xRTz3JN8 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000007a391505fb430034 Content-Type: text/plain; charset="UTF-8" you are smart for sure. Il mar 9 mag 2023, 14:52 Wojciech Puchar ha scritto: > here is tutorial for You: > > 1) Write FreeBSD port on hardware you want. All you need is MMU capable > CPU, at least 64MB RAM on target hardware, C compiler for target. All > certainly met for kindle. > 2) Run it > > :) > --0000000000007a391505fb430034 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
you are smart for sure.

Il mar 9 mag 2023, 14:52 Wojciech = Puchar <wojtek@puchar.net> h= a scritto:
here is tutorial for You= :

1) Write FreeBSD port on hardware you want. All you need is MMU capable CPU, at least 64MB RAM on target hardware, C compiler for target. All
certainly met for kindle.
2) Run it

:)
--0000000000007a391505fb430034-- From nobody Tue May 9 13:57:11 2023 X-Original-To: freebsd-hackers@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 4QG08W12Tcz4BDDg for ; Tue, 9 May 2023 13:57:15 +0000 (UTC) (envelope-from jo@bruelltuete.com) Received: from email.jo-t.de (seppel.jo-t.de [45.132.244.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QG08V2jlTz3LmV for ; Tue, 9 May 2023 13:57:14 +0000 (UTC) (envelope-from jo@bruelltuete.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bruelltuete.com header.s=bruelltuete18a header.b=V4HUaWA4; spf=pass (mx1.freebsd.org: domain of jo@bruelltuete.com designates 45.132.244.126 as permitted sender) smtp.mailfrom=jo@bruelltuete.com; dmarc=pass (policy=none) header.from=bruelltuete.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bruelltuete.com; s=bruelltuete18a; t=1683640634; bh=MnsLzERKAaI2rRZ3CHizAa5DlC6f0iUPSqXM6+twP9o=; h=Message-ID:Date:MIME-Version:To:From:Subject:From; b=V4HUaWA4EzVXbCrd9meIYOjq5p1E7UtCpfAnduzugPV9nxp2y+27f4ij6b/SRgufA aIn8evoH6zPsnOMtQiPAmZVIMqn9GHkLCyLowMKaUKokp14yGin14La3Zkv+NzvM7b vVhqOgXxn2nRTLPmR/+maSnzhCN8x1WJXkJdWUgoQn4JPKGSg9u24WSEvcs/VTcSDD IvRFZy52eFi4wSLvXmEW6+mpEsq8wfFFfyUqrrNN6LHTAwHceVKXYgQ6ZFOr/QY+zG fBCLMGQSNDVT6mn+HPrzTMa+T1jlALeF4hSYKXjkVWGZTwV9TZut6pd0zNn3d5dL9M QSkFMabdb6v/A== Message-ID: <42f00297-c266-9aa0-b163-7dbf3c046c34@bruelltuete.com> Date: Tue, 9 May 2023 14:57:11 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Language: en-GB To: freebsd-hackers@FreeBSD.org From: Johannes Totz Subject: superio & IT8613 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.96 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.963]; DMARC_POLICY_ALLOW(-0.50)[bruelltuete.com,none]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_ALLOW(-0.20)[bruelltuete.com:s=bruelltuete18a]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:197540, ipnet:45.132.244.0/22, country:DE]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[bruelltuete.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QG08V2jlTz3LmV X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi everyone, I have reviews open to add support for IT8613. I'd appreciate if someone could review and/or commit. https://reviews.freebsd.org/D39969 Simply adds the device ID for this chip to superio(4). As straight-forward as possibly can be. https://reviews.freebsd.org/D39970 Is a new driver for this chip to expose temperature and fan readings as sysctl values. If you don't want it in base, it could also go to ports but would still require the superio-device-id patch above. https://reviews.freebsd.org/D39971 Adds a man page for the driver. I've been using the driver on my machine since September. Works fine afaict. thanks, Johannes From nobody Tue May 9 14:23:50 2023 X-Original-To: freebsd-hackers@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 4QG0lR3sfSz4BFgm for ; Tue, 9 May 2023 14:24:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 4QG0lR327bz3R84 for ; Tue, 9 May 2023 14:24:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9661047f8b8so672684166b.0 for ; Tue, 09 May 2023 07:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1683642242; x=1686234242; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=B8SiOUBsJg9cqBb3WcoZsqwr1bx4mdMDwRBmBXpiKfE=; b=yKqw+uJiO9+UpGtvb0wDM1Sb0R3zBOuOg9edkBGXDFZtJnqhi+6eNXYMa+5Cid7r4m kkOSCxGqhOImI/lltrFB1dglSXQjHffEm/L6G38yn/LSamh4Lv0naZwJcIqPp5gin7sO XfKn4Z3akeEZaK2A2dZ8xuMMPsQWKXpUAjXLVTsevI+GLU5TD/d3TYCmj9NCdTuI2xMy mwjaMHZ8IzrB6Evl2WTb5ILXf2Wl1PNIx+5mHb8hpduao7oLIJ/bjf/dqUeqlRqls3cT uxfHqOz/iV13TbflIS4cX6TLWIXGBa+6cG1nxyTAkAcIFHL43XXAupnm4rObknFKOMH1 EynA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683642242; x=1686234242; 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=B8SiOUBsJg9cqBb3WcoZsqwr1bx4mdMDwRBmBXpiKfE=; b=GkDTg20G/Oz9nFeftcAIP99HyBUBrO8vvNdniglzGJXfYyRLiAICj1+4dTn3zFkDrg GTu/dkyQ+d8sjd61MFnvmu+70ZZZd53RrTbPZB0u7jLsq+wOQ5EzFlM26R19P1g+iYAA sXCkteKCx2T+STGinTw30Zu5o0zOlJrw/Ftegc9XfxPH9t5MylDDprW0BAFf1lkEKs40 /w2cTkA0gPBQqk0osPVAGks0eSh9DhHW6Zp2tbQa/UVH+T3XW9udeZh9yHSaladl4KvH qdyMOYE11wu8sH4zHUD9p3T3Sd/PKiErmeJnb+ylGfaGUb9wGPS56BRdpBRIZLR9RPqH vvSQ== X-Gm-Message-State: AC+VfDz90cUURF6IngH9VuYpxmXiymqB5xAI+GqdJY8k5Hy0y0jgSk8m AoCHrJsCqTK9mfiLaKrtTMMAJAFg2d2yyErujPk3TaTxf2BeLRRc X-Google-Smtp-Source: ACHHUZ4JiXmXaDF5t6j4lYcv3/3cPCnGsoLGUapGhTX0Fmirm+gePrjjGC9+K02YYpf3PjeIY0UhMRnF9cCU/rAN2iE= X-Received: by 2002:a17:907:3e9c:b0:966:471c:2565 with SMTP id hs28-20020a1709073e9c00b00966471c2565mr8794642ejc.48.1683642242013; Tue, 09 May 2023 07:24:02 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <42f00297-c266-9aa0-b163-7dbf3c046c34@bruelltuete.com> In-Reply-To: <42f00297-c266-9aa0-b163-7dbf3c046c34@bruelltuete.com> From: Warner Losh Date: Tue, 9 May 2023 08:23:50 -0600 Message-ID: Subject: Re: superio & IT8613 To: Johannes Totz Cc: FreeBSD Hackers Content-Type: multipart/alternative; boundary="000000000000c3ca3305fb4381ca" X-Rspamd-Queue-Id: 4QG0lR327bz3R84 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000c3ca3305fb4381ca Content-Type: text/plain; charset="UTF-8" If they are ready, I'll do it. I've been watching their progress. I have a script that automates this process I'd like to test. Warner On Tue, May 9, 2023, 7:57 AM Johannes Totz wrote: > Hi everyone, > > I have reviews open to add support for IT8613. > I'd appreciate if someone could review and/or commit. > > https://reviews.freebsd.org/D39969 > Simply adds the device ID for this chip to superio(4). > As straight-forward as possibly can be. > > https://reviews.freebsd.org/D39970 > Is a new driver for this chip to expose temperature and fan readings as > sysctl values. > If you don't want it in base, it could also go to ports but would still > require the superio-device-id patch above. > > https://reviews.freebsd.org/D39971 > Adds a man page for the driver. > > I've been using the driver on my machine since September. Works fine > afaict. > > > > thanks, > > Johannes > > --000000000000c3ca3305fb4381ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If they are ready, I'll do it. I've been watching= their progress. I have a script that automates this process I'd like t= o test.

Warner

=
On Tue, Ma= y 9, 2023, 7:57 AM Johannes Totz <= jo@bruelltuete.com> wrote:
H= i everyone,

I have reviews open to add support for IT8613.
I'd appreciate if someone could review and/or commit.

https://reviews.freebsd.org/D39969
Simply adds the device ID for this chip to superio(4).
As straight-forward as possibly can be.

https://reviews.freebsd.org/D39970
Is a new driver for this chip to expose temperature and fan readings as sysctl values.
If you don't want it in base, it could also go to ports but would still=
require the superio-device-id patch above.

https://reviews.freebsd.org/D39971
Adds a man page for the driver.

I've been using the driver on my machine since September. Works fine af= aict.



thanks,

Johannes

--000000000000c3ca3305fb4381ca-- From nobody Tue May 9 14:28:46 2023 X-Original-To: freebsd-hackers@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 4QG11g5MxHz4BGTP for ; Tue, 9 May 2023 14:36:23 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (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 "uucp.dinoex.sub.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QG11f3rqHz3k6f for ; Tue, 9 May 2023 14:36:22 +0000 (UTC) (envelope-from li-fbsd@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of li-fbsd@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=li-fbsd@citylink.dinoex.sub.org; dmarc=none Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.17.1/8.17.1) with ESMTPS id 349Ea6EQ013812 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 9 May 2023 16:36:07 +0200 (CEST) (envelope-from li-fbsd@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: Received: (from uucp@localhost) by uucp.dinoex.org (8.17.1/8.17.1/Submit) with UUCP id 349Ea6bh013805 for freebsd-hackers@freebsd.org; Tue, 9 May 2023 16:36:06 +0200 (CEST) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from admn.intra.daemon.contact (localhost [127.0.0.1]) by admn.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 349ETFKt096671 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 9 May 2023 16:29:15 +0200 (CEST) (envelope-from li-fbsd@citylink.dinoex.sub.org) Received: from intra.daemon.contact (news@localhost) by admn.intra.daemon.contact (8.17.1/8.17.1/Submit) with NNTP id 349ESkZN096391 for freebsd-hackers@freebsd.org; Tue, 9 May 2023 16:28:46 +0200 (CEST) (envelope-from li-fbsd@citylink.dinoex.sub.org) X-Authentication-Warning: admn.intra.daemon.contact: news set sender to li-fbsd@citylink.dinoex.sub.org using -f From: "Peter 'PMc' Much" X-Newsgroups: m2n.fbsd.hackers Subject: Re: Run scripts from rc.suspend Date: Tue, 9 May 2023 14:28:46 -0000 (UTC) Message-ID: References: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com> Injection-Date: Tue, 9 May 2023 14:28:46 -0000 (UTC) Injection-Info: admn.intra.daemon.contact; logging-data="89824"; mail-complaints-to="usenet@citylink.dinoex.sub.org" User-Agent: slrn/1.0.3 (FreeBSD) To: freebsd-hackers@freebsd.org X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Tue, 09 May 2023 16:36:09 +0200 (CEST) X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; FORGED_SENDER(0.30)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[sub.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[pmc@citylink.dinoex.sub.org,li-fbsd@citylink.dinoex.sub.org] X-Rspamd-Queue-Id: 4QG11f3rqHz3k6f X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org On 2023-05-06, Stefan Blachmann wrote: > On 5/5/23, Peter 'PMc' Much wrote: >> I found there is a rather short timeout, when the susppend script will >> not complete running child processes and give up (hand over to acpi). >> >> OTOH stopping processes may sometimes be fast and sometimes take a while - >> so the outcome is likely an unpredictable state in the suspend, and some >> people don't like that. > > Can't this timeout delay be made configurable, or just that the > suspend scripts complete, instead of killing them? > There seemed to be some interaction with the acpi, and I didn't bother to figure out the details. I did put my 'service stop' tasks into /usr/local/etc/devd/* to act on the ACPI/Suspend event, and that does currently suit my needs. From nobody Tue May 9 16:58:52 2023 X-Original-To: freebsd-hackers@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 4QG4BL6kLbz49BLq for ; Tue, 9 May 2023 16:59:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 4QG4BK46kPz43kc for ; Tue, 9 May 2023 16:59:05 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=UNQsu+Af; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-52c6f8ba7e3so5727258a12.3 for ; Tue, 09 May 2023 09:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683651544; x=1686243544; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=7vQa3IxJ3EIplQVsKiITbbqfCFROpQ2OERUIYllfH44=; b=UNQsu+AfP8r7qJJtxe1G/fl8GieTbfxdvaw5rLt/SmKdm7vvLhLPWB8BIX3A3LC+iK IXsfBXXWErela8IFVVlKVMa+B/QZuvQd5XjGMu8iJicx6SVl9jJs3COIqS3iITOy76Wx 7mBe/uKKCxhwlMwTJrU0WqgHmsqb2390cozFwEqbIZ4A32ikwL2s4uR3kOVY+f9U5He5 YWra617zLZu//cekSlYMfviTV8IfOWyMsr0FjDFTe1L22yGnWt0MrPx+T8SaZE++Tano MFE8wk7oHf3MDARyFg8XG1VAJdjbKtrbnFIA3JzV6l9gyW6akUoKtdblTH/7NVwi4CsH KCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683651544; x=1686243544; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7vQa3IxJ3EIplQVsKiITbbqfCFROpQ2OERUIYllfH44=; b=QO6/IS2laB0shWBv2XR9OcWO0KDLUb7027yJgEtCctpuyfRsj2FrzLTraa9Cny9zwy gpwRIKNmhzhXzDXCLX3GWgTWeyHGa7xrKQiol4J+OBWoAcT+KRzJfe18Gyh1z5w/y3NX j6f/fQ0VAXBYtlD9q6D8PO5vV1evruhYbgsJSvkaG3RZhXVOV/QJuBQ75hpILJMFyz2t MiAaFfqp9ZrVPsAOHq/Ic0oVOGwdsu+JT8QyjnGjNhPf0396FZJaojRiow3cr2+sbUJG d1B/tw8Nzhpos11GzNRT2gTfA+6gHDg5MGfnF4OXZ+5nBwFTND0R8NE9WdkCvaTWhP+w 8zFQ== X-Gm-Message-State: AC+VfDwPMJHMVceT9ym3b5ttqsccHGoAEJTZ5g7wRU5m9UKhg/2GKwTw dufTp8dk8l6EicBTZItf8Q4s0EulwQs= X-Google-Smtp-Source: ACHHUZ6H8sXOx7Eiq/ASpQBAAdyZcSBTfOCcpPCXZ+s6sOQX0H7Z7y6c3TesO9+m+RmxH2r/3JrspA== X-Received: by 2002:a17:90b:1d87:b0:24d:fb82:71ab with SMTP id pf7-20020a17090b1d8700b0024dfb8271abmr15042749pjb.26.1683651543627; Tue, 09 May 2023 09:59:03 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id ot5-20020a17090b3b4500b002508d73f4e8sm3759232pjb.57.2023.05.09.09.59.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 May 2023 09:59:03 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-96DB0E64-C889-4A90-846E-1F251D219529 Content-Transfer-Encoding: 7bit From: Enji Cooper List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: freebsd on an ebook ereader ? Date: Tue, 9 May 2023 09:58:52 -0700 Message-Id: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> References: Cc: freebsd-hackers In-Reply-To: To: Mario Marietto X-Mailer: iPhone Mail (20D67) X-Spamd-Result: default: False [-2.50 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::533:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4QG4BK46kPz43kc X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail-96DB0E64-C889-4A90-846E-1F251D219529 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On May 7, 2023, at 10:06, Mario Marietto wrote: >=20 > =EF=BB=BF > Hello. >=20 > any chance to install freebsd on some kind of ebook ereader like the kindl= e ? I just also need to have a partial tutorial already written. I can finis= h the project,but im not able to start it from scratch. let me know. The reMarkable eReader looks like it would require some device porting, but i= t seems to fit the specs Warner mentioned in his reply (1.2GHz arm chip; 1GB= RAM). Here=E2=80=99s a guide someone stuck up on github: https://github.com= /reHackable/awesome-reMarkable . If I were in your shoes, I=E2=80=99d invest some time into getting Linux on t= he target to inspect the full specs of the tablet and see where time investm= ent was needed to make this work. A quick search suggests Amazon Fir= e tablets aren=E2=80=99t easy to hack because of the bootloader, but there a= re some guides out there about hacking the android OS, so there might be a p= ath forward if you=E2=80=99re diligent and patient: https://frontpagelinux.c= om/tutorials/how-to-install-lineage-os-on-amazon-fire-hd-8-tablet/ . My gues= s is that Amazon devices (including newer versions of rhe Kindle, maybe) are= going to be a pain to hack because of custom bootloader code designed speci= fically to keep folks from installing unsigned/blessed OSes from Amazon. HTH, -Enji= --Apple-Mail-96DB0E64-C889-4A90-846E-1F251D219529 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On May 7, 2023, at 10:06, M= ario Marietto <marietto2008@gmail.com> wrote:

=EF=BB=BF
Hell= o.

any chance to install freebs= d on some kind of ebook ereader like the kindle ? I just also need to have a= partial tutorial already written. I can finish the project,but im not able t= o start it from scratch. let me know.

The reMarkable eReader looks like it would requi= re some device porting, but it seems to fit the specs Warner mentioned in hi= s reply (1.2GHz arm chip; 1GB RAM). Here=E2=80=99s a guide someone stuck up o= n github: = https://github.com/reHackable/awesome-reMarkable .
If I w= ere in your shoes, I=E2=80=99d invest some time into getting Linux on the ta= rget to inspect the full specs of the tablet and see where time investment w= as needed to make this work.         A quick search sugg= ests Amazon Fire tablets aren=E2=80=99t easy to hack because of the bootload= er, but there are some guides out there about hacking the android OS, so the= re might be a path forward if you=E2=80=99re diligent and patient: https://frontpagelinux.com/tutorials/how-to-install-l= ineage-os-on-amazon-fire-hd-8-tablet/ . My guess is that Amazon dev= ices (including newer versions of rhe Kindle, maybe) are going to be a pain t= o hack because of custom bootloader code designed specifically to keep folks= from installing unsigned/blessed OSes from Amazon.
HTH,
-Enji
= --Apple-Mail-96DB0E64-C889-4A90-846E-1F251D219529-- From nobody Tue May 9 17:23:51 2023 X-Original-To: freebsd-hackers@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 4QG4lc3JDhz49DcK for ; Tue, 9 May 2023 17:24:28 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (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 4QG4lc10JYz49My for ; Tue, 9 May 2023 17:24:28 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-55a8e9e2c53so58816717b3.1 for ; Tue, 09 May 2023 10:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683653067; x=1686245067; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9hwVmVTdXKfbCyt/hxFzwhDxHfcb7eYR/d8ZTSY/wUw=; b=FLvdzFYuzUc43LMr7xnjAuUcJxFEKBAanILp6Mab4DiToolaIp0Gho1o3rlC4EXH9g at6OXSLL3T6r5c6qyXBQyOleXIi3x0vaGP/8NnAdMd3w9gwZJFhIsWnNX5i7gAbhoTDR fHtBgMJG0jmS7blWDyCkwaKI17dscZiwDXMH5irGfoaZGbr7LNnAsMmQUUq5SRmCCdvN 7OIt/eoRJCu/9JTEw6APu8RznDsbi06ZJvBYhnqcQ4F7N+ATp1nw+zzTTAzFigt52L65 B8LwRn5b3eOKWG97KGn6OwRXWoxJDiiioyp0v7qrJ99Re14CnYCGYZtB/INHIdf3n+JD qPLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683653067; x=1686245067; 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=9hwVmVTdXKfbCyt/hxFzwhDxHfcb7eYR/d8ZTSY/wUw=; b=TCqij7HBjaQmnVZm/XPEc/CjpEm9fT+2NWUNGYA5tmJfttWRXq6g8gaPRHLdOl3jhH 0d2Q/IVPhKIWk5AQNA883edccdRDZBXjq+WC7MRv4xHkbQqGOD731Vsa7T2I6rR1NCrc Zz3PsVOFQLYQQ3whFycX2bq80vHzoYLi5QYajGI2GzY8hobuBgglrRgfz58BFeesTD3m 5xYSePQwhG6+T84iuJQNPBmRgVo+l6v2DnUgFKYEghtrBUmFL51Pev8uv5xzQxJgvVVl L/TA/9V9iHl+CGaEEAe5OEzaYJWa5g05xG6QsCZGN0kPkN5bRmMr2gCITCpntWahCLPI fDyw== X-Gm-Message-State: AC+VfDzZUOxSO+FIYrHwTVQo0u/17oN+2TxQ6qXcqIgRQSoI2jQCeCwJ CMu1wMMi3qIxkQqD4wXLuHX210KmJ86SaGfGtg4AC56Jv6hDnw== X-Google-Smtp-Source: ACHHUZ5XWVr/RkNIIlxlRL3DBQfLu0kxWz88+nTxZ8Z+Rxm6wGT9kU/ktaEvajQUm1qvZX2+9AeXzC4fjwG2WGC7H34= X-Received: by 2002:a25:4d04:0:b0:b9e:45e1:20e3 with SMTP id a4-20020a254d04000000b00b9e45e120e3mr12523060ybb.20.1683653067220; Tue, 09 May 2023 10:24:27 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> In-Reply-To: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> From: Mario Marietto Date: Tue, 9 May 2023 19:23:51 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Enji Cooper Cc: freebsd-hackers Content-Type: multipart/alternative; boundary="000000000000ff2eb605fb460656" X-Rspamd-Queue-Id: 4QG4lc10JYz49My X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000ff2eb605fb460656 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Very thanks bro'. None of your suggested devices fits my requirements for starting the hacking process,but...ehy...nice tries. I'm not interested in Android at all. For some time I've been looking for an old /but not too much/ device,like a phone or tablet where I can install Linux or even better,FreeBSD. The device should capture my curiosity. It should be a particular device. The Amazon tablet is not good because I hate amazon and I hate Android. Another story is the awesome remarkable. WIll be interesting to try to install Linux and / or FreeBSD there...but...it is too expensive for me. And unfortunately I haven't any high experience in such things. I can finish a project that's already been started. Maybe. I would be also interested to install FreeBSD on the Jetson nano or on the pinephone. But not alone. If someone has the same boal,I would like to participate for sure. I'm more intrigued by installing FreeBSD on an old mobile phone. That's for sure. On Tue, May 9, 2023 at 6:59=E2=80=AFPM Enji Cooper = wrote: > > On May 7, 2023, at 10:06, Mario Marietto wrote: > > =EF=BB=BF > Hello. > > any chance to install freebsd on some kind of ebook ereader like the > kindle ? I just also need to have a partial tutorial already written. I c= an > finish the project,but im not able to start it from scratch. let me know. > > > The reMarkable eReader looks like it would require some device porting, > but it seems to fit the specs Warner mentioned in his reply (1.2GHz arm > chip; 1GB RAM). Here=E2=80=99s a guide someone stuck up on github: > https://github.com/reHackable/awesome-reMarkable . > If I were in your shoes, I=E2=80=99d invest some time into getting Linux = on the > target to inspect the full specs of the tablet and see where time > investment was needed to make this work. A quick search suggests > Amazon Fire tablets aren=E2=80=99t easy to hack because of the bootloader= , but > there are some guides out there about hacking the android OS, so there > might be a path forward if you=E2=80=99re diligent and patient: > https://frontpagelinux.com/tutorials/how-to-install-lineage-os-on-amazon-= fire-hd-8-tablet/ . > My guess is that Amazon devices (including newer versions of rhe Kindle, > maybe) are going to be a pain to hack because of custom bootloader code > designed specifically to keep folks from installing unsigned/blessed OSes > from Amazon. > HTH, > -Enji > --=20 Mario. --000000000000ff2eb605fb460656 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Very thanks bro'.

None o= f your suggested devices fits my requirements for starting the hacking proc= ess,but...ehy...nice tries. I'm not interested in Android at all. For s= ome time I've been looking for an old /but not too much/ device,like a = phone or tablet where I can install Linux or even better,FreeBSD. The devic= e should capture my curiosity. It should be a particular device. The Amazon= tablet is not good because I hate amazon and I hate Android. Another story= is the awesome remarkable. WIll be interesting to try to install Linux and= / or FreeBSD there...but...it is too expensive for me. And unfortunately I= haven't any high experience in such things. I can finish a project tha= t's already been started. Maybe. I would be also interested to install = FreeBSD on the Jetson nano or on the pinephone. But not alone. If someone h= as the same boal,I would like to participate for sure. I'm more intrigu= ed by installing FreeBSD on an old mobile phone. That's for sure.
<= /div>

On Tue, May 9, 2023 at 6:59=E2=80=AFPM Enji Cooper <yaneurabeya@gmail.com> wrote:

On May 7, 2023, at 10:06, Mario Marietto <marietto2008@gmail.com> wrot= e:

=EF= =BB=BF
Hello.

any chance to install freebsd on some kind of ebook ereader like the kindl= e ? I just also need to have a partial tutorial already written. I can fini= sh the project,but im not able to start it from scratch. let me know.
=

The reMarkable eReader looks like it would requ= ire some device porting, but it seems to fit the specs Warner mentioned in = his reply (1.2GHz arm chip; 1GB RAM). Here=E2=80=99s a guide someone stuck = up on github:=C2=A0https://github.com/reHackable/awesome-reMarkable= =C2=A0.
If I were in your shoes, I=E2=80=99d invest some time int= o getting Linux on the target to inspect the full specs of the tablet and s= ee where time investment was needed to make this work. =C2=A0 =C2=A0 =C2=A0= =C2=A0 A quick search suggests Amazon Fire tablets aren=E2=80=99t easy to = hack because of the bootloader, but there are some guides out there about h= acking the android OS, so there might be a path forward if you=E2=80=99re d= iligent and patient:=C2=A0htt= ps://frontpagelinux.com/tutorials/how-to-install-lineage-os-on-amazon-fire-= hd-8-tablet/=C2=A0. My guess is that Amazon devices (including newer ve= rsions of rhe Kindle, maybe) are going to be a pain to hack because of cust= om bootloader code designed specifically to keep folks from installing unsi= gned/blessed OSes from Amazon.
HTH,
-Enji


--
Mario.
--000000000000ff2eb605fb460656-- From nobody Tue May 9 18:10:19 2023 X-Original-To: freebsd-hackers@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 4QG5md1bcyz49HJs for ; Tue, 9 May 2023 18:10:25 +0000 (UTC) (envelope-from jo@bruelltuete.com) Received: from email.jo-t.de (seppel.jo-t.de [45.132.244.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QG5mc5HVkz4GKQ for ; Tue, 9 May 2023 18:10:24 +0000 (UTC) (envelope-from jo@bruelltuete.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bruelltuete.com; s=bruelltuete18a; t=1683655822; bh=G/EgwhFYIkdrdxnRiqhr7JU/+FiUsVR5dsauijnRwVU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From:From; b=rHfdXr/8chMSd4NgB5M0qadyhQkqoLSLMrGmHqyUqeLHMZzPBmyLPLS4ZZSflqRkO 3ikUwx4vL+K0UdDwB+LhUBiaeh5JR1CY7UPhTz76WeHKh6AsBlqPlF48o3oOtIoC6+ LzdrbJXZYhOmix5PMI53zVge3wmCkDCjd1ALoeh6IJJOu8tNHpQ6T/UZZzpZi+oBHU 57g8d+8e45GSQgHZr3RJXxJ0OYlRzw4NW1aXXBsMF2iY0LgpAEL3ucX3udO88MXxIl deM9ms+d+PtPM1GcvNQEb1avjZz7nx+xrDz42cVqbKJVZGL5DyhX0k2vNhlCjw4v1h 2bWz6LyOYRpdw== Message-ID: Date: Tue, 9 May 2023 19:10:19 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Subject: Re: superio & IT8613 Content-Language: en-GB To: Warner Losh Cc: FreeBSD Hackers References: <42f00297-c266-9aa0-b163-7dbf3c046c34@bruelltuete.com> From: Johannes Totz In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4QG5mc5HVkz4GKQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:45.132.244.0/22, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 09/05/2023 15:23, Warner Losh wrote: > If they are ready, I'll do it. I've been watching their progress. I have > a script that automates this process I'd like to test. Should be good to review and commit. Graham had a look at the man page already (thanks!). > > Warner > > On Tue, May 9, 2023, 7:57 AM Johannes Totz > wrote: > > Hi everyone, > > I have reviews open to add support for IT8613. > I'd appreciate if someone could review and/or commit. > > https://reviews.freebsd.org/D39969 > Simply adds the device ID for this chip to superio(4). > As straight-forward as possibly can be. > > https://reviews.freebsd.org/D39970 > Is a new driver for this chip to expose temperature and fan readings as > sysctl values. > If you don't want it in base, it could also go to ports but would still > require the superio-device-id patch above. > > https://reviews.freebsd.org/D39971 > Adds a man page for the driver. > > I've been using the driver on my machine since September. Works fine > afaict. > > > > thanks, > > Johannes > From nobody Wed May 10 02:19:53 2023 X-Original-To: freebsd-hackers@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 4QGJdm1mNtz49t5G for ; Wed, 10 May 2023 02:20:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-21.consmr.mail.gq1.yahoo.com (sonic317-21.consmr.mail.gq1.yahoo.com [98.137.66.147]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGJdk6wM6z3wR5 for ; Wed, 10 May 2023 02:20:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="W/NcUpvT"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683685209; bh=T6Q/dZz3+7tFuwg6RF9oa1vYmEwOuipUop8KmWvWag0=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=W/NcUpvTjauz3JyjXI+IRf8QA/nDoslWFfYuAOuESo7BagEl8iqgHSI9ZJfpwAb2ADNiIgT9Njj3yz7HO/FzkFov35RLMKVbt867N3u/XyJjK+GiVQCXEx1qpvNAbzlAqBW0NGh++yM0PFqup7dppnSPq6w7j4qci+QqsuEEqmqR7IQh/xcm7S7j6Y4fdIHsQX1GSuNeV4h0K3xDDtVa1mkdTGpH0Y+XS3j1ddpFBO1jbpeQS02sJeOacwKyYQdBL3RWpKhqDlpY24l34sKuJhx2XhxlLEuTfsHdgB30MQaBENVJqLkez0vPUNzaVjt7Qxt5ir+XAJzG+uhBIpUi3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683685209; bh=0wd8l08E6tYCaMsqYmvW6jv1X/N1IfLGYLjRtfIcsWj=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=WyEBW1XPS8pR83WWA5576JlzWQk+zJq4IpMR5qoeK/iDYjDr5q3RVg21ic6sb9pExEpww+hCbj3yR/5WsQiJ9EebGDctZvpf1DSPSElzE9/Iiji1/iY2t8XAR6T3uwf8hB/W2W1yUsXOm2famLa4+xzCWpS3gVHwWs03VSBgq+aVBxTZaBA7zoDB2eQF2Cu5kuRG5uXL+TXjjolCyiFAGjL9crv9onaNGetjM6fsQ/kCbbeJDRGkqeAUd5Q180bCXz9qurk29dHgJGFu34uZhc7a+ipIP0AaqX7Sd3rtnj3WXFwLbDY/DRsA0vgvwf3ovKxvclcpivy00HSVbH8xjw== X-YMail-OSG: Ul_kO7MVM1k94bcGjwN7lomcYEAdzH861dYVyYwAruUy4s0e5myun5kFJbjjsb. udTve4XA9Q8ywB8.1FUZM.IKlFO97K63CNLWWUY1_RZ8ByFc.MAMm88_gXwyxqQKW0oGT0VXlypF j5isEoz.JBABVJInQbZ6oDXUqMihHAW9.PncQfsVH7b1tu..ohXfsQ2JVcVyAzMnIw6qUoiR6pi4 NuqPOMy0PsAhsvmpw1.YR5ty7bsehZ4ayVXLBDDoWm7GDgEfLE9O6.chg919IZMB6JzopfAZ7Lgr lE9BnaKBugejAbvrXLJMIB6Un1Btu8Y4ZNfqXSyDpJXfI4x5XsaC1zndZUaUYCU67wPmmiNjaF.H SUAWDMeVCpRRCvCHi8xWSMg0GAvlqBwwF3brQQtSuojVDQUrE_BIjgiHWKKdF6na0pM36Q0fGIHt 6QWfKfW4QB2llH0uhD0Vnk8.CH7_aHBIkZn8oFL2ulAKnRo3WSQoeLyzenwowSQKLqH8h6FA42k6 Zqw.W4.KQ3Ugu2zFqk0dTnbWfQp5AU9.Xl4Z23s1F6lO9VztUZLqH.07kuQOo1YSeWdb79FwEkur pkploGZ7dmXYjb69EtvtiYRaRvB44x22Gde4bdDCpWcWm948ylLZGfZuDAwFPoh8qUhosu6OGld4 58nSVcP8NEDUvRAHi4t0VswQ4WiPqEw7Mz1cnkomSg9tYIYAAcsJBjP3mEHfFgIfRY_HDnBTGcig VCSbt8tr4keG07ElISRlp_HJIPs4jCJlgkMf.VOtxDDOj3youK_giTFyTBXUNl8B_B8PJ4YX8zGM 6Zd188_ju6Atav8OFLUr9sJNrNI.pvwfOVpTA35RPb2a7gDaldwMQsGTY3jR.cYrnJLuXgpXZj.r z_r1SFLrtFt2mSLuiMOW8AwpeDanDO8Zjrw3AwXg46UpMqi2qr0lvC4Hosj5Pk2hvlDqith8kQLx DJVJ2io7BBHRYQBaJ3WRElHHU26vG7D.5pQJUeVWB2U57N3q6U9Cveplq9X1mDniykaEvxNNU6C8 cxDbwhwkap52pAu1Dgu2mVlbS601n.4lu.UfC4dM4sLOAegVKin51nu1eqKKDXoLmTFOSzGCGJc2 G4nxumS7I7PRRsxHOEbcyQtcqYU61URO_9vfzd276BXh18HSE2L8RkMGkQ0rRYMG1.uVpwpyCqNb DwUbiMX2xEWwocozzsLfuNzqjkaQcFgEMrZIPQ3mwxuuWlQZ9rS1fBF7P2TKonRR2e4gPQUkoE63 6MD8.kg4OAcQS2rYQr92SUKX89EL_jXA.rLDnVTIcXHcen3F63rBlC8qntt0WhlO2HjMtNkshx0g 0vUndsVZ9MLNiNmVWeGS8IW26zCnYk3fP_FuNwgD1OYCuvwNX0V0xJoVG0Oj1J5CNNKQkz8D6ZcI iWuRlfQHnOZa_lolkUrSkVn0Xz3GeBP6IUDTWOG5Z01X1G7PbvRWHCiCqsS_a1j9dGwVX2kobuYy 279v7M5KI27KxZVU5nWpxGzmavdAjl9g8NpydNf6AYPJR2O6qorQmNysMrJfo5Q10t8GrEe10oky MpDVZWQBncGpkf.p5ojs0..FyZjb1N2yZbndS34kw9aJ7rKKWvcBOvRrBBta64MQce2VI.lx72_I UKaUxcf59nzYsfVUM4utXBn7LO5WTqYYNmzMY0CMgsTVhcfT9S16H3dpQOL9Iy2PgKcLSCG_wwUo dc6REW4FJDNjM8xkAard5HOwGenEz0TPI9dENz25h.y53w.RIKjnn58ZwlJRy4Od6XZrEJVQqikL CWfq6N6wizRUM8HB7tjuNs_n4SEqd2LhELD0VrO9Oh0L16_ZmGifBWb30eRDj3RM8nogT.lbJ4OL nFlq9DeEqpJNFBl4LLYWkelbx0PS6zzisw8ucuVKY0dloMdcrKBR.m2x.kjG.igZJReTImihLu6b Yj7OK_nq2IthFeJbErmfVlhg09yA_DAIB9ImTna1KuQWSyH3NgvidnESWUsTyTBBWLX4mgrG6CoE t.xBeC4EhZZ.4Dluoxl250grq5blGNWry1PrET1JmceYPkuAu0DKSLVxQosV.tnlfCdTBsdo2osK HfW66u3K0g8qHqc9EKU10Cln0ZuFKyO5gHB0l723O0VCGvnu9K9qZbveuSiDnobgcEkIfBFCe6Pv 381YMVOrriDbLtegG2.cXiC1yXYpsG4hpDW..6WYNGwq5wnaWYMXvEFdCanMJ1pWiaWU3NG7cjfV aD8.rM9fgZ1GE3Sr4PqobdmKVykqDedawO5SI7Agb6BaTPhIFrKICXGeMTovV8OIX4aup5YjGTeE - X-Sonic-MF: X-Sonic-ID: 6d5e244f-be5b-4a30-abf9-0fb16981bca9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Wed, 10 May 2023 02:20:09 +0000 Received: by hermes--production-bf1-5f9df5c5c4-5d8pl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4fb6de71de49ceb5d6cfe8b7952df3db; Wed, 10 May 2023 02:20:05 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Cores of different performance vs. time spent creating threads: Windows Dev Kit 2023 example Message-Id: <11EBAA22-6E0F-4B27-9799-7786E149D9B1@yahoo.com> Date: Tue, 9 May 2023 19:19:53 -0700 Cc: freebsd-arm To: FreeBSD Hackers X-Mailer: Apple Mail (2.3731.400.51.1.1) References: <11EBAA22-6E0F-4B27-9799-7786E149D9B1.ref@yahoo.com> X-Spamd-Result: default: False [-1.82 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_SPAM_SHORT(0.68)[0.682]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.147:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.147:from] X-Rspamd-Queue-Id: 4QGJdk6wM6z3wR5 X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N First some context that reaches an oddity that seems to be involved in the time to create threads . . . The Windows Dev Kit 2023 (WDK23 abbrevation here) boot reports: CPUs (cores) 0..3: cortex-a78c (the slower cores) CPUs (cores) 4..7: cortex-x1c (the faster cores) Building a kernel explicitly via involving -mcpu= use gets the following oddity relative to cpu numbering when the kernel is used: -mcpu=cortex-x1c or -mcpu=cortex-a78c: Benchmarking tracks that number/performance pairing. -mcpu=cortex-a72: The slower vs. faster gets swapped number blocks. So, for -mcpu=cortex-a72 , 0..3 are the faster cores. This sets up for the following . . . But I also observe (a relative comparison of contexts via some benchmark-like activity): -mcpu=cortex-x1c or -mcpu=cortex-a78c based kernel: threads take more time to create -mcpu=cortex-a72 based kernel: threads take less time to create The difference is not trivial for the activity involved for this WDK23 context. If there is a bias as to which core(s) are involved in part of thread creation generally, it would appear to be important that the bias to be to the more performant cores (for what the activity involves). The above suggests that such is possibly not necessarily the case for FreeBSD as is. BIG/little (and analogous?) cause this to become more relevant. Does this hypothesis about what type of thing is going on fit with how FreeBSD actually works? As stands, I'm going to experiment with the WDK23 using a cortex-a72 targeted kernel but a cortex-x1c/cortex-a78c targeted world for my general operation of the WDK23. Note: While the benchmark results allow seeing in plots what traces back to thread creation time contributions, the benchmark itself does not directly measure that time. It is more like, the average work rate for a time changes based on the fraction of the time involved in the thread creations for each given problem size. The actual definition of work here involves a mathematical quantity for a mathematical problem (that need not be limited to computers doing the work). The benchmark results are more useful for discovering that there is something to potentially investigate than to actually do an investigation with. === Mark Millard marklmi at yahoo.com From nobody Wed May 10 14:14:03 2023 X-Original-To: freebsd-hackers@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 4QGcTV1qLcz49xZG for ; Wed, 10 May 2023 14:14:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (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 4QGcTS6lcrz3p9C for ; Wed, 10 May 2023 14:14:04 +0000 (UTC) (envelope-from mjguzik@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=NeeZa4Gw; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2607:f8b0:4864:20::231 as permitted sender) smtp.mailfrom=mjguzik@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-392116b8f31so2296219b6e.2 for ; Wed, 10 May 2023 07:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683728044; x=1686320044; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=N/2vuiJToPsy47qrZ9Wbsp9Ix4DB4dtqGnpP0Oq7FBk=; b=NeeZa4GwA66y8301pbqY4teBty2kn6ESw0y+Ivfu6/rl+5pFFk1vdbQIUOenF2HWZF SHNE9u+F1kzqykt+aDuvuvfvRg5lxNqdQmojPek+0fh/RQMjMf24J88l4vifgGxcY1+s 8ODJJxEgk0Pu8HkpJKO4fVRiNsIkWSAymIr9gCBpqk7NbczAo8uj5pLyQMI8LnEEe2VE R2uuYG5QaxI2/sfDCSVLx7ozIjGmp3b6sfOV1e375RfxhpmUBR69niB3drr8G0EpMYiB ESlMw689SqFQ5RmbhwZfl82M58YB/nm7nsjm6vz9AJP3aqYJt8XZ1ExIfoIdn8LK3BXw 8iPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683728044; x=1686320044; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N/2vuiJToPsy47qrZ9Wbsp9Ix4DB4dtqGnpP0Oq7FBk=; b=SNQ4khKavomp9ScB1TCmAa9Fkj8ZaZbavrWtZEqHhW6jgN0XlqQmm5nhTaEJw/Bd1z 1vk9eAm8nxI2pz7+SqOGKQPG4USlCDWEvKMQFA9aG3molr8HAPQlpuooYgmXvPzJM1IO omnaS7fs1zKYPcZ8g8eL+9D1okY1Bsf8Q09k/PW5EJ+fwMTGwU1lBhEeMMiPWg23ETef 7HIdbQFLJAKBmYljaDby654fVSALMKGIWfojA+cjoXObdB3Hyc6dUTuH3ZfQnmHK+lA7 F/0nC0FH0u3Gxb5p9gRkAZ2eqo0/bBzvvaMf+Idbq5zJD5KUGgxOuXIoSvndAIAGRDYI yLSw== X-Gm-Message-State: AC+VfDwo1Lfzcc4hUXs8Z1iP2Fbfft8ukLMYWXvl6XNYchXdrOWxE3ZZ 4PDjTWRe654bm6zvi8Dj14lBrSe1IbBHa0tXhduHLr1L X-Google-Smtp-Source: ACHHUZ7i9Pc/8ZceuK2lHatul3TtoxitxSyKuFZkCgsA+ZcRDbIZihf4Z/DAkYGv7zTzsOrwOCWk+TgHlPsuVXbHbEA= X-Received: by 2002:a05:6808:8b:b0:394:2868:d523 with SMTP id s11-20020a056808008b00b003942868d523mr1404172oic.38.1683728043755; Wed, 10 May 2023 07:14:03 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Received: by 2002:a8a:48:0:b0:4d4:94b:7266 with HTTP; Wed, 10 May 2023 07:14:03 -0700 (PDT) In-Reply-To: <20230503084150.061d508f44fc1d79b18f0110@dec.sakura.ne.jp> References: <8173cc7e-e934-dd5c-312a-1dfa886941aa@FreeBSD.org> <8cfdb951-9b1f-ecd3-2291-7a528e1b042c@m5p.com> <20230331215751.166a294f7382c85b545f53a2@dec.sakura.ne.jp> <20230503084150.061d508f44fc1d79b18f0110@dec.sakura.ne.jp> From: Mateusz Guzik Date: Wed, 10 May 2023 16:14:03 +0200 Message-ID: Subject: Re: Periodic rant about SCHED_ULE To: Tomoaki AOKI Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-1.89 / 15.00]; URI_HIDDEN_PATH(1.00)[https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.80)[-0.796]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-0.09)[-0.095]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::231:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4QGcTS6lcrz3p9C X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On 5/3/23, Tomoaki AOKI wrote: > On Mon, 1 May 2023 03:33:18 +0200 > Mateusz Guzik wrote: > >> On 5/1/23, Mateusz Guzik wrote: >> > On 3/31/23, Tomoaki AOKI wrote: >> >> On Mon, 27 Mar 2023 16:47:04 +0200 >> >> Mateusz Guzik wrote: >> >> >> >>> On 3/27/23, Mateusz Guzik wrote: >> >>> > On 3/25/23, Mateusz Guzik wrote: >> >>> >> On 3/23/23, Mateusz Guzik wrote: >> >>> >>> On 3/22/23, Mateusz Guzik wrote: >> >>> >>>> On 3/22/23, Steve Kargl >> >>> >>>> wrote: >> >>> >>>>> On Wed, Mar 22, 2023 at 07:31:57PM +0100, Matthias Andree >> >>> >>>>> wrote: >> >>> >>>>>> >> >> >> >> (snip) >> >> >> >>> > >> >>> > I repeat the setup: 8 cores, 8 processes doing cpu-bound stuff >> >>> > while >> >>> > niced to 20 vs make -j buildkernel >> >>> > >> >>> > I had a little more look here, slapped in some hacks as a POC and >> >>> > got >> >>> > an improvement from 67 minutes above to 21. >> >>> > >> >>> > Hacks are: >> >>> > 1. limit hog timeslice to 1 tick so that is more eager to bail >> >>> > 2. always preempt if pri < cpri >> >>> > >> >>> > So far I can confidently state the general problem: ULE penalizes >> >>> > non-cpu hogs for blocking (even if it is not their fault, so to >> >>> > speak) >> >>> > and that bumps their prio past preemption threshold, at which point >> >>> > they can't preempt said hogs (despite hogs having a higher >> >>> > priority). >> >>> > At the same time hogs use their full time slices, while non-hogs >> >>> > get >> >>> > off cpu very early and have to wait a long time to get back on, at >> >>> > least in part due to inability to preempt said hogs. >> >>> > >> >>> > As I mentioned elsewhere in the thread, interactivity scoring takes >> >>> > "voluntary off cpu time" into account. As literally anything but >> >>> > getting preempted counts as "voluntary sleep", workers get shafted >> >>> > for >> >>> > going off cpu while waiting on locks in the kernel. >> >>> > >> >>> > If I/O needs to happen and the thread waits for the result, it most >> >>> > likely does it early in its timeslice and once it's all ready it >> >>> > waits >> >>> > for background hogs to get off cpu -- it can't preempt them. >> >>> > >> >>> > All that said: >> >>> > 1. "interactivity scoring" (see sched_interact_score) >> >>> > >> >>> > I don't know if it makes any sense to begin with. Even if it does, >> >>> > it >> >>> > counts stuff it should not by not differentiating between >> >>> > deliberately >> >>> > going off cpu (e.g., actual sleep) vs just waiting for a file being >> >>> > read. Imagine firefox reading a file from disk and being considered >> >>> > less interactive for it. >> >>> > >> >>> > I don't have a solution for this problem. I *suspect* the way to go >> >>> > would be to explicitly mark xorg/wayland/whatever as "interactive" >> >>> > and >> >>> > have it inherited by its offspring. At the same time it should not >> >>> > follow to stuff spawned in terminals. Not claiming this is perfect, >> >>> > but it does eliminate the guessing game. >> >>> > >> >>> > Even so, 4BSD does not have any mechanism of the sort and >> >>> > reportedly >> >>> > remains usable on a desktop just by providing some degree of >> >>> > fairness. >> >>> > >> >>> > Given that, I suspect the short term solution would whack said >> >>> > scoring >> >>> > altogether and focus on fairness (see below). >> >>> > >> >>> > 2. fairness >> >>> > >> >>> > As explained above doing any offcpu-time inducing work instantly >> >>> > shafts threads versus cpu hogs, even if said hogs are niced way >> >>> > above >> >>> > them. >> >>> > >> >>> > Here I *suspect* position to add in the runqueue should be related >> >>> > to >> >>> > how much slice was left when the thread went off cpu, while making >> >>> > sure that hogs get to run eventually. Not that I have a nice way of >> >>> > implementing this -- maybe a separate queue for known hogs and >> >>> > picking >> >>> > them every n turns or similar. >> >>> > >> >>> >> >>> Aight, now that I had a sober look at the code I think I cracked the >> >>> case. >> >>> >> >>> The runq mechanism used by both 4BSD and ULE provides 64(!) queues, >> >>> where the priority is divided by said number and that's how you know >> >>> in which queue to land the thread. >> >>> >> >>> When deciding what to run, 4BSD uses runq_choose which iterates all >> >>> queues from the beginning. This means threads of lower priority keep >> >>> executing before the rest. In particular cpu hog lands with a high >> >>> priority, looking worse than make -j 8 buildkernel and only running >> >>> when there is nothing else ready to get the cpu. While this may sound >> >>> decent, it is bad -- in principle a steady stream of lower priority >> >>> threads can starve the hogs indefinitely. >> >>> >> >>> The problem was recognized when writing ULE, but improperly fixed -- >> >>> it ends up distributing all threads within given priority range >> >>> across >> >>> the queues and then performing a lookup in a given queue. Here the >> >>> problem is that while technically everyone does get a chance to run, >> >>> the threads not using full slices are hosed for the time period as >> >>> they wait for the hog *a lot*. >> >>> >> >>> A hack patch to induce the bogus-but-better 4BSD behavior of draining >> >>> all runqs before running higher prio threads drops down build time to >> >>> ~9 minutes, which is shorter than 4BSD. >> >>> >> >>> However, the right fix would achieve that *without* introducing >> >>> starvation potential. >> >>> >> >>> I also note the runqs are a massive waste of memory and computing >> >>> power. I'm going to have to sleep on what to do here. >> >>> >> >>> For interested here is the hackery: >> >>> https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff >> >>> >> >>> sysctl kern.sched.slice_nice=0 >> >>> sysctl kern.sched.preempt_thresh=400 # arbitrary number higher than >> >>> any >> >>> prio >> >>> >> >>> -- >> >>> Mateusz Guzik >> >> >> >> Thanks for the patch. >> >> Applied on top of main, amd64 at commit >> >> 9d33a9d96f5a2cd88d0955b5b56ef5058b1706c1, setup 2 sysctls as you >> >> mentioned and tested as below >> >> >> >> *Play flac files by multimedia/audacious via audio/virtual_oss >> >> *Running www/firefox (not touched while testing) >> >> *Forcibly build lang/rust >> >> *Play games/aisleriot >> >> >> >> at the same time. >> >> games/aisleriot runs slower than the situation lang/rust is not in >> >> build, but didn't "freeze" and audacious normally played next music on >> >> playlist, even on lang/rust is building codes written in rust. >> >> >> >> This is GREAT advance! >> >> Without the patch, compiling rust codes eats up almost 100% of ALL >> >> cores, and games/aisleriot often FREEZES SEVERAL MINUTES, and >> >> multimedia/audacious needs to wait for, at worst, next music for FEW >> >> MINUTES. (Once playback starts, the music is played normally until it >> >> ends.) >> >> >> >> But unfortunately, the patch cannot be applied to stable/13, as some >> >> prerequisite commits are not MFC'ed. >> >> Missing commits are at least as below. There should be more, as I >> >> gave up further tracking and haven't actually merged them to test. >> >> >> >> commit 954cffe95de1b9d70ed804daa45b7921f0f5c9da [1] >> >> ule: Simplistic time-sharing for interrupt threads. >> >> >> >> commit fea89a2804ad89f5342268a8546a3f9b515b5e6c [2] >> >> Add sched_ithread_prio to set the base priority of an interrupt >> >> thread. >> >> >> >> commit 85b46073242d4666e1c9037d52220422449f9584 [3] >> >> Deduplicate bus_dma bounce code. >> >> >> >> >> >> [1] >> >> https://cgit.freebsd.org/src/commit/?id=954cffe95de1b9d70ed804daa45b7921f0f5c9da >> >> >> >> [2] >> >> https://cgit.freebsd.org/src/commit/?id=fea89a2804ad89f5342268a8546a3f9b515b5e6c >> >> >> >> [3] >> >> https://cgit.freebsd.org/src/commit/?id=85b46073242d4666e1c9037d52220422449f9584 >> >> >> >> -- >> >> Tomoaki AOKI >> >> >> >> >> > >> > Hello everyone. >> > >> > I sorted out a patch I consider comittable for the time being. IT IS >> > NOT A PANACEA by any means, but it does sort out the most acute >> > problem and should be a win for most people. It also comes with a knob >> > to turn it off. >> > >> > That said, can you test this please: >> > https://people.freebsd.org/~mjg/ule_pickshort.diff >> > >> > works against fresh main. if you are worried about recent zfs woes, >> > just make sure you don't zpool upgrade and will be fine. >> > >> >> Here is an updated patch: >> https://people.freebsd.org/~mjg/ule_pickshortv2.diff >> >> if you are getting bad results, do: >> sysctl kern.sched.preempt_bottom=0 >> >> and try again. >> >> thank you. >> >> -- >> Mateusz Guzik > > Tried just a bit, and turned out my workload requires > kern.sched.preempt_bottom=0. > > Tested with previous patch (ule-poc-hacks-dont-use.diff) backed out. > At commit d713e0891ff9ab8246245c3206851d486ecfdd37, amd64. > > What I did for tests: > While building lang/rust, in massive rustc phase, > *Play FLAC music files using multimedia/audacious > > *Play youtube movies in www/firefox > > *edit some junk text on editors/leafpad > > multimedia/audacious plays via audio/virtual_oss. > www/firefox plays sounds via audio/pulseaudio > (Backed with audio/virtual_oss.) > > What happened: > Without kern.sched.preempt_bottom=0 (was 135), all sounds > are chopping unless any keytypes or mouse actions are done. > Text editing was mostly smooth, but always slow. > These are regardless kern.sched.preempt_thresh settings. > > With kern.sched.preempt_bottom=0, > *Playing FLAC music files using multimedia/audacious is fine. > > *Playing youtube movies in www/firefox depends on > kern.sched.preempt_thresh setting. The larger the value, the > smoother the playback is. Tested with values 21, 80, 121, 224, 400. > Note that 224 and 400 looked almost the same with my eyeballs. > > *Editing texts is faster, but just sometimes cursor movements > and editing was not smooth (randomly). > > Sorry, as I'm basically working on stable/13, I cannot take enough time > for testing on main. > > thanks for testing I posted the patch for review: https://reviews.freebsd.org/D40045 it will be suitable for MFC to stable/13 -- Mateusz Guzik From nobody Wed May 10 16:23:33 2023 X-Original-To: freebsd-hackers@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 4QGgLy4TbHz4B6TH for ; Wed, 10 May 2023 16:23:38 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 4QGgLx6lk4z4678 for ; Wed, 10 May 2023 16:23:37 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1aae5c2423dso72322295ad.3 for ; Wed, 10 May 2023 09:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683735816; x=1686327816; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AHneBb9QacZJUqClnBqsnNcpcV/BOs13NudPB23MgPM=; b=ja40Y1X2f5xTQj+4qyiEOsZfaFr3hFc54gQsS6LUEV1j3rPsUXS/PFAHfLx4Pf5rqj BIH0oEApjBk9Jx2YX3t4V4lVT1z1lpCcWkVKogL5rASCgqwYcOKAU41EkHBDSFOpaBc+ hPTyKjDdWxsRMzM6DLyxJsYAwq6APX3vgcf7/yHuAEoNy96tncMhBzmtJztmwH/RTBtS oE267D6lM7QPsjciZZAfEBd83YBLuB/B81022PFKDifwMWGIRtcZ55NPwSpPnorvl89a bMjOPRonG7KXkldpL5e5zznNcAZpYIhhjgmfW8WojMkEp5q83TsuW3XJeuKs7mkpd5LF 4ssg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683735816; x=1686327816; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AHneBb9QacZJUqClnBqsnNcpcV/BOs13NudPB23MgPM=; b=fPBwK1dxiL3Rg6Cyp7BnpU4WkTh5B9TljB/ffy871JHMTm728A3VhzmjWXGx9JCAnL KfgjbPm3DbJwDbgYfAy4/4EZ7+m4CkKHLYcj6/98czkUhxB3CdDF91olKL6msWtIG7Mi xqD4JR9663H1i7zHHMN0gAlbqOhVRo8DE6PqVhFfceVEd+1xQkqfk7MwiyLEO8W3WRo8 ytIqRhsEfqgzcICRZiPduLn3rShvZpw3+cN1LWte964w1A284sNByUbuDcWit8gD79rv by0nO277e8j8UhGvGPv/BSYyJlFE4JctORH1LuF/mvjZNiOHTS4CAB7MU8AEM46Cm2hn rkmQ== X-Gm-Message-State: AC+VfDy7J8g/0ShYvJAh+SpxxhmnuY2VEdd9aOjfP2QTF28mhzriwCUJ RJ5L8XVL5bPEH7YYtvP9XJPNe+DQCYA= X-Google-Smtp-Source: ACHHUZ71knDrHAW4lgddskfoOi8gqfskHf0cxz2LSTRMLo1ljFXmuOSJpO1LXLDC0FZ4lzOACxe29g== X-Received: by 2002:a17:902:e550:b0:1a6:6f3f:bc3 with SMTP id n16-20020a170902e55000b001a66f3f0bc3mr25353704plf.57.1683735816238; Wed, 10 May 2023 09:23:36 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id n18-20020a170902d2d200b001aaeba5ce0fsm3996409plc.68.2023.05.10.09.23.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2023 09:23:35 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_5D165D08-41FB-4F4A-AAA0-B1162D47445F"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: freebsd on an ebook ereader ? From: Enji Cooper In-Reply-To: Date: Wed, 10 May 2023 09:23:33 -0700 Cc: freebsd-hackers , Adrian Chadd Message-Id: <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> To: Mario Marietto X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Rspamd-Queue-Id: 4QGgLx6lk4z4678 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_5D165D08-41FB-4F4A-AAA0-B1162D47445F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 9, 2023, at 10:23 AM, Mario Marietto = wrote: >=20 > Very thanks bro'. >=20 > None of your suggested devices fits my requirements for starting the = hacking process,but...ehy...nice tries. I'm not interested in Android at = all. For some time I've been looking for an old /but not too much/ = device,like a phone or tablet where I can install Linux or even = better,FreeBSD. The device should capture my curiosity. It should be a = particular device. The Amazon tablet is not good because I hate amazon = and I hate Android. Another story is the awesome remarkable. WIll be = interesting to try to install Linux and / or FreeBSD there...but...it is = too expensive for me. And unfortunately I haven't any high experience in = such things. I can finish a project that's already been started. Maybe. = I would be also interested to install FreeBSD on the Jetson nano or on = the pinephone. But not alone. If someone has the same boal,I would like = to participate for sure. I'm more intrigued by installing FreeBSD on an = old mobile phone. That's for sure. I=E2=80=99d look into some HP tablets then. There was one that Adrian = recommended to me a while back (~10 years ago) which I purchased and = hacked around with using Linux, but didn=E2=80=99t try and get it to run = FreeBSD due to lack of time. HTH, -Enji --Apple-Mail=_5D165D08-41FB-4F4A-AAA0-B1162D47445F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmRbxQUACgkQ5JFNMZeD GN5E/Q//dP0ZcgdQvAJilMzRriYwdSz2MpJ7m0h+UhQXWddTrxm+giACgy5Oiv8J BzzcwfBaU4+kqGFxqtZrQp258INQCmEm9L9mAGCE23SZ6b45OGpXyAoBbPoCUgFp oUb+X1fTGC1Y1AuFVrC2o4NFJhePjFedHn7ZRk7pxbeorZnCCZP2M+P3UD6m27Uo 9zDWGKHEfQdSDSchvoJyMHZK3AFYhtLQJd79mudTr/a2D7hA/FQh/FNX2FCAiU9f Xo56RFzgSoOL5nUqn559LWy5X9FlQ7zSLgwqMxyyexcyXRDBNOJ7/vkcn99mutu2 X/NDIF5HdD7YEjprSz6zI/sA5sd1DJoORYeeo7AsNk0tNstPUy4kQH+3WqsGyUj3 rNXRNaib1r1NGF1vbKq6VfQmmCd8CQ6kPwmHslzGXatJQgzuOc5tPQusq/NR/+rg E2k2lRhpbupvy43Jz3apsoNO0afzYxpXAuZSu2S4UChhKMVj+M25R0S2A8eild4M cUukPFpJgswXF6wyN1aMWqR/jrI0jD4GsULdHeWYRka5klwYzh0Ajt49SrmkseOH lzi4eGDEgjuq70qoXGgNdM1MDjxwvhNTCuZhNTh6dkj+VkI2qOBWu1CLGtdaa6et ntwULmTbS96RFOov4dEvXfzqeHBBR4ZO4Za8ksuLTPA/t6+FsUE= =3FO1 -----END PGP SIGNATURE----- --Apple-Mail=_5D165D08-41FB-4F4A-AAA0-B1162D47445F-- From nobody Wed May 10 16:51:11 2023 X-Original-To: freebsd-hackers@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 4QGgzT13RSz4B808 for ; Wed, 10 May 2023 16:51:49 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 4QGgzS64D7z48tc for ; Wed, 10 May 2023 16:51:48 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-55a44a2637bso111034727b3.2 for ; Wed, 10 May 2023 09:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683737508; x=1686329508; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5vdjTh06aSQMjwAW62emqZzknFjo6kXn6GPOU//G4fc=; b=PvsQApCd3ggUIQjwka0uVr7PD7JNJXA0MDAhOJMUZS4aiec2OelTeuDOZ+bqYknxf3 LH4TIvijcozqWLE3yXMPknYfWzuYJkOrtEOtQU1qXd9DockRsTXJ65oQ5Wpmc9WFtP05 jLolE+fqvxz/mkcNlbINOSPYjYd/wZs8RkFBSKZ0dShZG193+3chUL5XzMnGk1yb8bYj jf+qLW7jLiiqjFqHmJTy2GbL8CBG9LI4/lfETvURRDvpi5iF1dfDvQqEmQsRArKlM/Lr /AyYUA2cyvkEUPTghDPlhtjlA7LO+jqbIEdh9o9GJoS5P81TIUMWLUwozBFbwc2cOzGk PYUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683737508; x=1686329508; 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=5vdjTh06aSQMjwAW62emqZzknFjo6kXn6GPOU//G4fc=; b=DMTYpPfLHn8Ughw7A7qVyfegSqAlDgk4z+zEA1OjTdZY88eciHdr8abGlnuBoqGhJM yJdEqoequsJQB9vvDLoDYndHgb3N47AckhHJn6HHWevYvZu00k+Z3r06j2lElksf46V+ Wib5sljTtok/QByj270/drQDzm6BNXAiPpmXXn6kxqJhw6hVYJX1xdgvACYxzlCOo59a CpjEKaN6NnlNqWvLBXK1YbMo/9psZqABt6Jzmwou70KgpaCrdSqtz5DWVE4gkL/pX/82 o+3nh7nD3shsxp4Npn+/jn+q0QrpxQrxlI0mjNfTDtunvomE/BUY7i9vEFqijzSRYfgI Nzbw== X-Gm-Message-State: AC+VfDyfvVvEoTU6/WckDkfetuNvfMmQ8lrDSO8ts3qfXYh+m9RXXuYY F+usqy4fUwWEzAI7oPmXZKuEQsXKDhWQfyv2ZJoEsPKojt0= X-Google-Smtp-Source: ACHHUZ4acwrJXiRpfQ5/HfQ3mM7IOS/0oPH/Wn9+7Thd6rNyi+Avpt25y24K/hCDpIryr5ot5rk87oyIPknhSCP+nHQ= X-Received: by 2002:a25:6ac5:0:b0:ba6:304e:b40 with SMTP id f188-20020a256ac5000000b00ba6304e0b40mr3593975ybc.35.1683737507530; Wed, 10 May 2023 09:51:47 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> In-Reply-To: <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> From: Mario Marietto Date: Wed, 10 May 2023 18:51:11 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Enji Cooper Cc: freebsd-hackers , Adrian Chadd Content-Type: multipart/alternative; boundary="000000000000080e3705fb59b036" X-Rspamd-Queue-Id: 4QGgzS64D7z48tc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_RCPT(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000080e3705fb59b036 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Which model is that HP tablet ? On Wed, May 10, 2023 at 6:23=E2=80=AFPM Enji Cooper = wrote: > > > On May 9, 2023, at 10:23 AM, Mario Marietto > wrote: > > > > Very thanks bro'. > > > > None of your suggested devices fits my requirements for starting the > hacking process,but...ehy...nice tries. I'm not interested in Android at > all. For some time I've been looking for an old /but not too much/ > device,like a phone or tablet where I can install Linux or even > better,FreeBSD. The device should capture my curiosity. It should be a > particular device. The Amazon tablet is not good because I hate amazon an= d > I hate Android. Another story is the awesome remarkable. WIll be > interesting to try to install Linux and / or FreeBSD there...but...it is > too expensive for me. And unfortunately I haven't any high experience in > such things. I can finish a project that's already been started. Maybe. I > would be also interested to install FreeBSD on the Jetson nano or on the > pinephone. But not alone. If someone has the same boal,I would like to > participate for sure. I'm more intrigued by installing FreeBSD on an old > mobile phone. That's for sure. > > I=E2=80=99d look into some HP tablets then. There was one that Adrian rec= ommended > to me a while back (~10 years ago) which I purchased and hacked around wi= th > using Linux, but didn=E2=80=99t try and get it to run FreeBSD due to lack= of time. > HTH, > -Enji > --=20 Mario. --000000000000080e3705fb59b036 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Which model is that HP tablet ?

On Wed, May 10, 2023= at 6:23=E2=80=AFPM Enji Cooper <yaneurabeya@gmail.com> wrote:

> On May 9, 2023, at 10:23 AM, Mario Marietto <marietto2008@gmail.com> wrote:=
>
> Very thanks bro'.
>
> None of your suggested devices fits my requirements for starting the h= acking process,but...ehy...nice tries. I'm not interested in Android at= all. For some time I've been looking for an old /but not too much/ dev= ice,like a phone or tablet where I can install Linux or even better,FreeBSD= . The device should capture my curiosity. It should be a particular device.= The Amazon tablet is not good because I hate amazon and I hate Android. An= other story is the awesome remarkable. WIll be interesting to try to instal= l Linux and / or FreeBSD there...but...it is too expensive for me. And unfo= rtunately I haven't any high experience in such things. I can finish a = project that's already been started. Maybe. I would be also interested = to install FreeBSD on the Jetson nano or on the pinephone. But not alone. I= f someone has the same boal,I would like to participate for sure. I'm m= ore intrigued by installing FreeBSD on an old mobile phone. That's for = sure.

I=E2=80=99d look into some HP tablets then. There was one that Adrian recom= mended to me a while back (~10 years ago) which I purchased and hacked arou= nd with using Linux, but didn=E2=80=99t try and get it to run FreeBSD due t= o lack of time.
HTH,
-Enji


--
Mario.
--000000000000080e3705fb59b036-- From nobody Wed May 10 18:13:51 2023 X-Original-To: freebsd-hackers@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 4QGjpH0NK1z4BDYk for ; Wed, 10 May 2023 18:13:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGjpG4dzrz4KWX for ; Wed, 10 May 2023 18:13:58 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [80.187.97.163] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwoK3-0004dL-AB; Wed, 10 May 2023 20:13:55 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.16.1/8.14.9) with ESMTPS id 34AIDqpd003097 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 10 May 2023 20:13:52 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.16.1/8.14.9/Submit) id 34AIDpTS003096; Wed, 10 May 2023 20:13:51 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 10 May 2023 20:13:51 +0200 From: Matthias Apitz To: Mario Marietto Cc: Enji Cooper , freebsd-hackers , Adrian Chadd Subject: Re: freebsd on an ebook ereader ? Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Mario Marietto , Enji Cooper , freebsd-hackers , Adrian Chadd References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 80.187.97.163 X-Rspamd-Queue-Id: 4QGjpG4dzrz4KWX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N El día miércoles, mayo 10, 2023 a las 06:51:11p. m. +0200, Mario Marietto escribió: > Which model is that HP tablet ? I own a Sony one which runs some Linux and one could SSH into it. Here are some pointers from my dust bin: https://www.sony.de/electronics/support/reader-digital-book-prs-t-series/prs-t1/downloads/Z0005554 https://wiki.mobileread.com/wiki/PRST1_Firmware_Upgrade 1.0.07.05070 - released on 19 June 2014 http://sonebo-dl.edgesuite.net/DR001/PRST1/contents/0007/PRS-T1_Updater_1.0.07.05070.exe I do not use it anymore and never tried to port my beloved FreeBSD to it. Btw; Please don't top post matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub NATO must not win the war against Russia. Die NATO darf den Krieg gegen Russland nicht gewinnen! From nobody Wed May 10 22:54:05 2023 X-Original-To: freebsd-hackers@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 4QGr1X72VTz4BWV9 for ; Wed, 10 May 2023 22:54:08 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (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 4QGr1X55jQz3jBY for ; Wed, 10 May 2023 22:54:08 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6434e263962so5910227b3a.2 for ; Wed, 10 May 2023 15:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683759247; x=1686351247; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hEOdrPGKtNxTEm5upSeVRHl8a4Hyfsd02vZcUW54uvU=; b=Ptr3c1rIli0VuiX1rxWlpKU4aDei6AHA77Z0U7G5Imf8Zs248HOQqiKGuOtAwRSlyc W4Nvy0JFyssvVxriQQCKJQIsThuju2iXrGu1Gx+leAfoZ35mi0ITxMHw4ZrDUP7g0itv swYNQxZ4WfIG8IA+VQ1ER8YGp+PwyHR2M0sg3s0vxea8jcBFkuPNPjWBy0RcCXjk0sHT X+f2UXc97QiW+FWQ+J3j7OBDyDKXIB8i7UyM4I7wLp3TJpPjOQqmXsW1t+q69YpuycPn A7O6ACAGTao+nRFn4UXaR+wsCOc1mnsmCxb65XGmSxLN25C5sdziZwgkMyhnvzWrLVEB MomA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683759247; x=1686351247; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hEOdrPGKtNxTEm5upSeVRHl8a4Hyfsd02vZcUW54uvU=; b=N8GrwEIm1KCE6AIwMuE6/Ef1dxKPc7P2YHSsR1ph9HNRYfTyf5NyIeQ1kQiSfDRS95 srRUXlCQLdy9stc9+0qUMLgAffC5tfHR4DTHxMQb75w36wuFcq2taBtE2jyXdZMHr/gb s0DqLtHgH9k5bM2NqEhkDchp/GaEJsWffIqV3e+LN/mVgNIm7JqOm0JZzQ36Z+8Iaz3Q phOFWf0BKQYTHdT94rWUEzxhmemiDKuo3yHulMXfZOSRns63mAhJqusqzDQCtKjPpf04 qQinDKdHiopF13LpMaAy89pp2e5DPGZRr6mFUNk5mYkiZM2nfR6Zi7O0Jrkg1L66WDS8 IiXA== X-Gm-Message-State: AC+VfDwv1mxn5XjoiLOia3F6r4LTwOQ4KP+SMF5eU9iIkHrP740JKdHv PZm2hp0bE930/OU/IqNasqQ= X-Google-Smtp-Source: ACHHUZ6KXss/URIrGQJYVMPdiZGL+NbG3CUEb99Yxfw/OzZ7uHPB/+Th8wEN4SeF2eQFiQxeGrlEqw== X-Received: by 2002:a05:6a20:a114:b0:103:61e9:cf89 with SMTP id q20-20020a056a20a11400b0010361e9cf89mr3438769pzk.35.1683759247236; Wed, 10 May 2023 15:54:07 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id u19-20020aa78393000000b006242f4a8945sm4003046pfm.182.2023.05.10.15.54.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2023 15:54:06 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_5613D44D-DEBB-412B-AF51-794BF0338477"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: freebsd on an ebook ereader ? From: Enji Cooper In-Reply-To: Date: Wed, 10 May 2023 15:54:05 -0700 Cc: freebsd-hackers , Adrian Chadd Message-Id: <1BF207EC-F8FA-4E63-98D8-4C750E8DB961@gmail.com> References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> To: Mario Marietto X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Rspamd-Queue-Id: 4QGr1X55jQz3jBY X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_RCPT(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_5613D44D-DEBB-412B-AF51-794BF0338477 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 10, 2023, at 9:51 AM, Mario Marietto = wrote: >=20 > Which model is that HP tablet ? Please ask Adrian; I don=E2=80=99t remember. Also, FWIW=E2=80=A6 IIRC it was Android based, so it=E2=80=99s probably = not going to fit your requirements in past emails about not working with = Android. -Enji --Apple-Mail=_5613D44D-DEBB-412B-AF51-794BF0338477 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmRcII0ACgkQ5JFNMZeD GN4e1w/7BM+Ljx3TXnPpdsd1oBfTDz1VqF4u/md/9SWruclfMdZdNfCa2XUf8Din qNJ9xt4A9X3kZRh7sEx6G/S1d4UecP3QuNz7sQHd6SFLFUSLE4AL4hDbaonYDhtP CBLugRU737KsrD8CQD9sTiQ0hNOLPky+4eHG+auzBuedZQKdS8nPFmFIZZhnyqvw /U7ixBRRX+14fiFKcMM8Fn+7xeqrnd/dc2NMuTnC5Y8GGWiuXBQmMu9TdrZJRJXX xZ871z2jSAB6v0UeijrJu2/MSqtNconp0W4+Jlcga3viXowoG2Hxp/XSB8Da4+mT KP6zbptpROc7DOgOZSUCZYKUluOXsHyQsA8gw+XUNLmB475UuMIzd8Dx9Mjq4LTo r5mPeYF85BAc3AiL8SLrl4y0IV8DlbbDo0K6t+Qawt159/D1ssXiOMa701PjcL3h aylbJWriIlR7eEYYuaJexPMIqQA7JOrFES1tKKmesSr9UC3EuQSf4qx3WbnAOxaB tGEa7GPtZ1bJT8/53E+cY3IaBdauOsD7XjIa4MIuIxTYEpWDa9IRC9f9zENs4o3y WoT3kI9Gk4r1IKXz1tWxDELE+vD/37qUvvhIhdvHZ8ZFsnvFu7CI89W88tWR3Ynh jR/OwTFf017JlwCPrgEu8/KDYt2zCEXzMgiSQ4DSuuwAPlG4y68= =60wK -----END PGP SIGNATURE----- --Apple-Mail=_5613D44D-DEBB-412B-AF51-794BF0338477-- From nobody Wed May 10 22:59:49 2023 X-Original-To: freebsd-hackers@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 4QGr8q0kyvz4BWZH for ; Wed, 10 May 2023 23:00:27 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 4QGr8p60lZz3k2p for ; Wed, 10 May 2023 23:00:26 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-b9dea9d0360so10195487276.1 for ; Wed, 10 May 2023 16:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683759626; x=1686351626; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vUR11Bk/HO6UWczG4qF+Ec5LMBD9doAoaRQyabXIick=; b=VHVbwIwxhc+6N2b7cUBsU72i/l4TpTYstJUwR+RKNwok1kMDb7C8r4F6fJUhnSPjk2 7I0OdB3wEiu4ElrBWSmJm9GILc5Tm6ThLOvNModCNpoJCLslKgzk53SZvhOuSkBKB3yF H9N87kau+n5HCIdWpMT50etRW18nGE1KJ2UR1S3IwvXnuJ5P6iUsyynvJWMLzHoex59+ M2tYXfZJix6TDyFekpa0VYCNGFF0u59FZSRl5U6A8HMyEbGQrIwJ59l3TIri9Dae4Iy7 roZLZOC26eOVnOc+PgN2g/kuwBi1EnrWKecL+tfbHHUlFzyqrSTSJLadq/kB1iqlQHDM aIwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683759626; x=1686351626; 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=vUR11Bk/HO6UWczG4qF+Ec5LMBD9doAoaRQyabXIick=; b=ixZF226mGF0ZUWxmReu2jP3MzJk+9Xk3woj1fJM/WnKYaPVCi1dtWiW76mSn+89HN7 x+GFHFWrqyMc9QXtLLQpKnm/OXiHPcD+XHaqm+GN6ic0086trcHggv/JM+rV95XtIRyw IdyS+M5p8685bSQrLNuLqd5RMQ3RvGHzikyW6RpTHZV8HAMd7sRNSedbh2Gf0RHcYSQF 83Kf7tz0r+j9a0t+TufadcUuJpjcXEjpX2bkECoE7h8DUM2AYFSd3LRecjmnfJFgX/UH 4Ltx0l90UYRl0nwgKgBgK+pnWa+l3jq+6shv8pTVpNqJY5WtppVo87tG8I58P9SDWyx/ 7U0Q== X-Gm-Message-State: AC+VfDyfpWos/PYdsfnMBLQwAhTd4FNhve3KYUStmxj+8+GGFxmwuxKm xPon8/IeBSAQjox5uuyYapLrzOOsoBv0w+AhR1L3ynPDxJE= X-Google-Smtp-Source: ACHHUZ5B13JTtxJyXKrvCqylAhDqPP1GGnLQTHj/ig1bd/1WlVIH/eN2UJtbsZf6a1IOeBVJMDRMCO4qoCg6JEwzW+E= X-Received: by 2002:a25:d755:0:b0:b96:1c8c:9d8c with SMTP id o82-20020a25d755000000b00b961c8c9d8cmr20972011ybg.46.1683759626046; Wed, 10 May 2023 16:00:26 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <711964C1-F069-4646-9DB1-776CEC2076DF@gmail.com> <40523716-A19A-43D3-89F3-B09B61A77A90@gmail.com> <1BF207EC-F8FA-4E63-98D8-4C750E8DB961@gmail.com> In-Reply-To: <1BF207EC-F8FA-4E63-98D8-4C750E8DB961@gmail.com> From: Mario Marietto Date: Thu, 11 May 2023 00:59:49 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Enji Cooper Cc: freebsd-hackers , Adrian Chadd Content-Type: multipart/alternative; boundary="00000000000065d31d05fb5ed6ec" X-Rspamd-Queue-Id: 4QGr8p60lZz3k2p X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000065d31d05fb5ed6ec Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable No no,wait. I love Android when I should remove it from tablets and phones and I will install a different OS such as Linux or FreeBSD :D Who is Adrian ? On Thu, May 11, 2023 at 12:54=E2=80=AFAM Enji Cooper wrote: > > > On May 10, 2023, at 9:51 AM, Mario Marietto > wrote: > > > > Which model is that HP tablet ? > > Please ask Adrian; I don=E2=80=99t remember. > Also, FWIW=E2=80=A6 IIRC it was Android based, so it=E2=80=99s probably n= ot going to fit > your requirements in past emails about not working with Android. > -Enji > --=20 Mario. --00000000000065d31d05fb5ed6ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No no,wait. I love Android when I should remove it fr= om tablets and phones and I will install a different OS such as Linux or Fr= eeBSD=C2=A0 :D
Who is Adrian ?

On Thu, May 11, 202= 3 at 12:54=E2=80=AFAM Enji Cooper <yaneurabeya@gmail.com> wrote:

> On May 10, 2023, at 9:51 AM, Mario Marietto <marietto2008@gmail.com> wrote:=
>
> Which model is that HP tablet ?

Please ask Adrian; I don=E2=80=99t remember.
Also, FWIW=E2=80=A6 IIRC it was Android based, so it=E2=80=99s probably not= going to fit your requirements in past emails about not working with Andro= id.
-Enji


--
Mario.
--00000000000065d31d05fb5ed6ec-- From nobody Thu May 11 11:57:12 2023 X-Original-To: freebsd-hackers@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 4QH9PK70f2z4B8SR for ; Thu, 11 May 2023 11:57:25 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4QH9PH4RTKz42Cw for ; Thu, 11 May 2023 11:57:22 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 34BBvDrl081429 for ; Thu, 11 May 2023 20:57:14 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 11 May 2023 20:57:12 +0900 From: Tomoaki AOKI To: freebsd-hackers@freebsd.org Subject: Re: Periodic rant about SCHED_ULE Message-Id: <20230511205712.fa5dc5476e519e933e2f628b@dec.sakura.ne.jp> In-Reply-To: References: <8173cc7e-e934-dd5c-312a-1dfa886941aa@FreeBSD.org> <8cfdb951-9b1f-ecd3-2291-7a528e1b042c@m5p.com> <20230331215751.166a294f7382c85b545f53a2@dec.sakura.ne.jp> <20230503084150.061d508f44fc1d79b18f0110@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.55 / 15.00]; AUTH_NA(1.00)[]; URI_HIDDEN_PATH(1.00)[https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.98)[-0.978]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[sakura.ne.jp]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[153.125.133.21:server fail,123.1.88.210:server fail]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QH9PH4RTKz42Cw X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Wed, 10 May 2023 16:14:03 +0200 Mateusz Guzik wrote: > On 5/3/23, Tomoaki AOKI wrote: > > On Mon, 1 May 2023 03:33:18 +0200 > > Mateusz Guzik wrote: > > > >> On 5/1/23, Mateusz Guzik wrote: > >> > On 3/31/23, Tomoaki AOKI wrote: > >> >> On Mon, 27 Mar 2023 16:47:04 +0200 > >> >> Mateusz Guzik wrote: > >> >> > >> >>> On 3/27/23, Mateusz Guzik wrote: > >> >>> > On 3/25/23, Mateusz Guzik wrote: > >> >>> >> On 3/23/23, Mateusz Guzik wrote: > >> >>> >>> On 3/22/23, Mateusz Guzik wrote: > >> >>> >>>> On 3/22/23, Steve Kargl > >> >>> >>>> wrote: > >> >>> >>>>> On Wed, Mar 22, 2023 at 07:31:57PM +0100, Matthias Andree > >> >>> >>>>> wrote: > >> >>> >>>>>> > >> >> > >> >> (snip) > >> >> > >> >>> > > >> >>> > I repeat the setup: 8 cores, 8 processes doing cpu-bound stuff > >> >>> > while > >> >>> > niced to 20 vs make -j buildkernel > >> >>> > > >> >>> > I had a little more look here, slapped in some hacks as a POC and > >> >>> > got > >> >>> > an improvement from 67 minutes above to 21. > >> >>> > > >> >>> > Hacks are: > >> >>> > 1. limit hog timeslice to 1 tick so that is more eager to bail > >> >>> > 2. always preempt if pri < cpri > >> >>> > > >> >>> > So far I can confidently state the general problem: ULE penalizes > >> >>> > non-cpu hogs for blocking (even if it is not their fault, so to > >> >>> > speak) > >> >>> > and that bumps their prio past preemption threshold, at which point > >> >>> > they can't preempt said hogs (despite hogs having a higher > >> >>> > priority). > >> >>> > At the same time hogs use their full time slices, while non-hogs > >> >>> > get > >> >>> > off cpu very early and have to wait a long time to get back on, at > >> >>> > least in part due to inability to preempt said hogs. > >> >>> > > >> >>> > As I mentioned elsewhere in the thread, interactivity scoring takes > >> >>> > "voluntary off cpu time" into account. As literally anything but > >> >>> > getting preempted counts as "voluntary sleep", workers get shafted > >> >>> > for > >> >>> > going off cpu while waiting on locks in the kernel. > >> >>> > > >> >>> > If I/O needs to happen and the thread waits for the result, it most > >> >>> > likely does it early in its timeslice and once it's all ready it > >> >>> > waits > >> >>> > for background hogs to get off cpu -- it can't preempt them. > >> >>> > > >> >>> > All that said: > >> >>> > 1. "interactivity scoring" (see sched_interact_score) > >> >>> > > >> >>> > I don't know if it makes any sense to begin with. Even if it does, > >> >>> > it > >> >>> > counts stuff it should not by not differentiating between > >> >>> > deliberately > >> >>> > going off cpu (e.g., actual sleep) vs just waiting for a file being > >> >>> > read. Imagine firefox reading a file from disk and being considered > >> >>> > less interactive for it. > >> >>> > > >> >>> > I don't have a solution for this problem. I *suspect* the way to go > >> >>> > would be to explicitly mark xorg/wayland/whatever as "interactive" > >> >>> > and > >> >>> > have it inherited by its offspring. At the same time it should not > >> >>> > follow to stuff spawned in terminals. Not claiming this is perfect, > >> >>> > but it does eliminate the guessing game. > >> >>> > > >> >>> > Even so, 4BSD does not have any mechanism of the sort and > >> >>> > reportedly > >> >>> > remains usable on a desktop just by providing some degree of > >> >>> > fairness. > >> >>> > > >> >>> > Given that, I suspect the short term solution would whack said > >> >>> > scoring > >> >>> > altogether and focus on fairness (see below). > >> >>> > > >> >>> > 2. fairness > >> >>> > > >> >>> > As explained above doing any offcpu-time inducing work instantly > >> >>> > shafts threads versus cpu hogs, even if said hogs are niced way > >> >>> > above > >> >>> > them. > >> >>> > > >> >>> > Here I *suspect* position to add in the runqueue should be related > >> >>> > to > >> >>> > how much slice was left when the thread went off cpu, while making > >> >>> > sure that hogs get to run eventually. Not that I have a nice way of > >> >>> > implementing this -- maybe a separate queue for known hogs and > >> >>> > picking > >> >>> > them every n turns or similar. > >> >>> > > >> >>> > >> >>> Aight, now that I had a sober look at the code I think I cracked the > >> >>> case. > >> >>> > >> >>> The runq mechanism used by both 4BSD and ULE provides 64(!) queues, > >> >>> where the priority is divided by said number and that's how you know > >> >>> in which queue to land the thread. > >> >>> > >> >>> When deciding what to run, 4BSD uses runq_choose which iterates all > >> >>> queues from the beginning. This means threads of lower priority keep > >> >>> executing before the rest. In particular cpu hog lands with a high > >> >>> priority, looking worse than make -j 8 buildkernel and only running > >> >>> when there is nothing else ready to get the cpu. While this may sound > >> >>> decent, it is bad -- in principle a steady stream of lower priority > >> >>> threads can starve the hogs indefinitely. > >> >>> > >> >>> The problem was recognized when writing ULE, but improperly fixed -- > >> >>> it ends up distributing all threads within given priority range > >> >>> across > >> >>> the queues and then performing a lookup in a given queue. Here the > >> >>> problem is that while technically everyone does get a chance to run, > >> >>> the threads not using full slices are hosed for the time period as > >> >>> they wait for the hog *a lot*. > >> >>> > >> >>> A hack patch to induce the bogus-but-better 4BSD behavior of draining > >> >>> all runqs before running higher prio threads drops down build time to > >> >>> ~9 minutes, which is shorter than 4BSD. > >> >>> > >> >>> However, the right fix would achieve that *without* introducing > >> >>> starvation potential. > >> >>> > >> >>> I also note the runqs are a massive waste of memory and computing > >> >>> power. I'm going to have to sleep on what to do here. > >> >>> > >> >>> For interested here is the hackery: > >> >>> https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff > >> >>> > >> >>> sysctl kern.sched.slice_nice=0 > >> >>> sysctl kern.sched.preempt_thresh=400 # arbitrary number higher than > >> >>> any > >> >>> prio > >> >>> > >> >>> -- > >> >>> Mateusz Guzik > >> >> > >> >> Thanks for the patch. > >> >> Applied on top of main, amd64 at commit > >> >> 9d33a9d96f5a2cd88d0955b5b56ef5058b1706c1, setup 2 sysctls as you > >> >> mentioned and tested as below > >> >> > >> >> *Play flac files by multimedia/audacious via audio/virtual_oss > >> >> *Running www/firefox (not touched while testing) > >> >> *Forcibly build lang/rust > >> >> *Play games/aisleriot > >> >> > >> >> at the same time. > >> >> games/aisleriot runs slower than the situation lang/rust is not in > >> >> build, but didn't "freeze" and audacious normally played next music on > >> >> playlist, even on lang/rust is building codes written in rust. > >> >> > >> >> This is GREAT advance! > >> >> Without the patch, compiling rust codes eats up almost 100% of ALL > >> >> cores, and games/aisleriot often FREEZES SEVERAL MINUTES, and > >> >> multimedia/audacious needs to wait for, at worst, next music for FEW > >> >> MINUTES. (Once playback starts, the music is played normally until it > >> >> ends.) > >> >> > >> >> But unfortunately, the patch cannot be applied to stable/13, as some > >> >> prerequisite commits are not MFC'ed. > >> >> Missing commits are at least as below. There should be more, as I > >> >> gave up further tracking and haven't actually merged them to test. > >> >> > >> >> commit 954cffe95de1b9d70ed804daa45b7921f0f5c9da [1] > >> >> ule: Simplistic time-sharing for interrupt threads. > >> >> > >> >> commit fea89a2804ad89f5342268a8546a3f9b515b5e6c [2] > >> >> Add sched_ithread_prio to set the base priority of an interrupt > >> >> thread. > >> >> > >> >> commit 85b46073242d4666e1c9037d52220422449f9584 [3] > >> >> Deduplicate bus_dma bounce code. > >> >> > >> >> > >> >> [1] > >> >> https://cgit.freebsd.org/src/commit/?id=954cffe95de1b9d70ed804daa45b7921f0f5c9da > >> >> > >> >> [2] > >> >> https://cgit.freebsd.org/src/commit/?id=fea89a2804ad89f5342268a8546a3f9b515b5e6c > >> >> > >> >> [3] > >> >> https://cgit.freebsd.org/src/commit/?id=85b46073242d4666e1c9037d52220422449f9584 > >> >> > >> >> -- > >> >> Tomoaki AOKI > >> >> > >> >> > >> > > >> > Hello everyone. > >> > > >> > I sorted out a patch I consider comittable for the time being. IT IS > >> > NOT A PANACEA by any means, but it does sort out the most acute > >> > problem and should be a win for most people. It also comes with a knob > >> > to turn it off. > >> > > >> > That said, can you test this please: > >> > https://people.freebsd.org/~mjg/ule_pickshort.diff > >> > > >> > works against fresh main. if you are worried about recent zfs woes, > >> > just make sure you don't zpool upgrade and will be fine. > >> > > >> > >> Here is an updated patch: > >> https://people.freebsd.org/~mjg/ule_pickshortv2.diff > >> > >> if you are getting bad results, do: > >> sysctl kern.sched.preempt_bottom=0 > >> > >> and try again. > >> > >> thank you. > >> > >> -- > >> Mateusz Guzik > > > > Tried just a bit, and turned out my workload requires > > kern.sched.preempt_bottom=0. > > > > Tested with previous patch (ule-poc-hacks-dont-use.diff) backed out. > > At commit d713e0891ff9ab8246245c3206851d486ecfdd37, amd64. > > > > What I did for tests: > > While building lang/rust, in massive rustc phase, > > *Play FLAC music files using multimedia/audacious > > > > *Play youtube movies in www/firefox > > > > *edit some junk text on editors/leafpad > > > > multimedia/audacious plays via audio/virtual_oss. > > www/firefox plays sounds via audio/pulseaudio > > (Backed with audio/virtual_oss.) > > > > What happened: > > Without kern.sched.preempt_bottom=0 (was 135), all sounds > > are chopping unless any keytypes or mouse actions are done. > > Text editing was mostly smooth, but always slow. > > These are regardless kern.sched.preempt_thresh settings. > > > > With kern.sched.preempt_bottom=0, > > *Playing FLAC music files using multimedia/audacious is fine. > > > > *Playing youtube movies in www/firefox depends on > > kern.sched.preempt_thresh setting. The larger the value, the > > smoother the playback is. Tested with values 21, 80, 121, 224, 400. > > Note that 224 and 400 looked almost the same with my eyeballs. > > > > *Editing texts is faster, but just sometimes cursor movements > > and editing was not smooth (randomly). > > > > Sorry, as I'm basically working on stable/13, I cannot take enough time > > for testing on main. > > > > > > > thanks for testing > > I posted the patch for review: https://reviews.freebsd.org/D40045 > > it will be suitable for MFC to stable/13 > > -- > Mateusz Guzik Thanks for the update! Tried to apply to stable/13 at commit b4e9bfd51c2d6f66291c89c3e8f4c5809f1be447, but unfortunately, fails on hunk 7. td_slice(), used at line 2635 (2647 after patch) is implemented on main at commit 954cffe95de1b9d70ed804daa45b7921f0f5c9da, which is not MFC'ed. This function is used on added lines (excluding prototype), at line 501. I'll test on main later, hopefully this weekend. Regards. -- Tomoaki AOKI From nobody Thu May 11 13:33:12 2023 X-Original-To: freebsd-hackers@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 4QHCWz3gVrz4BFdD for ; Thu, 11 May 2023 13:33:19 +0000 (UTC) (envelope-from joerg@bec.de) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHCWx1LMRz4HRn for ; Thu, 11 May 2023 13:33:17 +0000 (UTC) (envelope-from joerg@bec.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bec.de header.s=gm1 header.b=LJXB+XQ2; spf=pass (mx1.freebsd.org: domain of joerg@bec.de designates 217.70.183.193 as permitted sender) smtp.mailfrom=joerg@bec.de; dmarc=none Received: (Authenticated sender: joerg@bec.de) by mail.gandi.net (Postfix) with ESMTPSA id 885CA240007 for ; Thu, 11 May 2023 13:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bec.de; s=gm1; t=1683811994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cx6nLxZTw+OZfrr7ydEOmmF50cM5aGY7mY2141xoXSU=; b=LJXB+XQ2S6ZuRxUV3VX1E3/MDpSBbXkbfc0L8nuDQSLKNfuzyB409aytMHdJQnQwSgUU8H PYW+NcjHb0qt6/UUgWxrQ0wkEUCgeUyzQpuqWbR6bVXs5T/NMRfNVVlgnUSfCmy0M4rb8R YJRhn0OaIOQ7EPYTDCYf7UD5tdFgXbiwyVaIWb0ne+ap075UdKxRlEbllPOtRX5RmAbnpf nP9vAGvOpgusFdCk/wXsm5cZRhMUmyp9bg35LXXEOK7hpFimCGXjaSWgbgMrKD9iOTF5Tb JOjiHVTvR4DXhpnDzP3uXNAc+f2RyQFKyTeE9kBAp7//MlRlRg4JONqjepWpVA== Date: Thu, 11 May 2023 15:33:12 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Subject: Re: freebsd on an ebook ereader ? Message-ID: Mail-Followup-To: freebsd-hackers@freebsd.org References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-2.70 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[bec.de:s=gm1]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.193:from]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[217.70.183.193:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[bec.de]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[bec.de:+]; TO_DN_NONE(0.00)[]; FREEFALL_USER(0.00)[joerg]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QHCWx1LMRz4HRn X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Am Sun, May 07, 2023 at 07:06:22PM +0200 schrieb Mario Marietto: > any chance to install freebsd on some kind of ebook ereader like the kindle > ? I just also need to have a partial tutorial already written. I can finish > the project,but im not able to start it from scratch. let me know. It was possible to run NetBSD on old Kobos at least. I'm not aware of anyone running non-Linux on semi-modern hardware. Joerg From nobody Thu May 11 14:25:53 2023 X-Original-To: freebsd-hackers@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 4QHDhv3w2bz4BJQl for ; Thu, 11 May 2023 14:26:07 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 4QHDht39DVz4PTC for ; Thu, 11 May 2023 14:26:06 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=qbECTu1f; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1135 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-55a010774a5so133587757b3.3 for ; Thu, 11 May 2023 07:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683815165; x=1686407165; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=v/N1zddOYAxzDH8gIxtvZEFbCdphV+e9VbiZc2n0uTE=; b=qbECTu1fHDM8KpE8lxaVYUlYBNvwwGL4mv6dkAUj6qP3+SO5bUwRsUoDrlW3qJRsbc IFK2B+xlEYk2P1gRwxDLsCrmXiULhuOXJBtxYU16tnkmrI7HtCgzMSZKXgYbAkrUP6hy E2Bbg6q0fPbekLOd9ky1smOXAJvwQk5v4dTKTT8y3Gz1DyAXm14/51G3Oj2nQzYUftZJ E51jb2a5jQesjNo+4tMLTxHWsfGUX8Br6gjdK49jIW/6kvLZUmzc4F22sBsrfeI3nXbc SKrFoH8LvJC/mUVKXh+9/lr+R+IxrKQ08WvXL1VhxOfQQs3hEUlqjHV4nBx/0wF+Bsqx obrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683815165; x=1686407165; h=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=v/N1zddOYAxzDH8gIxtvZEFbCdphV+e9VbiZc2n0uTE=; b=IszwjAXZy6R3rqWpb6CXaVJ8rQFGHLImB58wqn7Yymnpg/eLFH5DuYoFu7WGpoiRUa pXo1vp63qD4XgFSgVCuGphs/TIqOYreiX4UW5uB3fQTcZpR0liGm6kNAmnSUnutSCqoK QSt2rM8KXFUNmcMTZEcuOKc19mARtleQsnHJ1buxJGJT6td+W0K6UvyyAgNeE4BuXROL U4rhA6lrLX6/8FWmdAlq6YR6FwEyiIzWJI18jiAMcoaL3f9OOcwopE3LSx1j5fSw4tbO 9B4mgJrXvAvkHlCHKmi/G5kPAv7gn7O/KGte96NB/zxk+ixpuDHLe1CXzpi4euwMIy+k ZJhw== X-Gm-Message-State: AC+VfDy4dOhSefqeINt1Od53eQeJTUB0ji+qonTsr4ckegke1jbLcPfZ +lUtmO2/edh/p3canIRjdSe/j91PwzHQr/utDKeqQAZK X-Google-Smtp-Source: ACHHUZ6zALRDliS1ZeHRKWp+LoOLSiRoo+zgPJ96DvBNHB+Qiu/GiqPOkdPErGupPzIyt3mvD1xR2sHmQQm3DoPPNdc= X-Received: by 2002:a81:6007:0:b0:55a:9303:1fb4 with SMTP id u7-20020a816007000000b0055a93031fb4mr20280546ywb.32.1683815165212; Thu, 11 May 2023 07:26:05 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Thu, 11 May 2023 16:25:53 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: freebsd-hackers Content-Type: multipart/alternative; boundary="000000000000ca3e8705fb6bc4ef" X-Spamd-Result: default: False [-2.93 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.93)[-0.929]; 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=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::1135:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1135:from]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QHDht39DVz4PTC X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --000000000000ca3e8705fb6bc4ef Content-Type: text/plain; charset="UTF-8" I'm not aware of anyone running non-Linux on semi-modern hardware : thats the challenge. To find the right device to experiment with. Im not talking about some soc,but about a finished and already working tablet or phone. Il gio 11 mag 2023, 15:34 Joerg Sonnenberger ha scritto: > Am Sun, May 07, 2023 at 07:06:22PM +0200 schrieb Mario Marietto: > > any chance to install freebsd on some kind of ebook ereader like the > kindle > > ? I just also need to have a partial tutorial already written. I can > finish > > the project,but im not able to start it from scratch. let me know. > > It was possible to run NetBSD on old Kobos at least. I'm not aware of > anyone running non-Linux on semi-modern hardware. > > Joerg > > --000000000000ca3e8705fb6bc4ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I= 'm not aware of=C2=A0anyone running non-Linux on semi-modern hardware :

thats the challenge. To find the right device to experiment with.= Im not talking about some soc,but about a finished and already working tab= let or phone.=C2=A0

Il gio 11 mag 2023, 15:34 Joerg Sonnenberge= r <joerg@bec.de> ha scritto:
<= /div>
Am Sun, May 07, 2023 at 07:06:22PM +020= 0 schrieb Mario Marietto:
> any chance to install freebsd on some kind of ebook ereader like the k= indle
> ? I just also need to have a partial tutorial already written. I can f= inish
> the project,but im not able to start it from scratch. let me know.

It was possible to run NetBSD on old Kobos at least. I'm not aware of anyone running non-Linux on semi-modern hardware.

Joerg

--000000000000ca3e8705fb6bc4ef-- From nobody Thu May 11 14:35:28 2023 X-Original-To: freebsd-hackers@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 4QHDvz1DBnz4BJvy for ; Thu, 11 May 2023 14:35:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4QHDvy6V44z4R22 for ; Thu, 11 May 2023 14:35:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9619095f479so1396089966b.1 for ; Thu, 11 May 2023 07:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1683815740; x=1686407740; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ytBP0uXlXhLebXRHAfONYKPzpzT0iWolGpPdcmH0SL4=; b=jaKoIQ5B6+YPYX0MbukvOzD2TUzQhXtF8v+Ue/5yY5ZdcpJAKT4Lqb+laZyeDB+Vk2 DrmikkteqUQrQ8vhBGjpZ5t6OY5MkvNU16yI7IJ8f2xgMYDNCq9ujSg5/lDSLh5pk3ly BRQxu3aQ0+VNYHNs3kZPqGMnOe9K20vetqL/BE69lugWV4MoNgrGM1hNhpPqxfzSJM6T TK32hnmdhXHxgZ4ITvqdcGl23zhPDIECSTdsLCOkDM657df+F5Y/pB0AOCjqaDkWeuZA iB2Fqy/6HDyAuDej7n5bfncPjpgmI2Uvo8chiIpTbZXswHogppHpHy2z6DFbztzR1YiI R27Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683815740; x=1686407740; 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=ytBP0uXlXhLebXRHAfONYKPzpzT0iWolGpPdcmH0SL4=; b=H14k2KzWXVidRDnp8EGNX5JV+7eqazDLh6+gjc/CRVCe5OOlvbVUcwWfAyp8J2PX20 fKldUdQtMKvJ4CbalLP7G3cg/WqG6AWKAIMu2CSlTmPHVr9FAd/wPWnkooAv2a5UgbvC 7vil+trlKFpJyg2V6zDb4I7Ms64Bme8HKPgEoAZr33LIAA9mwGSIFdj7HGWPgFBm9K83 QWfcBIMKfpZfVeIPrUPiuSxXS10VQl9oDrHIHwjGEpyyMOtOitUDdGPB8F5fRZhCGgNf d7YLWF4E1fTPu3eCMYo41x9hLESZH7stACR2pE0PB5wuRfJsOTys43sQNdyNohCuKTRK fgeA== X-Gm-Message-State: AC+VfDxhgOG2Hxni8ZFF4QdkHdqivfEegaAEFgO6iPhTOOavvxkZRVCq gKlj8bq3UyJ/N/sFkrNwoK60sQirDV16HtmOGeRfnHN6pkGBPHYB X-Google-Smtp-Source: ACHHUZ52/i9+30p8D4lA+feT6BgtvPNTGTYl0iw5IO9g9YWccmYS3snLkjyTdeeG0b7K+UDBrZFYZxGwF2ySY3uHmwA= X-Received: by 2002:a17:907:8a13:b0:96a:5e38:ba49 with SMTP id sc19-20020a1709078a1300b0096a5e38ba49mr2595712ejc.2.1683815739756; Thu, 11 May 2023 07:35:39 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 11 May 2023 08:35:28 -0600 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Mario Marietto Cc: freebsd-hackers Content-Type: multipart/alternative; boundary="00000000000009246405fb6be7ca" X-Rspamd-Queue-Id: 4QHDvy6V44z4R22 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000009246405fb6be7ca Content-Type: text/plain; charset="UTF-8" On Thu, May 11, 2023, 8:26 AM Mario Marietto wrote: > I'm not aware of anyone running non-Linux on semi-modern hardware : > > thats the challenge. To find the right device to experiment with. Im not > talking about some soc,but about a finished and already working tablet or > phone. > So what's the easiest one to run linux on that's not x86? Warner Il gio 11 mag 2023, 15:34 Joerg Sonnenberger ha scritto: > >> Am Sun, May 07, 2023 at 07:06:22PM +0200 schrieb Mario Marietto: >> > any chance to install freebsd on some kind of ebook ereader like the >> kindle >> > ? I just also need to have a partial tutorial already written. I can >> finish >> > the project,but im not able to start it from scratch. let me know. >> >> It was possible to run NetBSD on old Kobos at least. I'm not aware of >> anyone running non-Linux on semi-modern hardware. >> >> Joerg >> >> --00000000000009246405fb6be7ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, May 11, 2023, 8:26 AM Mario Marietto <marietto2008@gmail.com> wrote:<= br>
I'm not aware of=C2=A0anyone running non-Lin= ux on semi-modern hardware :

thats the challenge. To f= ind the right device to experiment with. Im not talking about some soc,but = about a finished and already working tablet or phone.=C2=A0

S= o what's the easiest one to run linux on that's not x86?

Warner=C2=A0



Il gio 11 mag 20= 23, 15:34 Joerg Sonnenberger <joerg@bec.de> ha scritto:
Am Sun, May 07, 2023 at 07:06:22PM +0200 schrieb M= ario Marietto:
> any chance to install freebsd on some kind of ebook ereader like the k= indle
> ? I just also need to have a partial tutorial already written. I can f= inish
> the project,but im not able to start it from scratch. let me know.

It was possible to run NetBSD on old Kobos at least. I'm not aware of anyone running non-Linux on semi-modern hardware.

Joerg

--00000000000009246405fb6be7ca-- From nobody Thu May 11 14:45:56 2023 X-Original-To: freebsd-hackers@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 4QHF820Krvz4BKYR for ; Thu, 11 May 2023 14:46:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (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 4QHF813bk1z4St4 for ; Thu, 11 May 2023 14:46:09 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-b9ef06cb784so10972326276.0 for ; Thu, 11 May 2023 07:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683816367; x=1686408367; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=om/BuXc96A+XuQAv99OSVcMeKjEuQDYBdL8tLThpu7g=; b=hv3QmN3M61zeaTKmFb2oip9eFE1WztoKuuFF3noI+bqohR/IKG2q/OaS8sxIEZkhEz vzyhDwWnjB4yuOzBUu1OnmWsBrfnEzyBwCziuHeIoLXmRpmngrsKPSJp9xGoPa6iL8aY cDr9SRmuJOUVvv+s70fplCN9752QquwI3G8FWJeKvNenDeeMchQQRPq1sjbFsPxYuO3g ILomTHSsgtWd0hx82HjTQb54tRDKNQtlEwQb72l6X+0f8i9ohbt1+ypViapXrE+iKPRd jy6dyJjD0nnpQJ0l2TdrVR3qHPhWMVqHjVPAFX/zgvcwTD1c8OMq76sK12k4QPFlvq37 EwlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683816367; x=1686408367; 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=om/BuXc96A+XuQAv99OSVcMeKjEuQDYBdL8tLThpu7g=; b=JkohP/ZCjpVNjBs20uKgmUAPijPsc4v/UIPy1qSw7Rv0fgxwVySXdtQ0PCcy4lmpbU TTxd2Hu3CPGU7+9gW1Qdi3LQdAqqCzkvp5XwDsckClyoBhenmQOpOY1xtQdBq7cqSKdD 1ZrZHOBXNdgyJxrCUD/40RHUFWqye/O5YxyHpKm6sPmHR2uva6Q3iV7VWb4/t90stmVl v3I52MaF1LVZpVqLtVuDJNRN/W5oUkxEDAc6UBUAKw7pRGWr0PWzxpfZ5soIz6R4g1zd PsGdsRFvl4oIC+P+qG6cjNAGqIf/wtCM6LRFTDmra4zrfsxpdPHQCWLOxEYp2/gct4BI ikXA== X-Gm-Message-State: AC+VfDz4Kv8nWEqnBI1QKDQJiCduo/ZSENX1XyFu+0PYWTS9B4tN2+m2 XgNNqWv5cpBMyUXgaP1ziQGyvhkDUwEWwTHFf+ERK4pC X-Google-Smtp-Source: ACHHUZ5Zs9uqDeUTYNm+oa9nz0VHhC0DbJfXxoLWbrVBQGJiI3yHpsnWCKXMbQ69YNPB3v6kQzrak+linTtyM2NyMFc= X-Received: by 2002:a25:c083:0:b0:ba6:9bc9:be1a with SMTP id c125-20020a25c083000000b00ba69bc9be1amr1878753ybf.54.1683816367475; Thu, 11 May 2023 07:46:07 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Thu, 11 May 2023 16:45:56 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Warner Losh Cc: freebsd-hackers Content-Type: multipart/alternative; boundary="000000000000734f4e05fb6c0c3e" X-Rspamd-Queue-Id: 4QHF813bk1z4St4 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000734f4e05fb6c0c3e Content-Type: text/plain; charset="UTF-8" I imagine some old device which ran arm or sparc or qnx...i dont know man. We should look in the past. Even better if the bootloader has been unlocked by some linux developers. (my wish is to port FreeBSD there,but with the help of the linux developers that have already created a semi usable semi specific flavour for that device. Il gio 11 mag 2023, 16:35 Warner Losh ha scritto: > > > On Thu, May 11, 2023, 8:26 AM Mario Marietto > wrote: > >> I'm not aware of anyone running non-Linux on semi-modern hardware : >> >> thats the challenge. To find the right device to experiment with. Im not >> talking about some soc,but about a finished and already working tablet or >> phone. >> > > So what's the easiest one to run linux on that's not x86? > > Warner > > > > Il gio 11 mag 2023, 15:34 Joerg Sonnenberger ha scritto: >> >>> Am Sun, May 07, 2023 at 07:06:22PM +0200 schrieb Mario Marietto: >>> > any chance to install freebsd on some kind of ebook ereader like the >>> kindle >>> > ? I just also need to have a partial tutorial already written. I can >>> finish >>> > the project,but im not able to start it from scratch. let me know. >>> >>> It was possible to run NetBSD on old Kobos at least. I'm not aware of >>> anyone running non-Linux on semi-modern hardware. >>> >>> Joerg >>> >>> --000000000000734f4e05fb6c0c3e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I imagine some old device which ran arm or sparc or qnx..= .i dont know man. We should look in the past. Even better if the bootloader= has been unlocked by some linux developers. (my wish is to port FreeBSD th= ere,but with the help of the linux developers that have already created a s= emi usable semi specific flavour for that device.=C2=A0

Il gio 11 mag 2023, = 16:35 Warner Losh <imp@bsdimp.com&= gt; ha scritto:
<= div>

On Thu, May 11, 2023, 8:26 AM Mario Marietto <marietto2008@gmail.c= om> wrote:
I'm not aware = of=C2=A0anyo= ne running non-Linux on semi-modern hardware :

thats t= he challenge. To find the right device to experiment with. Im not talking a= bout some soc,but about a finished and already working tablet or phone.=C2= =A0

=
So what's the easiest one to run linux on that's = not x86?

Warner=C2=A0



Il gio 11 mag 2023, 15:34 Joerg Sonnenberger <joerg@bec.de&= gt; ha scritto:
Am Sun, May 07, 202= 3 at 07:06:22PM +0200 schrieb Mario Marietto:
> any chance to install freebsd on some kind of ebook ereader like the k= indle
> ? I just also need to have a partial tutorial already written. I can f= inish
> the project,but im not able to start it from scratch. let me know.

It was possible to run NetBSD on old Kobos at least. I'm not aware of anyone running non-Linux on semi-modern hardware.

Joerg

--000000000000734f4e05fb6c0c3e-- From nobody Thu May 11 14:53:59 2023 X-Original-To: freebsd-hackers@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 4QHFKJ6QBXz4BKf7 for ; Thu, 11 May 2023 14:54:12 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (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 4QHFKJ3TcGz4VlB for ; Thu, 11 May 2023 14:54:12 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-55a14807e4cso155845527b3.1 for ; Thu, 11 May 2023 07:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1683816851; x=1686408851; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2CvMTmnz2InKF65Tj59lsycb+e+RVKwxVoOK+hCHrUI=; b=P5dtm/3HNUxvKMctJ1Z7Orzx1e8xvDf2oPd4R8IS+O6UUmIqgAzkOdFKimeTrOKJFC xbouD/Jmm/07HNGuOUjBIcVGGimkOK/agi+Ivs2hd+G6knMsX+bOHblKLX9yfA0uTgus aN7XrgJYj2LeHa5EGn/XDPtx97SDWV4yqD1R3LZAWLmwOjUYHkXn1mhTh2OkbAbTaP/0 3PdUoI8EYvrj+ZpBoAg0VApL+dKP6p+anV0bc0D2PWOR8X4nq0zn0lj/LxOH3T5JBSx/ JKDl1CVHhj2tZHbiBnn0bha7oegPFrbPcWCg1OsDiqoypjFb6U+bo1o5EqceAnsgIFb9 EKzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683816851; x=1686408851; h=content-transfer-encoding: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=2CvMTmnz2InKF65Tj59lsycb+e+RVKwxVoOK+hCHrUI=; b=QAXOr01LCxdwN9TvQgXEqAqJbB8Xz1n9ec8715VGo/7yymwyx/GDxX0BxUAlXOCxFh uvhuoodS4xKlskuC9QX5Y9PvBTZ/lqh90RTZb/0tANDP0EUx+Ote5Ys/YNGzAGl9mLxL WFbmAUflbkrCkRagUxbYQ8u5+AbzvvrO///x5EmaepZ4vJEVZXoBdRd1144M/sR+f9xN eHI0YOGIkMwUzc+Pwi0tPgPwOPqXEsBFiIu/8l4QUVFMgl9QlH6b3YQet2gj8QtwbTFz D9C88l1vZHhuw9CCuouqIjwexLxho5zPO/19BZadIVf2tRuEWZJzn/U89l23t3qf2F8P SG4w== X-Gm-Message-State: AC+VfDwyE03+xf1Huka/hRuHfBuwrUyLXKr5BxOU424jNaNwr7eeabxB 48eCDmGB4Y6MRqMUe/O+5ovBMaVxRge/GdBdSUo= X-Google-Smtp-Source: ACHHUZ5o/m/XUKaBZ/VKlzfdQ6+etipsP0ImSpEciGi/akLkan6pF0yp67M9xErn0CKXU385PdEPhQ== X-Received: by 2002:a0d:d70e:0:b0:54f:8f16:c8b5 with SMTP id z14-20020a0dd70e000000b0054f8f16c8b5mr20875744ywd.34.1683816851709; Thu, 11 May 2023 07:54:11 -0700 (PDT) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com. [209.85.128.173]) by smtp.gmail.com with ESMTPSA id p185-20020a0dffc2000000b0055ddea0db57sm3656964ywf.146.2023.05.11.07.54.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 07:54:11 -0700 (PDT) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-55a00da4e53so155837757b3.0 for ; Thu, 11 May 2023 07:54:11 -0700 (PDT) X-Received: by 2002:a0d:d955:0:b0:55a:ad0a:766 with SMTP id b82-20020a0dd955000000b0055aad0a0766mr21720457ywe.10.1683816850800; Thu, 11 May 2023 07:54:10 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 11 May 2023 16:53:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Warner Losh Cc: Mario Marietto , freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QHFKJ3TcGz4VlB X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, May 11, 2023 at 4:35=E2=80=AFPM Warner Losh wrote: > On Thu, May 11, 2023, 8:26 AM Mario Marietto wrote: >> I'm not aware of anyone running non-Linux on semi-modern hardware : >> thats the challenge. To find the right device to experiment with. Im not= talking about some soc,but about a finished and already working tablet or = phone. > > So what's the easiest one to run linux on that's not x86? Download SD card image, put that image on a card, insert card to a hardware, have it running.. and that is for many many various kind of devices most likely each requiring a dedicated set of drivers ;-) The problem we face right now on FreeBSD it lags behind Linux on a new hardware (most likely multimedia capable embedded systems). In a perfect world we could focus on RISC-V based devices and provide out of the box running solutions that would attract people to FreeBSD and maybe help in development. People could see the advantages of BSD and consider investing their time and effort in development of a long term maintainable solution instead quick-win-and-chase-the-rabbit-forever. Problem here is that most people think that Open-Source is Linux, but its the opposite, Linux is a part of big Open-Source world. Vendors provide drivers only for Linux, sometimes in a binary blob fashion. Developing drivers takes time and skill.. also requires good documentation that sometimes its not even available. People are interested only in things that work out of the box. --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Thu May 11 18:46:36 2023 X-Original-To: freebsd-hackers@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 4QHLV92wVxz49bsr for ; Thu, 11 May 2023 18:47:13 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (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 4QHLV92LzMz3hPn for ; Thu, 11 May 2023 18:47:13 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-b9d8b2e1576so11509477276.2 for ; Thu, 11 May 2023 11:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683830832; x=1686422832; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iYfz2o2ckQHAw0eMYwCQie4fbyCzo0Rw3C2MPUA7ZGU=; b=sW2xfGDn5JnR8QnGRzjqnyAnJDNZHiAlCliGFJe+7yV9MMPSLwxDN9OPclKwvox0yW QOPLCFiFSgnEQ9hhYHZVbMrk7BPlTpIRBZQfvKiaHa/6uCqF5IoZXrC3sacChBF8CdIl rBP5+E1u9vkQfzOhuEZwejQLi1aqQr4GjJJiDhlOWpg3NwlDbCd2A46VhJ2wpGXE1Tay WdQhMqEoejdTAFlNa1SuSTFtwy1cEULPYraI7npGveONSJnwnl9jm04OXvYqHgBHfSTo xneAYA3VkOtAak7GpOJX5DtW2/KTqaggah3ru45DmXCZATC7xzdGYCzoIxPJoNqmxp+X yRbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683830832; x=1686422832; 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=iYfz2o2ckQHAw0eMYwCQie4fbyCzo0Rw3C2MPUA7ZGU=; b=g8PDk/2KvY0dEWD8J1SgWFwLeMkLTWMTQOoFtu1gYcAyGXc4/mxObSk/RuEYTZWiQm Z15S7IYAa+5zZYSXZbyhc2mqIbk7r2WvLqGmNS4i10rBN+JKQQ6TPp/icHbiQ4es/aGk jNOa83RdVyvZwtNORW/BDM0vfmZcTb7ZRBrPTTIiuGwCfQ1DQvPQysbsUTUaftTvQbwz QFAo57Vlwykels9hzxJ2xHa9bgiaL1mx2OWplCxyftGV/1rCQH1twSIFDypeCX2pij8E tcz/vqFDo42HuPI/ai/28smC//nSwELXtL/+t561IVltzbwGBJDWvRi/2fQNh2wv96ci 7ZyA== X-Gm-Message-State: AC+VfDxleWXCjzlWdhceu9s86GNAUo0gKsmXLa8Ds/FUsFz3pTMDUjQG i33QdJT9f18MqKetSaugwtaphobP1d9u1zVwDR8= X-Google-Smtp-Source: ACHHUZ7pxFNCDIIIcYXn7eT8lgOsxy0wIltA3MAn8aOPYBjXci3gISezmNSzSptshtLmMojdVZnSG1OyMQMVTknBAmo= X-Received: by 2002:a05:6902:102c:b0:b96:7fa0:d9d9 with SMTP id x12-20020a056902102c00b00b967fa0d9d9mr23788643ybt.35.1683830832355; Thu, 11 May 2023 11:47:12 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Thu, 11 May 2023 20:46:36 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Tomek CEDRO Cc: Warner Losh , freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000009fdf8505fb6f6ac4" X-Rspamd-Queue-Id: 4QHLV92LzMz3hPn X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000009fdf8505fb6f6ac4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Tomek. ---> In a perfect world we could focus on RISC-V based devices. I don't know any RISC-V based devices. Please give me some examples. ---> it lags behind Linux on new hardware (most likely multimedia capable embedded systems). What's the minimum desktop environment that can be used if we want to install FreeBSD on an old phone ? Are there any old phones based on RISC-V = ? ---> Problem here is that most people think that Open-Source is Linux, but it's the opposite, Linux is a part of the big Open-Source world. How do you plan to come back with the money needed to adapt FreeBSD to make it work on an old phone if the FreeBSD code is based on a license that's even more open than the GPL ? Where will you get the money to develop it ? ---> Vendors provide drivers only for Linux, sometimes in a binary blob fashion. I imagine that here,first of all,you should develop a software strate that will work as an intermediate between FreeBSD and the linux drivers,so that they will be accepted by the first one. The market can't be changed so fast that the big companies will start to produce drivers for FreeBSD natively massively. ---> People are interested only in things that work out of the box. it's not totally true. During the years Linux became more and more popular even if,at the beginning,it didn't work out of the box. It only means that it needs more time to be accessible,due to the fact that it is technically more advanced than Windows. Today Linux is not ready for the mobile market,yet. But it will be. This is happening. It means that the license model is working well. If the industries wanted to invest money for creating even small devices with Linux inside,it is good enough. What about the FreeBSD license ? The fact that it is even more open,it is better or not for the spreading of small devices on the market,based on FreeBSD ? On Thu, May 11, 2023 at 4:54=E2=80=AFPM Tomek CEDRO wrot= e: > On Thu, May 11, 2023 at 4:35=E2=80=AFPM Warner Losh wrote: > > On Thu, May 11, 2023, 8:26 AM Mario Marietto wrote: > >> I'm not aware of anyone running non-Linux on semi-modern hardware : > >> thats the challenge. To find the right device to experiment with. Im > not talking about some soc,but about a finished and already working table= t > or phone. > > > > So what's the easiest one to run linux on that's not x86? > > Download SD card image, put that image on a card, insert card to a > hardware, have it running.. and that is for many many various kind of > devices most likely each requiring a dedicated set of drivers ;-) > > The problem we face right now on FreeBSD it lags behind Linux on a > new hardware (most likely multimedia capable embedded systems). In a > perfect world we could focus on RISC-V based devices and provide out > of the box running solutions that would attract people to FreeBSD and > maybe help in development. People could see the advantages of BSD and > consider investing their time and effort in development of a long term > maintainable solution instead quick-win-and-chase-the-rabbit-forever. > > Problem here is that most people think that Open-Source is Linux, but > its the opposite, Linux is a part of big Open-Source world. Vendors > provide drivers only for Linux, sometimes in a binary blob fashion. > Developing drivers takes time and skill.. also requires good > documentation that sometimes its not even available. People are > interested only in things that work out of the box. > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > --=20 Mario. --0000000000009fdf8505fb6f6ac4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Tomek.

---> In a p= erfect world we could focus on RISC-V based devices.

I don't know any RISC-V based devices. Please give me some examples.=

---> it lags behind Linux on new hardware = (most likely multimedia capable embedded systems).

What's the minimum desktop environment that can be used if we want to = install FreeBSD on an old phone ? Are there any old phones based on RISC-V = ?

---> Problem here is that most people think that Ope= n-Source is Linux, but it's the opposite, Linux is a part of the big Op= en-Source world.

How do you plan to come back wit= h the money needed to adapt FreeBSD to make it work on an old phone if the = FreeBSD code is based on a license that's even more open than the GPL ?= Where will you get the money to develop it ?

---&= gt; Vendors provide drivers only for Linux, sometimes in a binary blob fash= ion.

I imagine that here,first of all,you should d= evelop a software strate that will work as an intermediate between FreeBSD = and the linux drivers,so that they will be accepted by the first one. The m= arket can't be changed so fast that the big companies will start to pro= duce drivers for FreeBSD natively massively.

---&g= t; People are interested only in things that work out of the box.=

it's not totally true. During the = years Linux became more and more popular even if,at the beginning,it didn&#= 39;t work out of the box. It only means that it needs more time to be acces= sible,due to the fact that it is technically more advanced than Windows. To= day Linux is not ready for the mobile market,yet. But it will be. This is h= appening. It means that the license model is working well. If the industrie= s wanted to invest money for creating even small devices with Linux inside,= it is good enough. What about the FreeBSD license ? The fact that it is eve= n more open,it is better or not for the spreading of small devices on the m= arket,based on FreeBSD ?


On Thu, May 11, 2023 at 4:54= =E2=80=AFPM Tomek CEDRO <tomek@cedro.info> wrote:
On Thu, May 11, 2023 at 4:35=E2=80=AFPM Warner Losh = wrote:
> On Thu, May 11, 2023, 8:26 AM Mario Marietto wrote:
>> I'm not aware of anyone running non-Linux on semi-modern hardw= are :
>> thats the challenge. To find the right device to experiment with. = Im not talking about some soc,but about a finished and already working tabl= et or phone.
>
> So what's the easiest one to run linux on that's not x86?

Download SD card image, put that image on a card, insert card to a
hardware, have it running.. and that is for many many various kind of
devices most likely each requiring a dedicated set of drivers ;-)

The problem we face right now on FreeBSD=C2=A0 it lags behind Linux on a new hardware (most likely multimedia capable embedded systems). In a
perfect world we could focus on RISC-V based devices and provide out
of the box running solutions that would attract people to FreeBSD and
maybe help in development. People could see the advantages of BSD and
consider investing their time and effort in development of a long term
maintainable solution instead quick-win-and-chase-the-rabbit-forever.

Problem here is that most people think that Open-Source is Linux, but
its the opposite, Linux is a part of big Open-Source world. Vendors
provide drivers only for Linux, sometimes in a binary blob fashion.
Developing drivers takes time and skill.. also requires good
documentation that sometimes its not even available. People are
interested only in things that work out of the box.

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


--
Mario.
--0000000000009fdf8505fb6f6ac4-- From nobody Thu May 11 19:39:16 2023 X-Original-To: freebsd-hackers@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 4QHMfL4Qbrz49w3k for ; Thu, 11 May 2023 19:39:22 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) (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 "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHMfL1vlJz3lQ7 for ; Thu, 11 May 2023 19:39:21 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Authentication-Results: mx1.freebsd.org; none Date: Thu, 11 May 2023 19:39:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lorenzosalvadore.it; s=protonmail2; t=1683833958; x=1684093158; bh=Cc3Bw0up/ZdMuyjj2JnyCx9LjbE+olQAW/ZaKAQxdJU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=qh/Y7v+tvtl/siRx6GDC71CDZGWBQoHbkSPmIulZNaA8JuAMZcVgdfffCIIy00zU0 J4DEvl+2Hg3xTOOpqQheBhsMpt5YuuWIlmBf4ao3sDvD4Ng8xD04JuhV+pz2dh1x37 jtK4407foVBMWSb6iqzIkgCdq/mA2m7HcPbTLVmDL6vgw2cmZYighwrUYhlLVpmQxq d3wEO6UM0aX9d/6YeJQlVBjWRz/F3aSpheTpUfoPCCuMdFeh34xHKrxjLZk4FBVERa d74iYPYVkGxA+qUU6flMW8N/zqybCl/kBsIaGDI4Q4yJoqYOo8kjIzb53It+3mRXUq kPKbI+6+h7D1g== To: Mario Marietto From: Lorenzo Salvadore Cc: Tomek CEDRO , Warner Losh , freebsd-hackers Subject: Re: freebsd on an ebook ereader ? Message-ID: <2di-5CLwOl4O8QoL8_3DedJ_XaQVG2u_-w_9f8grWleHQP3QDXtes8Sk5fOhWwVU4e3HgvbwbixEiatP-6_4HZ7ZQQFAMbzjeKZSviEGEpg=@lorenzosalvadore.it> In-Reply-To: References: Feedback-ID: 53711648:user:proton List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QHMfL1vlJz3lQ7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------- Original Message ------- On Thursday, May 11th, 2023 at 8:46 PM, Mario Marietto wrote: > How do you plan to come back with the money needed to adapt FreeBSD to ma= ke it work on an old phone if the FreeBSD code is based on a license that's= even more open than the GPL ? Where will you get the money to develop it ? Actually, many companies love the BSD license. The fact that it is more ope= n than the GPL allow them to keep their sources closed. See this article for more information on the topic: https://docs.freebsd.org/en/articles/bsdl-gpl/ I have also translated it in Italian some years ago (the translation could likely be improved, but it is better than nothing): https://docs.freebsd.org/it/articles/bsdl-gpl/ Many companies use FreeBSD, see: https://freebsdfoundation.org/freebsd-project/what-is-freebsd/ They also often contribute to FreeBSD, either by sponsoring developers and projects, by upstreaming their own patches, or by donating: https://www.freebsd.org/status/report-2023-01-2023-03/#_freebsd_foundation And please remember that many developers and contributors to FreeBSD are just volunteers and do not need any money to make things happen. I am a volunteer for example, I do not get any money, I am here only for the fun and for the opportunity to learn things and share my work. So money is not necessarly needed to have FreeBSD running on a phone: someone (maybe you?) might do it just for the fun and share it. This is one of great things of open source. > ---> People are interested only in things that work out of the box. >=20 >=20 > it's not totally true. During the years Linux became more and more popula= r even if,at the beginning,it didn't work out of the box. It only means tha= t it needs more time to be accessible,due to the fact that it is technicall= y more advanced than Windows. Today Linux is not ready for the mobile marke= t,yet. But it will be. This is happening. If I remember correctly, Android is Linux based. I would not define Linux "not ready for the mobile market". I understand that you do not like Android (I do not either, although I have to use it... I wonder however why you do not like Android but you use a gmail address). You might like other things such as the PinePhone (again, Linux based) or GrapheneOS (according to https://grapheneos.org/faq#upstream it contributed to Linux and OpenBSD). If what you want is a to have a shell on your phone, there is the Termux app (open source). Not sure if those help you with the project you have in mind however. Cheers, Lorenzo Salvadore From nobody Thu May 11 20:17:07 2023 X-Original-To: freebsd-hackers@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 4QHNVc6B9kz49yMV for ; Thu, 11 May 2023 20:17:44 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (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 4QHNVc3jVjz3t1X for ; Thu, 11 May 2023 20:17:44 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-b9a824c3a95so11448191276.1 for ; Thu, 11 May 2023 13:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683836263; x=1686428263; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p28+Vy/yTZwSfwX+7w8AcpyPYZ1TkWLEF0uwlYtL1RE=; b=NyCD+r6r/UiVrFlWI95nrRjOUn2aP8w6z+stV+lX9xlCsPJnDW8DtOVZP2PP/cBv8g lhJiG9FL45MruR0vm/4utwUWvsAEzu7PtJ2nMqAbAcAfyA8EB98jSt0iUo2pskjGPkSs IK7CxTqEGAOLMWGLTLLKSsPwDmbaiCLttbvb4MoPY5Jf1SHr3ARJzuS5obBnhHvLp1M7 DLNZaUqGqVgoO2FroPutVHZL9gA37bZBoFEhwVCCnDeV4zIiKzxfV+vpfdkYtupHti6M TNmFwo6nP5b51MG3p4/UHOqTLd8UbdMXsUFeespauRmD3yrXNwI1d7gaYNVAZ7DUANLc Z6ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683836263; x=1686428263; 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=p28+Vy/yTZwSfwX+7w8AcpyPYZ1TkWLEF0uwlYtL1RE=; b=ktcbGQ6j5I20sLPE1OZHll80fqoQ7PwZ6sWbPEqBb+H/2jlKmYyye+T9UJPJXBs+9/ JG1DEWfp0dUnl214/tRi2xEqi8s2dnj3ZvaOBGklsZPhR7/skxjXxGKy0kYxlzOFDfKX HFZaWpbZorbQcAGZwr8nLhrtF+gLiIIZrbnuOfbkxExKG49aHXatjUNPOmnoXL52UZEz AzJ1NprVMiblVgqndVZ6hpqokVs2Sco0IbEIt/oAf7ami4hwxHlMobNQGEkJ/vI7Lf46 9nCRZmiqj8Ej2EaLcNyENdJkfBj4wLwWuHMa2X+3uy8p+cT4NP4UIO8RfaaHYFLWdo8B YIzA== X-Gm-Message-State: AC+VfDzs9OTeDRZcI1KU28xUMoOFXQsQXcWGbYnV00VCMC0maJvvWqPx 9zX8scfdQTVhKK4xT9KRvcz6SHErUosoDf0N7iI= X-Google-Smtp-Source: ACHHUZ6FqQr5OBfetIkLSc7JC4UkaXRJ/xuGpCPIZH7pQbNRagGB2tbkL3qIXfNloNvhkOUDn6BQsO9tFyOOHaCnAXw= X-Received: by 2002:a05:6902:18c7:b0:b99:75f:8f24 with SMTP id ck7-20020a05690218c700b00b99075f8f24mr28713641ybb.30.1683836263292; Thu, 11 May 2023 13:17:43 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <2di-5CLwOl4O8QoL8_3DedJ_XaQVG2u_-w_9f8grWleHQP3QDXtes8Sk5fOhWwVU4e3HgvbwbixEiatP-6_4HZ7ZQQFAMbzjeKZSviEGEpg=@lorenzosalvadore.it> In-Reply-To: <2di-5CLwOl4O8QoL8_3DedJ_XaQVG2u_-w_9f8grWleHQP3QDXtes8Sk5fOhWwVU4e3HgvbwbixEiatP-6_4HZ7ZQQFAMbzjeKZSviEGEpg=@lorenzosalvadore.it> From: Mario Marietto Date: Thu, 11 May 2023 22:17:07 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Lorenzo Salvadore Cc: Tomek CEDRO , Warner Losh , freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000005562fb05fb70ae56" X-Rspamd-Queue-Id: 4QHNVc3jVjz3t1X X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000005562fb05fb70ae56 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ----> Actually, many companies love the BSD license. The fact that it is more open than the GPL allows them to keep their sources closed. And please remember that many developers and contributors to FreeBSD are just volunteers and do not need any money to make things happen. I am a volunteer for example, I do not get any money, I am here only for the fun and for the opportunity to learn things and share my work. So money is not necessarily needed to have FreeBSD running on a phone: someone (maybe you?) might do it just for fun and share it. This is one of the great things about open source. >From your words everything on FreeBSD seems to be perfect. Everything works fine and natural. If it is so perfect,why are companies pushing Linux into the market more and more,even in the most difficult area,the little devices area,and they are not pushing FreeBSD ? FreeBSD license is better. Every project in FreeBSD can be done from one day to another one,but the development of Linux goes faster,a lot of drivers are created,more devices come out with Linux and so on. Man,I would also think that in the FreeBSD world everything is fine like you say,but to me it does not seem to be true. Probably something is not working well and Linux beats FreeBSD in some areas. We should focus our attention on this point,to understand how to improve it. Maybe the first cause is the license. Maybe the people,companies and so on think that the freedom given by the license gives them a high dose of uncertainty and they don't put money there. Because if companies put some money to do what they want because they have the freedom to do it,it is also true that the developers have the same freedom and they can do whatever they want,too. There are two proverbs that people say here where I live. 1) too much always chokes. 2) Who wants too much, nothing squeezes. ---> If I remember correctly, Android is Linux based. I would not define Linux "not ready for the mobile market". In my humble opinion Android is not Linux. The only component they share is the kernel. But not so much because Google makes their own patches and not every Linux patch is adopted by Google. This approach goes on for years. The kernel has been patched so many times by Google in a way that Linux developers don't like. Android does not use the Linux kernel anymore. It uses the Android kernel. I think that it became something different. --> I understand that you do not like Android (I do not either, although I have to use it... I wonder however why you do not like Android but you use a gmail address. I have an old mobile phone powered by Android. But only because I don't have the money to buy the pinephone. I will change the first with the second in a short amount of time if I could. This is even more true if I could buy or help developers to create a FreeBSD powered phone. Infact I'm loving FreeBSD more than Linux actually,for many reasons. I don't do anything because I have to. I'm retired from work. I do something or because I like it or because I didn't find the alternative I want or for habit. And habits don't go away that easily,even if you would. ---> or GrapheneOS (according to https://grapheneos.org/faq#upstream) GrapheneOS is a private and secure mobile operating system with great functionality and usability. It starts from the strong baseline of the Andr= oid Open Source Project (AOSP) : I'm not interested in an OS so hardly based on Android. ---> If what you want is to have a shell on your phone, there is the Termux= . no. what I want is to hack an old phone or tablet,unlock the bootloader and use some techniques or ways that I don't know (maybe adapting the source code of those drivers) to make them supported by FreeBSD and I want to install FreeBSD there. On Thu, May 11, 2023 at 9:39=E2=80=AFPM Lorenzo Salvadore < developer@lorenzosalvadore.it> wrote: > > > > ------- Original Message ------- > On Thursday, May 11th, 2023 at 8:46 PM, Mario Marietto < > marietto2008@gmail.com> wrote: > > > How do you plan to come back with the money needed to adapt FreeBSD to > make it work on an old phone if the FreeBSD code is based on a license > that's even more open than the GPL ? Where will you get the money to > develop it ? > > Actually, many companies love the BSD license. The fact that it is more > open than the GPL allow them to > keep their sources closed. > > See this article for more information on the topic: > https://docs.freebsd.org/en/articles/bsdl-gpl/ > > I have also translated it in Italian some years ago (the translation > could likely be improved, but it is better than nothing): > https://docs.freebsd.org/it/articles/bsdl-gpl/ > > Many companies use FreeBSD, see: > https://freebsdfoundation.org/freebsd-project/what-is-freebsd/ > > They also often contribute to FreeBSD, either by sponsoring developers > and projects, by upstreaming their own patches, or by donating: > https://www.freebsd.org/status/report-2023-01-2023-03/#_freebsd_foundatio= n > > And please remember that many developers and contributors to FreeBSD > are just volunteers and do not need any money to make things happen. > I am a volunteer for example, I do not get any money, I am here only > for the fun and for the opportunity to learn things and share my work. > So money is not necessarly needed to have FreeBSD running on a phone: > someone (maybe you?) might do it just for the fun and share it. > This is one of great things of open source. > > > ---> People are interested only in things that work out of the box. > > > > > > it's not totally true. During the years Linux became more and more > popular even if,at the beginning,it didn't work out of the box. It only > means that it needs more time to be accessible,due to the fact that it is > technically more advanced than Windows. Today Linux is not ready for the > mobile market,yet. But it will be. This is happening. > > If I remember correctly, Android is Linux based. I would not define > Linux "not ready for the mobile market". > > I understand that you do not like Android (I do not either, although > I have to use it... I wonder however why you do not like Android but you > use a gmail address). You might like other things such as the PinePhone > (again, Linux based) or GrapheneOS (according to > https://grapheneos.org/faq#upstream it contributed to Linux and OpenBSD). > If what you want is a to have a shell on your phone, there is the Termux > app (open source). > Not sure if those help you with the project you have in mind however. > > Cheers, > > Lorenzo Salvadore > --=20 Mario. --0000000000005562fb05fb70ae56 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
----> Actually, many companies love the BSD licens= e. The fact that it is more open than the GPL allows them to
keep their sources closed. And please remember that many developers and con= tributors to FreeBSD are just volunteers and do not need any money to make = things happen. I am a volunteer for example, I do not get any money, I am here only for th= e fun and for the opportunity to learn things and share my work. So money i= s not necessarily needed to have FreeBSD running on a phone: someone (maybe= you?) might do it just for fun and share it. This is one of the great things about open source.

>From your words everything on FreeBSD seems to be perfect. Everything work= s fine and natural. If it is so perfect,why are companies pushing Linux int= o the market more and more,even in the most difficult area,the little devic= es area,and they are not pushing FreeBSD ? FreeBSD license is better. Every= project in FreeBSD can be done from one day to another one,but the develop= ment of Linux goes faster,a lot of drivers are created,more devices come ou= t with Linux and so on. Man,I would also think that in the FreeBSD world ev= erything is fine like you say,but to me it does not seem to be true. Probab= ly something is not working well and Linux beats FreeBSD in some areas. We = should focus our attention on this point,to understand how to improve it. M= aybe the first cause is the license. Maybe the people,companies and so on t= hink that the freedom given by the license gives them a high dose of uncert= ainty and they don't put money there. Because if companies put some mon= ey to do what they want because they have the freedom to do it,it is also t= rue that the developers have the same freedom and they can do whatever they= want,too. There are two proverbs = that people say here where I live. 1) too much always chokes. 2) Who wants = too much, nothing squeezes.

---> If I r= emember correctly, Android is Linux based. I would not define Linux "n= ot ready for the mobile market".

In my humble= opinion Android is not Linux. The only component they share is the kernel.= But not so much because Google makes their own patches and not every Linux= patch is adopted by Google. This approach goes on for years. The kernel ha= s been patched so many times by Google in a way that Linux developers don&#= 39;t like. Android does not use the Linux kernel anymore. It uses the Andro= id kernel. I think that it became something different.

=
--> I understand that you do not like Android (I do not either, alt= hough I have to use it... I wonder however why you do not like Android but = you use a gmail address.

I have an old mobile phone po= wered by Android. But only because I don't have the money to buy the pi= nephone. I will change the first with the second in a short amount of time = if I could. This is even more true if I could buy or help developers to cre= ate a FreeBSD powered phone. Infact I'm loving FreeBSD more than Linux = actually,for many reasons. I don't do anything because I have to. I'= ;m retired from work. I do something or because I like it or because I didn= 't find the alternative I want or for habit. And habits don't go away that easily,even if you would. =

<= /div>
---> or GrapheneOS (according to https://grapheneos.org/faq#upstream)

GrapheneOS is a private and secure mobile operating system with great=20 functionality and usability. It starts from the strong baseline of the Android Open Source Project (AOSP) = : I'm not interested in an OS so hardly based on Android.

---> If what you want is to have a shell on your phone,= there is the Termux.

no. what I want is to hack a= n old phone or tablet,unlock the bootloader and use some techniques or ways= that I don't know (maybe adapting the source code of those drivers) to= make them supported by FreeBSD and I want to install FreeBSD there.=C2=A0 =

On Thu, May 11, 2023 at 9:39=E2=80=AFPM Lorenzo Salvad= ore <developer@lorenzos= alvadore.it> wrote:



------- Original Message -------
On Thursday, May 11th, 2023 at 8:46 PM, Mario Marietto <marietto2008@gmail.com> = wrote:

> How do you plan to come back with the money needed to adapt FreeBSD to= make it work on an old phone if the FreeBSD code is based on a license tha= t's even more open than the GPL ? Where will you get the money to devel= op it ?

Actually, many companies love the BSD license. The fact that it is more ope= n than the GPL allow them to
keep their sources closed.

See this article for more information on the topic:
https://docs.freebsd.org/en/articles/bsdl-gpl/

I have also translated it in Italian some years ago (the translation
could likely be improved, but it is better than nothing):
https://docs.freebsd.org/it/articles/bsdl-gpl/

Many companies use FreeBSD, see:
https://freebsdfoundation.org/freebsd-= project/what-is-freebsd/

They also often contribute to FreeBSD, either by sponsoring developers
and projects, by upstreaming their own patches, or by donating:
https://www.freebsd.org/st= atus/report-2023-01-2023-03/#_freebsd_foundation

And please remember that many developers and contributors to FreeBSD
are just volunteers and do not need any money to make things happen.
I am a volunteer for example, I do not get any money, I am here only
for the fun and for the opportunity to learn things and share my work.
So money is not necessarly needed to have FreeBSD running on a phone:
someone (maybe you?) might do it just for the fun and share it.
This is one of great things of open source.

> ---> People are interested only in things that work out of the box.=
>
>
> it's not totally true. During the years Linux became more and more= popular even if,at the beginning,it didn't work out of the box. It onl= y means that it needs more time to be accessible,due to the fact that it is= technically more advanced than Windows. Today Linux is not ready for the m= obile market,yet. But it will be. This is happening.

If I remember correctly, Android is Linux based. I would not define
Linux "not ready for the mobile market".

I understand that you do not like Android (I do not either, although
I have to use it... I wonder however why you do not like Android but you use a gmail address). You might like other things such as the PinePhone
(again, Linux based) or GrapheneOS (according to
https://grapheneos.org/faq#upstream it contributed to Linux= and OpenBSD).
If what you want is a to have a shell on your phone, there is the Termux app (open source).
Not sure if those help you with the project you have in mind however.

Cheers,

Lorenzo Salvadore


--
Mario.
--0000000000005562fb05fb70ae56-- From nobody Thu May 11 20:29:48 2023 X-Original-To: freebsd-hackers@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 4QHNmn74wfz49ys0 for ; Thu, 11 May 2023 20:30:01 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 4QHNmn5JTJz3wJ4 for ; Thu, 11 May 2023 20:30:01 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-b9a6eec8611so43421444276.0 for ; Thu, 11 May 2023 13:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1683837000; x=1686429000; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=66GB+TTMbKUQBwsH05fYUtZ2goZ22+f4q5QwU+/cmIw=; b=HnJwKTWA1yauvF4RpAp5gdqTiJNf+b0mbeHq4KXTXywjbkR7qa/7ObmQ0ctOiG1Kte U0SPdivT5bXdZtMiV2Iihyoec81WioJGzV3guGilfcQkA1VqyC8+M/ALVThqVlhX8qNf XX5+ktwKkh0MkTdmgm/oxluVLYEWNb1y3Pjj/gObXruxrU80ZKJunNNTQb0L5upbS5yZ RaXfWtmg33Ne/5ilhWKzUm7/mos02zIsRmwE3ka7wPaZlubaqZ2MafsnAa2ayiapRfDr fMdhfGQE1II4EKFGKSZfXUjUxItf3lTyL/tvU6bclbytU9iKW7lVxMkeOIK9w67EjJTJ +7KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683837000; x=1686429000; h=content-transfer-encoding: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=66GB+TTMbKUQBwsH05fYUtZ2goZ22+f4q5QwU+/cmIw=; b=IKA52Wvt8WR9yYwHNlH8ZvWtuO7rXXrJaPCaS9lo/mM931SeB+0bWPv7MAQZI3Y05x n0c2MIYS8BQmAqj1RI77WGYAXwK9LaW+YtgSTl1ve4TgizYlUy3TfnrM9JmUj9dnUvB0 qVgl8p/l/JzMWS+90MGrzizU+/w0getaI94MJ3qo8Kb9bLeCxoescP1ea6JSDmsbl/Jt CLTG84Lz93//JDyPfZJ079Sc9m50IANRizTbgcgT2RZwxFSkaxbsj6JGuiPmbEP9swuX +fbJBWXr03gg+40qoo/VR+myo+cPdPTPR57awALWCopxGCx+MjkObopX6BQZqom/vWez rYgw== X-Gm-Message-State: AC+VfDwaMMXtrHuPkWREOE0TKqDbmZNSgbPWjaL1UH8GxWMPwo5k/R9y h5GlHbMrtCWnERvgmzBqr1XHY0J+Tevwv8Spc68= X-Google-Smtp-Source: ACHHUZ4OLpZaHspBNBIbS7/IqeNGd+ywc6iumE2uNvndIFm8mUmmdFrizCELfKKrDqka93LclnJ+NA== X-Received: by 2002:a0d:c604:0:b0:55a:3502:d2ca with SMTP id i4-20020a0dc604000000b0055a3502d2camr20608734ywd.13.1683837000511; Thu, 11 May 2023 13:30:00 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id g190-20020a0dddc7000000b00545a081849esm5147560ywe.46.2023.05.11.13.30.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 13:30:00 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-b9a6f17f2b6so43344350276.1 for ; Thu, 11 May 2023 13:30:00 -0700 (PDT) X-Received: by 2002:a0d:d914:0:b0:55a:c40:62b9 with SMTP id b20-20020a0dd914000000b0055a0c4062b9mr23608630ywe.0.1683836999749; Thu, 11 May 2023 13:29:59 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 11 May 2023 22:29:48 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Mario Marietto Cc: Warner Losh , freebsd-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QHNmn5JTJz3wJ4 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, May 11, 2023 at 8:47=E2=80=AFPM Mario Marietto wrote: > Hello Tomek. > ---> In a perfect world we could focus on RISC-V based devices. > I don't know any RISC-V based devices. Please give me some examples. RISC-V is the future of computing hardware Open-Source CPU specification that gets more and more traction around the world starting from tiny MCU like ESP32-C3 or ESP32-C6 (WiFi and BLE capable), along with dedicated IC for mass storage controllers (used by WD and Seagate for instance), along with OS capable running devices (more powerful than rPI), ending up at highly experimental designs that you can run yourself on FPGA and will serve to design 1000 core CPU, neural networks accelerators, building satellites and space ship onboard systems, 128-bit+ architectures, etc etc. RISC-V as Open-Source design has no boundaries, no limitations, is no subject to politics and no single group of influence/interest. Due to lack of restrictive licensing resulting MCU/CPU chip is a lot cheaper and thus accessible (i.e. ESP32-C3 RISC-V BLE and WiFi MCU cost around $0.6/piece compared to $3/piece ARM Cortex-M0+ with BLE and no WiFi and a magnitude smaller memory). We may not fix the past but we can prepare for the future :-) https://riscv.org/about/ https://riscv.org/exchanges/boards/ https://riscv.org/risc-v-developer-boards/ https://www.sifive.com/boards https://www.starfivetech.com/en/site/boards https://pine64.com/product/star64-model-a-8gb-single-board-computer/ https://riscv.org/news/2022/09/nasa-selects-sifive-and-makes-risc-v-the-go-= to-ecosystem-for-future-space-missions-sifive-business-wire/ https://riscv.org/news/2020/12/et-soc-1-chip-with-more-than-1000-risc-v-cor= es-aimed-at-accelerating-machine-learning-abhishek-jadhav-hackster-io/ https://arstechnica.com/gadgets/2021/06/sifives-brand-new-p550-is-one-of-th= e-worlds-fastest-risc-v-cpus/ https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=3Dtrue&queryT= ext=3Drisc-v --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Fri May 12 14:51:00 2023 X-Original-To: freebsd-hackers@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 4QHsCK3Kqvz4B6D6 for ; Fri, 12 May 2023 14:51:09 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2093.outbound.protection.outlook.com [40.107.255.93]) (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 4QHsCJ1YJnz4552; Fri, 12 May 2023 14:51:08 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b=FTI3HrwS; spf=pass (mx1.freebsd.org: domain of schakrabarti@microsoft.com designates 40.107.255.93 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com; dmarc=pass (policy=reject) header.from=microsoft.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fXI9QEIep4qMtfkXJ0/6RBxWEwR49jMYUfW2BD57Mbm7solZLXdbN55UrPQGy1726p6Z5tg6O+eEpri5WgWMn85cAh+HbIglJHVuCJWmwHZAEb5fpLTnmZ3O6JFN/gLh0f35IY2LtxIEp/KhJ+ap/ATkomg08Ge7wDr6K0FfSwKKBbI24U1Gl/2y0DmPqVlrn6+9/GRcrxm09VW21oqK2cBunKoBxyf+ON+11waqR05+jwJIdvqchXkBcjBU3D9fsrtayqjIJfyHE6MC4E/iahi5je+SHjnkOHyDgvfd+5Tw/sGUEyYb+sgazIAN0NTjAjOu/YtOPC5SR7CQtdyVvg== 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=ldv6FqkVLltHYWO7BZ73eB432AYTID/zCbYrscHWZYs=; b=KY9oKo5sgghtresnzZYSvMlcr9WBNaW0nNnCgAv40CeD43CeyfhfBP4PDf6D86NHThkGxxDPUEK/13cuh0B70PdiPzUSIHRFJ7bfDXnNQ+PafNeU3VlXFJVeWNC2epFzzJBpKRQe2IeAXeMrr/uJaffggJfKWQL+GtyuMFx5WdGf93O+fl5JjeeittFwioxo1XSkTM9FUmtaoGNVtCCThhGjzLdvsmFY6Y1gky7Pk/YW1XVOMW/gcwchZg+qg4lDjjIZ3X1lr/mB0lTLvzWW5Ree6ps32BbAiZ2qILLUd/9W82NPekdnwZ/HUHhppoNIjXETxJU+4DnMxUv38jTJng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ldv6FqkVLltHYWO7BZ73eB432AYTID/zCbYrscHWZYs=; b=FTI3HrwSSKWBw5NFpfqPrlSGR3wrE0Ut10VsXe17zntpgtl5cngps4ST6knfTdk3KqQz43HLeDZK7QyX5odREwd2p4n7E8IKsK4Uox6c5zJMKS7quOmpxeql+oMcPM9f+MmwBkSfd61FL90izlHXXTCjzCUXnJ03a+SBzgXSVFA= Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM (2603:1096:301:75::14) by SI2P153MB0507.APCP153.PROD.OUTLOOK.COM (2603:1096:4:123::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.10; Fri, 12 May 2023 14:51:02 +0000 Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::3636:5810:fb12:6d71]) by PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::3636:5810:fb12:6d71%7]) with mapi id 15.20.6411.011; Fri, 12 May 2023 14:51:00 +0000 From: Souradeep Chakrabarti To: Kyle Evans CC: Wei Hu , "freebsd-hackers@FreeBSD.org" Subject: RE: enabling same PPI interrupt to all CPU in ARM64 SMP Thread-Topic: enabling same PPI interrupt to all CPU in ARM64 SMP Thread-Index: AdmBrWHu4SCK2cRnRnyy6MBGajO35QDM7LrA Date: Fri, 12 May 2023 14:51:00 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=45c2ec45-1f81-486d-a600-39d56d6abc32;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-05-08T13:02:09Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PSAP153MB0536:EE_|SI2P153MB0507:EE_ x-ms-office365-filtering-correlation-id: 5b9d77fc-2d7f-44b6-b04e-08db52f84d0d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 68StJ41c2Xx/78Y2gKOen07l+4KWEXHw7P1QB2o16SDy1YNjmL7pKGzQSaZXWG0KI1aX6lxFvE9F8v3RYOLe3cEmFBjulBxtdhHiTnK/j5ZQtbpuRDGm0SjAADf8gvXd0PHTEvrCsM41kJko4SNKswO8ob/LPWOIEypYysyGaA3UFEYV6JOid9Xca9UMiQw6dCC4OqfoBRjluSn3jRMiiYD3ZB68A2EV6+TDjirg3bCRzEfqqWT/dEb8f8rxkmLVShFp9DMTdqpU/oD3jpIxR7UlpY66jAqKMd7G2R6krr701HePF/1dulKd8GsiRU+hnTjWLPjF11kJrVQ3MTGhj8w6RqsINHhuIwXUO1yztARI/sjYiWHGiSLa8MzPbpAzdj34WbBxMtiEcTxuglq4M3sN6q7gIJhxDEntnOiXn2QfXfWq9I94MzkirYPc48Jcq3/Ub9GRrck0/oU9DAhYV6yTn+swAe/PXAcDW4fW5OJ5EHa/StkvSM+wPW/q9nOyEDKKkMbsBQyUJZ0dlfYDVY1M4/32+4iXLvkl/zgz5PAssmUgLRdXS5mWH5gzRo+4V+UuAXDUe0MKA8oGFV3ifReGNlZ46CE7oaUAeQ8LyykFLhkXaCtTQVcCp2Z/4gCtJinDKrVZu2GFhkWhuCijvH8fmReeYgQbGpQG0vztC8M= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PSAP153MB0536.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(366004)(396003)(39860400002)(346002)(451199021)(4326008)(76116006)(66476007)(66446008)(64756008)(6916009)(66946007)(66556008)(478600001)(10290500003)(7696005)(786003)(316002)(450100002)(54906003)(86362001)(33656002)(83380400001)(26005)(186003)(9686003)(6506007)(52536014)(8936002)(8676002)(5660300002)(4744005)(2906002)(71200400001)(41300700001)(55016003)(8990500004)(82960400001)(82950400001)(122000001)(38100700002)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FkZzAoZqH8cpLwUUzLfYju2yovaQDh6eDpLZ2Et0nmQ4rzMdeL5Jf6XlItp4?= =?us-ascii?Q?56VEIM0QsL12mYhFt4FVsaTjbxZ8R7Qy8kuSwVC6XAKOICGiIZT8E/yMoUVn?= =?us-ascii?Q?+9d6hEReK51zZYsPUKpN/VWsbONxNBhw5W6mJG/nO6eXtO8HQrufhH2pMBis?= =?us-ascii?Q?gNpVBDZdMkyd9gJQTu5wo0u6UIII2D0jHwSdyn5LYTgZ1DOJ9+mtJfjYkFj3?= =?us-ascii?Q?zj+aJbnWCjjw7dg6THzysRBjzfhQ6HJkvIHIsHwVx3tWDm1h8yJXHngfNDh/?= =?us-ascii?Q?1Ch9aYUquZ7IPfG3Z0fHV9XtO9o2G2nUlj9619N12HV5MztswxaaLnltlQhN?= =?us-ascii?Q?bzzMR9O5B2PEJIo7s2LAdNmiRqiZZQyLlS/nk7rSJCkcqWsl3rzqW9Ie0K3t?= =?us-ascii?Q?TBBL5qYaM6rjNz5LMq9ZWVikRieYUvkMkRvSQZPHTd86KxeJMtyEdK4Qlbaa?= =?us-ascii?Q?N8c3HUgUZk7b9rMBAbEXmZ4i2HOdiRq5Bqd7qVCESZiYWtEpEHOBis7WkjtT?= =?us-ascii?Q?lpryastMbaPF6Sq+clCf3zenGnbwJTtE8bovXrduz/PKeUmX9t/TOiMXMtSL?= =?us-ascii?Q?AvfUvuVGqXSARFm01OcFvtYq3avmjIe+SqC6TNk40iLp8bgB4bFay4BMLH2J?= =?us-ascii?Q?DdFxPkVxa3u0+EdO8eTMQosObU65Cu6T/0AK5By0PkJF1FZ+nTlZ4kq81Rk0?= =?us-ascii?Q?evQtUSwM+6QtOJmygakkDOBUTT8qoq6Iu4RsMT/I3nWAtUfzCWVR7NyjZz4b?= =?us-ascii?Q?a0ub9/RSVV+ZNvVkvFEdAjwViVXzXvi6JxroI4HO3VN8VQ9W00VlZiJ3vX5g?= =?us-ascii?Q?AjXfUvLyCRc9C0o/pLfeBXe5YsN+5VtJpYGua82VhZjbxRwkF9SZmZGoeBZa?= =?us-ascii?Q?ZlHHsDE9yNleKsjwYp8gC3XvbItBMNtpEiAP0YPkjxbrkWaoCKEZGHjwGpih?= =?us-ascii?Q?1e8O7qIBgqUpQN3ZJ8ggpRqXF+BJud9QPhG7/hQLzK5MbmGKpf4M5auEzPOJ?= =?us-ascii?Q?TNoGdqmoMlkpmq4MdbDXhnckci56dNk1vbAHTW+/gr+zQhtGwvLuG/V/suan?= =?us-ascii?Q?Fu15VQlnhiKBgPQSsikMGx6ildAtvbMv56iAptBV/Pp7MOF8FJnjh25hyY2f?= =?us-ascii?Q?H9hpWHZj3f0KNpcfUsGPAFg1fTDuxoC/0I7ROPel7ubWgw4f/q9y/r1vnaV5?= =?us-ascii?Q?K7cAEP+mcTDEtlBlCcUBYwTmJTycYcLr0PzAe8+IuZCEcZl2AzE0I285WNPB?= =?us-ascii?Q?2rfF0P4qZ3IScswubUqay3QsuxHmS+FicYClwgdraUG/yVk53bwANH4Xsk7A?= =?us-ascii?Q?kY1Zx/ZqYmVYHUc2WIeLIWE3A30fQrnI08/WGQp/dE99+QVLyUmCihUfibBg?= =?us-ascii?Q?3l27ZhJM61BV1UvNz3OTMO6edHK6w7qNb6D7k2g9AcG+GiGo5/OqEbDPk5sr?= =?us-ascii?Q?+9iNBXjBv62yOZnahxb69XgrSmRLs191aFmR7zCjVfACib4K/JGrzMLaa+bG?= =?us-ascii?Q?UuPojNWwjL0GxUzgkTY7H/ItxIHD7wGs91dM?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAP153MB0536.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 5b9d77fc-2d7f-44b6-b04e-08db52f84d0d X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2023 14:51:00.0904 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: K8PV+C0D5Onhnync+/d34uZe4eaCObOS022D3kyn2mjeYw3ulu5AG30MYG+q5dEACQA9yIN6lf/4iCXvRvu/Bt53jhjenwhsOpHjjCLbsMo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0507 X-Spamd-Result: default: False [-9.00 / 15.00]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[microsoft.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; BLOCKLISTDE_FAIL(0.00)[40.107.255.93:server fail,2603:1096:301:75::14:server fail]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.107.255.93:from]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[microsoft.com:+]; RCVD_COUNT_THREE(0.00)[3]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.255.93:from] X-Rspamd-Queue-Id: 4QHsCJ1YJnz4552 X-Spamd-Bar: -------- X-ThisMailContainsUnwantedMimeParts: N >-----Original Message----- >From: Souradeep Chakrabarti >Sent: Monday, May 8, 2023 6:39 PM >To: Kyle Evans >Cc: Wei Hu ; freebsd-hackers@FreeBSD.org >Subject: enabling same PPI interrupt to all CPU in ARM64 SMP > >Hi , > >While using SMP in ARM64 Hyper-V we are getting stuck in boot if there is = a >interrupt for VMBus coming to CPU1 and VMBus interrupt handler is not gett= ing >that interrupt. > >In ARM64 Hyper-V we are using IRQ18 for VMBus and it is a PPI interrupt. > >But Hypev-V host sends interrupt to this IRQ 18 for both CPU0 and CPU1 in = 2CPU >system. >This is based on the corresponding VMBus channel which assigned with the C= PU. > >Now VMBus ISR is getting the interrupt in CPU0 but not getting from CPU1. >Any idea, how we can use the same PPI 18 for all the CPU cores? > >Any help will be appreciated, as this is blocking the enablement of FreeBS= D in Azure >ARM64. [Souradeep]=20 Can someone please help me it.=20 > >Thanks, >Souradeep > From nobody Fri May 12 17:09:40 2023 X-Original-To: freebsd-hackers@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 4QHwHN3n5lz4BFsF for ; Fri, 12 May 2023 17:09:52 +0000 (UTC) (envelope-from kevans@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 4QHwHN3D19z4T8h for ; Fri, 12 May 2023 17:09:52 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911392; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i95UswbT5PymNpRyyK+QZmtCrTtHjYySV85dQ7Y7i0w=; b=oDCWUOgEmjC/H5YvJOEBq90t9sri1ANoH2DCOBA00ESW/IWzbQKRKYywkzcHqBO5RtbSTR evSVfslAKME0UG/DolBjK3Dj/KBchw59JYTq12RDT77h5xwS0U9/L2HejwkL2SMmnxUvVv G3egMM+tWRA9ARtindpfDAAOu0Ak9PSdz3lBEl0kgThjNPbzO7w5WcnzVAkKZOjZXe5kMy heO5/EoZfsQiKkUng3ucY4mFRkxHpbKMV3R+HhJ+rmaI2lonbBUAY966kz/qjhMNgLXmFV jeq2Iut7IeWyljyg1jW0bRtWTq/U6Gogj/2fqDG17yNxlsO0abRfqvGs4honDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911392; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i95UswbT5PymNpRyyK+QZmtCrTtHjYySV85dQ7Y7i0w=; b=J85VUsQOXIfvwTOFlupl79TcIS+b7kCxwEf1pUWnJZvfVgWRIZAt7f/Q7r/GfWFWurotbg iooy/rMrgEjBszfu5GsfkUdhUWTniI2S1ZHuj6et77AfAEA7Bar4qMcwbRzhAWi+U80HrF WzA2bPzAIf2VaK8oiueD9+PMWB1Xf9ZOyyjclf08823kcOq1fixfWqOV9Oy32I6kagoFcK Jkx6Dd7LObYUVHtfh5oiJCBKMVXpdT96go/uPGWSi3ys0FkvbUR/t3mhF5cezi7T0qudUP ZxfN4BzgnAVtg8GS3WDi/CX97iSnaV5XdMmMsOsSezEzfudx4D5VXcb1loxDhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683911392; a=rsa-sha256; cv=none; b=ISPoWOwM2BxoVoEjQB76eBJfQtXytamej+SExrK3IAHldg9AeC06oFqUFxuGTs1cIIKOVS EBDA0sTYYOaqNI8SdAheStZvyatdTTr01W/x4crB+B8zmrJYMUc1L6dGRPSsa/XbG1mikt WXiyQns+PdUJliQUb4+AgoVepkcWdsc1sIOA+QTDqvMPnZ3NxbchSjxteWozlG7kMvDB+L ws27dgvhqUdKGRylHT9zRWDcaS1fD+SXe6su3NriNt02c/pPlT3tmrHXrJ017r0xhCCd8n 5WniAFhXuH3xSXGKpPFFngcdAzqQw5uJdH3Z4Ezd50TdzMjeEWxWUW4noRJ5bA== Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (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)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QHwHN21nYzsqT for ; Fri, 12 May 2023 17:09:52 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7576eb88a46so634150985a.3 for ; Fri, 12 May 2023 10:09:52 -0700 (PDT) X-Gm-Message-State: AC+VfDyIBnquMn36r+chYonopsNHTlF1HZAwrtZHMAN6/tbsZfu+LNtf Fr1r1eyePbu8JRJsD2YzrT+m4yLmDKTnR4lSWs4= X-Google-Smtp-Source: ACHHUZ4yU0zaXBHTVgOt1Hq9BzN/x87yR2kqprWIwC51nydiWnfGTf6pnoLP9NrgdOpWDTTCf36ewV821097Jnvcnrk= X-Received: by 2002:ad4:5cae:0:b0:61b:5dd6:1f26 with SMTP id q14-20020ad45cae000000b0061b5dd61f26mr38914280qvh.28.1683911391647; Fri, 12 May 2023 10:09:51 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Fri, 12 May 2023 12:09:40 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: enabling same PPI interrupt to all CPU in ARM64 SMP To: Souradeep Chakrabarti Cc: Wei Hu , "freebsd-hackers@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Fri, May 12, 2023 at 9:51=E2=80=AFAM Souradeep Chakrabarti wrote: > > > > > >-----Original Message----- > >From: Souradeep Chakrabarti > >Sent: Monday, May 8, 2023 6:39 PM > >To: Kyle Evans > >Cc: Wei Hu ; freebsd-hackers@FreeBSD.org > >Subject: enabling same PPI interrupt to all CPU in ARM64 SMP > > > >Hi , > > > >While using SMP in ARM64 Hyper-V we are getting stuck in boot if there i= s a > >interrupt for VMBus coming to CPU1 and VMBus interrupt handler is not ge= tting > >that interrupt. > > > >In ARM64 Hyper-V we are using IRQ18 for VMBus and it is a PPI interrupt. > > > >But Hypev-V host sends interrupt to this IRQ 18 for both CPU0 and CPU1 i= n 2CPU > >system. > >This is based on the corresponding VMBus channel which assigned with the= CPU. > > > >Now VMBus ISR is getting the interrupt in CPU0 but not getting from CPU1= . > >Any idea, how we can use the same PPI 18 for all the CPU cores? > > > >Any help will be appreciated, as this is blocking the enablement of Free= BSD in Azure > >ARM64. > [Souradeep] > Can someone please help me it. > Looking at least at the GIC implementation, it looks like this is a known limitation: 875 /* 876 * XXX - In case that per CPU interrupt is going to be enabled in time 877 * when SMP is already started, we need some IPI call which 878 * enables it on others CPUs. Further, it's more complicated as 879 * pic_enable_source() and pic_disable_source() should act on 880 * per CPU basis only. Thus, it should be solved here somehow. 881 */ 882 if (isrc->isrc_flags & INTR_ISRCF_PPI) 883 CPU_SET(PCPU_GET(cpuid), &isrc->isrc_cpu); I think we need something /like/ this: https://people.freebsd.org/~kevans/ppi.diff, though it still has the caveat that PPIs effectively cannot be fully setup before SI_SUB_SMP. So, it's likely almost a NOP for existing platforms (will emit a warning with bootverbose for armv8 timers) but might do the trick for you. Thanks, Kyle Evans From nobody Sat May 13 12:18:48 2023 X-Original-To: freebsd-hackers@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 4QJPnq1h5lz4BK2G for ; Sat, 13 May 2023 12:19:27 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) (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 4QJPnn4SZyz3wys for ; Sat, 13 May 2023 12:19:25 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b="JZt9RiD/"; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::b2a as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-ba716790926so2348019276.2 for ; Sat, 13 May 2023 05:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683980364; x=1686572364; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mMe5yOCFxQPAXg0VSQ1t0YhOGjHVdkrF/4Xx3a+zbVs=; b=JZt9RiD/fwaXWC26RqsKYSVwzOCC0D8w2LRjpIpfg22vUAUkZ1YiUj/RHZrMiC2uME /gsMf60cey+ofrzeT/OXDtogtMqHqJn3hpvuAbqwxHpbZE7B5iJDOWkDq+HJ7ccVH79H soIzPqTjdsXX5ZTQrps0xi5QToPMsbGCBm4wFIdSeA/miPWxuvG2VWES1byNEUMqGEYw DU154POK2voo3+B3qCKaH5Bv/yC6CNMPjGNN67D1HciVvXjThBkjv7MgGOfZ3IyGXEwa nDv6Tzxza4G/T3PrbYyG87x+4IzFxUJee6jkL2boO/XxyvzaOU93TkFlz6x6L3CfxCEG QjGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683980364; x=1686572364; 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=mMe5yOCFxQPAXg0VSQ1t0YhOGjHVdkrF/4Xx3a+zbVs=; b=QIqI12cF7muGnJfuQLH8i42hOcfnScn+fHq4N6rLkzvJ7G+9DJ3AAli5ngVsGmWSFd s0lr2eZTbTBBtXQxeBXO3ZOYuhlci1Nv66pJ3rZYUwCOCaK8YOmXDwp5oN4z4t2Ig5Uq oiFDRIWRE4+rna46duSklukt3/p6KU6E/RPl0ZxdcIVC4MGkh/BorxnbvMTaBnRus50c U7906XAM7YXsxBjpR3v2Dszj6RJZQxWE4xm2P9uYQOYbrAqFYyxWcvrllVDvr8Wl/TgX 6lXp4QBHsBrMFHF1XDLG69mr3h2WY93BihW3tE/q7BC9V22DKkFoqx5sZanpnQvaw8nj CAVg== X-Gm-Message-State: AC+VfDxCvm94O4OAR6B7uPDTGVGE+dgc/T1KAnNQuQA1RYDx9QPQEyGn PtfiOPMN/O+7joruT+f6v7jKN8CUtFSZMmmF/vQ= X-Google-Smtp-Source: ACHHUZ4CZdlY1CKml4976nGkAk4LAIM53j0X2naCh4jyNhW7aiY98/iY4KYoINTVMyKfKAw4NpaeNu2TpeU2pHqSpSA= X-Received: by 2002:a25:aa45:0:b0:ba7:4415:47a6 with SMTP id s63-20020a25aa45000000b00ba7441547a6mr1915615ybi.62.1683980364209; Sat, 13 May 2023 05:19:24 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 13 May 2023 14:18:48 +0200 Message-ID: Subject: Re: freebsd on an ebook ereader ? To: Tomek CEDRO Cc: Warner Losh , freebsd-hackers Content-Type: multipart/alternative; boundary="0000000000006ae2ca05fb923b3d" X-Spamd-Result: default: False [-2.71 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.71)[-0.714]; 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=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2a:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4QJPnn4SZyz3wys X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --0000000000006ae2ca05fb923b3d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I still have the old "Samsung / Google Nexus 10" tablet. I don't like Android. Any help to install FreeBSD instead of Android on this device is appreciated. Thanks. On Thu, May 11, 2023 at 10:30=E2=80=AFPM Tomek CEDRO wro= te: > On Thu, May 11, 2023 at 8:47=E2=80=AFPM Mario Marietto wrote: > > Hello Tomek. > > ---> In a perfect world we could focus on RISC-V based devices. > > I don't know any RISC-V based devices. Please give me some examples. > > RISC-V is the future of computing hardware Open-Source CPU > specification that gets more and more traction around the world > starting from tiny MCU like ESP32-C3 or ESP32-C6 (WiFi and BLE > capable), along with dedicated IC for mass storage controllers (used > by WD and Seagate for instance), along with OS capable running devices > (more powerful than rPI), ending up at highly experimental designs > that you can run yourself on FPGA and will serve to design 1000 core > CPU, neural networks accelerators, building satellites and space ship > onboard systems, 128-bit+ architectures, etc etc. > > RISC-V as Open-Source design has no boundaries, no limitations, is no > subject to politics and no single group of influence/interest. Due to > lack of restrictive licensing resulting MCU/CPU chip is a lot cheaper > and thus accessible (i.e. ESP32-C3 RISC-V BLE and WiFi MCU cost around > $0.6/piece compared to $3/piece ARM Cortex-M0+ with BLE and no WiFi > and a magnitude smaller memory). > > We may not fix the past but we can prepare for the future :-) > > https://riscv.org/about/ > > https://riscv.org/exchanges/boards/ > > https://riscv.org/risc-v-developer-boards/ > > https://www.sifive.com/boards > > https://www.starfivetech.com/en/site/boards > > https://pine64.com/product/star64-model-a-8gb-single-board-computer/ > > > https://riscv.org/news/2022/09/nasa-selects-sifive-and-makes-risc-v-the-g= o-to-ecosystem-for-future-space-missions-sifive-business-wire/ > > > https://riscv.org/news/2020/12/et-soc-1-chip-with-more-than-1000-risc-v-c= ores-aimed-at-accelerating-machine-learning-abhishek-jadhav-hackster-io/ > > > https://arstechnica.com/gadgets/2021/06/sifives-brand-new-p550-is-one-of-= the-worlds-fastest-risc-v-cpus/ > > > https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=3Dtrue&quer= yText=3Drisc-v > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > --=20 Mario. --0000000000006ae2ca05fb923b3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I still have the old "Samsung / Google Nexus 10"= tablet. I don't like=20 Android. Any help to install FreeBSD instead of Android on this device is appreciated. Thanks.

On Thu, May 11, 2023 at 10:30=E2=80=AFPM Tomek CEDRO &= lt;tomek@cedro.info> wrote:
<= /div>
On Thu, May 11, 2023= at 8:47=E2=80=AFPM Mario Marietto wrote:
> Hello Tomek.
> ---> In a perfect world we could focus on RISC-V based devices.
> I don't know any RISC-V based devices. Please give me some example= s.

RISC-V is the future of computing hardware Open-Source CPU
specification that gets more and more traction around the world
starting from tiny MCU like ESP32-C3 or ESP32-C6 (WiFi and BLE
capable), along with dedicated IC for mass storage controllers (used
by WD and Seagate for instance), along with OS capable running devices
(more powerful than rPI), ending up at highly experimental designs
that you can run yourself on FPGA and will serve to design 1000 core
CPU, neural networks accelerators, building satellites and space ship
onboard systems, 128-bit+ architectures, etc etc.

RISC-V as Open-Source design has no boundaries, no limitations, is no
subject to politics and no single group of influence/interest. Due to
lack of restrictive licensing resulting MCU/CPU chip is a lot cheaper
and thus accessible (i.e. ESP32-C3 RISC-V BLE and WiFi MCU cost around
$0.6/piece compared to $3/piece ARM Cortex-M0+ with BLE and no WiFi
and a magnitude smaller memory).

We may not fix the past but we can prepare for the future :-)

h= ttps://riscv.org/about/

https://riscv.org/exchanges/boards/

https://riscv.org/risc-v-developer-boards/

https://www.sifive.com/boards

https://www.starfivetech.com/en/site/boards

https://pine64.com/product/star6= 4-model-a-8gb-single-board-computer/

https://riscv.org/news/2022/09/nasa-sele= cts-sifive-and-makes-risc-v-the-go-to-ecosystem-for-future-space-missions-s= ifive-business-wire/

https://riscv.org/news/2020/12= /et-soc-1-chip-with-more-than-1000-risc-v-cores-aimed-at-accelerating-machi= ne-learning-abhishek-jadhav-hackster-io/

https://arstechnica.com/gadgets/2021/06/sifives-brand-new-p550-is-one-o= f-the-worlds-fastest-risc-v-cpus/

https://i= eeexplore.ieee.org/search/searchresult.jsp?newsearch=3Dtrue&queryText= =3Drisc-v

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


--
Mario.
--0000000000006ae2ca05fb923b3d-- From nobody Sat May 13 13:19:00 2023 X-Original-To: freebsd-hackers@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 4QJR6h5wmpz4BMp5 for ; Sat, 13 May 2023 13:19:08 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4QJR6f1BF2z45Rs for ; Sat, 13 May 2023 13:19:05 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 34DDJ1D0002759 for ; Sat, 13 May 2023 22:19:01 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 13 May 2023 22:19:00 +0900 From: Tomoaki AOKI To: freebsd-hackers@freebsd.org Subject: Re: Periodic rant about SCHED_ULE Message-Id: <20230513221900.39181242ea18369461be4e10@dec.sakura.ne.jp> In-Reply-To: <20230511205712.fa5dc5476e519e933e2f628b@dec.sakura.ne.jp> References: <8cfdb951-9b1f-ecd3-2291-7a528e1b042c@m5p.com> <20230331215751.166a294f7382c85b545f53a2@dec.sakura.ne.jp> <20230503084150.061d508f44fc1d79b18f0110@dec.sakura.ne.jp> <20230511205712.fa5dc5476e519e933e2f628b@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.57 / 15.00]; URI_HIDDEN_PATH(1.00)[https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.98)[-0.978]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QJR6f1BF2z45Rs X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Thu, 11 May 2023 20:57:12 +0900 Tomoaki AOKI wrote: > On Wed, 10 May 2023 16:14:03 +0200 > Mateusz Guzik wrote: > > > On 5/3/23, Tomoaki AOKI wrote: > > > On Mon, 1 May 2023 03:33:18 +0200 > > > Mateusz Guzik wrote: > > > > > >> On 5/1/23, Mateusz Guzik wrote: > > >> > On 3/31/23, Tomoaki AOKI wrote: > > >> >> On Mon, 27 Mar 2023 16:47:04 +0200 > > >> >> Mateusz Guzik wrote: > > >> >> > > >> >>> On 3/27/23, Mateusz Guzik wrote: > > >> >>> > On 3/25/23, Mateusz Guzik wrote: > > >> >>> >> On 3/23/23, Mateusz Guzik wrote: > > >> >>> >>> On 3/22/23, Mateusz Guzik wrote: > > >> >>> >>>> On 3/22/23, Steve Kargl > > >> >>> >>>> wrote: > > >> >>> >>>>> On Wed, Mar 22, 2023 at 07:31:57PM +0100, Matthias Andree > > >> >>> >>>>> wrote: > > >> >>> >>>>>> > > >> >> > > >> >> (snip) > > >> >> > > >> >>> > > > >> >>> > I repeat the setup: 8 cores, 8 processes doing cpu-bound stuff > > >> >>> > while > > >> >>> > niced to 20 vs make -j buildkernel > > >> >>> > > > >> >>> > I had a little more look here, slapped in some hacks as a POC and > > >> >>> > got > > >> >>> > an improvement from 67 minutes above to 21. > > >> >>> > > > >> >>> > Hacks are: > > >> >>> > 1. limit hog timeslice to 1 tick so that is more eager to bail > > >> >>> > 2. always preempt if pri < cpri > > >> >>> > > > >> >>> > So far I can confidently state the general problem: ULE penalizes > > >> >>> > non-cpu hogs for blocking (even if it is not their fault, so to > > >> >>> > speak) > > >> >>> > and that bumps their prio past preemption threshold, at which point > > >> >>> > they can't preempt said hogs (despite hogs having a higher > > >> >>> > priority). > > >> >>> > At the same time hogs use their full time slices, while non-hogs > > >> >>> > get > > >> >>> > off cpu very early and have to wait a long time to get back on, at > > >> >>> > least in part due to inability to preempt said hogs. > > >> >>> > > > >> >>> > As I mentioned elsewhere in the thread, interactivity scoring takes > > >> >>> > "voluntary off cpu time" into account. As literally anything but > > >> >>> > getting preempted counts as "voluntary sleep", workers get shafted > > >> >>> > for > > >> >>> > going off cpu while waiting on locks in the kernel. > > >> >>> > > > >> >>> > If I/O needs to happen and the thread waits for the result, it most > > >> >>> > likely does it early in its timeslice and once it's all ready it > > >> >>> > waits > > >> >>> > for background hogs to get off cpu -- it can't preempt them. > > >> >>> > > > >> >>> > All that said: > > >> >>> > 1. "interactivity scoring" (see sched_interact_score) > > >> >>> > > > >> >>> > I don't know if it makes any sense to begin with. Even if it does, > > >> >>> > it > > >> >>> > counts stuff it should not by not differentiating between > > >> >>> > deliberately > > >> >>> > going off cpu (e.g., actual sleep) vs just waiting for a file being > > >> >>> > read. Imagine firefox reading a file from disk and being considered > > >> >>> > less interactive for it. > > >> >>> > > > >> >>> > I don't have a solution for this problem. I *suspect* the way to go > > >> >>> > would be to explicitly mark xorg/wayland/whatever as "interactive" > > >> >>> > and > > >> >>> > have it inherited by its offspring. At the same time it should not > > >> >>> > follow to stuff spawned in terminals. Not claiming this is perfect, > > >> >>> > but it does eliminate the guessing game. > > >> >>> > > > >> >>> > Even so, 4BSD does not have any mechanism of the sort and > > >> >>> > reportedly > > >> >>> > remains usable on a desktop just by providing some degree of > > >> >>> > fairness. > > >> >>> > > > >> >>> > Given that, I suspect the short term solution would whack said > > >> >>> > scoring > > >> >>> > altogether and focus on fairness (see below). > > >> >>> > > > >> >>> > 2. fairness > > >> >>> > > > >> >>> > As explained above doing any offcpu-time inducing work instantly > > >> >>> > shafts threads versus cpu hogs, even if said hogs are niced way > > >> >>> > above > > >> >>> > them. > > >> >>> > > > >> >>> > Here I *suspect* position to add in the runqueue should be related > > >> >>> > to > > >> >>> > how much slice was left when the thread went off cpu, while making > > >> >>> > sure that hogs get to run eventually. Not that I have a nice way of > > >> >>> > implementing this -- maybe a separate queue for known hogs and > > >> >>> > picking > > >> >>> > them every n turns or similar. > > >> >>> > > > >> >>> > > >> >>> Aight, now that I had a sober look at the code I think I cracked the > > >> >>> case. > > >> >>> > > >> >>> The runq mechanism used by both 4BSD and ULE provides 64(!) queues, > > >> >>> where the priority is divided by said number and that's how you know > > >> >>> in which queue to land the thread. > > >> >>> > > >> >>> When deciding what to run, 4BSD uses runq_choose which iterates all > > >> >>> queues from the beginning. This means threads of lower priority keep > > >> >>> executing before the rest. In particular cpu hog lands with a high > > >> >>> priority, looking worse than make -j 8 buildkernel and only running > > >> >>> when there is nothing else ready to get the cpu. While this may sound > > >> >>> decent, it is bad -- in principle a steady stream of lower priority > > >> >>> threads can starve the hogs indefinitely. > > >> >>> > > >> >>> The problem was recognized when writing ULE, but improperly fixed -- > > >> >>> it ends up distributing all threads within given priority range > > >> >>> across > > >> >>> the queues and then performing a lookup in a given queue. Here the > > >> >>> problem is that while technically everyone does get a chance to run, > > >> >>> the threads not using full slices are hosed for the time period as > > >> >>> they wait for the hog *a lot*. > > >> >>> > > >> >>> A hack patch to induce the bogus-but-better 4BSD behavior of draining > > >> >>> all runqs before running higher prio threads drops down build time to > > >> >>> ~9 minutes, which is shorter than 4BSD. > > >> >>> > > >> >>> However, the right fix would achieve that *without* introducing > > >> >>> starvation potential. > > >> >>> > > >> >>> I also note the runqs are a massive waste of memory and computing > > >> >>> power. I'm going to have to sleep on what to do here. > > >> >>> > > >> >>> For interested here is the hackery: > > >> >>> https://people.freebsd.org/~mjg/.junk/ule-poc-hacks-dont-use.diff > > >> >>> > > >> >>> sysctl kern.sched.slice_nice=0 > > >> >>> sysctl kern.sched.preempt_thresh=400 # arbitrary number higher than > > >> >>> any > > >> >>> prio > > >> >>> > > >> >>> -- > > >> >>> Mateusz Guzik > > >> >> > > >> >> Thanks for the patch. > > >> >> Applied on top of main, amd64 at commit > > >> >> 9d33a9d96f5a2cd88d0955b5b56ef5058b1706c1, setup 2 sysctls as you > > >> >> mentioned and tested as below > > >> >> > > >> >> *Play flac files by multimedia/audacious via audio/virtual_oss > > >> >> *Running www/firefox (not touched while testing) > > >> >> *Forcibly build lang/rust > > >> >> *Play games/aisleriot > > >> >> > > >> >> at the same time. > > >> >> games/aisleriot runs slower than the situation lang/rust is not in > > >> >> build, but didn't "freeze" and audacious normally played next music on > > >> >> playlist, even on lang/rust is building codes written in rust. > > >> >> > > >> >> This is GREAT advance! > > >> >> Without the patch, compiling rust codes eats up almost 100% of ALL > > >> >> cores, and games/aisleriot often FREEZES SEVERAL MINUTES, and > > >> >> multimedia/audacious needs to wait for, at worst, next music for FEW > > >> >> MINUTES. (Once playback starts, the music is played normally until it > > >> >> ends.) > > >> >> > > >> >> But unfortunately, the patch cannot be applied to stable/13, as some > > >> >> prerequisite commits are not MFC'ed. > > >> >> Missing commits are at least as below. There should be more, as I > > >> >> gave up further tracking and haven't actually merged them to test. > > >> >> > > >> >> commit 954cffe95de1b9d70ed804daa45b7921f0f5c9da [1] > > >> >> ule: Simplistic time-sharing for interrupt threads. > > >> >> > > >> >> commit fea89a2804ad89f5342268a8546a3f9b515b5e6c [2] > > >> >> Add sched_ithread_prio to set the base priority of an interrupt > > >> >> thread. > > >> >> > > >> >> commit 85b46073242d4666e1c9037d52220422449f9584 [3] > > >> >> Deduplicate bus_dma bounce code. > > >> >> > > >> >> > > >> >> [1] > > >> >> https://cgit.freebsd.org/src/commit/?id=954cffe95de1b9d70ed804daa45b7921f0f5c9da > > >> >> > > >> >> [2] > > >> >> https://cgit.freebsd.org/src/commit/?id=fea89a2804ad89f5342268a8546a3f9b515b5e6c > > >> >> > > >> >> [3] > > >> >> https://cgit.freebsd.org/src/commit/?id=85b46073242d4666e1c9037d52220422449f9584 > > >> >> > > >> >> -- > > >> >> Tomoaki AOKI > > >> >> > > >> >> > > >> > > > >> > Hello everyone. > > >> > > > >> > I sorted out a patch I consider comittable for the time being. IT IS > > >> > NOT A PANACEA by any means, but it does sort out the most acute > > >> > problem and should be a win for most people. It also comes with a knob > > >> > to turn it off. > > >> > > > >> > That said, can you test this please: > > >> > https://people.freebsd.org/~mjg/ule_pickshort.diff > > >> > > > >> > works against fresh main. if you are worried about recent zfs woes, > > >> > just make sure you don't zpool upgrade and will be fine. > > >> > > > >> > > >> Here is an updated patch: > > >> https://people.freebsd.org/~mjg/ule_pickshortv2.diff > > >> > > >> if you are getting bad results, do: > > >> sysctl kern.sched.preempt_bottom=0 > > >> > > >> and try again. > > >> > > >> thank you. > > >> > > >> -- > > >> Mateusz Guzik > > > > > > Tried just a bit, and turned out my workload requires > > > kern.sched.preempt_bottom=0. > > > > > > Tested with previous patch (ule-poc-hacks-dont-use.diff) backed out. > > > At commit d713e0891ff9ab8246245c3206851d486ecfdd37, amd64. > > > > > > What I did for tests: > > > While building lang/rust, in massive rustc phase, > > > *Play FLAC music files using multimedia/audacious > > > > > > *Play youtube movies in www/firefox > > > > > > *edit some junk text on editors/leafpad > > > > > > multimedia/audacious plays via audio/virtual_oss. > > > www/firefox plays sounds via audio/pulseaudio > > > (Backed with audio/virtual_oss.) > > > > > > What happened: > > > Without kern.sched.preempt_bottom=0 (was 135), all sounds > > > are chopping unless any keytypes or mouse actions are done. > > > Text editing was mostly smooth, but always slow. > > > These are regardless kern.sched.preempt_thresh settings. > > > > > > With kern.sched.preempt_bottom=0, > > > *Playing FLAC music files using multimedia/audacious is fine. > > > > > > *Playing youtube movies in www/firefox depends on > > > kern.sched.preempt_thresh setting. The larger the value, the > > > smoother the playback is. Tested with values 21, 80, 121, 224, 400. > > > Note that 224 and 400 looked almost the same with my eyeballs. > > > > > > *Editing texts is faster, but just sometimes cursor movements > > > and editing was not smooth (randomly). > > > > > > Sorry, as I'm basically working on stable/13, I cannot take enough time > > > for testing on main. > > > > > > > > > > > > thanks for testing > > > > I posted the patch for review: https://reviews.freebsd.org/D40045 > > > > it will be suitable for MFC to stable/13 > > > > -- > > Mateusz Guzik > > Thanks for the update! Tried to apply to stable/13 at commit > b4e9bfd51c2d6f66291c89c3e8f4c5809f1be447, but unfortunately, fails on > hunk 7. > > td_slice(), used at line 2635 (2647 after patch) is implemented on main > at commit 954cffe95de1b9d70ed804daa45b7921f0f5c9da, which is not MFC'ed. > This function is used on added lines (excluding prototype), at line 501. > > I'll test on main later, hopefully this weekend. > > Regards. > > > -- > Tomoaki AOKI Tried with conditions below. *Backed out previous patch and apply the latest patch at D40045 ATM I've subscribed there. *Updated to commit bee3d4bf8ed55260d8cfc6d168ffa1afb49ef6a8 *Updated installed ports to latest state. So it's not a pure comparison. Proceeding the same tests as previous report, this time, *kern.sced.pick_short=1 seems to be slightly better than =0. *The larger kern.sched.preempt_thresh is, the smoothe the user experience is. Default with this patch (224) would be the lowest. Tested values are the same as my previous tests. 21, 80, 121, 224 and 400. *sysctl kern.sched.preempt_bottom no longer exists in the patch, thus untested. But I feel the previous patch with kern.sched.preempt_bottom=0 was smoother. BTW, I've tried several videos and noticed that any video playing drums, taken from upside or backside are good to determine delays/hiccups on video. So I've used the youtube video [1] after 3:37. Any others would be OK, but easier to detect with faster BPM, looking into movements of sticks. [1] https://www.youtube.com/watch?v=HmOlZ4zjOhQ -- Tomoaki AOKI