• Bug#1100878: Trixie hangs during first boot after install on Gen13 Thin

    From Pascal Hambourg@21:1/5 to Esteve Fernandez on Fri May 2 18:20:01 2025
    XPost: linux.debian.maint.boot

    On 01/05/2025 at 23:29, Esteve Fernandez wrote:
    I bumped into the same issue as Nolan. I didn't try installing
    bookworm, but same outcome with the live CD (works) and via the
    Calamares installer (does not work).

    What do you mean exactly by "live CD" and "Calamares". Calamares is the graphical installer in the live session, so this is confusing.

    There are basically three different installation systems for Debian:
    - Debian installer on installation ISO images (netinst, DVD...)
    - Debian installer in live ISO image boot menu
    - Calamares installer in graphical live session

    I noticed that the system installed via Calamares comes only with a
    handful of firmware files.

    Do you mean that the system installed the other way comes with more
    firmware files ?

    I couldn't get systemd to open a rescue
    terminal, perhaps because of this same issue,

    rescue or emergency ? They are not the same.
    "rescue" starts a few services such as udev which loads kernel modules. "emergency" does not start any services, so only modules included in the initramfs are loaded.

    so I booted a console via
    the installation CD and then installed the firmware-intel-graphics
    package on the target chroot and updated the initarmfs image:

    The culprit seemed to be that the firmware files for the Xe iGPU for
    Lunar Lake were missing (/lib/firmware/xe/lnl_gsc_1.bin , /lib/firmware/xe/lnl_guc_70.bin, /lib/firmware/xe/lnl_huc.bin). I tested
    this by manually copying these three files instead of installing the
    Debian package, and the system booted up fine afterwards.

    Good catch. Nolan, can you try it ?
    I guess that blacklisting the "xe" module would allow to boot too,
    although with degraded graphics.

    I just tried installing only the base system (no desktop at all), and
    I managed to get an emergency console by passing the rescue boot arg.

    Again, rescue or emergency ?

    I don't know why I don't get one if I have installed a desktop flavor,
    but there must be a systemd unit that gets installed in that case, and
    that unless the Xe firmware is found, it'd prevent the emergency console
    from showing.

    It seems that the modalias for the GPU in this machine (Intel
    Corporation Lunar Lake [Intel Arc Graphics 130V / 140V] [8086:64a0]) and
    others advertised by the xe module are not in the /firmware/dep11/firmware-intel-graphics.patterns file included in
    installation ISO images, so the installer does not install the needed
    firmware. Can anyone familiar with the generation of .pattern files
    check why some modalias are missing ?

    Installing a desktop environment may install plymouth (boot splash
    screen) which causes inclusion of xe and other graphic modules in the initramfs. "emergency" mode does not prevent the initramfs from loading
    the xe module and hang.

    Installing only a base system does not install plymouth nor include
    graphic modules in the initramfs, so the xe module is not loaded in
    emergency mode (but is loaded in rescue mode).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Esteve Fernandez@21:1/5 to Pascal Hambourg on Sat May 3 21:10:04 2025
    XPost: linux.debian.maint.boot

    On Friday, 2 May 2025 at 18:09, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

    What do you mean exactly by "live CD" and "Calamares". Calamares is the graphical installer in the live session, so this is confusing.

    Apologies for mixing up the names of the installers. Yeah, by live CD I meant Calamares, sorry about that.

    I'm going to summarize the results with each installer and each ISO I used.

    I used two ISOs, both from April 18th

    - debian-live-testing-amd64-gnome.iso
    - debian-testing-amd64-DVD-1.iso

    debian-live-testing-amd64-gnome.iso with live GNOME session and clicking on the "Install Debian" - OK

    debian-live-testing-amd64-gnome.iso with either Graphical installer or Text installer via the boot menu - OK

    debian-testing-amd64-DVD-1.iso with either Graphical installer or Text installer, installing only system utilities - Does not install a working system.
    - Passing systemd.unit=emergency.target via boot arg opens a
    console.
    - Passing systemd.unit=rescue.target via boot arg does not open
    a console.

    debian-testing-amd64-DVD-1.iso with either Graphical installer or Text installer, installing system utilities and GNOME - Does not install a working system.
    - Passing systemd.unit=emergency.target via boot arg does not
    open a console.
    - Passing systemd.unit=rescue.target via boot arg does not open
    a console.

    Hope this summary helps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Esteve Fernandez on Sun May 4 00:40:01 2025
    XPost: linux.debian.maint.boot

    On 03/05/2025 at 20:49, Esteve Fernandez wrote:

    debian-live-testing-amd64-gnome.iso with live GNOME session and clicking on the "Install Debian" - OK

    Copies the live system with firmware to the installed system, xe will
    not hang.

    debian-live-testing-amd64-gnome.iso with either Graphical installer or Text installer via the boot menu - OK

    Also copies the live system with firmware to the installed system, xe
    module will not hang.

    debian-testing-amd64-DVD-1.iso with either Graphical installer or Text installer, installing only system utilities - Does not install a working system.

    Does not install firmware-intel-graphics because of the missing
    modalias, loading xe module will hang.
    Does not install plymouth, xe module is not included in initramfs.

    - Passing systemd.unit=emergency.target via boot arg opens a
    console.

    Emergency mode does not start udev, so xe module is not loaded.

    - Passing systemd.unit=rescue.target via boot arg does not open
    a console.

    Rescue mode starts udev, so xe module is loaded and hangs.

    debian-testing-amd64-DVD-1.iso with either Graphical installer or Text installer, installing system utilities and GNOME - Does not install a working system.

    Does not install firmware-intel-graphics because of the missing
    modalias, loading xe module will hang.
    Installs plymouth, xe module is included in initramfs.

    - Passing systemd.unit=emergency.target via boot arg does not
    open a console.
    - Passing systemd.unit=rescue.target via boot arg does not open
    a console.

    xe module is loaded by the initramfs and hangs before systemd is started.

    This confirms my previous guess. So there are two issues:
    - the GPU modalias is missing in firmware-intel-graphics.patterns so d-i
    does not install the firmware; I do not know how this file is generated.
    - xe module hangs if related firmware is missing -> kernel bug.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Pascal Hambourg on Tue May 6 21:00:01 2025
    XPost: linux.debian.maint.boot

    On 04/05/2025 at 00:26, Pascal Hambourg wrote:

    - the GPU modalias is missing in firmware-intel-graphics.patterns so d-i
    does not install the firmware; I do not know how this file is generated.

    A new version of firmware-intel-graphics with updated modalias list
    arrived in trixie yesterday and should fix this issue in the latest
    daily images (netinst only). Can you test it ?

    <https://cdimage.debian.org/cdimage/daily-builds/>

    Unfortunately it came a few hours too late for the latest weekly netinst
    and DVD images which still contain the old firmware and patterns.

    <https://cdimage.debian.org/cdimage/weekly-builds/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Esteve Fernandez@21:1/5 to Pascal Hambourg on Sun May 18 13:40:01 2025
    XPost: linux.debian.maint.boot

    On Tuesday, 6 May 2025 at 20:55, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

    A new version of firmware-intel-graphics with updated modalias list
    arrived in trixie yesterday and should fix this issue in the latest
    daily images (netinst only). Can you test it ?

    https://cdimage.debian.org/cdimage/daily-builds/

    I just tested the netinst image from 2025-05-18 and installed GNOME, the graphics issues are gone now. Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)