Ok great! I think I have a solution. For me this reduces the bug from 1 in 5 times, to around 1 in 1000. I still see the bug but this helps a bunch:
======== My Almost 100% Solution!! ========
Edit /etc/inittab. Comment out all of the normal tty’s (they are unused in PV mode). For example:
#1:2345:respawn:/sbin/mingetty --noclear tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6
Near the end of the file, there (may) should be a cons entry. Comment it out as well
#cons:12345:respawn:/sbin/smart_agetty -L 42 console
add this line to the end of inittab:
co:2345:respawn:/sbin/agetty xvc0 9600 vt102
From XenCenter: Right click on the VM, click Startup Options. Replace all the text in OS Boot Parameters with this:
xencons=xvc console=xvc0
If you have any troubles getting the vm to boot (blank screen) or only the very first boot messages and then no output, you can still get to your machine by adding the word " single" to the OS Boot Parameters. These problems indiciate console issues or a mismatch between inittab and the boot params
Please try this and let me know if it works for you. (danci1973’s solution didn’t work at all for me).
Resources:
More information but not the solution:
http://www.xen.org/files/xensummit_4/xensummit_linux_console_slides.pdf
agetty option, didn’t work:
http://e-books.bassq.nl/Citrix/Xen%20Virtualization%202008.pdf
Other people with similar problems, no solution:
Re: [opensuse-virtual] OpenSuse 11.4 domU hang on boot
Very helpful:
Fly By Unix: XenServer PV guest won’t launch login prompt
Regards,
Port Forward Podcast
Port Forward Podcast | Linux Programming Startups Bitcoin XenServer.