From nobody Fri Jan 16 15:45:37 2026 X-Original-To: emulation@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 4dt41s02hTz6NSCK for ; Fri, 16 Jan 2026 15:45:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dt41r6SbDz3TlY for ; Fri, 16 Jan 2026 15:45:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768578336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g5Sk9uzPUD+tuAmFckeVh2MHzNlO861sPOmJY7LFoiI=; b=KTyoNOznqNs18SxBxx1JdkndjX9IGXaEMq2gL+uWNCzIAdKG7yCcxgF3ka7TTMSrN6uEuw ZzgSulZVS9rA731BJ1UBcF2Nwde3XNorhE4qKHcm5z8nyZdabsdzfHtHOYLbeo1mx96CrV J83arIEgpN8Jnjk1CTOOaxalUNbKVNVpga9ym7yVYX4nOa3rd2AF4ekvqhBOljE+gXdXpo mF+X5BHHgzD2nDAzYyHXO30P6wp9/xxXUH37vYcj6aa62kNB4btpIEQSE48fhjGK5JG6vY kStLzlfzWSVojkjb4CEzcpuLV9Baw8n2HVIjxyoWxQXXhfP9Nt/sT5ijmQQSfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768578336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g5Sk9uzPUD+tuAmFckeVh2MHzNlO861sPOmJY7LFoiI=; b=gsIIvfQKy8tuyBBYKqAXGGMgFItyy2zuwC3u1ssm91Vkn3j9rkDheK3wIusi3X9xlR9x6i 3dRiRgkms7DgmLTYz4J+0JgBCNzn2KjNDypp7CuCZ6UZ+MtQJuuLY5FXZN0pV/0+QaFu8h tTC5SZjdylu901IsbsnHsSSS8paiHLN8+QFWUtVj95CoRKxSMLSEyiRtNECJFDTtEEQJSy 5WjroSsg0uaLs0jZ98eqxmmH7wbh/yLzh/kaZtMAxODB+HBRZ8qaafi67XcDToiuFrhrpv L4ha10t7+aQlKDdrsO3ncGjxWZFmuhlvWqE+zlRVV6XeaJrF6209HXxL1qOVeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768578336; a=rsa-sha256; cv=none; b=T2hukYBpSeJUHK/UuRbI7WtSvSfxhKlwUOJiP2HF+6V5/UwVu7XadauMUfR6u5GKYN1v33 +SRh3/wwi/+HeFwZP+CILJQGOAkLtkX51PIyoozf9oVu6ilOr62vtZjCcely8DuAQtcgRT EsDZn+JZcmpKAtuwpLNWUxdaMk1YsiUQ9Pc+hShhVbjZ936Pkt+cKNcmEmVQICMrYIRrF5 wPMB3S7BY2yYJJt1qWqw+ssDledGmqkZQzuJpjBvSkXzIBbJ9AGfisD11ZIlAXANse9l7s MHd6+HtBROmm7NARDwa6hqw9Qr5DQt809TpxkAA30DTjH/0/5wZQbTSezLefuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dt41r63xrz51W for ; Fri, 16 Jan 2026 15:45:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 60GFjaVv054587 for ; Fri, 16 Jan 2026 15:45:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60GFjaSS054586 for emulation@FreeBSD.org; Fri, 16 Jan 2026 15:45:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 292496] linux_timer_create error when using LINUX_CLOCK_MONOTONIC Date: Fri, 16 Jan 2026 15:45:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrey.antufyev@yandex.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292496 --- Comment #2 from Andrey Antufyev --- (In reply to Warner Losh from comment #1) > #define MAX_CLOCKS (CLOCK_TAI+1) > #define CLOCK_TAI 16 Indeed. I checked it on 16-CURRENT, but didn't look at its source code. Well, the error remains in CURRENT, now it occurs on the next check in kern_ktimer_create: if (posix_clocks[clock_id].timer_create =3D=3D NULL). I don't know what register_posix_clock is, but I added register_posix_clock(CLOCK_UPTIME, &rt_clock) to itimer_start() and it work= ed. --=20 You are receiving this mail because: You are the assignee for the bug.=