I have RHEL5.1 and XEN. I had an issue this morning and wanted to see serial output. I ran a serial cable between the host and another (Serial0 -> Serial0) I checked the BIOS/Firmware and it had console re-dir on, 9600, No Par, 1 Stop bit, No Flow control The system booted and I could see the output of the POST process. *as soon* as grub started, the serial screen goes blank. I tried to add "console=ttyS0,9600" to the command line, but nothing seemed to send output to the kernel. Am I missing something? Thanks -- --tmac RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer #805007643429572 (RHEL5) Principal Consultant, RABA Technologies _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes--, you need to add the following to grub.conf (at the beginning) serial --unit=0 --speed=9600 terminal --timeout=10 serial console Also you did not say if this is the dom0 you are booting or one of the domu''s.. but normally you should have a stanza like this in grub.conf for the dom0 title Xen 3.1.0 root (hd0,0) kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 console=ttyS0,9600 module /boot/initrd-2.6.18-xen.img The kernel names will be different for a redhatized system but you get the idea. The two things you need are the serial stuff at the beginning and then the right arguments both for the xen.gz and the vmlinuz lines. Also you want to get rid of any splashimage line in the grub.conf if you haven''t already done so. splashimages can jam up serial consoles or cause you to lose info in binary goop. Steve Timm On Wed, 9 Jan 2008, tmac wrote:> I have RHEL5.1 and XEN. > > I had an issue this morning and wanted to see serial output. > > I ran a serial cable between the host and another (Serial0 -> Serial0) > > I checked the BIOS/Firmware and it had console re-dir on, > 9600, No Par, 1 Stop bit, No Flow control > > The system booted and I could see the output of the POST process. > *as soon* as grub started, the serial screen goes blank. > > I tried to add "console=ttyS0,9600" to the command line, but nothing seemed > to send output to the kernel. > Am I missing something? > > Thanks > >-- ------------------------------------------------------------------ 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
where do I get info for this particular instance: kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 ? I am using ttyS1 (com2) and would prefer to use: 115200, 8 bits, no parity, 1 stop bit, no flow control (may hardware flow control if there are issues).>From serial, I can currently see the grub menu, I can press the arrow andinteract with grub and boot. The serial side shows the boot process and stops after showing the "kernel/module/module" stanze. Any ideas? thanks On Jan 9, 2008 1:52 PM, Steven Timm < timm@fnal.gov> wrote:> Yes--, you need to add the following to grub.conf (at the beginning) > > > serial --unit=0 --speed=9600 > terminal --timeout=10 serial console > > Also you did not say if this is the dom0 you are booting or one > of the domu''s.. but normally you should have a stanza like this in > grub.conf for the dom0 > > title Xen 3.1.0 > root (hd0,0) > kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 > module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 > console=ttyS0,9600 > module /boot/initrd-2.6.18-xen.img > > > The kernel names will be different for a redhatized system but you get the > idea. The two things you need are the serial stuff at the beginning > and then the right arguments both for the xen.gz and the vmlinuz lines. > > Also you want to get rid of any splashimage line in the grub.conf > if you haven''t already done so. splashimages can jam up serial consoles > or cause you to lose info in binary goop. > > Steve Timm > > > On Wed, 9 Jan 2008, tmac wrote: > > > I have RHEL5.1 and XEN. > > > > I had an issue this morning and wanted to see serial output. > > > > I ran a serial cable between the host and another (Serial0 -> Serial0) > > > > I checked the BIOS/Firmware and it had console re-dir on, > > 9600, No Par, 1 Stop bit, No Flow control > > > > The system booted and I could see the output of the POST process. > > *as soon* as grub started, the serial screen goes blank. > > > > I tried to add "console=ttyS0,9600" to the command line, but nothing > seemed > > to send output to the kernel. > > Am I missing something? > > > > Thanks > > > > > > -- > ------------------------------------------------------------------ > Steven C. Timm, Ph.D (630) 840-8525 > timm@fnal.gov http://home.fnal.gov/~timm/<http://home.fnal.gov/%7Etimm/> > Fermilab Computing Division, Scientific Computing Facilities, > Grid Facilities Department, FermiGrid Services Group, Assistant Group > Leader. >-- --tmac RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer #805007643429572 (RHEL5) Principal Consultant, RABA Technologies 240-373-3926 (office) 301-688-4705 (Lab) 214-279-3926 (eFAX) _______________________________________________ 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. On Mon, 14 Jan 2008, tmac wrote:> where do I get info for this particular instance: > kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 > ? > > > I am using ttyS1 (com2) and would prefer to use: > 115200, 8 bits, no parity, 1 stop bit, no flow control (may hardware flow > control if there are issues).you need on the xen.gz line com1=115200,8n1 and then on the first module line console=ttyS1,115200 Steve> > From serial, I can currently see the grub menu, I can press the arrow and > interact with grub and boot. > > The serial side shows the boot process and stops after showing the > "kernel/module/module" stanze. > > Any ideas? > > thanks > > On Jan 9, 2008 1:52 PM, Steven Timm < timm@fnal.gov> wrote: > >> Yes--, you need to add the following to grub.conf (at the beginning) >> >> >> serial --unit=0 --speed=9600 >> terminal --timeout=10 serial console >> >> Also you did not say if this is the dom0 you are booting or one >> of the domu''s.. but normally you should have a stanza like this in >> grub.conf for the dom0 >> >> title Xen 3.1.0 >> root (hd0,0) >> kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 >> module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 >> console=ttyS0,9600 >> module /boot/initrd-2.6.18-xen.img >> >> >> The kernel names will be different for a redhatized system but you get the >> idea. The two things you need are the serial stuff at the beginning >> and then the right arguments both for the xen.gz and the vmlinuz lines. >> >> Also you want to get rid of any splashimage line in the grub.conf >> if you haven''t already done so. splashimages can jam up serial consoles >> or cause you to lose info in binary goop. >> >> Steve Timm >> >> >> On Wed, 9 Jan 2008, tmac wrote: >> >>> I have RHEL5.1 and XEN. >>> >>> I had an issue this morning and wanted to see serial output. >>> >>> I ran a serial cable between the host and another (Serial0 -> Serial0) >>> >>> I checked the BIOS/Firmware and it had console re-dir on, >>> 9600, No Par, 1 Stop bit, No Flow control >>> >>> The system booted and I could see the output of the POST process. >>> *as soon* as grub started, the serial screen goes blank. >>> >>> I tried to add "console=ttyS0,9600" to the command line, but nothing >> seemed >>> to send output to the kernel. >>> Am I missing something? >>> >>> Thanks >>> >>> >> >> -- >> ------------------------------------------------------------------ >> Steven C. Timm, Ph.D (630) 840-8525 >> timm@fnal.gov http://home.fnal.gov/~timm/<http://home.fnal.gov/%7Etimm/> >> Fermilab Computing Division, Scientific Computing Facilities, >> Grid Facilities Department, FermiGrid Services Group, Assistant Group >> Leader. >> > > > > -- > --tmac > > RedHat Certified Engineer #804006984323821 (RHEL4) > RedHat Certified Engineer #805007643429572 (RHEL5) > > Principal Consultant, RABA Technologies > 240-373-3926 (office) 301-688-4705 (Lab) > 214-279-3926 (eFAX) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have the following in /etc/grub.conf: serial --unit=1 --speed=115200 terminal --timeout=8 serial console #XEN stanza title XEN root (hd0,0) kernel /xen.gz-2.6.18-53.1.4.el5xen com1=115200,8n1 module /vmlinuz-2.6.18-51.1.4.el5xen ro root=/dev/VG0/ROOTFS quiet console=ttyS1,115200 moudule /initrd-2.6.18-53.1.4.el5xen.img I am still unable to access the console through the second serial port. Should that com1 on the kernel line be com2? --tmac On Jan 14, 2008 7:37 PM, Steven Timm <timm@fnal.gov> wrote:> > > ------------------------------------------------------------------ > Steven C. Timm, Ph.D (630) 840-8525 > timm@fnal.gov http://home.fnal.gov/~timm/ <http://home.fnal.gov/%7Etimm/> > Fermilab Computing Division, Scientific Computing Facilities, > Grid Facilities Department, FermiGrid Services Group, Assistant Group > Leader. > > On Mon, 14 Jan 2008, tmac wrote: > > > where do I get info for this particular instance: > > kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 > > ? > > > > > > I am using ttyS1 (com2) and would prefer to use: > > 115200, 8 bits, no parity, 1 stop bit, no flow control (may hardware > flow > > control if there are issues). > > you need on the xen.gz line com1=115200,8n1 > and then on the first module line > console=ttyS1,115200 > > Steve > > > > > From serial, I can currently see the grub menu, I can press the arrow > and > > interact with grub and boot. > > > > The serial side shows the boot process and stops after showing the > > "kernel/module/module" stanze. > > > > Any ideas? > > > > thanks > > > > On Jan 9, 2008 1:52 PM, Steven Timm < timm@fnal.gov> wrote: > > > >> Yes--, you need to add the following to grub.conf (at the beginning) > >> > >> > >> serial --unit=0 --speed=9600 > >> terminal --timeout=10 serial console > >> > >> Also you did not say if this is the dom0 you are booting or one > >> of the domu''s.. but normally you should have a stanza like this in > >> grub.conf for the dom0 > >> > >> title Xen 3.1.0 > >> root (hd0,0) > >> kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1 > >> module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 > >> console=ttyS0,9600 > >> module /boot/initrd-2.6.18-xen.img > >> > >> > >> The kernel names will be different for a redhatized system but you get > the > >> idea. The two things you need are the serial stuff at the beginning > >> and then the right arguments both for the xen.gz and the vmlinuz lines. > >> > >> Also you want to get rid of any splashimage line in the grub.conf > >> if you haven''t already done so. splashimages can jam up serial consoles > >> or cause you to lose info in binary goop. > >> > >> Steve Timm > >> > >> > >> On Wed, 9 Jan 2008, tmac wrote: > >> > >>> I have RHEL5.1 and XEN. > >>> > >>> I had an issue this morning and wanted to see serial output. > >>> > >>> I ran a serial cable between the host and another (Serial0 -> Serial0) > >>> > >>> I checked the BIOS/Firmware and it had console re-dir on, > >>> 9600, No Par, 1 Stop bit, No Flow control > >>> > >>> The system booted and I could see the output of the POST process. > >>> *as soon* as grub started, the serial screen goes blank. > >>> > >>> I tried to add "console=ttyS0,9600" to the command line, but nothing > >> seemed > >>> to send output to the kernel. > >>> Am I missing something? > >>> > >>> Thanks > >>> > >>> > >> > >> -- > >> ------------------------------------------------------------------ > >> Steven C. Timm, Ph.D (630) 840-8525 > >> timm@fnal.gov http://home.fnal.gov/~timm/<http://home.fnal.gov/%7Etimm/> > <http://home.fnal.gov/%7Etimm/> > >> Fermilab Computing Division, Scientific Computing Facilities, > >> Grid Facilities Department, FermiGrid Services Group, Assistant Group > >> Leader. > >> > > > > > > > > -- > > --tmac > > > > RedHat Certified Engineer #804006984323821 (RHEL4) > > RedHat Certified Engineer #805007643429572 (RHEL5) > > > > Principal Consultant, RABA Technologies > > 240-373-3926 (office) 301-688-4705 (Lab) > > 214-279-3926 (eFAX) > > >-- --tmac RedHat Certified Engineer #804006984323821 (RHEL4) RedHat Certified Engineer #805007643429572 (RHEL5) Principal Consultant, RABA Technologies 240-373-3926 (office) 301-688-4705 (Lab) 214-279-3926 (eFAX) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users