Re: Fwd: Kernel DHCP unpredictable/fails (PXE boot), userspace DHCP works just fine
Date: Sat, 18 Mar 2023 22:01:58 UTC
Eugene Grosbein <eugen@grosbein.net> ezt írta (időpont: 2023. márc. 18., Szo, 21:08): > > For me, it looks like timekeeping problem. Please show output of: > sysctl kern.timecounter kern.eventtimer > kern.timecounter.tsc_shift: 1 kern.timecounter.smp_tsc_adjust: 0 kern.timecounter.smp_tsc: 1 kern.timecounter.invariant_tsc: 1 kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: TSC-low(1000) ACPI-fast(900) HPET(950) i8254(0) dummy(-1000000) kern.timecounter.hardware: TSC-low kern.timecounter.alloweddeviation: 5 kern.timecounter.timehands_count: 2 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.TSC-low.quality: 1000 kern.timecounter.tc.TSC-low.frequency: 1397374857 kern.timecounter.tc.TSC-low.counter: 3785476192 kern.timecounter.tc.TSC-low.mask: 4294967295 kern.timecounter.tc.ACPI-fast.quality: 900 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.ACPI-fast.counter: 3688926057 kern.timecounter.tc.ACPI-fast.mask: 4294967295 kern.timecounter.tc.HPET.quality: 950 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.HPET.counter: 180764627 kern.timecounter.tc.HPET.mask: 4294967295 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.counter: 745 kern.timecounter.tc.i8254.mask: 65535 kern.eventtimer.choice: LAPIC(600) i8254(100) kern.eventtimer.et.i8254.quality: 100 kern.eventtimer.et.i8254.frequency: 1193182 kern.eventtimer.et.i8254.flags: 1 kern.eventtimer.et.LAPIC.quality: 600 kern.eventtimer.et.LAPIC.frequency: 49906250 kern.eventtimer.et.LAPIC.flags: 7 kern.eventtimer.periodic: 0 kern.eventtimer.timer: LAPIC kern.eventtimer.idletick: 0 kern.eventtimer.singlemul: 2 Indeed, it selects TSC-low. > After it booted to single- or multi-user mode. > Also, show verbose boot log (bootverbose). > https://gist.github.com/bra-fsn/bf07136ec7987db1a7e4d2e4d899e13b (with the original kernel/settings and after changing to HPET) Sometimes UEFI/BIOS SETUP has some settings for ACPI/HPET timers > (enable/disable), > did you try "playing" with such options? > Nope, I haven't thought about that. It's enabled (default setting).