[libvirt-users] How to debug Ubuntu 8.04 LTS guest crash during install?

Hello: I am using kvm on a CentOS 5.4 server. I am trying to install the TunkeyLinux Core appliance found here: http://www.turnkeylinux.org/core I downloaded the ISO file from the web site. Then, I used this command to intall it: virt-install -n tkl-core -r 512 --vcpus=1 --check-cpu --os-type=linux --os-variant=ubuntuhardy -v --accelerate -c /tmp/turnkey-core-2009.10-hardy-x86.iso -f /var/lib/libvirt/images/tkl-core.img -s 15 -b br0 --vnc noautoconsole When I connect to the VNC console, I get the Turnkey linux options screen. I select Install to hard disk from there and it seems to start the install but crashes during the installer startup. This is repeatable so there has to be a way to debug it. I tried turning on the debug option for virt-install but that did not give me any useful info. Any ideas how to debug this? Thanks, Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel cPanel/WHM preinstalled on a virtual server for only $40/month! No overage charges, 7 day free trial, PayPal, Google Checkout

On Tue, Jan 19, 2010 at 10:54:12PM -0600, Neil Aggarwal wrote:
Hello:
I am using kvm on a CentOS 5.4 server.
I am trying to install the TunkeyLinux Core appliance found here: http://www.turnkeylinux.org/core
I downloaded the ISO file from the web site.
Then, I used this command to intall it: virt-install -n tkl-core -r 512 --vcpus=1 --check-cpu --os-type=linux --os-variant=ubuntuhardy -v --accelerate -c /tmp/turnkey-core-2009.10-hardy-x86.iso -f /var/lib/libvirt/images/tkl-core.img -s 15 -b br0 --vnc noautoconsole
When I connect to the VNC console, I get the Turnkey linux options screen. I select Install to hard disk from there and it seems to start the install but crashes during the installer startup.
This is repeatable so there has to be a way to debug it.
I tried turning on the debug option for virt-install but that did not give me any useful info.
virt-install debug options only relate to host side debugging. From your description it sounds like the crashes is guest side, so you'd likely need to set guest kenrel debug options - eg make it log to the serial console at boot time so you see guest kernel messages Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

Daniel:
I tried turning on the debug option for virt-install but that did not give me any useful info.
virt-install debug options only relate to host side debugging. From your description it sounds like the crashes is guest side, so you'd likely need to set guest kenrel debug options - eg make it log to the serial console at boot time so you see guest kernel messages
Thank you for getting back to me. I have been trying to figure out how set the guest to log messages to the serial console. I tried this command: virt-install -n v1092 -r 512 --vcpus=1 --check-cpu --os-type=linux --os-variant=ubuntuhardy -v --accelerate -c /tmp/turnkey-lamp-2009.10-hardy-x86.iso -f /var/lib/libvirt/images/v1092.img -s 15 -b br0 --nographics -x "console ttyS0" When I do that, I get this output: Starting install... Creating domain... Connected to domain v1092 Escape character is ^] And then it just sits there doing nothing. My guess is the host is connected to a serial port, but the guest does not know to set its console to that port. Any suggestions? Thanks, Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net/cpanel cPanel/WHM preinstalled on a virtual server for only $40/month! No overage charges, 7 day free trial, PayPal, Google Checkout
participants (2)
-
Daniel P. Berrange
-
Neil Aggarwal