All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sledge Sulaweyo <sledge.sulaweyo@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 823733] Re: Soloaris can't be poweroff
Date: Wed, 09 Aug 2017 09:42:29 -0000	[thread overview]
Message-ID: <150227174914.10750.18260288162840326447.malone@wampee.canonical.com> (raw)
In-Reply-To: 20110810053253.11269.76752.malonedeb@gac.canonical.com

I just ran into the same issue on Arch with qemu 2.9.0 and as well Ubuntu qemu 2.8.something. Solaris 11 on powerdown shuts down to the point where it prompts you that it's now safe to power off the VM, works fine in vmware or virtualbox.
In a packer build at this point you just fail as the VM did not power down in time.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/823733

Title:
  Soloaris can't be poweroff

Status in QEMU:
  Incomplete

Bug description:
  Thank you forgive my poor English.

  It seems KVM can’t poweroff solairs 10 or sloalrs 11 VM.
  I have created solaris 10 and 11 as usual. Everything in VM is running OK, but finally I use shell command ‘poweroff’ or ‘init 5’, the solaris VM (both 10 & 11) system could’t be poweroff but with promoting me the message: perss any key to reboot …..  ,I pressed any key in vnc client, solaris VM reboot immediately. Endless reboot loop above.

  the solaris 10 & 11 from oracle iso file name :
  sol-10-u9-ga-x86-dvd.iso
  sol-11-exp-201011-text-x86.iso

  the solaris 10 & 11 from oracle iso file name :
  sol-10-u9-ga-x86-dvd.iso
  sol-11-exp-201011-text-x86.iso

  1. On my real physical machine,the solaris can be poweroff
  2. On vmware ,the solaris can be poweroff
  3. On my real physical machine,I have try to disbale the ACPI opiton in BOIS, then the solaris can't be poweroff,Like the problem I have described above
  so ,I doubt the KVM has a little problem in ACPI 

  I have try the suggestion as follows, but I can’t solve the problem.
  7.2 Solaris reboot all the time on grub menu
  •	Run through the installer as usual 
  •	On completion and reboot, the VM will perpetually reboot. "Stop" the VM. 
  •	Start it up again, and immediately open a vnc console and select the Safe Boot from the options screen 
  •	When prompted if you want to try and recover the boot block, say yes 
  •	You should now have a Bourne terminal with your existing filesystem mounted on /a 
  •	Run /a/usr/bin/bash (my preferred shell) 
  •	export TERM=xterm 
  •	vi /a/boot/grub/menu.1st (editing the bootloader on your mounted filesystem), to add "kernel/unix" to the kernel options for the non-safe-mode boot. Ex : 
  Config File : /a/boot/grub/menu.lst 
  kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS kernel/unix

  According to KVM requirements, I collected the following information:
  CPU model name
  model name      : Intel(R) Xeon(R) CPU           X3450  @ 2.67GHz

  kvm -version
  QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 Fabrice Bellard

  Host kernel version
  Ubuntu 10.04.1 LTS   2.6.32-25-server 

  What host kernel arch you are using (i386 or x86_64)
  X86_64

  Guest OS
  Solaris 10 and Solaris 11,both can not shutdown

  The qemu command line you are using to start the guest

  First, I used the command line as follows:
  kvm -m 1024 -drive file=solaris10.img,cache=writeback -net nic -net user -nographic -vnc :1
  then I try to use -no-kvm-irqchip or -no-kvm ,but the problem also appears!

  Secondly, have created and run solaris 10&11 by using Virsh, still solaris can't be poweroff, the XML file content is :
  <domain type='kvm'>
      <name>solairs</name>
      <uuid>85badf15-244d-4719-a2da-8c3de064137d</uuid>
      <memory>1677721</memory>
      <currentMemory>1677721</currentMemory>
      <vcpu>1</vcpu>
      <os>
      <type arch='i686' machine='pc-0.12'>hvm</type>
        <boot dev='hd'/>
     </os>
     <features>
      <acpi/>
      <apic/>
     </features>
    <clock offset='utc'/>
     <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
     <on_crash>destroy</on_crash>
     <devices>
       <emulator>/usr/bin/kvm</emulator>
       <disk type='file' device='disk'>
        <driver name='qemu' type='qcow2' cache='writeback'/>
         <source file='/opt/GuestOS/solaris10.img'/>
         <target dev='hda' bus='ide'/>
       </disk>
      <interface type='bridge'>
        <mac address='00:0c:29:d0:36:c3'/>
        <source bridge='br1'/>
        <target dev='vnet0'/>
       </interface>
       <input type='mouse' bus='ps2'/>
       <graphics type='vnc' port='5901' autoport='no' keymap='en-us'/>
      <video>
        <model type='vga' vram='65536' heads='1'/>
      </video>
    </devices>
    <seclabel type='dynamic' model='apparmor'>
      <label>libvirt-f36f5289-692e-6f1c-fe71-c6ed19453e2f</label>
      <imagelabel>libvirt-f36f5289-692e-6f1c-fe71-c6ed19453e2f</imagelabel>
    </seclabel>
   </domain>

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/823733/+subscriptions

  parent reply	other threads:[~2017-08-09  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10  5:32 [Qemu-devel] [Bug 823733] [NEW] Soloaris can't be poweroff showrun
2017-06-14 20:28 ` [Qemu-devel] [Bug 823733] " Thomas Huth
2017-08-09  9:42 ` Sledge Sulaweyo [this message]
2017-08-09 14:29 ` Thomas Huth
2017-11-15 19:26 ` Michal Nowak
2020-02-03 13:56 ` Borut Podlipnik
2020-02-03 15:09 ` [Bug 823733] Re: Solaris can't be powered off with ACPI shutdown/poweroff Daniel Berrange
2021-05-01  8:36 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=150227174914.10750.18260288162840326447.malone@wampee.canonical.com \
    --to=sledge.sulaweyo@gmail.com \
    --cc=823733@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.