Re: Linux 6.13.1: Kernel warning on boot

"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]> Tue, 01 Apr 2025 11:56:26 +0800
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On Tue, 2025-04-01 at 02:35 +0200, Michele Bucca wrote:
> 
> 
> > Il giorno 31 mar 2025, alle ore 23:48, Douglas R. Reno
> > <[email protected]> ha scritto:
> > 
> > On 3/31/25 3:44 PM, Michele Bucca ([email protected] via lfs-
> > support Mailing List) wrote:
> > > Hello There
> > > 
> > > I've compiled the kernel for my UEFI system using the instructions of
> > > the books (LFS and BLFS) and when it boots it displays some errors (I
> > > append a kernel log snippet).
> > > The system boots fine but these errors are annoying and inmho slow the
> > > system boot. How can I solve the issue?
> > > I attach a link to my kernel config. I don't know why I've not enabled
> > > DRM_PANIC and DRM_PANIC_SCREEN. Can this be the reasons?
> > > 
> > > 
> > > The config file can be found here:
> > > https://raw.githubusercontent.com/michele13/initramfs/refs/heads/main/prebuilts/bzImage.config
> > > 
> > > 
> > > --- BEGIN KERNEL LOG ---
> > > [    7.486610]  drm_dp_dpcd_probe+0x3e/0xf0
> > > [    7.487155]  intel_dp_read_dprx_caps+0x7c/0x90
> > > [    7.487703]  intel_dp_init_lttpr_and_dprx_caps+0xbd/0x3a0
> > > [    7.488253]  intel_dp_get_dpcd+0x20/0x140
> > > [    7.488806]  intel_dp_detect+0x21b/0x7d0
> > > [    7.489352]  drm_helper_probe_detect+0x47/0xb0
> > > [    7.489907]  drm_helper_probe_single_connector_modes+0x405/0x650
> > > [    7.490459]  drm_client_modeset_probe+0x25a/0x1880
> > > [    7.491020]  drm_fb_helper_hotplug_event+0xa7/0x100
> > > [    7.491571]  intel_fbdev_client_hotplug+0x7f/0x100
> > > [    7.492133]  drm_client_dev_hotplug+0x99/0xf0
> > > [    7.492688]  i915_hpd_poll_init_work+0x1fc/0x260
> > > [    7.493247]  process_one_work+0x160/0x390
> > > [    7.493801]  worker_thread+0x2a0/0x3b0
> > > [    7.494357]  ? __pfx_worker_thread+0x10/0x10
> > > [    7.494913]  ? __pfx_worker_thread+0x10/0x10
> > > [    7.495464]  kthread+0xc8/0xf0
> > > [    7.496020]  ? __pfx_kthread+0x10/0x10
> > > [    7.496566]  ret_from_fork+0x2c/0x50
> > > [    7.497120]  ? __pfx_kthread+0x10/0x10
> > > [    7.497667]  ret_from_fork_asm+0x1a/0x30
> > > [    7.498213]  </TASK>
> > > [    7.498756] ---[ end trace 0000000000000000 ]---
> > > [    7.527612] ------------[ cut here ]------------
> > > [    7.528217] i915 0000:00:02.0: [drm] drm_WARN_ON(tc->mode !=
> > > TC_PORT_TBT_ALT && !tc_phy_is_owned(tc))
> > > [    7.528221] WARNING: CPU: 7 PID: 64 at
> > > drivers/gpu/drm/i915/display/intel_tc.c:1757
> > > __intel_tc_port_lock+0x80/0x100
> > > [    7.529334] Modules linked in:
> > > [    7.529894] CPU: 7 UID: 0 PID: 64 Comm: kworker/7:1 Tainted: G
> > >   W          6.13.1 #1
> > > [    7.530464] Tainted: [W]=WARN
> > > [    7.531040] Hardware name: HP HP 240 G8 Notebook PC/868C, BIOS F.10
> > > 09/18/2020
> > > [    7.531614] Workqueue: i915-unordered i915_hpd_poll_init_work
> > > [    7.532189] RIP: 0010:__intel_tc_port_lock+0x80/0x100
> > > [    7.532768] Code: 5f 50 48 85 db 0f 84 91 00 00 00 e8 ba ca 0a 00
> > > 48 c7 c1 d0 81 39 b9 48 89 da 48 c7 c7 36 1f 41 b9 48 89 c6 e8 51 99
> > > 7a ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 48 89 df e8 9b f9 ff
> > > ff 89
> > > [    7.533369] RSP: 0000:ffffa6e8402fb8d0 EFLAGS: 00010282
> > > [    7.533990] RAX: 0000000000000000 RBX: ffff9bff414692c0 RCX: 00000000fffff071
> > > [    7.534595] RDX: 0000000000000000 RSI: ffffa6e8402fb778 RDI: 0000000000000001
> > > [    7.535198] RBP: 0000000000000001 R08: 0000000000005235 R09: 00000000fffff071
> > > [    7.535805] R10: 00000000fffff071 R11: ffffffffb9658b60 R12: ffff9bff410f4000
> > > [    7.536403] R13: ffff9bff425ac1e8 R14: ffffa6e8402fb9a0 R15: ffff9bff425ac000
> > > [    7.537008] FS:  0000000000000000(0000) GS:ffff9c02afbc0000(0000)
> > > knlGS:0000000000000000
> > > [    7.537605] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > > [    7.538198] CR2: 0000000000000000 CR3: 00000002e782e001 CR4: 0000000000770ef0
> > > [    7.538804] PKRU: 55555554
> > > [    7.539378] Call Trace:
> > > [    7.539948]  <TASK>
> > > [    7.540506]  ? __warn+0x84/0x130
> > > [    7.541072]  ? __intel_tc_port_lock+0x80/0x100
> > > [    7.541630]  ? report_bug+0x164/0x190
> > > [    7.542184]  ? prb_read_valid+0x16/0x20
> > > [    7.542744]  ? handle_bug+0x54/0x90
> > > [    7.543294]  ? exc_invalid_op+0x17/0x70
> > > [    7.543854]  ? asm_exc_invalid_op+0x1a/0x20
> > > [    7.544398]  ? __intel_tc_port_lock+0x80/0x100
> > > [    7.544948]  intel_dp_aux_xfer+0xc2/0x7a0
> > > [    7.545493]  intel_dp_aux_transfer+0x130/0x330
> > > [    7.546047]  drm_dp_dpcd_access+0xb3/0x140
> > > [    7.546593]  drm_dp_dpcd_probe+0x3e/0xf0
> > > [    7.547139]  intel_dp_read_dprx_caps+0x7c/0x90
> > > [    7.547685]  intel_dp_init_lttpr_and_dprx_caps+0xbd/0x3a0
> > > [    7.548237]  intel_dp_get_dpcd+0x20/0x140
> > > [    7.548787]  intel_dp_detect+0x21b/0x7d0
> > > [    7.549330]  drm_helper_probe_detect+0x47/0xb0
> > > [    7.549885]  drm_helper_probe_single_connector_modes+0x405/0x650
> > > [    7.550435]  drm_client_modeset_probe+0x25a/0x1880
> > > [    7.550993]  drm_fb_helper_hotplug_event+0xa7/0x100
> > > [    7.551544]  intel_fbdev_client_hotplug+0x7f/0x100
> > > [    7.552106]  drm_client_dev_hotplug+0x99/0xf0
> > > [    7.552657]  i915_hpd_poll_init_work+0x1fc/0x260
> > > [    7.553209]  process_one_work+0x160/0x390
> > > [    7.553763]  worker_thread+0x2a0/0x3b0
> > > [    7.554316]  ? __pfx_worker_thread+0x10/0x10
> > > [    7.554874]  ? __pfx_worker_thread+0x10/0x10
> > > [    7.555427]  kthread+0xc8/0xf0
> > > [    7.555982]  ? __pfx_kthread+0x10/0x10
> > > [    7.556530]  ret_from_fork+0x2c/0x50
> > > [    7.557082]  ? __pfx_kthread+0x10/0x10
> > > [    7.557628]  ret_from_fork_asm+0x1a/0x30
> > > [    7.558175]  </TASK>
> > > [    7.558717] ---[ end trace 0000000000000000 ]---
> > > [    7.587612] ------------[ cut here ]------------
> > 
> > Hi Michele,
> > 
> > As Joe pointed out we could definitely use some more information,
> > but here's a couple things that I would try to see if it fixes the
> > problem based on the kernel stack trace that you've given us:
> > 
> > First I would try upgrading the kernel to see if it resolves the
> > problem. If this doesn't fix it, see below:
> 
> I’ve upgrades the kernel to the same version of the book but the
> problem still persiste, my laptop is, indeed, an HP 240 G8 but with an
> Intel Core i5-1035G1 Ice Lake so it has intel UHD. I don’t know if my
> bios is up to date or not, I would rather not update it if possible.
> Let me know if you need any other info

Please report to https://gitlab.freedesktop.org/drm/i915/kernel/-/issues
(with your kernel log) and the Intel engineers will instruct you to
gather more info there.

> > However, your HP 240 G8 is going to have Intel Iris Xe graphics in
> > it. I would recommend trying to turn on CONFIG_DRM_XE to see if that

CONFIG_DRM_XE only supports the GPUs of Tiger Lake CPUs (i.e. 11-th Gen
onwards) and it will definitely not work for 1035G1.

-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page