Bug 254915 - Boot stops at: hwpstate_intel0: <Intel Speed Shift>
Summary: Boot stops at: hwpstate_intel0: <Intel Speed Shift>
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: Normal Affects Many People
Assignee: Tom Jones
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-04-09 12:10 UTC by Sergey Manucharian
Modified: 2024-10-04 12:40 UTC (History)
6 users (show)

See Also:
koobs: maintainer-feedback? (scottph)
koobs: maintainer-feedback? (bwidawsk)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Manucharian 2021-04-09 12:10:17 UTC
FreeBSD 13.0-RC5 on Intel CPU i5-6200U:

....
xhci0: <Intel Sunrise Point-LP USB 3.0 controller> mem 0xf1320000-0xf132ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <simple comms> at device 22.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
rtsx0: <2.0c Realtek RTS52SA PCI MMC/SD Card Reader> mem 0xf1200000-Oxf1200fff at device 0.0 on pci1
rtsx0: pci_read_config() error - reg: 0xeeffffaa
rtsx0: Card absent
pcib2: <RCPI PCI-PCI bridge> at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
nvme0: <Generic NVMe Device> mem 0xf1000000-0xf1003fff at device 0.0 on pci3
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory> at device 31.2 (no driver attached)
hdac0: <Intel Sunrise Point-LP HDA Controller> mem 0xf1340000-0xf1343fff,0xf1330000-0x1133ffff at device 3 1.3 on pci0
em0: <Intel(R) PRO/1000 Network Connection> mem 0xf1300000-0xf131ffff at device 31.6 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: 54:ee:75:ac:51:83
em0: netmap queues/slots: TX 1/1024, RX 1/1024
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm@: [GIANT-LOCKED]
WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. psm0: model Synaptics Touchpad, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
orm0: <ISA Option ROM> at iomem Oxc0000-0xcffff pnpid ORM0000 on isa0
hwpstate_intel0: <Intel Speed Shift> on cpu0

Adding the following line to /boot/loader.conf helps:
hint.hwpstate_intel.0.disabled="1".
Comment 2 Tom Jones freebsd_committer freebsd_triage 2022-05-27 07:50:42 UTC
Can you add the hardware (laptop model/desktop model/motherboard) please? 

I think this is likely related to an bios interaction and I need a little more to debug.
Comment 3 Eirik Oeverby 2022-05-27 12:52:46 UTC
Interesting tidbit:
I upgraded the BIOS on mine today, as I have not done this for a few months. The behavior has changed somewhat: I was not able to make it wedge while on external power, but the exact moment I yank the power cable, it hangs. This is reproducible. 

I am fairly certain I've done the same in the past as it's guaranteed to tickle some power state changes, but I'm thinking the udpated BIOS (which has Win11 support, whatever that actually means) has changed how things behave ever so slightly.

/Eirik
Comment 4 Tom Jones freebsd_committer freebsd_triage 2022-09-25 15:27:50 UTC
Hi,

Could you test with this patch?

https://reviews.freebsd.org/D36699
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2022-12-11 10:05:55 UTC
Same issue with:

System Information
        Manufacturer: GIGABYTE
        Product Name: GB-BSi5A-6200
        Version: 1.x

CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (2400.09-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x406e3  Family=0x6  Model=0x4e  Stepping=3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics


Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: F5
        Release Date: 06/01/2017
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 6144 kB
        Characteristics:
                PCI is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 5.11
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2024-10-04 12:40:02 UTC
^Triage: clear unneeded flags.  Nothing has yet been committed to be merged.