On Sun, Dec 27, 2020 at 11:50:18PM +0000, Douglas S. wrote:
> Hi. I'm using this email to report the bug because I haven't been able to 
> install OpenBSD and use its bug reporting tool.
> 
> I'm using install68.img that I've written to a USB stick. The image checksum 
> and signature was verified and found no problems.
> 
> So I shutdown my computer and boot from that USB stick. I see a lot of logs 
> and then it stops right here.
> 
> (see picture attached)
> 
> At this point the system appears to be completely frozen. The keyboard lights 
> (CAPS and others) don't respond.
> 
> Hardware information:
> Motherboard: Gigabyte B460M DS3H
> Processor: 10th gen. Intel Core i3-10100
> RAM: 16 GB HyperX DDR4 2400 MHz
> Connected through: Ethernet cable (no WiFi)
> Storage: Kingston A2000 NVMe M.2 SSD
> Graphics card: AMD RX 560
> UEFI (secure boot disabled)

You will need to use a snapshot on these new Comet Lake machines, which
should include the following commit to sys/arch/amd64/amd64/tsc.c

i3-10100 likely has a cpuid model of 0xa5

----------------------------
revision 1.22
date: 2020/12/24 04:20:48;  author: jsg;  state: Exp;  lines: +3 -1;  commitid: 
U1nedAeXF0flsb1r;
handle reported core clock frequency of 0 on newer Intel Comet Lake

The 'nominal core crystal clock frequency' from cpuid 0x15 is 0 on
Intel model 0xa5 (CML-H CML-S62 CML-S102) and 0xa6 (CML-U62). So act as
if 24 MHz was reported like we do on other Skylake/Kaby Lake variants.
Comet Lake processors with model 0x8e (CML-U42 CML-Y42) use the same model
number used by Kaby Lake and many other parts which was already handled.

While we could approximate the crystal frequency with 'Processor Base
Frequency' from cpuid 0x16 eax like FreeBSD and Linux do, kettenis@ couldn't
get ntpd to sync a clock on a Skylake machine with:
CPUID 0x15: eax=2, ebx=134, khz=0
CPUID 0x16: eax=1600, ebx=1600, ecx=100, edx=0
with reported crystal frequency changing from 24000 kHz to 23880 kHz
(cpuid 0x16 eax * 1000 * cpuid 0x15 eax / cpuid 0x15 ebx) and
TSC frequency changing from 1608000000 to 1599960000.

Cannon Lake, Ice Lake, and Tiger Lake are known to return non-zero
frequency in cpuid 0x15 so hopefully no other model ids have to be added.

James Cook reported hangs on bsd.rd with i7-10710U 06-a6-00 (CML-U62)
(which does not have acpihpet) but not with bsd.mp (which does) and has
confirmed that both approaches fixed the problem.
----------------------------

Reply via email to