← Back to team overview

touch-packages team mailing list archive

[Bug 1355653] Re: Can't find /usr/lib/systemd/system/serial-getty@hvc0.service file

 

** Package changed: ubuntu => systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1355653

Title:
  Can't find /usr/lib/systemd/system/serial-getty@hvc0.service file

Status in “systemd” package in Ubuntu:
  New

Bug description:
  == Comment: #6 - Onkar N. Mahajan <onmahaja@xxxxxxxxxx> - 2014-08-12 02:49:19 ==
  We are trying to run automated tests on Ubuntu guest.

                      OS: GNU/Linux
                     OS Version: Ubuntu Utopic Unicorn (development branch) \n \l
                 Kernel Version: 3.13.0-24-generic
                    HTX Version: htxubuntu-296
                      Host Name: wyp02
              Machine Serial No: Not Found
             Machine Type/Model: IBM pSeries (emulated by qemu)
                System FW Level: Not Found

  
  While an internal test script tries to auto login for running the tests on the
  guest, we are getting the following error :

  > Setting up HTX autostart
  > /usr/lpp/htx/etc/scripts/bootme: line 59:
  > /usr/lib/systemd/system/serial-getty@hvc0.service: No such file or directory
  > ---- Unable to find this file for auto-login 

  so we added the below lines to /etc/init/hvc0.conf :
  'exec /sbin/getty --autologin root -8 38400 tty1'

  Now, the reboot is stuck, with below boot logs :

  # virsh console ubuntu --force
  Connected to domain ubuntu
  Escape character is ^]

  wait-for-state stop/waiting
   * Stopping rsync daemon rsync                                           [ OK ]
   * Asking all remaining processes to terminate...                        [ OK ]
   * All processes ended within 1 seconds...                               [ OK ]
   * Deactivating swap...                                                  [ OK ]
   * Will now restart
  [ 3579.261038] reboot: Restarting system

  SLOF **********************************************************************
  QEMU Starting
   Build Date = May 16 2014 15:10:20
   FW Version = mockbuild@ release 20140514
   Press "s" to enter Open Firmware.

  Populating /vdevice methods
  Populating /vdevice/l-lan@1000
  Populating /vdevice/v-scsi@3000
         SCSI: Looking for devices
            8001000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      1.6."
            8000000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8100000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8200000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8300000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8400000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8500000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8600000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
            8700000000000000 DISK     : "QEMU     QEMU HARDDISK    1.6."
  Populating /vdevice/vty@30000000
  Populating /vdevice/nvram@71000000
  Populating /pci@800000020000000
   Adapters on 0800000020000000
                       00 0800 (D) : 106b 003f    serial bus [ usb-ohci ]
  Scanning USB
    OHCI: initializing
  Using default console: /vdevice/vty@30000000

    Welcome to Open Firmware

    Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
    This program and the accompanying materials are made available
    under the terms of the BSD License available at
    http://www.opensource.org/licenses/bsd-license.php

  Trying to load:  from: disk ...   Successfully loaded
  * finddevice /memory grub workaround *
  error: no suitable video mode found.
  error: failure writing sector 0x50790a0 to `ieee1275/disk'.
  * finddevice /memory grub workaround *
  * finddevice /memory grub workaround *

  Press any key to continue...
  OF stdout device is: /vdevice/vty@30000000
  Preparing to boot Linux version 3.13.0-24-generic (buildd@denneed02) (gcc version 4.8.2 (Ubuntu 4.8.2-19u               buntu1) ) #47-Ubuntu SMP Fri May 2 23:29:18 UTC 2014 (Ubuntu 3.13.0-24.47-generic 3.13.9)
  Detected machine type: 0000000000000101
  Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
  Calling ibm,client-architecture-support... done
  command line: BOOT_IMAGE=/boot/vmlinux-3.13.0-24-generic root=UUID=581f7086-a132-458d-80b9-4b1df0888db5 r               o splash quiet vt.handoff=7
  memory layout at init:
    memory_limit : 0000000000000000 (16 MB aligned)
    alloc_bottom : 0000000004900000
    alloc_top    : 0000000030000000
    alloc_top_hi : 0000000f42400000
    rmo_top      : 0000000030000000
    ram_top      : 0000000f42400000
  instantiating rtas at 0x000000002fff0000... done
  prom_hold_cpus: skipped
  copying OF device tree...
  Building dt strings...
  Building dt structure...
  Device tree strings 0x0000000004910000 -> 0x0000000004910925
  Device tree struct  0x0000000004920000 -> 0x0000000004930000
  Calling quiesce...
  returning from prom_init
   -> smp_release_cpus()
  spinning_secondaries = 6
   <- smp_release_cpus()
   <- setup_system()
  CF000012
  CF000015ch
  Linux ppc64
  #47-Ubuntu SMP FSkipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
   * Starting AppArmor profiles                                            [ OK ]
   * Restoring resolver state...                                           [ OK ]
   * Starting AppArmor profiles                                                   Skipping profile in /etc/               apparmor.d/disable: usr.sbin.rsyslogd
                                                                           [ OK ]
   * Restoring resolver state...                                           [ OK ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1355653/+subscriptions