From nobody Mon Jun 17 20:10:52 2024 X-Original-To: freebsd-riscv@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 4W31Gn1W55z5PWZn for ; Mon, 17 Jun 2024 20:10:57 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on20725.outbound.protection.outlook.com [IPv6:2a01:111:f403:200a::725]) (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 4W31Gm0TCtz4Q78 for ; Mon, 17 Jun 2024 20:10:55 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=selector2 header.b=Ysrsx9zl; dmarc=pass (policy=none) header.from=mit.edu; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 2a01:111:f403:200a::725 as permitted sender) smtp.mailfrom=jfc@mit.edu; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ba1Xp+RDfDswYHG4HACvHlnGz44iqnn8LMEnhf5bk16pmtpxWuVvPpg9SsyFA2KfGI77gM+b+78GAeo/+0tpdOaQ0Tm5zkZNox49qZB/Ru91TBmoaZ9aIFCFOMdX2smEES0jpeDgJm20TvRtIO+r+WCSz4MIrTMssk25jOtdWZEQuj0uGgSJYVPmho00537YFDXdsmD7UQcp+1Gt9+yFRU+LFzj9n99XtH86ccy9ZZLklnGNtaSK4FV6gpho6zV+yZCDmQUbj8Gn0a4d+YZXb3f7Eu8oFO/8w8IgJjtTLAF2KgHQMUG0t3gzVe5nkmDRVG8af71vIaYBBrVcKB92dg== 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=Hmo4eQyl9Ls4Z4jrIgrx+mnOU/+jsmNKMBT5B5Ap6y0=; b=UprAkelfcWNATCh39N3RTf+oCJujOZ891c5ZqgG9lBFDhl2VmsL8JD9vQqhNty7eQhph7YQTrmuadwqn0s/91vySmcTee59YrwVA6fEH5nujwetwCftJ9NvX0rxIeFxeoeo1KnRio+hqM9TVSzTgaq4Uj8vkUw/tm1TjCjMLvpw/k9qombtJOZxzY/UWpf119g+ZNzKOYCpB+yZQhs9vcz/yqoQOO3V786Pe8pP5MT5dmpQSV4s4xSit1M8edfT7hR8gJvfx3LdKJIJjG0XI7Rer5zBin0cGdJdqvnYVWG2uZD8n+sNG0L6aHnVVGBEzvY99ZcYoAz2xftXgYEJzQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mit.edu; dmarc=pass action=none header.from=mit.edu; dkim=pass header.d=mit.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hmo4eQyl9Ls4Z4jrIgrx+mnOU/+jsmNKMBT5B5Ap6y0=; b=Ysrsx9zlr1L5XM6YJC4ucKmXg0j8f7vfOqabV0yv3bso9emtiS9uCIE6C0BczseblqsnA5ftoKi0Y85Mir34BYvWlO0rEn5PB+N80KMuijWgtCePTRin1goO1oecpj/0Ne86aXh+rCdXH1Nj3g36J6DDoE6DE2rRbamHHhGF23o= Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by PH0PR01MB7285.prod.exchangelabs.com (2603:10b6:510:107::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 20:10:52 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::bb39:d8c:f575:6b9d%5]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 20:10:52 +0000 From: John F Carr To: JMT Sihvola CC: "freebsd-riscv@freebsd.org" Subject: Re: JH7110 dwc MAC support Thread-Topic: JH7110 dwc MAC support Thread-Index: AQHavmxklaE67+/slUqx6/WUYdjI/bHHZZGAgAA6ygCAAA2tgIAEufmA Date: Mon, 17 Jun 2024 20:10:52 +0000 Message-ID: <00D2F480-7703-4DE5-BC80-9E69D3B4E4D0@mit.edu> References: <7E28ED97-DD4B-40AA-91FB-DB3982042265@mit.edu> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|PH0PR01MB7285:EE_ x-ms-office365-filtering-correlation-id: 1a3aff72-c2a0-4d41-f579-08dc8f099688 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230037|376011|1800799021|366013|38070700015; x-microsoft-antispam-message-info: =?us-ascii?Q?0479xvzgtcHBmW2uBvnqEWJJl9RdZS+7/DVx25Zr5qwpE2OaFYDvUwaUFLaC?= =?us-ascii?Q?Vs7WfYx7eePBzsYymBccEJa9wCYRItv03l8694BogN7uU6ICZT8N0FPEzK5A?= =?us-ascii?Q?Dr2FZqHWvKzP/oImpgmfnQxH6a2XAJzrp72h2k7jdfosm6nkRqWmvQBWs62h?= =?us-ascii?Q?0dc3ybAjA0ElutHUw9SCmE+7QySeVtw2wflSeSJr8WbdbBJLpGyr7aEfoSWC?= =?us-ascii?Q?PNTpS9LAxRFfq6ivwJBCpIKQHq9Y5lHx9DXGFixYOB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x6yTYZ0LtGpUpOuX13wC8DaYM8XLquG3LUHdgpfsu23HsP?= =?us-ascii?Q?CzL0JdoEiC0aoUJx7mpJKc6KHKpf7Rr+to9tZ14DiXlBKItWjiMgNZ7TS1pz?= =?us-ascii?Q?UIXtdgZkSBkyHaj4iafEUEcfS3YPCqhUU1m38cxEMNghe/2oywqmos6zBYmi?= =?us-ascii?Q?sveobkL2cJ+lfSt6+f/VwGjamZ8NOKrdkkoy+1anGibNBGMBeS2lA1rt0udX?= =?us-ascii?Q?jc0nLHg=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230037)(376011)(1800799021)(366013)(38070700015);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ncAjp5+xVpBdXf2K61zm69TLhivNWtSJI+7yn3diWCU6HDXbcFJNYLV8ZZ8w?= =?us-ascii?Q?IFY9v8QaqQGd78uZFZE2mCNm8srtbhoyoA3lRDb8J+UGYJXtHbu+0ozb2A5b?= =?us-ascii?Q?RLP89PpCrN0bhJg1r1uculoeDC2hRodWOLcWt3TXqecavYmjHRf0JMNk/Jlb?= =?us-ascii?Q?gktHzTV2i48rUlB+02cON6qAnr2xuWMpfRzO+WBug2KN6IgOCg8Rx4vAUd/Q?= =?us-ascii?Q?TwDgV5bjjhYkHu7THMKLZWJwbpY7DFu6vncLe8S9NzrbPiFgYuAhKN6mfdB3?= =?us-ascii?Q?v7cWbGz1SABZ4mICeC77nZWWG2FprPRLkQJW/+5N+CLD+aCfce0Rf+1xgDlU?= =?us-ascii?Q?NgkdP/S5ys5X1tp+nlMEiZ0j64vORv8LH3NSdCnt+Yxa2q/Dj6qwpXQSOtWu?= =?us-ascii?Q?6gMxT9O/GYyMm6H8H/RQgGNjblYWhj+71AGcA5xbmyY4rEfM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HQwflKlstZ6hUs8xEqvZEM6BCALeWDtPNFoRbTf?= =?us-ascii?Q?ZN2xnIBJnrItFGut5nREuSi/5RLPdH1Xapb7kPlhPLUMF9Os6Zk/jB0a0SlJ?= =?us-ascii?Q?nl4hU9u8f5XVMuLoEX25F27gXLBbq0yauF+8VnpKEuv9Gar5XOg7qkiEi0Nk?= =?us-ascii?Q?+CSdxbCLZkoARmmHtNlD29SJsU+3ry8o855dso81JpZMk4pojcijSHxsMs+H?= =?us-ascii?Q?iyQRRXfHeIgTZyHRtap8QcRHH/l2TMt7i59puYPzcyDSfHeTqiseoG5SCER2?= =?us-ascii?Q?vio37jAgJRflUtW20nIBJq8kqDnLobhh2VS+1ifBVn+j?= Content-Type: text/plain; charset="us-ascii" Content-ID: <729FBD824735354CB7B74C889E716F7D@prod.exchangelabs.com> Content-Transfer-Encoding: quoted-printable List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: mit.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a3aff72-c2a0-4d41-f579-08dc8f099688 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2024 20:10:52.2440 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: n3QE77cEbmWXz9Sh/jNHy+hFvIqq+F0cXAUJ07WsB9dgVAQTLysYRgM17pwnN8km X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7285 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; R_DKIM_ALLOW(-0.20)[mit.edu:s=selector2]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[mit.edu:dkim]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f403:200a::725:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[gmx.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[mit.edu:+] X-Rspamd-Queue-Id: 4W31Gm0TCtz4Q78 > On Jun 14, 2024, at 16:00, JMT Sihvola wrote: >=20 > John F Carr wrote: >> Thanks. I tried putting your driver on the main (15-CURRENT) branch. >> It attaches but does not seem to put anything on the wire. >> I will try building your 14-based branch next. >=20 > I use it with 15 branch myself. That github of mine is probably not in > a coherent state. I recommend not using it for anything except > for grabbing these network related files. >=20 >> Is it correct to see a total of four PHYs in the dmesg output below? >=20 > Yes, it is seen like that also on vendor's OS. >=20 > Probably some sort of error message should appear somewhere during > the boot if it's not working. >=20 > One of the several things needed is the code for syscon pseudo device > (starfive_syscon.c) that is used for the device memory access. > It's already added to the mainline repository. >=20 > It may be challenging to get it working at this stage since things > needed are a bit scattered now, but network codes will hopefully > be added to CURRENT after a little while. >=20 > -jari s. All is forgiven. Almost all. The main problem was the failure of the kern= el to set up network configuration to mount / over NFS. With root on a memory disk (load -t md_image) I can use ifconfig to set up the interface. It at least passes a smoke test, reading files over NFS. However, the driver has offended WITNESS by trying to hold "eqos lock" and "Clock topology lock" at the same time. # ifconfig eqos0: flags=3D8802 metric 0 mtu 1500 options=3D80008 ether f2:00:73:a0:80:56 media: Ethernet autoselect (none) nd6 options=3D29 [...] # ifconfig eqos0 192.168.5.2/30 eqos0: link state changed to DOWN # lock order reversal: (sleepable after non-sleepable) 1st 0xffffffc085227070 eqos lock (network driver, sleep mutex) @ /usr/home= /15/src/sys/kern/kern_mutex.c:209 2nd 0xffffffc000895940 Clock topology lock (Clock topology lock, sx) @ /us= r/home/15/src/sys/dev/clk/clk.c:1208 lock order network driver -> Clock topology lock attempted at: #0 0xffffffc0003730f6 at witness_checkorder+0x99e #1 0xffffffc00031715e at _sx_xlock+0x58 #2 0xffffffc0000edd04 at clk_set_freq+0x44 #3 0xffffffc0005dfcd6 at if_eqos_starfive_set_speed+0x78 #4 0xffffffc0005b7018 at eqos_miibus_statchg+0x13e #5 0xffffffc00010ff72 at miibus_statchg+0x50 #6 0xffffffc000110c86 at mii_phy_update+0x60 #7 0xffffffc00010e850 at mcommphy_service+0x20a #8 0xffffffc00010f8ea at mii_tick+0x32 #9 0xffffffc0005b860c at eqos_tick+0x68 #10 0xffffffc000328948 at softclock_call_cc+0x106 #11 0xffffffc000329d8a at softclock_thread+0xaa #12 0xffffffc0002cba34 at fork_exit+0x68 #13 0xffffffc0005d8eca at fork_trampoline+0xa eqos0: link state changed to UP [...] # ifconfig eqos0 eqos0: flags=3D1008843 met= ric 0 mtu 1500 options=3D80008 ether f2:00:73:a0:80:56 inet 192.168.5.2 netmask 0xfffffffc broadcast 192.168.5.3 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 From nobody Tue Jun 18 20:48:23 2024 X-Original-To: freebsd-riscv@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 4W3f3g4TkPz5NDFH for ; Tue, 18 Jun 2024 20:48:31 +0000 (UTC) (envelope-from jsihv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W3f3f4DpFz4HrS for ; Tue, 18 Jun 2024 20:48:30 +0000 (UTC) (envelope-from jsihv@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.com header.s=s31663417 header.b=X3UNj9Rm; dmarc=pass (policy=quarantine) header.from=gmx.com; spf=pass (mx1.freebsd.org: domain of jsihv@gmx.com designates 212.227.15.18 as permitted sender) smtp.mailfrom=jsihv@gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1718743703; x=1719348503; i=jsihv@gmx.com; bh=X44VGOttPXMLEdmHI9U69O5mPwvJ/oQuas8kIS6PzFw=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Cc:Subject: Content-Type:Date:In-Reply-To:References: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=X3UNj9RmTM8BegoSr1UJVGE+xSxv6ZMEydHmiHNeKG9yvv3lxt2p7CTNGFeotDYP T1PbNodmuk1/ismIndCm525vaCvobPDDu2hiur4EuFsYxJXcjJNmebkWfSbkVlNul wr8C7JUmCOvhTl2ZCf8tSeTZq2XRFZWO6ZS0sP/BtA+9CJqlQXtKzxmK61381v+zA 7XB7He01h7B2ooFovgPOqE/Ms2Hagiv0H8l/jSQu63xYM+onX4zwuM6cfLAOw6C3Y H3bN6IRokVlgGIttr6j2DtqTNCVVqvNk+nx/Su+pOmlpkV5v5XF7errBjPdj6xkVO qvrwjzr6NpUoyhFGag== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [80.221.189.108] ([80.221.189.108]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Tue, 18 Jun 2024 22:48:23 +0200 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 Message-ID: From: JMT Sihvola To: John F Carr Cc: "freebsd-riscv@freebsd.org" Subject: Re: JH7110 dwc MAC support Content-Type: text/plain; charset=UTF-8 Date: Tue, 18 Jun 2024 22:48:23 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <00D2F480-7703-4DE5-BC80-9E69D3B4E4D0@mit.edu> References: <7E28ED97-DD4B-40AA-91FB-DB3982042265@mit.edu> <00D2F480-7703-4DE5-BC80-9E69D3B4E4D0@mit.edu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:ZzSTfrlS85pgU7Y7dvI+3lpuSILzSVqsYHziplargVN4+sLnPuAWZQXFVUHYmqkqOj0zY FZKcDQT7dJHh95Mu4bNX85BTJlCCR90RR0T44+OUfTPPP8U2+rR7q1AAhMpB2dehVuzz99E0VycD gClb0LyIUtUuW5AFwOqGnVQ3CiwnCkkjDSVC+3Q3ZKTgqy8Srvf1h+qmxz5xoJjUjIYTrVnoT5Ud d89WuA8jaCkK/OeaOH4QBGVTZC/TXxP2XiPLMxI4oD8K52J1/cGekkt7CbN//hKLMOYgHeIZKWNk 3o= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:mjo++b3OJfY=;I9jMMm4lEUcojrDEcgNwfzIfAaf 6PSpmTmcmYL2V9ttY65UKtHH6jRiDih0gsLul5UVVGdKUNhtJnkgdo/hcOFtb9QYBFq84As9Q b0KgNZ1HHB7U7sFknmXVHzXbAeRx7HSRhuqgqdgqOB+AOpPNBpP7oJdbah0JwBd4ghhKxWc2l BOkMxttzbUYQ0f1lkeTfPhFBO49kX4Z+rdfmpho96BBdN3gGe3+UvsSKY0dx+fwo+k7uICqQc Db8+cTEOVq5HS+zfbULa4TJIZhIHlNOauh2JhPx7Tbt4kq50mUdxDAACkV7gambUZPvQxeQ4t ByDCujE1+ZTwZcF07vM0M4YdQbimesfAWdDyOUH0mpeALu0sfp25+NJ9GtRYOs2I4oM4Otaxb AAqbeYBIGdw8khuIi4JMv5n8Bw7h6SPnOVDufzV2DFNWzdUJZUmaBqrgALMsKVnhyqXMAUy1v iQ/RCDXt3jZrtC8uozLv/rkjlbSnpqeUUUl7AQl+RT2tlr9pQ9by4PuBWq9pBQ0+tLpC01Rkk FrdnQjuTBwj1uUZSOVUbqBMwqgXbiAb4UFLAIddrXr3I3IwRHDrC5JgrGNVjJvoqXFqaWF0l4 3+ZbuDTkvf+2bTWirf7zloBD3SoFWPLJUrhuYLw5aiz559zIE94enugMjA4Njo9rJ0dhAIbJR Jc2yjDOXR521YsEjPEoY12mBKSLbPjQN3uMA5mttwFnM9AeZcAOi3hv60d9n4/A= Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.60 / 15.00]; DWL_DNSWL_LOW(-1.00)[gmx.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmx.com,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[gmx.com:s=s31663417]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.15.18:from]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmx.com:+]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmx.com]; FREEMAIL_ENVFROM(0.00)[gmx.com] X-Rspamd-Queue-Id: 4W3f3f4DpFz4HrS John F Carr wrote: > All is forgiven. Almost all. The main problem was the failure of the k= ernel to > set up network configuration to mount / over NFS. With root on a memory > disk (load -t md_image) I can use ifconfig to set up the interface. > It at least passes a smoke test, reading files over NFS. > > However, the driver has offended WITNESS by trying to hold "eqos lock" > and "Clock topology lock" at the same time. Nice to hear that you got forward. There's now a review process in which that lock order reversal is mentione= d. https://reviews.freebsd.org/D45600 (No matter what I wrote there that LOR may not be linked to softclock after all) Jari S.