[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-11 Thread Dustin Kirkland
** Changed in: qemu-kvm (Ubuntu) Status: New => Invalid -- Fails to boot from CD after reboot: CDROM boot failure code: 0003 https://bugs.launchpad.net/bugs/348633 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-11 Thread Dustin Kirkland
I'll convert it into a Question, since this stems from a misunderstanding of the behavior of qemu and its -boot option, now explained clearly by Anthony. ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete => New -- Fails to boot from CD after reboot: CDROM boot failure code: 0003 https:/

Re: [Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-11 Thread Matt Zimmerman
On Wed, Nov 11, 2009 at 09:43:20AM -, Soren Hansen wrote: > On Wed, Nov 11, 2009 at 05:58:38AM -, Matt Zimmerman wrote: > > I don't understand why this option should be necessary. Following the > > steps in my original report, I would expect one of two things to > > happen: > > > > * The

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-11 Thread Anthony Liguori
1. kvm-img create hda.img 4G 2. kvm -hda hda.img -cdrom jaunty-desktop-i386.iso -m 512 3. Install Ubuntu onto hda 4. Reboot, following the prompts (press enter to "eject" the CD) 5. System boots into installed OS. It's the use of '-boot d' that is creating problems for you. By default, the order=

Re: [Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-11 Thread Soren Hansen
On Wed, Nov 11, 2009 at 05:58:38AM -, Matt Zimmerman wrote: > I don't understand why this option should be necessary. Following the > steps in my original report, I would expect one of two things to > happen: > > * The CD-ROM boot fails (because the disc is "ejected") and it falls back >

Re: [Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-10 Thread Matt Zimmerman
On Wed, Nov 11, 2009 at 01:46:49AM -, Dustin Kirkland wrote: > Matt, Evan- > > >From the kvm(1) manpage, I think the option you want is: > # boot from CD-ROM first, switch back to default order after reboot > -boot once=d > > Can you give that a try and see if that gives you the behavior

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-11-10 Thread Dustin Kirkland
Matt, Evan- >From the kvm(1) manpage, I think the option you want is: # boot from CD-ROM first, switch back to default order after reboot -boot once=d Can you give that a try and see if that gives you the behavior you expect? I tested here with a real, working disk image, and a live ISO. Us

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-10-22 Thread Scott Moser
I think this is really a simple matter of which type of cdrom is being emulated by kvm. In my experience, there are at least two behaviors of CDroms that have their tray ejected on boot. a.) pull in the tray (eject -t) which would have a cd in it, and then would be available for the bios boot s

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-10-22 Thread Dustin Kirkland
Evan- Can you try adding -boot dc to your kvm command line? This would tell qemu to try boot from the cdrom first, then from the hard drive. :-Dustin -- Fails to boot from CD after reboot: CDROM boot failure code: 0003 https://bugs.launchpad.net/bugs/348633 You received this bug notification b

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-10-22 Thread Anthony Liguori
This is expected behavior. You probably should be using -boot dc. This will cause the VM to boot into the install OS after installation. This is precisely why distributions eject the CD after installation (to prevent booting into the installer again). ** Changed in: qemu Status: New =>

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-10-22 Thread Dustin Kirkland
Evan- What's your kvm command line? :-Dustin ** Changed in: kvm (Ubuntu) Importance: Wishlist => Low ** Package changed: kvm (Ubuntu) => qemu-kvm (Ubuntu) ** Also affects: qemu Importance: Undecided Status: New -- Fails to boot from CD after reboot: CDROM boot failure code: 0003

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-10-22 Thread Evan Dandrea
I think this deserves a higher priority than wishlist. This bit me hard over the past two days in testing Wubi. wubildr (grub2) would hang on reading from the CDROM on first boot, since it had been ejected and left in that state. -- Fails to boot from CD after reboot: CDROM boot failure code: 0

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-26 Thread Dustin Kirkland
Okay, looks to me like we need something like: ioctl (bdrvs->fd, CDROMCLOSETRAY, NULL); in the drive init. I'm still looking at it... :-Dustin ** Changed in: kvm (Ubuntu) Importance: Low => Wishlist ** Changed in: kvm (Ubuntu) Assignee: (unassigned) => Dustin Kirkland (kirkland) --

Re: [Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-26 Thread Matt Zimmerman
On Thu, Mar 26, 2009 at 08:59:55AM -, Thierry Carrez wrote: > I can confirm that behavior, though I'm using virt-manager. > > I create a new virtual machine with "install from CD" option, it will boot > with > kvm -hda hda.img -cdrom jaunty-desktop-i386.iso -m 512 > for a one-time CD boot and

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-26 Thread Thierry Carrez
I can confirm that behavior, though I'm using virt-manager. I create a new virtual machine with "install from CD" option, it will boot with kvm -hda hda.img -cdrom jaunty-desktop-i386.iso -m 512 for a one-time CD boot and then it will default to -boot c on subsequent reboots, somehow hiding the i

Re: [Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-26 Thread Matt Zimmerman
On Thu, Mar 26, 2009 at 05:05:35AM -, Dustin Kirkland wrote: > Ah, I see the issue now. > > I omit "-boot d" in all of my tests. If I add this, I see the behavior > that Matt is reporting. > > I will ask upstream about this, but I suspect this is a matter of "works > as designed." It's hard

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-26 Thread Matt Zimmerman
** Changed in: kvm (Ubuntu) Status: Confirmed => Triaged -- Fails to boot from CD after reboot: CDROM boot failure code: 0003 https://bugs.launchpad.net/bugs/348633 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs m

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-25 Thread Dustin Kirkland
Ah, I see the issue now. I omit "-boot d" in all of my tests. If I add this, I see the behavior that Matt is reporting. I will ask upstream about this, but I suspect this is a matter of "works as designed." I think most cases, people want to boot from the cd once, to do the installation, and th

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-25 Thread Dustin Kirkland
Thanks for the report. I have tried quite a bit to reproduce this bug and I'm unable to, using a setup identical to Matt's. Is there anyone else out there who can reproduce this on the latest Jaunty? I'm stetting the Importance to "low" right now, since the workaround, while annoying, is trivial

[Bug 348633] Re: Fails to boot from CD after reboot: CDROM boot failure code: 0003

2009-03-25 Thread Matt Zimmerman
** Attachment added: "Screenshot-kvm-cd-boot-failure.png" http://launchpadlibrarian.net/24343460/Screenshot-kvm-cd-boot-failure.png ** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/24343462/Dependencies.txt -- Fails to boot from CD after reboot: CDROM boot failure cod