Bug 13408 - amd_pstate_ut Module failed at boot
Summary: amd_pstate_ut Module failed at boot
Status: ASSIGNED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: x86_64 Linux
: Will only affect a few users Aesthetic Issue
Assignee: Arne.F
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 16:33 UTC by Silvio
Modified: 2023-10-24 08:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2023-10-23 16:33:42 UTC
Can see a kernel error at bootime right at the beginning:

Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: amd_pstate_ut_acpi_cpc_valid the _CPC object is not present in SBIOS!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: 1    amd_pstate_ut_acpi_cpc_valid^I fail!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: get_shared_mem unable to open /sys/module/amd_pstate/parameters/shared_mem file!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: amd_pstate_ut_pstate_enable rdmsrl_safe MSR_AMD_CPPC_ENABLE ret=-5 error!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: 2    amd_pstate_ut_check_enabled^I fail!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: get_shared_mem unable to open /sys/module/amd_pstate/parameters/shared_mem file!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: amd_pstate_ut_check_perf read CPPC_CAP1 ret=-5 error!
Oct 23 15:41:12 ipfire kernel: amd_pstate_ut: 3    amd_pstate_ut_check_perf^I fail!
Oct 23 15:41:12 ipfire kernel: BUG: kernel NULL pointer dereference, address: 0000000000000090
Oct 23 15:41:12 ipfire kernel: #PF: supervisor read access in kernel mode
Oct 23 15:41:12 ipfire kernel: #PF: error_code(0x0000) - not-present page
Oct 23 15:41:12 ipfire kernel: PGD 8000000109370067 P4D 8000000109370067 PUD 10ba2d067 PMD 0 
Oct 23 15:41:12 ipfire kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Oct 23 15:41:12 ipfire kernel: CPU: 7 PID: 2110 Comm: modprobe Tainted: G          I        6.1.45-ipfire #1
Oct 23 15:41:12 ipfire kernel: Hardware name: HP ProLiant SE316M1R2 , BIOS R02 12/07/2010
Oct 23 15:41:12 ipfire kernel: RIP: 0010:amd_pstate_ut_check_freq+0x3d/0xfb [amd_pstate_ut]
Oct 23 15:41:12 ipfire kernel: Code: 8d 04 64 55 48 8d 2c c5 00 80 79 c0 53 e9 85 00 00 00 44 89 ef e8 03 ec bf df 48 85 c0 0f 84 9b 00 00 00 48 8b 90 40 02 00 00 <8b> b2 90 00 00 00 44 8b 82 98 00 00 00 44 8b 8a 9c 00 00 00 8b 8a
Oct 23 15:41:12 ipfire kernel: RSP: 0018:ffffbff501583d50 EFLAGS: 00010286
Oct 23 15:41:12 ipfire kernel: RAX: ffffa36c01623400 RBX: 0000000000000000 RCX: 0000000000000000
Oct 23 15:41:12 ipfire kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Oct 23 15:41:12 ipfire kernel: RBP: ffffffffc0798048 R08: 0000000000000000 R09: 0000000000000000
Oct 23 15:41:12 ipfire kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
Oct 23 15:41:12 ipfire kernel: R13: 0000000000000000 R14: 000000000042b498 R15: ffffbff501583e28
Oct 23 15:41:12 ipfire kernel: FS:  000075f832371380(0000) GS:ffffa36f075c0000(0000) knlGS:0000000000000000
Oct 23 15:41:12 ipfire kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 23 15:41:12 ipfire kernel: CR2: 0000000000000090 CR3: 0000000108548002 CR4: 00000000000206e0
Oct 23 15:41:12 ipfire kernel: Call Trace:
Oct 23 15:41:12 ipfire kernel:  <TASK>
Oct 23 15:41:12 ipfire kernel:  ? __die+0x59/0xa9
Oct 23 15:41:12 ipfire kernel:  ? page_fault_oops+0x180/0x2d0
Oct 23 15:41:12 ipfire kernel:  ? exc_page_fault+0x27f/0x6d0
Oct 23 15:41:12 ipfire kernel:  ? asm_exc_page_fault+0x26/0x30
Oct 23 15:41:12 ipfire kernel:  ? amd_pstate_ut_check_freq+0x3d/0xfb [amd_pstate_ut]
Oct 23 15:41:12 ipfire kernel:  amd_pstate_ut_init+0x21/0x1000 [amd_pstate_ut]
Oct 23 15:41:12 ipfire kernel:  ? 0xffffffffc0665000
Oct 23 15:41:12 ipfire kernel:  do_one_initcall+0x5d/0x230
Oct 23 15:41:12 ipfire kernel:  do_init_module+0x4a/0x1f0
Oct 23 15:41:12 ipfire kernel:  __do_sys_init_module+0x18a/0x1c0
Oct 23 15:41:12 ipfire kernel:  do_syscall_64+0x60/0x90
Oct 23 15:41:12 ipfire kernel:  ? do_syscall_64+0x6c/0x90
Oct 23 15:41:12 ipfire kernel:  ? exit_to_user_mode_prepare+0x1a/0x130
Oct 23 15:41:12 ipfire kernel:  entry_SYSCALL_64_after_hwframe+0x69/0xd3
Oct 23 15:41:12 ipfire kernel: RIP: 0033:0x75f831d2ffde
Oct 23 15:41:12 ipfire kernel: Code: 48 8b 0d 45 5e 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 12 5e 0c 00 f7 d8 64 89 01 48
Oct 23 15:41:12 ipfire kernel: RSP: 002b:00007fffa8220318 EFLAGS: 00000206 ORIG_RAX: 00000000000000af
Oct 23 15:41:12 ipfire kernel: RAX: ffffffffffffffda RBX: 0000000001e50b80 RCX: 000075f831d2ffde
Oct 23 15:41:12 ipfire kernel: RDX: 000000000042b498 RSI: 0000000000004ac6 RDI: 0000000001e5f4a0
Oct 23 15:41:12 ipfire kernel: RBP: 000000000042b498 R08: 0000000000000001 R09: 0000000000000000
Oct 23 15:41:12 ipfire kernel: R10: 0000000000000071 R11: 0000000000000206 R12: 0000000001e5f4a0
Oct 23 15:41:12 ipfire kernel: R13: 0000000000000000 R14: 0000000001e50c00 R15: 0000000001e51070
Oct 23 15:41:12 ipfire kernel:  </TASK>
Oct 23 15:41:12 ipfire kernel: Modules linked in: amd_pstate_ut(+) xt_set ip_set_hash_net ip_set xt_hashlimit xt_policy xt_TCPMSS xt_conntrack xt_comment ipt_REJECT nf_reject_ipv4 xt_LOG xt_limit xt_mark xt_connmark nf_log_syslog iptable_raw iptable_mangle iptable_filter vfat fat sch_cake intel_powerclamp coretemp ipmi_ssif kvm_intel igb kvm iTCO_wdt ptp psmouse iTCO_vendor_support gpio_ich pps_core dca i2c_algo_bit irqbypass i2c_core acpi_ipmi pcspkr ipmi_si hpilo ipmi_devintf lpc_ich ipmi_msghandler mfd_core acpi_power_meter pcc_cpufreq i7core_edac lp parport_pc parport video wmi crct10dif_pclmul crc32_pclmul polyval_generic ghash_clmulni_intel ata_generic hpsa sha512_ssse3 serio_raw pata_acpi hpwdt scsi_transport_sas dm_mirror dm_region_hash dm_log dm_mod
Oct 23 15:41:12 ipfire kernel: CR2: 0000000000000090
Oct 23 15:41:12 ipfire kernel: ---[ end trace 0000000000000000 ]---
Oct 23 15:41:12 ipfire kernel: RIP: 0010:amd_pstate_ut_check_freq+0x3d/0xfb [amd_pstate_ut]
Oct 23 15:41:12 ipfire kernel: Code: 8d 04 64 55 48 8d 2c c5 00 80 79 c0 53 e9 85 00 00 00 44 89 ef e8 03 ec bf df 48 85 c0 0f 84 9b 00 00 00 48 8b 90 40 02 00 00 <8b> b2 90 00 00 00 44 8b 82 98 00 00 00 44 8b 8a 9c 00 00 00 8b 8a
Oct 23 15:41:12 ipfire kernel: RSP: 0018:ffffbff501583d50 EFLAGS: 00010286
Oct 23 15:41:12 ipfire kernel: RAX: ffffa36c01623400 RBX: 0000000000000000 RCX: 0000000000000000
Oct 23 15:41:12 ipfire kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Oct 23 15:41:12 ipfire kernel: RBP: ffffffffc0798048 R08: 0000000000000000 R09: 0000000000000000
Oct 23 15:41:12 ipfire kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
Oct 23 15:41:12 ipfire kernel: R13: 0000000000000000 R14: 000000000042b498 R15: ffffbff501583e28
Oct 23 15:41:12 ipfire kernel: FS:  000075f832371380(0000) GS:ffffa36f075c0000(0000) knlGS:0000000000000000
Oct 23 15:41:12 ipfire kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 23 15:41:12 ipfire kernel: CR2: 0000000000000090 CR3: 0000000108548002 CR4: 00000000000206e0
Oct 23 15:41:12 ipfire kernel: cpufreq: Can't use ondemand governor as dynamic switching is disallowed. Fallback to performance governor
Oct 23 15:41:12 ipfire last message repeated 12 times

The system is an older Intel Xeon based server with:

- Linux ipfire.bachtec.de 6.1.45-ipfire #1 SMP PREEMPT_DYNAMIC Tue Aug 15 21:32:54 GMT 2023 x86_64 Intel(R) Xeon(R) CPU E5645 @ 2.40GHz GenuineIntel GNU/Linux

System is up2date and running without problems at the moment.
Comment 1 Adolf Belka 2023-10-23 18:42:44 UTC
Component for IPFire-2.x should always be ---

Specific component names are selected only for IPFire-3.x

https://wiki.ipfire.org/devel/bugzilla/workflow#assigned
Comment 2 Michael Tremer 2023-10-24 08:19:13 UTC
This is probably mostly an aesthetic issue.

However, I do not know why we are compiling this into the kernel and why this is not a module. Maybe there has been a temporary problem we have been working around?

@Arne, could you please check this?