On Tue, May 20, 2008 at 04:08:21AM -0700, Jürgen Keil wrote: > Alexandra (Sasha) Fedorova wrote: > > > I installed OpenSolaris from SXDE 1/08 (build 79a), > > which also includes Solaris xVM. I configured Xen to > > output its messages to the serial console, as > > described here: > > http://www.opensolaris.org/os/community/xen/docs/serial-console/. > > When I booted xVM, everything worked as > > expected: I was able to see Xen messages on the > > serial console and I was also able to switch the > > console between Xen and dom0 (by pressing Ctrl-a > > three times), and saw console messages from dom0. > > > > Then I downloaded Xen source from the build 79 > > on-gate: http://dlc.sun.com/osol/on/downloads/b79/. I > > built a new xen.gz image and copied it on the machine > > where I run Solaris xVM. Then I booted the newly > > compiled xen.gz image, and found that although I was > > still able to switch the console between Xen and > > dom0, I was not getting any output from dom0 (I did > > get the output from Xen). I did not change the dom0 > > guest. It was the guest that comes with SXDE 1/08 > > (b79) and that was able to print to serial console > > when the xen.gz from SXDE 1/08 was loaded. All I did > > was recompile xen.gz, and now dom0 can't output to > > serial console. > > > > Any idea what could be the reason? > > I'm using option "-B console=ttya" on the unix line in > the /boot/grub/menu.lst file to send dom0 console output > to the serial console. > > Like this (But in this exsample I'm using com2 / ttyb): > > title Solaris xVM, Console ttyb > kernel$ /boot/$ISADIR/xen.gz com2=9600,8n1 console=com2 > module$ /platform/i86xpv/kernel/$ISADIR/unix > /platform/i86xpv/kernel/$ISADIR/unix -B console=ttyb -kv > module$ /platform/i86pc/$ISADIR/boot_archive >
actually, in the scenario above the "-B console=ttyb" option to unix is unnecessary. by default, solaris detects what xen is using for it's console device and uses the same thing. (you can of course override that with the -B or an entry in bootenv.rc, if you want the consoles to go to different devices.) ed _______________________________________________ xen-discuss mailing list [email protected]
