[Bug 292496] linux_timer_create error when using LINUX_CLOCK_MONOTONIC
[email protected] Fri, 16 Jan 2026 15:45:37 +0000
| Newsgroups | gmane.os.freebsd.devel.emulation |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292496 --- Comment #2 from Andrey Antufyev <[email protected]> --- (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 == 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 worked. -- You are receiving this mail because: You are the assignee for the bug.