Bug 1765650 - no GUI when "console=" specified on kernel args line
Summary: no GUI when "console=" specified on kernel args line
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 30
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Vladimír Slávik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-25 16:34 UTC by Joel Stienlet
Modified: 2020-03-22 03:09 UTC (History)
9 users (show)

Fixed In Version: anaconda-32.24.3-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-26 10:58:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
output of the console in minicom (61.42 KB, image/png)
2019-10-25 16:34 UTC, Joel Stienlet
no flags Details

Description Joel Stienlet 2019-10-25 16:34:55 UTC
Created attachment 1629287 [details]
output of the console in minicom

Hello,
Description of problem:
After clicking on "install to Hard Drive" no anaconda GUI appears.

Version-Release number of selected component (if applicable):
fedora 30 WORKSTATION live iso

How reproducible:
always (tried 2 times, low statistics here!)

Steps to Reproduce: (test made on an UP-board, using the serial interface from the 10 pin JST connector)

1. boot the dvd, in grub press "e" to edit the first line, change the kernel parameters to remove "quiet" and add a serial console with "console=ttyS0,115200,8,N"
2. ctrl+x to boot
3. wait for fedora to start, after some time the graphical interface appears
4. click on "install to Hard Drive" in the pop-up

Actual results:
-> no GUI from anaconda to start the installation
-> the "top" command shows anaconda has started, and consuming CPU.
-> no message from anaconda on the ttyS0 console (see attached screenshot)

Expected results:
-> start anaconda's GUI after clicking on "install to Hard Drive"

Additional info:
-> when no "console=" parameter is passed, anaconda works as expected.
-> the console had been enabled for something unrelated to the installation process (get early kernel messages for debugging, for example check for failed dvd reads...), so enabling the console should not necessarily mean disabling the GUI in the installer.
-> when the users clicks on "install to Hard Drive", I think that this makes clear that the users wants to proceed with a graphical install, so IMHO this should override any boot "console=" option for anaconda.
-> why is there no message from anaconda on ttyS0 if he knows that I've activated the console?
-> the repetitive "audio port ASOC..." message is spamming the serial output (see screenshot), but that must be a completely unrelated problem.

Comment 2 Vladimír Slávik 2020-02-10 15:00:28 UTC
Hi Joel, I just started looking at this. If you need a workaround now: As far as UI is concerned, appearance of "console" changes only the default mode, which is then overridden by other options. If you explicitly specify "inst.graphical" too, you should get the GUI.

Comment 3 Vladimír Slávik 2020-02-24 16:09:23 UTC
Looks like the fix is indeed to run the installer on Live CD with explicit choice of GUI.

Joel - if you want to test this and don't know how, ask?

Changes are here: https://github.com/rhinstaller/anaconda/pull/2338

Comment 4 Joel Stienlet 2020-02-26 10:58:39 UTC
Hello Vladimir,
I apologize for my late reply, I didn't realize two weeks had passed already!
So I tested this this morning on an XFCE flavor, and your fix works: inst.graphical on the kernel command line makes the installer display the GUI interface.
Thank you!

Comment 5 Vladimír Slávik 2020-02-27 11:02:07 UTC
Joel, thank you!

Meanwhile I merged the fix, which essentially does the same, only elsewhere in the machinery. Hopefully f32 will have this by default.

Comment 6 Fedora Update System 2020-03-17 13:47:02 UTC
FEDORA-2020-84ddf3ee4d has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-84ddf3ee4d

Comment 7 Fedora Update System 2020-03-18 02:38:38 UTC
anaconda-32.24.3-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-84ddf3ee4d

Comment 8 Fedora Update System 2020-03-22 03:09:09 UTC
anaconda-32.24.3-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.