I was able to get kick the Fedora KVM guest by removing the pre and post console kernel options from the system object:
console=tty0 console=ttyS0,115200
I've been using these options per a RHN knowlegebase article which provided instructions for how to enable the use of "virsh console <virt-name>" (https://access.redhat.com/kb/docs/DOC-25454). They worked great with RHEL 5x guests, but Fedora 14 is choking on them. Maybe F14's upstream kernel no longer supports these options? In any case, appears to not be a Cobbler issue.
--Greg Chavez
On Tue, Apr 19, 2011 at 5:49 PM, Greg Chavez greg.chavez@gmail.com wrote:
I have a RHEL 5.6 KVM host on which koan and Cobbler have successfully provisioned RHEL guests. Now I'm trying to kick Fedora14 guests and it halts during PXE boot. Unfortunately, I can't vnc or console in fast enough to catch all the console messages. Here are the last few lines before it pauses:
[ 2.028840] Initializing network drop monitor service [ 2.033362] Freeing unused kernel memory: 944k freed [ 2.038365] Write protecting the kernel read-only data: 10240k [ 2.043519] Freeing unused kernel memory 1576k freed [ 2.049756] Freeing unused kernel memory: 1836 freed [ 2.099890] virtio-pci 0000:00:04.0 PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
It stops there and refuses to budge. I've never seen a failure this early on, after it gets its DCHP information but before it completes initializing the kernel. This is the first time I've tried to kick any server, virtual or physical, for Fedora. I'm assuming that the kickstart file is irrelevant since it never gets to Anaconda.
It feels like there's something wrong with the PXE environment, but I've run out of things to check. /tftpboot files look good, distro tree looks good, bootloaders are where they should be. Any ideas?
Here's my distro, profile, and system:
# cobbler distro report --name=f14-x86_64 Name : f14-x86_64 Architecture : x86_64 Breed : redhat Comment : fedora14.1 Initrd : /var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/initrd.img Kernel : /var/www/cobbler/ks_mirror/f14-x86_64/images/pxeboot/vmlinuz Kernel Options : {} Kernel Options (Post Install) : {} Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/f14-x86_64%27%7D Management Classes : [] OS Version : fedora14 Owners : ['cobbler'] Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Template Files : {}
# cobbler profile report --name=f14-x86_64 Name : f14-x86_64 Comment : DHCP Tag : default Distribution : f14-x86_64 Enable PXE Menu? : True Kernel Options : {} Kernel Options (Post Install) : {} Kickstart : /var/lib/cobbler/kickstarts/sample_end.ks Kickstart Metadata : {} Management Classes : [] Name Servers : ['10.1.1.19', '10.1.2.79'] Name Servers Search Path : [] Owners : ['cobbler'] Parent Profile : Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Repos : [] Server Override : <<inherit>> Template Files : {} Virt Auto Boot : 1 Virt Bridge : br0 Virt CPUs : 1 Virt File Size(GB) : 20 Virt Path : /kvm Virt RAM (MB) : 8192 Virt Type : qemu
# cobbler system report --name=kvm-gchavez Name : kvm-gchavez Comment : Gateway : 10.1.1.1 Hostname : kvm-gchavez.local Image : Kernel Options : {'console': ['tty0', 'ttyS0,115200']} Kernel Options (Post Install) : {'console': ['tty0', 'ttyS0,115200']} Kickstart : /var/lib/cobbler/kickstarts/fedora-kvm-guest.ks Kickstart Metadata : {} Management Classes : [] Name Servers : [] Name Servers Search Path : [] Netboot Enabled : True Owners : ['cobbler'] Power Management Address : Power ID : Power Password : Power Management Type : ipmitool Power Username : Profile : f14-x86_64 Red Hat Management Key : <<inherit>> Red Hat Management Server : <<inherit>> Server Override : <<inherit>> Template Files : {} Virt Auto Boot : 1 Virt CPUs : <<inherit>> Virt File Size(GB) : 100 Virt Path : <<inherit>> Virt RAM (MB) : <<inherit>> Virt Type : qemu Interface ===== : eth0 Bonding Mode : Bonding Master : Bonding Opts : DHCP Tag : CS DNS Name : kvm-gchavez.local. IP Address : 10.1.1.13 MAC Address : 00:16:3e:38:42:ae Static : True Static Routes : [] Subnet : 255.255.252.0 Virt Bridge : br0
Finally, here's the kvm process after it hangs:
root 13443 59.7 0.2 8625056 787448 ? Sl 17:45 0:15 /usr/libexec/qemu-kvm -S -M rhel5.4.0 -m 8192 -smp 1 -name kvm-gchavez -uuid 2e7b3ca8-2a35-4645-a00b-0264fa1185d2 -no-kvm-pit-reinjection -monitor pty -pidfile /var/run/libvirt/qemu//kvm-gchavez.pid -no-reboot -boot c -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.dGxO6X -initrd /var/lib/libvirt/boot/virtinst-initrd.img.0WMu0T -append method=http://10.1.1.97/cblr/links/f14-x86_64/ ksdevice=link lang= console=tty0 console=ttyS0,115200 text ks=http://10.1.1.97/cblr/svc/op/ks/system/kvm-gchavez kssendmac -drive file=/kvm/kvm-gchavez-disk0,if=ide,index=0,boot=on,cache=none -net nic,macaddr=00:16:3e:38:42:ae,vlan=0 -net tap,fd=21,script=,vlan=0,ifname=vnet2 -serial pty -parallel none -usb -vnc 127.0.0.1:2 -k en-u
Thanks.
--Greg Chavez
cobbler@lists.fedorahosted.org