Hi all, I have an environment running RHEL 5.1 (64-bit) and Xen 3.0.3. When the server was first set up, prior to installing xen, it was connected to a serial console server and configured so that you could log in both from the terminal and the serial console. We then installed xen and updated grub.conf in hopes of having Dom0 behave the same way. Unfortunately nothing I''ve tried has worked. We don''t get any response from either the local terminal or the serial console. I''ve read through a number of websites and posts to this list but none of the suggestions I''ve found have worked. Here''s what our grub.conf currently looks like: default=1 timeout=5 serial --unit=0 --speed=57600 terminal --timeout=10 serial console hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-53.1.6.el5) root (hd0,0) kernel /vmlinuz-2.6.18-53.1.6.el5 ro root=/dev/VolGroup00/LogVol00 console=tty console=ttyS0,57600 initrd /initrd-2.6.18-53.1.6.el5.img title Red Hat Enterprise Linux Server (2.6.18-53.1.6.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-53.1.6.el5 com1=57600,8n1 console=com1,vga module /vmlinuz-2.6.18-53.1.6.el5xen ro root=/dev/VolGroup00/LogVol00 xencons=ttyS0 console=tty0 console=ttyS0,57600 module /initrd-2.6.18-53.1.6.el5xen.img We also have the following defined in /etc/inittab: co:2345:respawn:/sbin/agetty -L ttyS0 57600 vt100 So what are we doing wrong? Why don''t we get any response at all from either the terminal or the serial console? Any suggestions would be greatly appreciated. Thanks, -Bruce _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I have an environment running RHEL 5.1 (64-bit) and Xen 3.0.3.That''s the Xen shipped with RHEL 5.1, presumably? It may interest you to know that it''s not actually 3.0.3, as far as I''ve been able to tell. It''s effectively a later release of Xen, with the package being named 3.0.3 so as to fit in with the package naming scheme. *I think.*> When the > server was first set up, prior to installing xen, it was connected to a > serial console server and configured so that you could log in both from the > terminal and the serial console.OK. Sensible.> We then installed xen and updated > grub.conf in hopes of having Dom0 behave the same way. Unfortunately > nothing I''ve tried has worked. We don''t get any response from either the > local terminal or the serial console.Right. It should be doable somehow, it''s something I believe other Xen developers use as part of their work!> I''ve read through a number of > websites and posts to this list but none of the suggestions I''ve found have > worked. Here''s what our grub.conf currently looks like: > > default=1 > timeout=5 > serial --unit=0 --speed=57600 > terminal --timeout=10 serial console > hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-53.1.6.el5) > root (hd0,0) > kernel /vmlinuz-2.6.18-53.1.6.el5 ro root=/dev/VolGroup00/LogVol00 > console=tty console=ttyS0,57600 > initrd /initrd-2.6.18-53.1.6.el5.img > title Red Hat Enterprise Linux Server (2.6.18-53.1.6.el5xen) > root (hd0,0) > kernel /xen.gz-2.6.18-53.1.6.el5 com1=57600,8n1 console=com1,vga > module /vmlinuz-2.6.18-53.1.6.el5xen ro > root=/dev/VolGroup00/LogVol00 xencons=ttyS0 console=tty0 > console=ttyS0,57600 module /initrd-2.6.18-53.1.6.el5xen.imgThe baud rate doesn''t need to be specified on the Linux command line since Xen will set that up. I suggest at least removing it just in case it''s confusing something. I''ve also found that specifying two console= lines on the kernel command line doesn''t always work for me. You could try just specifying one, although I don''t really understand why you''re not getting *any* output. However, probably the most straightforward way to tackle this is to just concentrate on getting Xen to output on the serial line. Drop the settings that try to make Linux talk through Xen to the serial line, drop the setting to try to make Xen talk vga at the same time. Just concentrate on getting Xen to output its boot stuff to the serial port, which should be a case of just getting Xen''s serial settings right. Once that''s done it should be (relatively) easy to figure out how to get Linux to output to it. Also, this way you should be able to get a local Linux console whilst you''re debugging, which may be useful. Just as a sanity check, are you sure the com1=57600,8n1 is all correct, settings-wise?> > We also have the following defined in /etc/inittab: > > co:2345:respawn:/sbin/agetty -L ttyS0 57600 vt100 > > So what are we doing wrong? Why don''t we get any response at all from > either the terminal or the serial console? Any suggestions would be > greatly appreciated.Oh dear. Not having any terminal at all is a bit unfortunate! So you see no output whatsoever on the serial line? Not even Xen boot messages? If you send Ctrl-A three times does anything happen (this is a Xen special character sequence). Cheers, Mark -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 21, 2008 at 06:58:04PM +0100, Mark Williamson wrote:> > I have an environment running RHEL 5.1 (64-bit) and Xen 3.0.3. > > That''s the Xen shipped with RHEL 5.1, presumably? It may interest you to know > that it''s not actually 3.0.3, as far as I''ve been able to tell. It''s > effectively a later release of Xen, with the package being named 3.0.3 so as > to fit in with the package naming scheme. *I think.* >Yes, RHEL 5.1 has Xen 3.1.0. RHEL 5.2 (that was just released) has Xen 3.1.2. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 21 May 2008, Pasi Kärkkäinen wrote:> On Wed, May 21, 2008 at 06:58:04PM +0100, Mark Williamson wrote: >>> I have an environment running RHEL 5.1 (64-bit) and Xen 3.0.3. >> >> That''s the Xen shipped with RHEL 5.1, presumably? It may interest you to know >> that it''s not actually 3.0.3, as far as I''ve been able to tell. It''s >> effectively a later release of Xen, with the package being named 3.0.3 so as >> to fit in with the package naming scheme. *I think.* >> > > Yes, RHEL 5.1 has Xen 3.1.0.Careful--RHEL 5.1 has a version in which some of the xen 3.1 features are listed as "technology previews", in other words, they don''t work. 32-on-64 paravirtualized is one of those features.> > RHEL 5.2 (that was just released) has Xen 3.1.2. >Has anyone tried 64-bit dom0, 32 bit domU with this yet? Steve Timm> -- Pasi > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, May 21, 2008 at 1:58 PM, Mark Williamson < mark.williamson@cl.cam.ac.uk> wrote:> The baud rate doesn''t need to be specified on the Linux command line since > Xen > will set that up. I suggest at least removing it just in case it''s > confusing > something. I''ve also found that specifying two console= lines on the > kernel > command line doesn''t always work for me. You could try just specifying > one, > although I don''t really understand why you''re not getting *any* output. > > However, probably the most straightforward way to tackle this is to just > concentrate on getting Xen to output on the serial line. Drop the settings > that try to make Linux talk through Xen to the serial line, drop the > setting > to try to make Xen talk vga at the same time. > > Just concentrate on getting Xen to output its boot stuff to the serial > port, > which should be a case of just getting Xen''s serial settings right. Once > that''s done it should be (relatively) easy to figure out how to get Linux > to > output to it. Also, this way you should be able to get a local Linux > console > whilst you''re debugging, which may be useful. >Thanks for all the information. I wasn''t sure what was & wasn''t important in the grub.conf. I took out everything but the entries on the xen kernel line and now it''s working as expected. Just as a sanity check, are you sure the com1=57600,8n1 is all correct,> settings-wise? >Yes. When I booted the machine into a regular non-xen kernel the serial console worked fine. Thanks again for the help. -Bruce _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users