From owner-freebsd-arm@freebsd.org Fri Mar 26 18:46:54 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D64C5A84BC for ; Fri, 26 Mar 2021 18:46:54 +0000 (UTC) (envelope-from andy_mitchell_fr@icloud.com) Received: from st43p00im-ztfb10063301.me.com (st43p00im-ztfb10063301.me.com [17.58.63.179]) (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 4F6WCx3rmjz3Klw for ; Fri, 26 Mar 2021 18:46:53 +0000 (UTC) (envelope-from andy_mitchell_fr@icloud.com) Received: from [10.234.81.143] (pop.92-184-100-33.mobile.abo.orange.fr [92.184.100.33]) by st43p00im-ztfb10063301.me.com (Postfix) with ESMTPSA id CB4FEA402FD for ; Fri, 26 Mar 2021 18:46:51 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andrew Mitchell Mime-Version: 1.0 (1.0) Date: Fri, 26 Mar 2021 19:46:49 +0100 Subject: on arm64 aarch64 14-CURRENT Message-Id: To: freebsd-arm@freebsd.org X-Mailer: iPhone Mail (18D61) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.369,18.0.761,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-03-26=5F06:2021-03-26=5F03,2021-03-26=5F06,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=378 mlxscore=0 clxscore=1011 spamscore=0 adultscore=0 bulkscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103260138 X-Rspamd-Queue-Id: 4F6WCx3rmjz3Klw X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.63.179:from]; FREEMAIL_FROM(0.00)[icloud.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[icloud.com:+]; DMARC_POLICY_ALLOW(-0.50)[icloud.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[icloud.com]; ASN(0.00)[asn:714, ipnet:17.58.63.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.63.179:from]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.63.179:from]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; R_DKIM_ALLOW(-0.20)[icloud.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[icloud.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[17.58.63.179:from:127.0.2.255]; WHITELIST_SPF_DKIM(-3.00)[icloud.com:d:+,icloud.com:s:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Mailman-Approved-At: Sat, 27 Mar 2021 10:03:24 +0000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 18:46:54 -0000 Hello, is not working as it should on my RPi4 FreeBSD, or so it seems= . .include compiles my file.c into .ko but then sends it to /usr= /obj and kldload won't work. This is what troubles me: "KLD file.ko: depends on kernel - not available or version mismatch kldload: can't load ./file.ko: module already loaded or in kernel" It's all the more troublesome as l'm able to kldload a .ko file on amd64. I am pretty sure the source code and my FreeBSD version match, but I am begi= nning to doubt. On amd64 my .ko files stay in the same directory as file.c and Makefile. I'm sure that moving to /usr/obj is part of the problem. Has anyone met with this problem and found a solution? Cheers,=20 Andy Envoy=C3=A9 de mon iPhone=