Regression: Error - Ubuntu-server 12.04 installation as VM on xen-server 6 (use of local iso file)

Bug #982430 reported by Mark Schneider
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Expired
High
Unassigned

Bug Description

It is *not* possible anymore to use a local ubuntu-server-12.04.iso file for off-line installation of VM on XCP 1.5 (xen-server 6).
The created VM boots first correctly from the iso file and allows keyboard settings etc *but* somewhere later it breakes with the following error message:
# ---
Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can instert it and try again.

Retry mounting the CD-ROM?
# ---

This ubuntu-server 12.04 image can be installed on bare metal (HP DL385g7) without any troubles.
Also ubuntu sever 11.10 iso image can be successfully installed as VM from a local iso file on XCP 1.5.
I have repeated the test few times and on two different (fresh insalled) XCP hosts.

Both iso images are saved localy on the XCP host in the following directories:
/var/opt/xen/iso_import/ubuntu11.10/
/var/opt/xen/iso_import/ubuntu12.04/

What has changed in 12.04 compare to 11.10 due to the mounting of CD-ROM during the installation? (the CD-ROM label has additional "LTS" text for 12.04). It is curious as the image boots in firts phase and is "inserted" into the virtual CD drive of XCP 1.5.

regards, Mark

Revision history for this message
Mark Schneider (gp-ms-ci) wrote :
Revision history for this message
Mark Schneider (gp-ms-ci) wrote :
description: updated
Revision history for this message
Mark Schneider (gp-ms-ci) wrote :

wheezy iso files seems to have similar problem however they report missing cd-rom dirver instead.

Tested on the same XP 1.5 host (xen-server 6).

description: updated
Revision history for this message
Mark Schneider (gp-ms-ci) wrote :

Syslog error entries from the installation of precise and wheezy (HVM / XCP 1.5)

Revision history for this message
Mark Schneider (gp-ms-ci) wrote :
Revision history for this message
Mark Schneider (gp-ms-ci) wrote :
Revision history for this message
Mark Schneider (gp-ms-ci) wrote :
Changed in debian-installer (Ubuntu):
importance: Undecided → High
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

I don't see any changes to this part of the installer *at all* - not just no relevant changes, cdrom-detect.postinst and the Linux variant of list-devices literally haven't changed at all. Maybe a udev or kernel change?

list-devices is probably the easiest place to start debugging; I expect you'll find that on 11.10 the virtual CD is showing up in /sys/block/ and has an ID_CDROM= entry in its 'udevadm info -q env' output, while on precise either it's missing from /sys/block/ (perhaps kernel bug, perhaps some necessary module not being properly delivered to the installer) or it doesn't have an ID_CDROM= entry (probably a udev bug). It'd be helpful to narrow this down.

Changed in debian-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
SysAdm (centralsource) wrote :

Same issue using Citrix XenCenter version 6.0.2 (build 53158) as of Apr 27, 2012.

CD install will start, asks about language and keyboard layout, then stops with the Detect and mount CD-ROM error message!!!

Any update on this?

Revision history for this message
Christian Letti (gcserv) wrote :

Hello...

Same over here, the installation can't go further.
I just get stuck at the CD-Rom drive detection.

I've been making some diggings and it's affecting lots of people.

Revision history for this message
Brent (cpf-ut) wrote :

Same issue using XenServer 6.0 build 50762p

Downloaded and tried Ubuntu 12.04 server x64 today Apr 27, 2012.

Also tried Desktop Edition x32: boots on the purple screen then goes to a BusyBox shell.

Revision history for this message
Brent (cpf-ut) wrote :

Using the server x64 ISO

On XENServer 5.5.0 build 25727p:
The virtual machine crashes in the BIOS screen.
VM powers off.

On XEN Server 5.6.0 FP1 build 39265p:
Installer made it to the `Waiting for link-local address; please wait...` Screen.
Froze at 16%.
I cancelled and continued with the install
Rest of the install worked without issue.
Virtual server seems to be working without issue. Was able to apt-get update and apt-get upgrade.
Installed OpenSSH Server and LAMP.

Revision history for this message
SysAdm (centralsource) wrote :

Has anybody figured out a way to install 12.04 64 server version as Xen VM?? I even tried mounting a CIFS share using just the .iso, still bombs with the "Detect and mount CD-ROM" error message?

I even tried upgrading from 11.04 and 11.10 to 12.04 on a virtual machine... upgrade bombs with a hardware checksum error, reboots box and no longer sees the installation files...

Anybody got 12.04 running as a Citrix VM... maybe you can export as a .xva for all of us to try out!!!!

Michael

Revision history for this message
Brent (cpf-ut) wrote :

I just read this thread and tested it on XenSever 6.0 build 50762p: http://ubuntuforums.org/showthread.php?p=11897762

Everything just installed fine.

Seems like NOACPI needs to be turned on.

Revision history for this message
SysAdm (centralsource) wrote :

Getting closer...

Thanks to Brent's reply, I used the NOACPI option from the Boot menu (hit F6 and select it), and was finally able to get past the previous no CD-Rom detection error, but now get this error:

Debootstrap warning
WARNING: Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/debonf_1.5.42ubuntu1_all.deb

check /var/log/syslog or see virtual console 4 for the details.

Michael

Revision history for this message
SysAdm (centralsource) wrote :

Got it!! --

Used this link and all is well... finally was able to install 12.04 64bit in Xen Coud 1.5 beta...

http://blog.403labs.com/post/22326590753/paravirtulization-with-citrix-xenserver-6-0-and-ubuntu

