The kernel-rt crashes in ptp_clock_event()
Issue
- The kernel crashed in rt_spin_lock() called within ptp_clock_event():
...
[ 7998.209882] pci 0000:51:01.7: Removing from iommu group 157
[ 7998.210046] pci 0000:51:02.0: Removing from iommu group 158
[ 7998.210208] pci 0000:51:02.1: Removing from iommu group 159
[ 7998.210364] pci 0000:51:02.2: Removing from iommu group 160
[ 7998.210522] pci 0000:51:02.3: Removing from iommu group 161
[ 7999.691183] ice 0000:51:00.0: Removed PTP clock
[ 8000.128072] BUG: unable to handle page fault for address: 0000000000001490
[ 8000.128074] #PF: supervisor write access in kernel mode
[ 8000.128076] #PF: error_code(0x0002) - not-present page
[ 8000.128077] PGD 7a8cd9067 P4D 0
[ 8000.128080] Oops: 0002 [#1] PREEMPT_RT SMP NOPTI
[ 8000.128082] CPU: 34 PID: 1382 Comm: irq/166-s-ice-0 Kdump: loaded Tainted: G W -------- --- 5.14.0-284.66.1.rt14.351.el9_2.x86_64 #1
[ 8000.128084] Hardware name: /00C6H3, BIOS 1.13.2 12/19/2023
[ 8000.128085] RIP: 0010:rt_spin_lock+0x19/0x60
[ 8000.128092] Code: 74 cf e8 e1 f4 4c ff eb c8 e8 33 07 ff ff 0f 1f 00 0f 1f 44 00 00 41 54 65 48 8b 14 25 c0 8f 01 00 55 8b 82 f4 08 00 00 31 c0 <f0> 48 0f b1 57 18 75 0d e8 2a 6d 65 ff 5d 41 5c e9 f2 e5 5f ff 48
[ 8000.128094] RSP: 0018:ff8cafb7c2f47dc8 EFLAGS: 00010246
[ 8000.128095] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 8000.128096] RDX: ff4d8b2be89cc580 RSI: ff8cafb7c2f47e58 RDI: 0000000000001478
[ 8000.128097] RBP: ff8cafb7c2f47e48 R08: 0000000000000000 R09: 00000000ad583ee9
[ 8000.128098] R10: 00000000000003ed R11: 0000000000000703 R12: ff8cafb7c2f47e58
[ 8000.128099] R13: 0000000000001478 R14: 17e09489061a5b71 R15: ff4d8b2c050a3e00
[ 8000.128100] FS: 0000000000000000(0000) GS:ff4d8b4abfa80000(0000) knlGS:0000000000000000
[ 8000.128101] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8000.128102] CR2: 0000000000001490 CR3: 00000001a0722004 CR4: 0000000000771ee0
[ 8000.128103] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 8000.128104] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 8000.128105] PKRU: 55555554
[ 8000.128106] Call Trace:
[ 8000.128107] <TASK>
[ 8000.128108] ptp_clock_event+0xae/0x1d0
[ 8000.128113] ? __tick_nohz_task_switch+0x22/0x80
[ 8000.128115] ? raw_spin_rq_unlock+0x18/0x70
[ 8000.128118] ? finish_task_switch.isra.0+0x98/0x2f0
[ 8000.128119] ? __switch_to+0x12f/0x510
[ 8000.128122] ? disable_irq_nosync+0x10/0x10
[ 8000.128125] ice_ptp_extts_event+0xaa/0xd0 [ice]
[ 8000.128167] ice_misc_intr_thread_fn+0x7b/0xb0 [ice]
[ 8000.128183] irq_thread_fn+0x1d/0x60
[ 8000.128185] irq_thread+0xc8/0x170
[ 8000.128187] ? irq_finalize_oneshot.part.0+0xe0/0xe0
[ 8000.128190] ? irq_thread_check_affinity+0xe0/0xe0
[ 8000.128192] kthread+0x103/0x130
[ 8000.128195] ? kthread_complete_and_exit+0x20/0x20
[ 8000.128197] ret_from_fork+0x1f/0x30
[ 8000.128202] </TASK>
[ 8000.128202] Modules linked in: iavf vfio_pci vfio_pci_core vfio_virqfd vfio_iommu_type1 vfio pci_pf_stub veth xt_mark ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 nf_conntrack_netlink xt_nat nft_chain_nat vhost_net vhost vhost_iotlb tap tun xt_CT xt_conntrack xt_comment nft_compat nft_counter nf_tables rfkill nfnetlink_cttimeout nfnetlink openvswitch nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 overlay ext4 mbcache jbd2 intel_rapl_msr iTCO_wdt iTCO_vendor_support kvm_intel kvm irqbypass intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common i10nm_edac nfit libnvdimm ipmi_ssif x86_pkg_temp_thermal intel_powerclamp coretemp rapl intel_cstate intel_uncore dell_smbios wmi_bmof dell_wmi_descriptor pcspkr isst_if_mbox_pci isst_if_mmio isst_if_common i2c_i801 mei_me i2c_smbus mei intel_pch_thermal acpi_ipmi intel_vsec ipmi_si ipmi_devintf ipmi_msghandler dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio acpi_power_meter joydev sctp ip6_udp_tunnel
[ 8000.128238] udp_tunnel ip_tables esp6 esp4 af_key xfrm_ipcomp xfrm_interface xfrm4_tunnel tunnel4 xfrm6_tunnel tunnel6 xfs libcrc32c i40e sd_mod sg bnxt_re ib_uverbs ib_core crct10dif_pclmul crc32_pclmul ahci crc32c_intel libahci ice ghash_clmulni_intel bnxt_en nvme_tcp gnss libata nvme_fabrics nvme wmi nvme_core nvme_common t10_pi cdc_ether usbnet mii dm_multipath dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: i2c_algo_bit]
[ 8000.128257] CR2: 0000000000001490
Environment
- Red Hat Enterprise Linux for Real Time 9.2.z
- kernel-rt-5.14.0-284.66.1.rt14.351.el9_2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.