patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: Demi Marie Obenour <demiobenour@gmail.com>
Cc: Spectrum OS Development <devel@spectrum-os.org>
Subject: Re: Hang at boot on Dell Inspiron 15
Date: Sat, 10 Jan 2026 21:58:55 +0100	[thread overview]
Message-ID: <87zf6lb2wg.fsf@alyssa.is> (raw)
In-Reply-To: <6ba1fc13-c905-4074-a878-bb2488ef2020@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2835 bytes --]

Demi Marie Obenour <demiobenour@gmail.com> writes:

> I built a Spectrum OS image using
> https://github.com/DemiMarie/spectrum/tree/499323fa448406ec728b1f29a4bca6dc54f5df32.
> This is almost the same as Spectrum git main, and I am almost
> certain that the differences (visible on GitHub) are not related to
> this problem.  Therefore, I'm reporting this as if it were a bug in
> Spectrum itself.
>
> The bug is pretty simple: on a Dell Inspiron 15, booting freezes
> forever.  The last message from the kernel before it stops is:
>
> amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device

This is most likely the known issue where we hardcode an assumption that
we should wait for /dev/dri/card0, but on some hardware there's only
/dev/dri/card1, at least by the time we get that far in boot.  Perhaps
you can try replacing card0 with card1 in the sources to confirm.

(This is a very serious issue, of course, but there's apparently an easy
fix for it with COSMIC, and I don't know of one with Weston, so it's
been waiting for the switchover.)

> This machine has an AMD Ryzen 7000 series CPU with integrated
> graphics and a 512GB NVMe drive.  The installation ISO was built by
>
> $ nix build --log-format bar-with-logs --file release/combined --out-link "path to Caddy web root"
>
> with a custom config.nix that I can also share if
> needed.  It just specifies the update URL and signing
> key, though.  The actual install ISO I built can be found at
> <https://test-spectrum-updater.devbydemi.com/demi/spectrum-updates/spectrum-installer.iso>
> (no authentication needed).  This was built on (and is hosted by)
> a test server I don't particularly trust, so don't mount or boot it
> on a machine you care about outside of a VM with no GPU acceleration
> or other sandbox holes.
>
> To even install Spectrum, I had to kexec from the existing NixOS
> install because the firmware wouldn't boot the image off of the
> USB stick.  I presume this is a firmware bug, which would not at all
> surprise me.

Does the live image boot?

> I'm not sure how to go about diagnosing this.  The hang happens after
> s6 gets started, but the boot is so fast that it is hard to tell if
> it has switched from the initramfs to the rootfs yet.  In any case,
> it seems to happen before Weston gets a chance to produce any output
> on screen.  Suggestions welcome!

If it's not the card0/card1 thing, some other debugging tips:

• Did this ever work?  If so, first thing to try should usually be
  bisection.
• You should be able to switch VT in the usual way (Ctrl-Alt-F2).  getty
  is running on tty2, tty3, and tty4.
• You should be able to get a serial getty if you include an appropriate
  console parameter on the kernel command line, which can be edited in
  GRUB.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2026-01-10 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-10  8:48 Hang at boot on Dell Inspiron 15 Demi Marie Obenour
2026-01-10 20:58 ` Alyssa Ross [this message]
2026-01-11  6:30   ` Demi Marie Obenour
2026-01-11 16:03     ` Alyssa Ross

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=87zf6lb2wg.fsf@alyssa.is \
    --to=hi@alyssa.is \
    --cc=demiobenour@gmail.com \
    --cc=devel@spectrum-os.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).