hvc/hvsi consoles not handled

Bug #174689 reported by Colin Watson
6
Affects Status Importance Assigned to Milestone
finish-install (Debian)
Fix Released
Unknown
finish-install (Ubuntu)
Fix Released
Undecided
Colin Watson
Gutsy
Fix Released
Undecided
Colin Watson

Bug Description

Binary package hint: finish-install

Hypervisor virtual consoles (hvc/hvsi) aren't handled correctly by the installer, because debian-installer's stdin (used to find the type of console in use) is just /dev/console in this case. The result of this is that installs complete but effectively fail to boot because no getty is started on the proper console.

This is fixed in finish-install 2.14 in Debian and hardy. A patch suitable for gutsy-proposed is in https://bugs.launchpad.net/ubuntu/+source/finish-install/+bug/174689/comments/5.

TEST CASE:
This is hardware-specific. To reproduce, install on any system with a suitable console. These are largely only available on certain specialised powerpc systems.

The proposed changes only take effect on suitable hardware, and come after the normal console setup path so cannot break it. I think there is very little potential for regressions except on hardware with this type of console (which is already broken).

Revision history for this message
Colin Watson (cjwatson) wrote :
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

I understand that Hardy has most of the patch already, but is missing upstart integration, so I keep the hardy task open.

Changed in finish-install:
assignee: nobody → kamion
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Only affects the installer, thus zero regression potential for updates. Please go ahead and upload.

Changed in finish-install:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

After some more testing, here's the final patch I'm going to upload. I fixed a path mismatch (/options/chosen/... vs. /chosen/...; the latter is correct) and added support for finding /spider/serial in linux,stdout-path as happens on this particular hardware. All these changes are committed upstream and I'll be uploading 2.14 shortly.

Changed in finish-install:
assignee: nobody → kamion
status: Confirmed → In Progress
Changed in finish-install:
status: Unknown → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

finish-install (2.14) unstable; urgency=low

  * Add upstart support for hvc/hvsi consoles.
  * Test for /proc/device-tree/chosen/linux,stdout-path rather than the
    non-existent /proc/device-tree/options/chosen/linux,stdout-path.
  * Map /spider/serial to hvc0 (somewhat experimentally, but it seems to
    work here ...).
  [...]

 -- Colin Watson <email address hidden> Fri, 07 Dec 2007 23:51:11 +0000

[...]

finish-install (2.12) unstable; urgency=low

  * 90console: add support for setting up a virtualized console via onboard
    service processor (hvsi/hvc). Closes: #420820.
    Many thanks to Rolf Brudeseth <email address hidden> for providing the needed
    info, for testing and for his patience.

 -- Frans Pop <email address hidden> Sun, 08 Jul 2007 02:25:21 +0200

description: updated
Changed in finish-install:
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

 finish-install (2.11ubuntu1) gutsy-proposed; urgency=low
 .
   * Backport from trunk (Frans Pop and myself; LP: #174689):
     - 90console: add support for setting up a virtualized console via
       onboard service processor (hvsi/hvc). Closes: #420820.
       Many thanks to Rolf Brudeseth <email address hidden> for providing the
       needed info, for testing and for his patience.
     - Add upstart support for hvc/hvsi consoles.
     - Map /spider/serial to hvc0.

Please test. I'm not going to subscribe sru-verification since they don't have the necessary hardware.

Changed in finish-install:
status: In Progress → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

I have tested this on a system with an hvc console and confirmed that it generates the proper /etc/event.d/hvc0 file and boots correctly after installation. I'm going to go ahead and move this into gutsy-updates now, since 10 days have passed.

Revision history for this message
Colin Watson (cjwatson) wrote :

Copied to gutsy-updates.

Changed in finish-install:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.