Consider me happy now... case closed... thanks...

Revision history for this message
Mark Schneider (gp-ms-ci) wrote : Re: [Bug 982430] Re: Regression: Error - Ubuntu-server 12.04 installation as VM on xen-server 6 (use of local iso file)

Am 16.05.2012 19:11, schrieb SysAdm:
> Got it!! --
>
> Used this link and all is well... finally was able to install 12.04
> 64bit in Xen Coud 1.5 beta...
>
> http://blog.403labs.com/post/22326590753/paravirtulization-with-citrix-
> xenserver-6-0-and-ubuntu
>
> Consider me happy now... case closed... thanks...
>
Thank you. It is however a workaround that doesn't solve the original
issue when trying to install from a local .iso image (using the HVM
template).

Further it is not possible to run an off-line installation (without
internet access)
# ---
On the screen that asks for the installation media, choose “Install from
URL:” and enter

|http://archive.ubuntu.com/ubuntu/|

# ---

regards, Mark

--
<email address hidden>

http://rsync.it-infrastrukturen.org

Revision history for this message
SysAdm (centralsource) wrote :

You are absolutely correct and further more... it still bombs with the second error.... I still can not get a running 12.04 in Xen Cloud 1.5...

> Date: Wed, 16 May 2012 18:04:30 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 982430] Re: Regression: Error - Ubuntu-server 12.04 installation as VM on xen-server 6 (use of local iso file)
>
> Am 16.05.2012 19:11, schrieb SysAdm:
> > Got it!! --
> >
> > Used this link and all is well... finally was able to install 12.04
> > 64bit in Xen Coud 1.5 beta...
> >
> > http://blog.403labs.com/post/22326590753/paravirtulization-with-citrix-
> > xenserver-6-0-and-ubuntu
> >
> > Consider me happy now... case closed... thanks...
> >
> Thank you. It is however a workaround that doesn't solve the original
> issue when trying to install from a local .iso image (using the HVM
> template).
>
> Further it is not possible to run an off-line installation (without
> internet access)
> # ---
> On the screen that asks for the installation media, choose “Install from
> URL:” and enter
>
> |http://archive.ubuntu.com/ubuntu/|
>
> # ---
>
> regards, Mark
>
> --
> <email address hidden>
>
> http://rsync.it-infrastrukturen.org
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/982430
>
> Title:
> Regression: Error - Ubuntu-server 12.04 installation as VM on xen-
> server 6 (use of local iso file)
>
> Status in “debian-installer” package in Ubuntu:
> Incomplete
>
> Bug description:
> It is *not* possible anymore to use a local ubuntu-server-12.04.iso file for off-line installation of VM on XCP 1.5 (xen-server 6).
> The created VM boots first correctly from the iso file and allows keyboard settings etc *but* somewhere later it breakes with the following error message:
> # ---
> Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can instert it and try again.
>
> Retry mounting the CD-ROM?
> # ---
>
> This ubuntu-server 12.04 image can be installed on bare metal (HP DL385g7) without any troubles.
> Also ubuntu sever 11.10 iso image can be successfully installed as VM from a local iso file on XCP 1.5.
> I have repeated the test few times and on two different (fresh insalled) XCP hosts.
>
> Both iso images are saved localy on the XCP host in the following directories:
> /var/opt/xen/iso_import/ubuntu11.10/
> /var/opt/xen/iso_import/ubuntu12.04/
>
> What has changed in 12.04 compare to 11.10 due to the mounting of CD-
> ROM during the installation? (the CD-ROM label has additional "LTS"
> text for 12.04). It is curious as the image boots in firts phase and
> is "inserted" into the virtual CD drive of XCP 1.5.
>
> regards, Mark
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/982430/+subscriptions

Revision history for this message
Tom Worley (tom-worley) wrote :

This may be an issue with AMD cpus, I've seen a similar problem with eglibc: bug 956051
I can confirm that using the Ubuntu 12.04 LTS 64bit minimal CD to do a net install, it gets past the initial cdrom problem, but then comes up with the dpkg error:
Warning: Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/debconf_1.5.42ubuntu1_all.deb

In the log console while the installer is running (ctrl-alt-f4) I see the following (which leads me to believe it's the above bug):

kernel: [ 2051.425647] pycompile[20389] trap invalid opcode ip:7f84167cae11 sp:7fffc8ca98e0 error:0 in libm-2.15.so[7f8416788000+f9000]
deboostrap: Illegal instruction
debootstrap: dpkg: error processing debconf (--install):

Using: XenServer 6.0.201
server: 2xAMD 12 core 6238 cpus

Revision history for this message
Anders Bruun Olsen (abo-dsl.dk) wrote :

We are seeing this problem on servers with Intel Xeon E5520 CPUs, so it is not just an issue with AMD CPUs.

Revision history for this message
Brent (cpf-ut) wrote :

We too are using Intel Xeon Processors

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

You can fix it (installation media fix) when you add

"acpi=off noapic" to the kernel commandline.

It helped us.

Regards,

\sh

Revision history for this message
Anders Bruun Olsen (abo-dsl.dk) wrote :

That is not a fix, that is a workaround. A real fix should be created.

Revision history for this message
matt organ (matt-organ) wrote :

I can confirm the workaround suggested by Stephan Adig (sadig) works for me.
Available in the "F6 - Other Options" area.
"acpi=off "
"noapic"

Revision history for this message
Stephen G (stephengroat) wrote :

I have also tried installing with a NFS mounted ISO and have the same problem. Boots into the installer and then fails to find the ISO media during the install process.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in debian-installer (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