the sco unix guest can't boot with hd

Bug #334274 reported by feiy
2
Affects Status Importance Assigned to Milestone
kvm (Ubuntu)
Expired
Low
Unassigned
libvirt (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: kvm

i had maked a sco unix 5.05 guest system with kvm,but the guest system can't boot with hd boot set:
--------------libvirt xml config---
<boot dev='hd'/>
--------------libvirt xml config---
but if u set
--------------libvirt xml config---
<boot dev='cdrom'/>
--------------libvirt xml config---
and mount a iso with the cdrom device:
--------------libvirt xml config---
<disk type='file' device='cdrom'>
      <source file="some.iso"/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
--------------libvirt xml config---
and when the vm start,press F12 to choose the HD,the sco unix system can boot ok!

but,if u do not mout a iso img in the cdrom device:
--------------libvirt xml config---
<disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
--------------libvirt xml config---
it can't boot by F12 choose.

and:
--------------libvirt xml config---
<boot dev='cdrom'/>
<boot dev='hd'/>
--------------libvirt xml config---
can't boot too!

the host system info:

uname -a:
feiy@feiy-toy:~$ uname -a
Linux feiy-toy 2.6.28-8-generic #25-Ubuntu SMP Tue Feb 24 01:50:03 UTC 2009 x86_64 GNU/Linux
feiy@feiy-toy:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu jaunty (development branch)"
kvm version:
Version: 1:84+dfsg-0ubuntu3
libvirt version:
0.6.0-1ubuntu2
the vm config
<domain type='kvm'>
  <name>scoUnix</name>
  <uuid>73832cf2-1636-46e1-0c49-e0b2277de94e</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/var/lib/libvirt/images/scoUnix.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <mac address='54:52:00:0b:6c:4f'/>
      <source network='default'/>
      <model type='pcnet'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    </serial>
    <console type='pty' tty='/dev/pts/3'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
  </devices>
</domain>

Changed in kvm:
importance: Undecided → Low
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hello, thanks for the report.

When you encounter this problem, can you please tell me what your kvm command line is? Please paste the output of:
 ps -ef | grep kvm

As it is described here, this looks like a libvirt problem. I'm going to mark this as affecting libvirt, in case one of those developers have any ideas.

:-Dustin

Changed in kvm (Ubuntu):
status: New → Incomplete
Revision history for this message
feiy (eshangrao) wrote : Re: [Bug 334274] Re: the sco unix guest can't boot with hd

the ps -ef|grep kvm output:

/usr/bin/kvm -S -M pc -m 512 -smp 1 -name aibs -uuid
64d74dff-4835-da4a-cc6d-0350614bc2f6 -monitor pty -pidfile
/var/run/libvirt/qemu//aibs.pid -localtime -boot d -drive
file=/srv/aibs.img,if=ide,index=0 -drive
file=/home/feiy/os/unix.iso,if=ide,media=cdrom,index=2 -net
nic,macaddr=54:52:00:73:81:a4,vlan=0,model=pcnet -net
tap,fd=22,script=,vlan=0,ifname=vnet5 -serial pty -parallel none -usb -vnc
10.83.224.10:2 -k en-us

闲云孤鹤 - 清冷香中抱膝吟

On Tue, May 5, 2009 at 6:10 AM, Dustin Kirkland
<email address hidden>wrote:

> Hello, thanks for the report.
>
> When you encounter this problem, can you please tell me what your kvm
> command line is? Please paste the output of:
> ps -ef | grep kvm
>
> As it is described here, this looks like a libvirt problem. I'm going
> to mark this as affecting libvirt, in case one of those developers have
> any ideas.
>
> :-Dustin
>
> ** Changed in: kvm (Ubuntu)
> Status: New => Incomplete
>
> ** Also affects: libvirt (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> the sco unix guest can't boot with hd
> https://bugs.launchpad.net/bugs/334274
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 334274] Re: the sco unix guest can't boot with hd

On Mon, May 04, 2009 at 10:10:04PM -0000, Dustin Kirkland wrote:
> As it is described here, this looks like a libvirt problem.

How do you figure that?

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 334274] Re: the sco unix guest can't boot with hd

On Tue, May 5, 2009 at 1:57 AM, Soren Hansen <email address hidden> wrote:
> On Mon, May 04, 2009 at 10:10:04PM -0000, Dustin Kirkland wrote:
>> As it is described here, this looks like a libvirt problem.
>
> How do you figure that?

Because the initial description consisted entirely of libvirt xml, and
no specific invocation of kvm itself.

The reporter has provided this, so I can now try to debug from the kvm angle.

:-Dustin

Revision history for this message
Soren Hansen (soren) wrote :

On Tue, May 05, 2009 at 02:27:03PM -0000, Dustin Kirkland wrote:
> On Tue, May 5, 2009 at 1:57 AM, Soren Hansen <email address hidden> wrote:
> > On Mon, May 04, 2009 at 10:10:04PM -0000, Dustin Kirkland wrote:
> >> As it is described here, this looks like a libvirt problem.
> > How do you figure that?
> Because the initial description consisted entirely of libvirt xml, and
> no specific invocation of kvm itself.

I don't see how that's relevant. I don't see *anything* in this bug
report that suggests it's a libvirt problem. Lack of information about
the specific kvm command line doesn't mean that it's not a kvm problem.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug report.

Regards
chuck

Changed in libvirt (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hi, can you reproduce this in Lucid?

Also, can you try running your kvm command line with either -boot c or -boot d, depending on if you want to boot from the hard drive or the CDROM?

Changed in libvirt (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kvm (Ubuntu) because there has been no activity for 60 days.]

Changed in kvm (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.]

Changed in libvirt (Ubuntu):
status: Incomplete → Expired
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.