Project

General

Profile

Bug #33186

Fix installation using serial console

Added by Joe Maloney about 1 year ago. Updated 12 months ago.

Status:
Done
Priority:
No priority
Assignee:
Ryan Moeller
Category:
OS
Target version:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

The specific build used for testing can be found here:

https://builds.ixsystems.com/jenkins/view/QA%20Tests/view/All/job/FreeNAS%20-%20Master%20-%20Incremental%20Build/3055/artifact/artifacts/iso/FreeNAS-11.2-MASTER-201805070904-0b8821f77-NOGRUB.iso

For testing the vm-template being used:

uefi="yes"
cpu=1
memory=8G
network0_type="virtio-net"
network0_switch="ixautomation"
disk0_type="virtio-blk"
disk0_name="disk0.img"
disk0_size="20G"
disk1_type="virtio-blk"
disk1_name="disk1.img"
disk1_size="50G"
disk2_type="virtio-blk"
disk2_name="disk2.img"
disk2_size="50G"

I also tested with graphics="YES", and I did confirm booting does in fact work with bhyve. The only issue is that serial output with nmdm console is no longer working.

boot_screen.jpg (131 KB) boot_screen.jpg Bonnie Follweiler, 07/17/2018 09:46 AM
console.jpg (91.6 KB) console.jpg Bonnie Follweiler, 07/17/2018 09:57 AM
21680
21690

Related issues

Related to FreeNAS - Bug #35500: Unable to install using a USB in the QA Mini: stalls on "Trying to mount root from ufs:/dev/md0.uzip [rw]Closed
Related to FreeNAS - Bug #35419: Invalid console when booting install mediaClosed
Copied to FreeNAS - Bug #35467: More serial console fixes for installerClosed

Associated revisions

Revision 57c3a270 (diff)
Added by Alexander Motin about 1 year ago

Revert "Light up as many consoles as we can."

This change cause more harm then good. Without setting boot_serial it
makes unpredictable which console become primary, and on which installer
menu will appear. We probably need some loader menu or other solution.

Ticket: #33186
Ticket: #35500

This reverts commit 3b05806bac773630f9f0a322263d8e3ab3c130a0.

(cherry picked from commit 2076c146a7cb15932686080b68df96349ae23d8a)

Revision 5ee9e91f (diff)
Added by Ryan Moeller about 1 year ago

Add loader menu item to force serial console

Selecting the new menu item sets the following loader variables:
```
comconsole_speed="115200"
console="comconsole,vidconsole"
boot_multicons="YES"
boot_serial="YES"
```
Then the system proceeds to boot.

Ticket: #33186

Revision 8da26d1e (diff)
Added by Ryan Moeller about 1 year ago

Add loader menu item to force serial console

Selecting the new menu item sets the following loader variables:
```
comconsole_speed="115200"
console="comconsole,vidconsole"
boot_multicons="YES"
boot_serial="YES"
```
Then the system proceeds to boot.

Ticket: #33186

Revision 02fbb784 (diff)
Added by Ryan Moeller 2 months ago

Add loader menu item to force serial console

Selecting the new menu item sets the following loader variables:
```
comconsole_speed="115200"
console="comconsole,vidconsole"
boot_multicons="YES"
boot_serial="YES"
```
Then the system proceeds to boot.

Ticket: #33186
(cherry picked from commit 5ee9e91fda7820c8d6bcf0d1d1b3934ddd2abe17)

History

#1 Updated by Joe Maloney about 1 year ago

  • Target version changed from Backlog to 11.2-BETA1

#3 Updated by Benno Rice about 1 year ago

  • Status changed from Unscreened to Ready for Testing

#4 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Serial ouput not working with NOGRUB.iso to Fix serial console detection in installer
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#5 Updated by Dru Lavigne about 1 year ago

  • Copied to Bug #35467: More serial console fixes for installer added

#6 Updated by Joe Maloney about 1 year ago

  • Status changed from Ready for Testing to Passed Testing

#7 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done

#8 Updated by Dru Lavigne about 1 year ago

  • Needs QA changed from Yes to No

#9 Updated by Dru Lavigne about 1 year ago

  • Status changed from Done to Failed Testing
  • Assignee changed from Benno Rice to Alexander Motin
  • Needs QA changed from No to Yes
  • Needs Merging changed from No to Yes

Original fix reverted. Sasha is working on another PR.

#10 Updated by Alexander Motin about 1 year ago

  • Status changed from Failed Testing to Screened
  • Target version changed from 11.2-BETA1 to 11.2-RC2
  • Severity changed from New to Medium

#11 Updated by Alexander Motin about 1 year ago

  • Related to Bug #35500: Unable to install using a USB in the QA Mini: stalls on "Trying to mount root from ufs:/dev/md0.uzip [rw] added

#12 Updated by Alexander Motin about 1 year ago

  • Related to Bug #35419: Invalid console when booting install media added

#13 Updated by Alexander Motin about 1 year ago

  • Assignee changed from Alexander Motin to Ryan Moeller

#14 Updated by Ryan Moeller about 1 year ago

  • Status changed from Screened to In Progress

#15 Updated by Ryan Moeller about 1 year ago

  • Subject changed from Fix serial console detection in installer to Add loader menu item to force serial console
  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from No to Yes
  • Needs Merging changed from Yes to No

#16 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.2-RC2 to 11.2-BETA2

#17 Updated by Dru Lavigne about 1 year ago

  • Status changed from Ready for Testing to In Progress
  • Needs Merging changed from No to Yes

#18 Updated by Ryan Moeller about 1 year ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#19 Updated by Bonnie Follweiler 12 months ago

21680
21690

In FreeNAS-11.2-MASTER-201807171249(Build Date: Jul 17, 2018 15:52) I, paused the loader to give me time to press the #2 in the Boot Loading Options

#20 Updated by Dru Lavigne 12 months ago

  • Subject changed from Add loader menu item to force serial console to Fix installation using serial console
  • Status changed from Passed Testing to Done
  • Needs Doc changed from Yes to No

Also available in: Atom PDF