Description of problem: When booting a xen system with both xen and the xen-linux kernel consoles on the serial line, I get a panic. If I leave the linux console line at console=tty0 everything works, but I don't get kernel messages on the serial line after bootup. Version-Release number of selected component (if applicable): kernel-xen0-2.6.9-1.1008_FC4 xen-2.6.9.gz from http://people.redhat.com/riel dated 30-Nov-2004 14:23 xen-2.0-install.tgz tools install How reproducible: every boot with serial consoles turned on Steps to Reproduce: 1. turn on serial lines for xen with the following in grub kernel /xen-2.6.9.gz dom0_mem=524288 com1=115200,8n1 2. turn on serial lines for linux console with the following in grub module /vmlinuz-2.6.9-1.1008_FC4xen0 root=/dev/vg0/root ro console=ttyS0,115200 3. boot xen Actual results: kernel panic Expected results: normal bootup Additional info: The following link *may* shed some light on the problem http://article.gmane.org/gmane.comp.emulators.xen.devel/3463 Grub config is as follows: default=4 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title XEN 2.0 root (hd0,0) kernel /xen-2.6.9.gz dom0_mem=524288 com1=115200,8n1 module /vmlinuz-2.6.9-1.1008_FC4xen0 root=/dev/vg0/root ro console=ttyS0,115200 3 module /initrd-2.6.9-1.1008_FC4xen0.img
Created attachment 107723 [details] console output from bootup
Turning the hw serial driver off in the kernel config seemed to fix this for me - might want to consider doing that in the default xen0 config.
With the hw serial driver off in the kernel configuration, can you still use the serial ports from within the xen0 domain, and can you still run serial console to that domain ? If yes, I'll switch off the serial driver in the xen0 kernel.
Yeah, it seemed to work fine with the hw serial driver off - I think I just turned it into a module for my testing, but I can't seem to find that config anymore. If you shut it off and rebuild, I can verify it for you.
OK, I disabled CONFIG_SERIAL_8250 for the xen0 kernel. I'll rebuild soonish (need to do a RHEL4 build first).
I am now building kernel-2.6.9-1.1020_FC4, which has the serial driver disabled. Please test when this kernel becomes available in our build system.
That fixes it - the above grub config for console now works.