Summary: | nanosleep hangs forever | ||
---|---|---|---|
Product: | Base System | Reporter: | mail-freebsd |
Component: | misc | Assignee: | freebsd-bugs mailing list <bugs> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | cem, chris, hselasky |
Priority: | --- | ||
Version: | 11.2-STABLE | ||
Hardware: | i386 | ||
OS: | Any |
Description
mail-freebsd
2018-08-08 09:15:29 UTC
Please paste output from "grep -i time /var/run/dmesg.boot" on FreeBSD; maybe also 'sysctl kern.timecounter kern.eventtimer'. If possible, it would be helpful for you to determine which timer Linux chooses on this platform (perhaps it is logged in dmesg or discoverable some other way). kern.timecounter.tick: 1 kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000) kern.timecounter.hardware: ACPI-fast kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.mask: 4294967295 kern.timecounter.tc.i8254.counter: 1803 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.ACPI-fast.mask: 4294967295 kern.timecounter.tc.ACPI-fast.counter: 4294967295 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.ACPI-fast.quality: 1000 kern.timecounter.tc.TSC.mask: 4294967295 kern.timecounter.tc.TSC.counter: 2479337771 kern.timecounter.tc.TSC.frequency: 498054037 kern.timecounter.tc.TSC.quality: 800 kern.timecounter.smp_tsc: 0 kern.timecounter.invariant_tsc: 0 Choosing TSC instead of shitty ACPI solved the issue, thanks! When sleep hangs, can you show output from: procstat -ak --HPS 284 100048 sleep - mi_switch sleepq_switch sleepq_catch_signals sleepq_timedwait_sig _sleep kern_nanosleep nanosleep syscall Xint0x80_syscall |