Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: Jani Nikula <jani.nikula@linux.intel.com>,
	"Vivi, Rodrigo" <rodrigo.vivi@intel.com>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	intel-xe@lists.freedesktop.org
Subject: Nasty console and xe driver interactions
Date: Wed, 14 Oct 2026 16:04:18 -0700	[thread overview]
Message-ID: <5e79d3c0-5b2c-4e6c-ba38-3b723daf7109@intel.com> (raw)

I've got a custom kernel that has CONFIG_DRM_XE=y. I moved a disk from
an old NUC to a new Panther Lake one, and from it being SATA-attached to
USB-attached.

The new system was hanging after GRUB:

	Loading Linux ...
	Loading initial ramdisk ...
	<nothing>

Turns out, the root cause of the boot hang was my USB adapter needing a
rootdelay=15. But it took me a couple of hours, and a USB debug cable to
figure it out. Why?

Because the xe driver was falling over itself and presumably sabotaging
the firmware framebuffer in the process:

> [    1.505387] xe 0000:00:02.0: vgaarb: deactivate vga console
> [    1.507298] xe 0000:00:02.0: [drm] Running in SR-IOV PF mode
> [    1.512831] xe 0000:00:02.0: [drm] Tile0: GT0: GuC firmware xe/ptl_guc_70.bin not found
> [    1.512873] xe 0000:00:02.0: [drm] Tile0: GT0: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> [    1.512881] xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: Failed to initialize uC (-ENOENT)
> [    1.512894] xe 0000:00:02.0: probe with driver xe failed with error -2

So instead of getting a nice message about my root disk problems, I just
got a hang after GRUB. Basically, missing XE firmware results in a
system which is undebuggable for normal humans*.

There seem to have been similar issues in the past:

> https://lore.kernel.org/lkml/20251229215906.3688205-1-zack.rusin@broadcom.com/

Any chance that could be looked at again? This was a pretty insidious
failure mode.

 * Normal humans don't have USB debug cables lying around

             reply	other threads:[~2026-10-14 23:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 23:04 Dave Hansen [this message]
2026-10-15 13:37 ` Nasty console and xe driver interactions Rodrigo Vivi
2026-10-15 15:30   ` Dave Hansen
2026-10-15 16:10     ` Rodrigo Vivi
2026-10-15 16:41       ` Zack Rusin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e79d3c0-5b2c-4e6c-ba38-3b723daf7109@intel.com \
    --to=dave.hansen@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox