--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: debian-installer: graphical install as KVM guest crashes when switching to text console
- From: Thiemo Nagel <thiemo.nagel@gmail.com>
- Date: Mon, 14 Oct 2013 11:19:59 +0200
- Message-id: <20131014091959.20263.49248.reportbug@kiste>
Package: debian-installer
Version: daily
Severity: normal
Tags: d-i
Hello,
when booting the graphical install (daily build) as KVM guest and switching to
the text console via Ctrl-Alt-F2 at any time during installation, the graphics
is crashing.
The following error message is displayed on the first console:
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Cheers,
Thiemo
--- End Message ---
--- Begin Message ---
Hi Michael,
thank you for your email. I agree that my patch isn't useful. Already
the initial bug report was ill-conceived, and by trying to fix that, I
just made things worse. I apologize for the noise. Closing the bug
now.
Best,
Thiemo
On Sat, Dec 7, 2013 at 5:23 PM, Michael Tokarev <mjt@tls.msk.ru> wrote:
> Control: tag -1 + wontfix moreinfo - patch
>
> 14.10.2013 14:45, Thiemo Nagel wrote:
>> severity 726298 wishlist
>> retitle 726298 Give guidance to console-switching installer users
>> reassign 726298 busybox
>> tags 726298 + patch
>> thanks
>>
>> It's all my fault. I just realized that X is fine, I just didn't
>> expect it to live on console #5. Maybe the attached patch could help
>> prevent others falling into the same trap?
>
> First of all, somehow I haven't noticed this bugreport until now.
>
> Here's your patch:
>
> From d2e289c95d454ec752af14b18b417ce30fca741d Mon Sep 17 00:00:00 2001
> From: Thiemo Nagel <thiemo.nagel@gmail.com>
> Date: Mon, 14 Oct 2013 12:34:41 +0200
> Subject: [PATCH] Add help message to inactive consoles
>
> --- a/init/init.c
> +++ b/init/init.c
> @@ -485,7 +485,10 @@ static pid_t run(const struct init_action *a)
> #ifdef CUSTOMIZED_BANNER
> #include CUSTOMIZED_BANNER
> #endif
> - "\nPlease press Enter to activate this console. ";
> + "\nPlease press Enter to activate this console. "
> + "(Hit Ctrl-Alt-F5 to return to the graphical "
> + "installer or Ctrl-Alt-F1 for the text-mode "
> + "installer, respectively.) ";
>
>
> This is completely wrong. There's no reason X installer should be running
> on tty5 or text-mode installer on tty1. This patch breaks regular use
> of busybox, because outside of the d-i environment, there's no reason to
> expect the installer to be running at all.
>
> As far as I remember, things are actually documented in the installation
> manual, isn't that not enough?
>
> Thanks,
>
> /mjt
--- End Message ---