[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1033058: Booting mini.iso : kernel hangs on ppc64el



Control: forwarded -1 https://salsa.debian.org/kernel-team/linux/-/merge_requests/695
Control: reassign -1 src:linux 6.1.12-1
Control: severity -1 important
Control: tag -1 patch

Hello Frédéric,

Frédéric Bonnard <frediz@debian.org> (2023-03-23):
> ---
> $ qemu-system-ppc64le -nographic -nodefaults -serial mon:stdio -cdrom /tmp/mini.iso
> ---
> here we just start a ppc64le vm with no graphic card, and boot the iso.
> You should reach the debian installer menu on the serial console in your
> terminal (if you want to go further, provide a disk file for example).
> 
> But if you try a vm with a graphic card like so :
> ---
> qemu-system-ppc64le  -cdrom /tmp/mini.iso
> ---

ACK on both, thanks! That was indeed super easy and super useful.

> I see the installer media gets build from a kernel-image udeb which I
> guess provides a different kernel runtime env from the machine installed
> with linux-image on disk (which works).

It's slightly more complicated than that, as both vmlinuz are actually
identical:

    $ dpkg -x kernel-image-6.1.0-7-powerpc64le-di_6.1.20-2_ppc64el.udeb foo
    $ dpkg -x linux-image-6.1.0-7-powerpc64le_6.1.20-2_ppc64el.deb bar
    $ cmp foo/boot/vmlinux bar/boot/vmlinux-6.1.0-7-powerpc64le; echo $?
    0

That being said, we don't have all modules shipped in the installer, and
some other module might be available and used in the installed system
(e.g. dedicated driver as opposed to fbdev during a graphical install on
amd64), which can explain differences. The bootloader configuration
might be different too.


As you suggested, this is a regression via a7f0ec26cd, first shipped in
v6.1.12, which didn't account for the disappearing of-display device
node in the framebuffer driver. I've tested a trivial patch (see MR)
and a netboot mini.iso d-i build (similar to daily builds, against udebs
from unstable) gives me the installer's interface. Available for 15 days
at: https://people.debian.org/~kibi/bug-1033058/

I'll open a bug report upstream and submit my patch there. In mainline
master, another module (not found in 6.1.y) is affected as well, so I
have this queued up too (but untested):

     drivers/gpu/drm/tiny/ofdrm.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)

in addition to:

     drivers/video/fbdev/offb.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: